I'm Smarter Than I Thought I Was
Arduinos
Arduinos
I can do this! Arduinos are microcontrollers that are easily programmable to do an unlimited amount of things!
Goals & Objectives:
Let's code to make the LED blink. Learn the basics of coding.
Activity Instructions
- Make sure that the program Aurdino IDE is installed on your computer.
- Make sure you have a controller board, USB connection & LED light.
- Place the LED into #13 on the pin board.
- Open Aurdino IDE & paste the code blink below into the workspace.
- Send code to the Arduino
- Can you make the light blink faster/slower?
- Can you make it blink SOS?
Code Blink:
void setup() {
pinMode(LED_BUILTIN, OUTPUT); }
void loop() {
digitalWrite(LED_BUILTIN, HIGH);
delay(1000);
digitalWrite(LED_BUILTIN, LOW);
delay(1000); }