10-23-15

October 23, 2015 at 10:49 am | Posted in tech | Leave a comment

today – the Arduino adventure begins

WE NEED:
-old RC cars – no remote needed.  Note that the car will NOT work again after we hack them.  They will never work.
-small speakers – like from a radio or one of those audio greeting cards

ingredients:

1 Arduino board
1 breadboard
1 USB cable
1 LED
1 resistor
2 jumper wires

Part 1 BLINK

  1. attach the Arduino to the USB cable
  2. attach the cable to the USB port on the back of the computer
  3. search your computer for Arduino
  4. from the Arduino program click on File, Examples, Basics and choose Blink
  5. click on the ARROW at the top menu bar. Screen Shot 2015-10-22 at 12.55.34 PM
    This compiles your sketch (program) and uploads it to the Arduino.
  6. IF IT WORKS the small orange LED on the board will blink.  Now go back into the sketch and change the delay(1000) value to a smaller or larger number.  Upload again.
  7. IF IT DOESN’T WORK – relax.  Click on Tools, Port and choose the lowest option on the drop down menu.

Part 2 ADD AN LED

  1. unplug your Arduino from the USB cable.
  2. grab an LED
  3. insert the long leg (wire) of the LED into the pin labeled 13.
  4. insert the short leg into the ping labeled GND (ground).
  5. plug the USB cable back in.  What happens?

PART 3 THE LED MEETS THE BREADBOARD

  1. grab your breadboard and duplicate this circuit BELOW.  Click to enlarge the image.  We will do this together on the big screen as well.
  2. once you reconnect your Arduino the red LED should start blinking along with the small orange LED on the Arduino.
  3. add two more LEDs like this.redyellowgreenLED_bb
  4. how can you get the new LEDs to blink like the red LED?  We will explore this together by modifying the Blink sketch.

Part 4: color changing RGB LED

Ok so now try one on your own.  Grab an RGB LED and follow this short tutorial.  You will recycle your wires and resistors for this project.

Advertisements

Leave a Comment »

RSS feed for comments on this post. TrackBack URI

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s


Entries and comments feeds.

%d bloggers like this: