Please review the following:
For these activities you are going to hook up some circuits using TinkerCAD (or on a real Arduino - Breadboard)
Record the answers to the following questions in your ePortfolio:
In what order do program commands execute in Arduino?
What is a Control Flow command? What do they do?
What is the difference between pseudocode and a flowchart?
What is the purpose of semicolons in Arduino sketches?
Record the answers to the following questions in your ePortfolio:
What are the main relational operators?
What data do relational operators return?
How are conditional statements represented in flowcharts?
Record the answers to the following questions in your ePortfolio:
Explain how the numbers 0 and 1 are connected to the terms TRUE and FALSE in Arduino.
Explain the difference between an OR (||) and AND (&&) operator in Arduino.
Explain how a == command works in Arduino.
Record the answers to the following questions in your ePortfolio:
What is the difference between a Serial.print() and a Serial.println() command?
What is the key difference between an if and a while loop?
BG - Create a flow chart for your evening after school. Describe your evening from 3:31 to the time you go to sleep. Use the shapes above.
DV - Create a flow chart for all the below Basic Circuits.
Begin your Arduino journey with the following circuits. Be sure to record what you have done with either pictures, schematics, and code documentation of what you've done. Ensure your flowchart is also in your ePortfolio.
For each of the following circuits, please make sure the following are on in your ePortfolio:
TinkerCAD photo of circuit
Code in a GoogleDocs
Schematic view PDF from TinkerCAD
"In Real Life" photo/video of breadboard
Flowchart for code
2.07.01Blink
Hook up a basic LED circuit.
Be ready to demonstrate your knowledge by making your led blink at different intervals.
2.07.02DigitalReadSerial
Hook up a pushbutton that reads information and writes it to either the serial monitor or to an led
Be ready to demonstrate your knowledge by changing your pin assignments and breadboard to match the new assignments
2.07.03AnalogWrite
Hook up a dimming led to let your Arduino control an LED to fade in and out of colours.
The Arduino should take the RGB led from no light to full red, then no light to full blue etc...
The easiest way to do this is with a for command (Ardunio - for)
Be ready to demonstrate your knowledge by being able to code in a specific colour in your code to be displayed by the LED.
2.07.04AnalogRead
Hook up a potentiometer to read an analog value into the serial monitor and an led
Be ready to demonstrate your knowledge by changing your pin assignments and breadboard to match the new assignments
Code can be found here Arduino Controls