Sample code – serial terminal with IF/ELSE

Sample code – serial terminal with IF/ELSE

Quiz/Schematic review
Last day of outputs
Goals by end of class:
End of period – turn in boards with your name. We will evaluate your boards based on your progress.
Test day
After you finish your exam please continue your work on the Factory Challenge and the Pendulum Challenge.
Done? Great.
You have controlled a motor and LEDs with an Arduino. Now it’s time for sound.
Click here to Play a Scale on an Arduino. Can you modify the program to play a SHORT tune?
Controlling Sound with Light using an Arduino Use a photoresistor to control the sound output from a piezo buzzer.
Arduino Blink
Challenge 1: Click here to program your Arduino to blink the onboard LED
Challenge 2: Click here to program your Arduino to blink an LED on a breadboard
Challenge 3: Blink multiple LEDs on your breadboard
Extension activity: see Mr. Varvil for a schematic that will help you to control with and Arduino program.
Need help troubleshooting your c0nnection to Arduino?
What is adafruit.com? Who started the company? LadyAda choose her nickname in honor of Ada Lovelace
Sample Arduino Projects
The Arduino Introduction assignment must be submitted BEFORE CLASS on Thursday, March 16th for credit. You will watch a short video and then complete an online worksheet.
Fill out this online worksheet.
Wiring Diagram Resources:
How to Read a Schematic – Sparkfun – a VERY comprehensive description of common wiring diagram symbols.
Make Magazine: Going From Schematic to Breadboard – includes photos of the component next to the symbol.
Today – new Inkscape tools:
>bezier tool
>node tool
New project: the laser cut puzzle
today: I will hand out the latest batch of rings at the end of class. Laser cutting first!
Use Inkscape to create a laser cut and engraved bag tag/name tag/gift/keychain. This can also work as a great Valentine’s gift. What follows in an outline or cheat sheet of our process. We will go through this step by ste
p.
images that DON’T work well:
-color photos
-dense black and white photos
-anything with a watermark
2. Save your image
3. draw a rectangle/square/circle/star shape – no bigger than 2.5 inches x 3.5 inches.
4. in Inkscape, use File, Import to include the image that you saved earlier
5. work with Mr. Milstead to place the file and size your design correctly
6. change all cut lines to .001 of an inch
7. use File, Document Properties to size the document correctly
8. save your file as a PDF (Portable Document Format)
9. email your PDF to drakelasercutter@gmail.com
today: 3d printed Magnetic Ring
skills you need:
-aligning objects
-accurate measurement
-placing an object on the build plate
what images work well?
Next project: 3d printed Magnetic Ring
revise and resubmit keychain prints as needed