Monthly Archives: April 2015

Code Plan

Code Plan

  • Explain basic interaction
  • List Components
  • How each part is going to operate in your project
    • Be precise



User presses the button and cycles through 3 different patterns


  • Blink – 500ms ¬†second delay
  • Fade up then Fade down
  • Off


  • Push Button
  • LED



Push Button

  • Read Button
    • Increase counter
      • Register click on change from high to low




    • Turn LED On
    • Delay
    • Turn LED OFF
    • Delay

Fade up then Fade down

    • Loop increase LED analogwrite by 1 till 255
      • small delay after each increase
    • Loop decrease LED analogwrite by 1 from 255 to 0



Working with simple rf radios

rf reciever –¬†

rf transmitter –¬†

A good tutorial on the rf radios.



These radios operate at a lower baud rate then what we are used to. Normally these radios will operate safely around 1200 bps.


SimpleRftransmit РSend and Receive an integer. (This examples contains 2 files, the main: simpleRFTransmit and writeRead which contains several functions)

Advanced_receiver and Advanced_transmitter Р This example uses the RadioHead Library. It allows more complex messages to be sent with these transmitters.

How to install Arduino Libraries.

  1. Download the library
  2. Open Arduino
  3. Select Sketch -> Import Library -> Add Library
  4. Select the library zip file



DUE April 29

You have to write a tutorial based of a component you are going to use in your project.

  1. Image of component
  2. What does the component do?
  3. How the sensor works?
  4. Diagram of connecting to Arduino
  5. Getting started program
  6. Any Issues or quirks with the sensor