Find your assigned seats referring to the seating chart.
Review last Tuesday’s kick-off challenge.
Review Final Project purpose and schedule.
Absent last Tuesday? Get makeup work from Milstead.
Goals by end of class today:
Each group completes the brainstorming page from the packet and turns it in for grading and feedback.
use digital calipers to measure golf balls, short tubes and momentary switches. Paste handout in your engineering notebook.
go to the computer lab and login to tinkercad. Make sure that you can login to tinkercad.com. Fix your login as needed.
using a Google Doc, create a document that describes – step by step – what will happen in your celebration code. Stoplight example: 1) person pushes button, 2) green light goes off, 3) yellow light goes on for three seconds, etc. Share with email@example.com for credit.
use the breadboard handout to draw your celebration circuit plan. Paste handout in your engineering notebook.
Woodworking: measure and record hole box dimensions.
45 minutes of work time/troubleshooting before we go to Engineering
-make sure that your program triggers the stoplight sequence
-make sure that your program triggers the walk/don’t walk
-test it with your stoplight
1:45 – we start packing. Bring with you:
1. your stoplight
2. your Arduino with your program loaded
3. your completed breadboard
4. plus email your stoplight code to yourself (copy/paste it in)
In Engineering – each of you will connect your stoplight to run your code on an Arduino. We are looking for lights to blink.
setup this circuit on your breadboard- click to zoom in.
>look at the Blink sketch – test and see if it makes the red light blink. If this line makes the red light (pin 13) blinkthen how could you make yellow light (pin 12) blink at the same time?
now add the green light (pin 11) into the sketch and make it blink with red and yellow. SAVE THIS SKETCH as lightsblinkhow can you get the links to blink one after the other: red then yellow then green?SAVE THIS SKETCH as linkssequence.
we will create the code together on the big screen.
Search for Arduino on your computer and open the application.
Connect your Arduino to your computer using USB
Using the Arduino app, click on File, Examples, Basic and choose the sketch named Blink
Click on the arrowat the top of the Arduino sketch to send Blink to your Arduino board.
IF you get an error message like the one below you have to choose a different connection from the drop-down menu.
IF you connect to your Arduino then see if the small LED light blinks on the board.
Once you are connected and have a blinking light, it’s time to change the code. Change the delay(1000) value – that’s the number – to a different value. What happens if you make the value larger or smaller? What if you copy/paste the portion of code that starts with digitalWrite over and over? How does the blinking change?
Once everyone has a connection with their board we will