Project: Electronics Bash - #14 - Wireless Signals


Wires? Where we're going we don't need... wires.... Except for power, ground, programming, buttons, others sensors, etc....

This week, we're continuing our looking at the Arduino, the most popular microcontroller platform on the planet. We'll be introducing the versatile Radiohead library, and using it to drive some inexpensive ASK/OOK 433 MHz modules to pass lightweight wireless signals between two Arduinos.

Topics Include:

  • Radio fundamentals
  • ASK/OOK
  • Working with the Radiohead library
  • *Pointers

Code Libraries

This week we'll be making extensive use of the Radiohead Library to handle wireless communication. You can download it from the link above. Notice that if you Google "Radiohead Library" you also will see github links to Sparkfun's fork of this library, which doesn't seem to be as up to date - I recommend using the source from Airspayce above.

Code

The following code will make use of the above circuit diagram

ASK Transmitter

Click here to view code on Github

ASK Receiver

Click here to view code on Github

ASK Transmit Integers

Click here to view code on Github

ASK Receive Integers

Click here to view code on Github

ASK Receiver Servo

Click here to view code on Github

ASK Transmitter Servo

Click here to view code on Github

ASK Receiver Servo and LED

Click here to view code on Github

ASK Transmitter Servo and LED

Click here to view code on Github

Local Variables Example

Click here to view code on Github

Pointers as Arguments Example

Click here to view code on Github

Binary/Hex Slider Example (Processing)

Click here to view code on Github