tweaking your simon
DESCRIPTION
Adding a photoresistor and changing code Instruction by Pete Lewis. Tweaking Your Simon. Demo over view:. Arduino Software and Arduino hardware Uploading different code onto the Simon Disco Mode Code found: www.sparkfun.com/tutorials/203 Adding a photocell and using Disco Mode. - PowerPoint PPT PresentationTRANSCRIPT
![Page 1: Tweaking Your Simon](https://reader035.vdocument.in/reader035/viewer/2022062314/56812bce550346895d902873/html5/thumbnails/1.jpg)
Tweaking Your SimonAdding a photoresistor and changing code
Instruction by Pete Lewis
![Page 2: Tweaking Your Simon](https://reader035.vdocument.in/reader035/viewer/2022062314/56812bce550346895d902873/html5/thumbnails/2.jpg)
Demo over view:
Arduino Software and Arduino hardware
Uploading different code onto the Simon
Disco Mode Code found: www.sparkfun.com/tutorials/203
Adding a photocell and using Disco Mode
![Page 3: Tweaking Your Simon](https://reader035.vdocument.in/reader035/viewer/2022062314/56812bce550346895d902873/html5/thumbnails/3.jpg)
Downloading the Arduino Environment:
First go the Arduino website:http://www.arduino.cc/
Then click on Download and follow the instructions
![Page 4: Tweaking Your Simon](https://reader035.vdocument.in/reader035/viewer/2022062314/56812bce550346895d902873/html5/thumbnails/4.jpg)
Hardware:
You will need the following:A USB cable, an FTDI Breakout Board,
and six pins of Break Away Headers
![Page 5: Tweaking Your Simon](https://reader035.vdocument.in/reader035/viewer/2022062314/56812bce550346895d902873/html5/thumbnails/5.jpg)
Break Away Headers:
Headers come in strips of forty
We just need six for the FTDI Breakout Board so clip off six of the forty by
cutting through the seventh pin
![Page 6: Tweaking Your Simon](https://reader035.vdocument.in/reader035/viewer/2022062314/56812bce550346895d902873/html5/thumbnails/6.jpg)
FTDI and Headers:
Attach the FTDI Basic Breakout Board and Headers
Make sure you plug the long side of the headers into the FTDI Breakout Board:
![Page 7: Tweaking Your Simon](https://reader035.vdocument.in/reader035/viewer/2022062314/56812bce550346895d902873/html5/thumbnails/7.jpg)
Plugging it All into the computer:
Plug the USB cord into the computer and then into the FTDI Board
The TX and RX LEDs will blink as you plug the FTDI in, this means the FTDI is talking to your
computer
![Page 8: Tweaking Your Simon](https://reader035.vdocument.in/reader035/viewer/2022062314/56812bce550346895d902873/html5/thumbnails/8.jpg)
Plugging it All into the Simon:
Plug the Headers on the FTDI Board into the Programming Port on the
Simon
![Page 9: Tweaking Your Simon](https://reader035.vdocument.in/reader035/viewer/2022062314/56812bce550346895d902873/html5/thumbnails/9.jpg)
Plugging it All into the Simon:
Orient the FTDI properly, GRN goes to GRN and BLK goes to BLK Also make sure to hold the FTDI at a 45 degree angle so the Headers make contact with all the
ports
![Page 10: Tweaking Your Simon](https://reader035.vdocument.in/reader035/viewer/2022062314/56812bce550346895d902873/html5/thumbnails/10.jpg)
Before uploading code onto the Simon:
Open the Arduino Environment Choose your board type and serial port
![Page 11: Tweaking Your Simon](https://reader035.vdocument.in/reader035/viewer/2022062314/56812bce550346895d902873/html5/thumbnails/11.jpg)
Uploading Code onto the Simon:
We're finally ready to upload codeOpen the Simon sketch in the Arduino
Environment and click Upload
![Page 12: Tweaking Your Simon](https://reader035.vdocument.in/reader035/viewer/2022062314/56812bce550346895d902873/html5/thumbnails/12.jpg)
Adding a Photoresistor to the Simon:
We're ready to add a sensor to your Simon!
You'll need a photoresistor and a plain old 10K Ohm resistor:
![Page 13: Tweaking Your Simon](https://reader035.vdocument.in/reader035/viewer/2022062314/56812bce550346895d902873/html5/thumbnails/13.jpg)
Here's the Schematic:
This schematic shows
the three connections
we will have to make
5V, GND and A0
![Page 14: Tweaking Your Simon](https://reader035.vdocument.in/reader035/viewer/2022062314/56812bce550346895d902873/html5/thumbnails/14.jpg)
The Simon Analog Pins
The three holes (5V, GND and A0) you will connect to the photoresistor
circuit
![Page 15: Tweaking Your Simon](https://reader035.vdocument.in/reader035/viewer/2022062314/56812bce550346895d902873/html5/thumbnails/15.jpg)
Creating the Circuit
Make the photoresistor and regular resistor look like the schematic
![Page 16: Tweaking Your Simon](https://reader035.vdocument.in/reader035/viewer/2022062314/56812bce550346895d902873/html5/thumbnails/16.jpg)
Creating the Circuit
Make the photoresistor and regular resistor look like the schematic
![Page 17: Tweaking Your Simon](https://reader035.vdocument.in/reader035/viewer/2022062314/56812bce550346895d902873/html5/thumbnails/17.jpg)
Connecting the Circuit
Just prior to soldering your photoresistor circuit should look like
this
![Page 18: Tweaking Your Simon](https://reader035.vdocument.in/reader035/viewer/2022062314/56812bce550346895d902873/html5/thumbnails/18.jpg)
Connecting the Circuit
Just after soldering your photoresistor circuit should look something like this
![Page 19: Tweaking Your Simon](https://reader035.vdocument.in/reader035/viewer/2022062314/56812bce550346895d902873/html5/thumbnails/19.jpg)
Connecting the Circuit
Just after soldering your photoresistor circuit should look something like this
![Page 20: Tweaking Your Simon](https://reader035.vdocument.in/reader035/viewer/2022062314/56812bce550346895d902873/html5/thumbnails/20.jpg)
Bending the Sensor
Bend the photoresistor around so it faces your light source
![Page 21: Tweaking Your Simon](https://reader035.vdocument.in/reader035/viewer/2022062314/56812bce550346895d902873/html5/thumbnails/21.jpg)
Insert Your Batteries and Bask in the Glory of Disco
Mode
![Page 22: Tweaking Your Simon](https://reader035.vdocument.in/reader035/viewer/2022062314/56812bce550346895d902873/html5/thumbnails/22.jpg)
www.sparkfun.com6175 Longbow Drive, Suite 200
Boulder, Colorado 80301