From charlesreid1

Revision as of 23:21, 31 July 2015 by Admin (talk | contribs)

This page will show you how to turn your Raspberry Pi into an Internet of Things-enabled morse code keyer that can be remotely controlled with a RESTful web API.

The first part is the hello world LED circuit. This circuit connects to the Raspberry Pi (see RaspberryPi/Blink) via the GPIO pins. These are pins that enable you to turn voltages on and off from the Raspberry Pi, and therefore control circuits. The GPIO pins, in turn, can be controlled from a Python script on the Raspberry Pi.

The second part is the Flask API, which turns URL requests like http://myraspberrypi/hello into instructions to send morse code for "hello" via the LED circuit.

Part 1: Hello World LED Circuit

We've already covered how to get a basic Hello World circuit, independent of any code on the Raspberry Pi, on the RaspberryPi/Hello World page.

We then covered how to use the GPIO cable and a Python script to control voltage to certain pins, enabling us to control circuits with the Raspberry Pi, over on the RaspberryPi/Blink page.

These pieces cover part 1 of building your IoT Morse Code Keyer with the Raspberry Pi.