Programmer Gifts - Pi For Xmas
Written by Harry Fairhead   
Saturday, 07 December 2019

The holiday season is a good time to learn about computers - you have the time. But where to start? Our advice is to ignore the pudding and go for a Pi.

There has never been a better time to get involved in computing and the reason is the Raspberry Pi. This remarkable hardware can get you started in a whole different way of using computers. It is also a safe and cheap way to simply learn about programming. You can do this for the unbelievably low price of $5 but I'd advise spending just a little more. The $5 miracle is the Raspberry Pi Zero. It is a complete computer that you can program using Python, C, Java etc and you can use it as the basis for custom hardware projects. It is remarkable value but I'd advise against buying it unless you are already happy with such technicalities. The reason is that it doesn't have any network connection at all and the era of the Internet this is limiting.

If you do decide to go for a basic Zero then I'd invest in a small kit. You need a USB power supply, a micro HDMI to HDMI connector and a keyboard and HDMI monitor. Personally I'd opt for the Pi Zero W which has WiFi and Bluetooth built in. In this case you can even get away without a keyboard and and a monitor but again for simplicity it is better not to try this until you know a bit more. The W costs double the basic Zero but at $10 it is still almost a disposable computer.

For just over $15 more you can get a complete kit which includes a case, power supply, adapters, heat sink and GPIO header.

 

Click to buy at Amazon.

The case supplied with this kit is the sort I like to use as it can be configured to give access to the GPIO pins. You still need a monitor and a keyboard but any USB keyboard and a TV with HDMI will do the job. You will also need an SD card and I'd recommend a cheap 32GByte card.

The Pi Zero W is great for getting started with learning to program or for building clever devices, but if you want to use the Pi as something like a full computer then you need to move up to the Raspberry Pi 4. This comes in a range of memory sizes and starts at $35 with 1GByte. If you know what you want to use the Pi 4 for then buy the size that suits the task. If you don't know then by the 4GByte version as you can't upgrade later. In practice the Pi 4 with 4GBytes is powerful enough to be used as a desktop replacement. 

Click to buy at Amazon.

Again you can't just buy a Pi, you need some extras. You need a USB power supply that will source 3A, which is more than most smartphones and similar adapters produce. If you are going to use it "the easy way" you will also need an micro HDMI cable, a USB keyboard/mouse, an HDMI monitor and an SD card. You might well have some of these items already, but you can also simplify things a bit more by buying a kit.

If you just want a "get started" kit then the Official Raspberry Pi desktop kit seems like a good choice. It has everything you need apart from a HDMI monitor or TV set:

Click to buy at Amazon.

So what do you do if you want to not just to learn to program but also want to find out about physical computing or the IoT? You need a selection of components, a prototyping board and some jumper wires. There are a number of different kits that supply a range of parts, but the one I personally like is the curiously named BONROB starter:

 

 Click to buy at Amazon.

What is so good about this kit is that at $25.99 it includes a full range of possibilities. You get a small servo, a humidity sensor, lots of LEDs, LED display and a prototyping board and jumper wires. Notice that you don't get a Pi or any of the things you need for basic use of the Pi this is an add-on.

Personally I'd advise getting a multimeter as well and, given how cheap they are today, why not. This just over $10 meter isn't the best, but it is good enough for most things:

metermulti

Click to buy at Amazon.

Later you will need a soldering iron, wire cutters, digital signal analyzer and more...

Finally would it be Xmas without a copy of my Pi book?

No of course not!

You can program your Pi in Python, but why not use C and get the most out of it, along with an education that is becoming rarer as things move ever upward and abstract. C is at least 10 times faster than Python. However, be warned, this isn't a book for the 100% complete beginner:

Click to buy at Amazon.

If you need something to get you up to speed in C then I recommend my recent book on the C language for an IoT context.

 Click to buy at Amazon.

And if you are looking for something on using Linux at a fairly low level then you also need the companion volume:

Click to buy at Amazon

Related Articles

A Tee Is Not Just For Xmas - Ten Top Tees

pi3b

 

To be informed about new articles on I Programmer, sign up for our weekly newsletter, subscribe to the RSS feed and follow us on, Twitter, Facebook or Linkedin.

 

Banner


Random Number Weakness Exposes Devices
02/01/2020

A report analyzing RSA certificates has identified a weakness that means they can be easily cracked, exposing network and IoT devices that rely on digital certificates based on RSA certificates.



ActiveState Komodo IDE Now Free
23/01/2020

There will no longer be a fee for Komodo, the multi-language IDE for Python, PHP, JavaScript, HTML5, CSS, Node.js, Golang, Ruby, Perl, and a variety of other languages and frameworks. 


More News

graphics

 



 

Comments




or email your comment to: comments@i-programmer.info

Last Updated ( Saturday, 14 December 2019 )