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

Note

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 (http://www.digikey.com/en/resources/conversion-calculators/conversion-calculator-resistor-color-code-4-band). To understand polarity, which is important for working with diodes and capacitors, Sparkfun has a great tutorial, available here: https://learn.sparkfun.com/tutorials/polarity

Getting ready

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

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

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.