Humble Bundle features Raspberry Pi and Arduino e-books at knockdown prices

Tim’s just alerted me to the latest Humble Bundle book deals, and they are great bundles to grab! They’re all Wiley books, so the quality is excellent.

For $1, you can get:

For $8, you also get:

  • Arduino for Dummies
  • Arduino Projects for Dummies
  • Arduino Sketches: Tools and Techniques for Programming Wizardry
  • Raspberry Pi Projects for Dummies

For $15, you also get:

  • Electronics for Dummies
  • Adventures in Raspberry Pi (3rd edition) – fantastic beginners’ book
  • Exploring Beaglebone
  • Exploring Raspberry Pi – fantastic more advanced book
  • Raspberry Pi User Guide (4th edition) – by Eben Upton and Gareth Halfacree – also quite wonderful

The Humble Bundles are available for the next 13 days and can be bought here.

 

Launched today: the Raspberry Pi 3B+ : an incremental performance and capability upgrade

The new Raspberry Pi 3B+

Good news this morning! Raspberry Pi has announced the launch of the new Raspberry Pi 3B+. An incremental upgrade of the Raspberry Pi 3, the 3B+ features:

  • an improved processor running at an increased speed of 1.4GHz with an added ‘heat spreader’ to help with thermal performance.
  • a new Cypress wifi chip and Prolant antenna technology giving access to both 2.4GHz and 5GHz wireless networks.
  • a new onboard header for a Power Over Ethernet HAT which will be released by Raspberry Pi in the coming months. (See the bottom of the page for more info about this)
  • improved Ethernet speed courtesy of an upgraded LAN chip. Although still limited by going through USB 2.0, Ethernet users can now get a maximum speed of 300mbps.
  • improved power circuitry to support all the new functionality.
  • an RF shield over the wifi chip which means that is now possible to embed the Pi inside something else and not have to worry about certification.

All these incremental improvements add up to a more powerful, zippier Raspberry Pi which retains its price-point of $35.

Both myself and Tim Richardson were privileged to be sent the hardware ahead of time for testing and experimentation, so we’ve done a joint review and briefing for you.

Walkthrough

For a walk-through of the new board, please watch the video below.

Benchmarking

I ran a sysbench on both the 3 and the 3B+. Here are the results. The commands I ran were:

sysbench --test=cpu --cpu-max-prime=20000 run
sysbench --test=cpu --cpu-max-prime=20000 --num-threads=4 run
Computer 1-core duration 4-core duration
Raspberry Pi 3 370.89s 92.63s
Raspberry Pi 3B+ 317.97s 79.51s

As you can see, there is an approximate 15-20% speed improvement on the 3B+.

Lots more benchmarking by Gareth Halfacree here.

Temperature

Thanks to what Gordon Hollingworth has called a “heat spreader” (the metal plate on top of the CPU), the Pi 3B+ runs cooler than the Pi 3 and, as a result you’ll see far less of the thermometer icon on the Pi desktop with the new board.

Close-up of the Raspberry Pi 3B+, top-left quadrant showing the ‘can’ over the wifi chip, with Raspberry Pi branding, and the ‘heat spreader’ over the CPU

Operating System and Add-ons

A new Raspbian operating system version supports the 3B+, so make sure to download the newest version before switching on your new Raspberry Pi. If your 3B+ doesn’t boot, chances are, you’re using an old image! Naturally, you can also do an upgrade by doing the following:

sudo apt-get update
sudo apt-get dist-upgrade

I tested out various add-on boards including the SenseHAT, UnicornHATHD, EnviropHAT, the official Camera Module and even the SkywriterHAT. All worked very well and I had no problems with them. There are various other packages that have had, or will need, an update to identify the 3B+ such as GPIO Zero and WS2811 among others.

I can confirm that new images of Raspbian, or an upgrade to just GPIO Zero, will fix any issues with the library thanks to Ben Nuttall replying to a tweet I sent earlier.

Changes, or Not

The top of the new Pi appears more sparse than the Pi 3, although I suspect that is just an optical illusion.  Quite a few are hidden under the heat sink and wifi can and there is less lettering on the board.

The Raspberry Pi 3 (top) and the new Raspberry Pi 3B+ (bottom)

The speed of both Ethernet and wireless have both been increased. Ethernet is ‘gigabit’ speed, which actually means about 300Mbps. So, why not full gigabit? This is because Ethernet still runs through the USB 2 bus, so that limits the speed a little. It is still a decent increase and, in my opinion, is more than fast enough for most uses of the Pi. The designers have added Power over Ethernet, though. I suspect this is at the request of commercial users, who apparently buy about one third of the Pis, and probably why the full hardware is not included on-board. That’s the right decision as few school and home users will want it, and those who do will buy the new HAT that will, hopefully, be coming out in the next few months.

The Raspberry Pi PoE HAT (prototype)

WiFi has been improved to include both 2.4GHz and 5GHz. 2.4GHz achieves about 40Mbps, while 5GHz gets about 100Mbps. While not stellar compared with a modern PC I think it’s actually more than enough for the Pi.

I expect there are people who would like to see full gigabit Ethernet and faster wifi, but what would use it? If the Pi had, say, SATA or USB 3, then a faster Ethernet port would be of more use. There is a reason it does not have either of those, though: cost. While some people would benefit from both of these features, the majority would not, so the extra cost would not be beneficial overall.

What other improvements would one have liked? 4K video? While a nice-to-have, I don’t think there are enough people yet who would use it. It would make a nice media server, though. I suspect it would need a better graphics processor, though, and almost certainly more memory. Once again, this would add to the cost and not benefit enough users at this point in time.

