Connecting an LED with RPZ and controlling it using C, Python, and a shell


Finally, some real hardware! This is truly the Hello World of the Internet of Things, but it is a great place to get started if you've never worked with circuits and sensors. Some basic electronics knowledge is quite helpful here. For resistor color codes, there is a great chart and calculator available on Digi-Key ( To understand polarity, which is important for working with diodes and capacitors, Sparkfun has a great tutorial, available here:

Getting ready

Here is where you will need some real hardware. I recommend ...

Get Raspberry Pi Zero Cookbook now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.