Increased memory is something that I have heard more people requesting. This has not been done. I’m sure you’ve guessed by now why it hasn’t. Hands up who has actually run out of memory? I’m sure Chromium would benefit, and maybe other desktop applications in general, but I remember the days when 1K or 3.5K were thought adequate!

What else could be changed? More GPIO? That would be nice, but there’s no space on-board and the form factor is now so entrenched that a change would have its own problems.  And that’s all I can think of!

Conclusion

The Raspberry Pi 3B+ is not really a new Raspberry Pi, but it is a substantial improvement on the Pi 3. You will definitely notice the increased speed of the CPU. If you’re a heavy network user, improvements to both Ethernet and wifi will make your life easier, especially if you have access to either a hard-wired connection of a 5G wifi connection. At the same price point, Raspberry Pi have delivered again.

Buying the Raspberry Pi 3B+

You can buy the 3B+ from all the usual suspects: The Pi Hut, PimoroniModMyPiCPC/Farnell, RS Components & Pi Supply in the UK and Adafruit in the USA. You can find out where to get the 3B+ from other countries over on Raspberry Pi’s product page.

Oh, yes, if you order any pi-top or pi-topCEEDs together with the Raspberry Pi from pi-top, you’ll get the 3B+ starting today!

More coverage

You can read and see more on the following sites:

Any coverage I’m missing? Let me know!

The Power Over Ethernet HAT

The PoE HAT prototype on top of a Pi 3B+

A friend of mine has found a listing for the PoE HAT over at CPC/Farnell. You can visit that page here. Details are as follows:

  • Price: £17.75 (including VAT)
  • Power over Ethernet 802.3af compliant
  • Class 2 device
  • Fully isolate Switched-Mode Power Supply (SMPS)
  • 36-56V Input Voltage
  • 5V Output Voltage
  • Supplies up to 2.5A
  • Fan Control
  • Plug-and-play compatibility with Raspberry Pi 3 Model B+

It’s (obviously) not available yet, but it’s nice to see a price point that is affordable. There is a little more info over on the Raspberry Pi website.

Inspire kids to code with this new DIY Raspberry Pi tablet – MakePad

A new Kickstarter has just launched for a tablet, powered by a Raspberry Pi. With it’s eye firmly on the children’s market, the MakePad features a 10.1″ touchscreen and is battery powered (8000mAh). It has a built-in 3W speaker for audio applications and comes with a 16GB microSD card with MakeOS pre-installed. MakeOS has been developed specifically for the touch capabilities of the device and includes a Blockly programming language as well as access to Python. It’s probably a reskinned Raspbian as it also includes the LibreOffice suite, Minecraft Pi etc.

The MakePad comes as a kit that you assemble and reminds me of a mixture of the Kano kit and HDMIPi. They’ve made the sensible decision to have a cut-out for the GPIO pins, although with the Pi ‘around the back’, using it will probably need a ribbon cable and a cobbler. The case is LEGO-compatible so you/your child can have fun personalising it to your heart’s content.

Estimated delivery for perks is October 2018 (which seems a bit ambitious to me, but we’ll see). The Super Early Bird devices are still available at $164/$199 (with/without a Pi), before rising to $204/$239.

You can see the campaign video below and you can visit the campaign here.

An LED matrix gaming table built around a Raspberry Pi

Andreas Rottach from Germany has taken 300 LEDs and a Raspberry Pi 3 and created this stunning LED matrix gaming table. He’s implemented several low-res games on it, including Tetris (above) and Flappy Bird as well as programming challenge favourite Conway’s Game of Life. It can also display static images – I particularly like the chessboard one – very functional.

You can find out how to build your own table via Andreas’ tutorial on GitHub.

Take a look at it in action below:

Thanks to Raspberry Pi for spotting this one.

Working with an SSD1306 0.96″ OLED display on the Raspberry Pi

I’m always on the lookout for cheap electronics on eBay and AliExpress. Following on from my previous tutorial on HD44780 screens, this time, I found a small OLED display.

I bought one of these from eBay for less than £5 plus postage. It is a 0.96″, 128×64 pixel OLED display. These things are really tiny, but useful if you’re after something to display status information. They run from the I2C bus, this one using address 0x3C. This means that all the other addresses are available for you to use to get I2C sensor readings from or to drive other displays. You can even change the address on these displays to allow you to use multiple of the same device.

I did a quick Google to find out how to use it with the Raspberry Pi. I used some of the instructions on this page but found them to be out of date, so I ended up doing things slightly differently.

First of all, make sure your Pi has some essential packages. Most are pre-installed, but you’ll get updates this way:

sudo apt-get install build-essential python-dev python-pip python-imaging python-smbus git

Then, grab the Adafruit library from GitHub:

git clone https://github.com/adafruit/Adafruit_Python_SSD1306

Install the library for python3:

cd Adafruit_Python_SSD1306
sudo python3 setup.py install

Now take a look at the examples:

cd examples
python3 animate.py

In the examples, I changed the “disp =” statement to use the line with a 128×64 display running on I2C.

The example scripts provided by Adafruit are:

  • Animated text rolling across the screen.
  • Representation of some buttons (which is weird because it’s not a touch screen!).
  • A PPM image translated onto the screen.
  • Some geometric shapes.
  • Some stats from the Pi – the IP address, disk & memory usage and CPU load.

You can see how these scripts work in the video below. Pardon the shaky cam work, I’ve lost my little tripod!

All the scripts are pretty easy to understand and modify.

I’ve seen these used to display the time, Pi information such as that in the example screen and even as a status display for different robot modes, so they are really versatile.

Addendum: Also worth a look is this other Python library called luma-oled. Thanks to Brian Welsby for that!