beginning arduino
TRANSCRIPT
![Page 1: Beginning arduino](https://reader035.vdocument.in/reader035/viewer/2022081502/554a23c9b4c9051b578b46ea/html5/thumbnails/1.jpg)
TECH WORKSHOP 1 ARDUINO
1. Intro to Electricity2. What is a microcontroller?3. Analog vs. digital signal4. Examples5. LAB
![Page 2: Beginning arduino](https://reader035.vdocument.in/reader035/viewer/2022081502/554a23c9b4c9051b578b46ea/html5/thumbnails/2.jpg)
ARDUINO LAB:1. LED blink2. Set up your breadboard
CIRCUITS:3. Output: Turn a servo motor4. Digital input: make a push button lights up
LED's5. Analog input: Make an photo cell6. Bigger load Analog Input & output: make a
potentiometer move a motor
TECH WORKSHOP 1 ARDUINO
![Page 3: Beginning arduino](https://reader035.vdocument.in/reader035/viewer/2022081502/554a23c9b4c9051b578b46ea/html5/thumbnails/3.jpg)
What is a Physical Interaction?
773_Value-added-004.jpg
WHAT IS PHYSICAL INTERACTION?What are examples of physical
interfaces?
![Page 4: Beginning arduino](https://reader035.vdocument.in/reader035/viewer/2022081502/554a23c9b4c9051b578b46ea/html5/thumbnails/4.jpg)
WHAT IS A MICROCONTROLLER?
![Page 5: Beginning arduino](https://reader035.vdocument.in/reader035/viewer/2022081502/554a23c9b4c9051b578b46ea/html5/thumbnails/5.jpg)
WHAT IS A MICROCONTROLLER?
![Page 6: Beginning arduino](https://reader035.vdocument.in/reader035/viewer/2022081502/554a23c9b4c9051b578b46ea/html5/thumbnails/6.jpg)
TYPES OF SIGNALS
![Page 7: Beginning arduino](https://reader035.vdocument.in/reader035/viewer/2022081502/554a23c9b4c9051b578b46ea/html5/thumbnails/7.jpg)
ARDUINO PROJECT EXAMPLES
![Page 8: Beginning arduino](https://reader035.vdocument.in/reader035/viewer/2022081502/554a23c9b4c9051b578b46ea/html5/thumbnails/8.jpg)
ARDUINO PROJECT EXAMPLES
![Page 9: Beginning arduino](https://reader035.vdocument.in/reader035/viewer/2022081502/554a23c9b4c9051b578b46ea/html5/thumbnails/9.jpg)
ARDUINO PROJECT EXAMPLES
![Page 10: Beginning arduino](https://reader035.vdocument.in/reader035/viewer/2022081502/554a23c9b4c9051b578b46ea/html5/thumbnails/10.jpg)
ARDUINO PROJECT EXAMPLES
![Page 11: Beginning arduino](https://reader035.vdocument.in/reader035/viewer/2022081502/554a23c9b4c9051b578b46ea/html5/thumbnails/11.jpg)
ARDUINO PROJECT EXAMPLES
![Page 12: Beginning arduino](https://reader035.vdocument.in/reader035/viewer/2022081502/554a23c9b4c9051b578b46ea/html5/thumbnails/12.jpg)
ARDUINO PROJECT EXAMPLES
![Page 13: Beginning arduino](https://reader035.vdocument.in/reader035/viewer/2022081502/554a23c9b4c9051b578b46ea/html5/thumbnails/13.jpg)
ARDUINO PROJECT EXAMPLES
![Page 15: Beginning arduino](https://reader035.vdocument.in/reader035/viewer/2022081502/554a23c9b4c9051b578b46ea/html5/thumbnails/15.jpg)
ARDUINO PROJECT EXAMPLES
![Page 16: Beginning arduino](https://reader035.vdocument.in/reader035/viewer/2022081502/554a23c9b4c9051b578b46ea/html5/thumbnails/16.jpg)
ARDUINO PROJECT EXAMPLES
![Page 17: Beginning arduino](https://reader035.vdocument.in/reader035/viewer/2022081502/554a23c9b4c9051b578b46ea/html5/thumbnails/17.jpg)
ELECTRICITYThe flow of electrons through a conductive material
ANALOGY: Water flowing through a hose
Current (amps) = how many electrons are flowingVoltage (volts) = electrical energy (ie pressure)
Resistance (ohms) = a material's ability to RESIST current
ELECTRICITY
![Page 18: Beginning arduino](https://reader035.vdocument.in/reader035/viewer/2022081502/554a23c9b4c9051b578b46ea/html5/thumbnails/18.jpg)
ELECTRICITYThe flow of electrons through a conductive material
ANALOGY: Water flowing through a hose
Current (amps) = how much waterVoltage (volts) = water pressure
Resistance (ohms) = hose size
ELECTRICITY
![Page 19: Beginning arduino](https://reader035.vdocument.in/reader035/viewer/2022081502/554a23c9b4c9051b578b46ea/html5/thumbnails/19.jpg)
ELECTRICITYThe flow of electrons through a conductive material
ANALOGY: Water flowing through a hose
Current (amps) = how much waterVoltage (volts) = water pressure
Resistance (ohms) = hose size
ELECTRICITY
![Page 20: Beginning arduino](https://reader035.vdocument.in/reader035/viewer/2022081502/554a23c9b4c9051b578b46ea/html5/thumbnails/20.jpg)
CIRCUIT = A closed loop containing:1. a source of electrical energy2. a “load” (motor, light bulb)
ELECTRICITY
![Page 21: Beginning arduino](https://reader035.vdocument.in/reader035/viewer/2022081502/554a23c9b4c9051b578b46ea/html5/thumbnails/21.jpg)
ArduinoUSB CableBreadboardPotentiometerPushbuttonLED'sservo motorDC motorTransistordioderesistors
PARTS LIST
![Page 22: Beginning arduino](https://reader035.vdocument.in/reader035/viewer/2022081502/554a23c9b4c9051b578b46ea/html5/thumbnails/22.jpg)
ARDUINO LAB:1. LED blink2. Set up your breadboard
CIRCUITS:3. Output: Turn a servo motor4. digital input: make a push button lights up
LED's5. Analog input: Make an photo cell6. Bigger load Analog Input & output: make a
potentiometer move a motor
TECH WORKSHOP 1 ARDUINO
![Page 23: Beginning arduino](https://reader035.vdocument.in/reader035/viewer/2022081502/554a23c9b4c9051b578b46ea/html5/thumbnails/23.jpg)
Turn on the LED and make it blink
What you need:
Arduino LED USB cable
EXERCISE 1. LED BLINK
![Page 24: Beginning arduino](https://reader035.vdocument.in/reader035/viewer/2022081502/554a23c9b4c9051b578b46ea/html5/thumbnails/24.jpg)
Step 1. Download Arduino software
A. http://www.arduino.cc/en/Main/Software B. click OK!
EXERCISE 1. LED BLINK
![Page 25: Beginning arduino](https://reader035.vdocument.in/reader035/viewer/2022081502/554a23c9b4c9051b578b46ea/html5/thumbnails/25.jpg)
Step 1. Download Arduino software
C. Follow the prompts to put the Arduino application in the application folder
You’ve installed Arduino!
EXERCISE 1. LED BLINK
![Page 26: Beginning arduino](https://reader035.vdocument.in/reader035/viewer/2022081502/554a23c9b4c9051b578b46ea/html5/thumbnails/26.jpg)
Step 1. Download Arduino software
D. Open up Arduino program E. You should see this
EXERCISE 1. LED BLINK
![Page 27: Beginning arduino](https://reader035.vdocument.in/reader035/viewer/2022081502/554a23c9b4c9051b578b46ea/html5/thumbnails/27.jpg)
Step 2. Set up the Arduino board
A. Insert the longer leg of the LED into pin 13 of the Arduino. B. Insert the shorter leg of the LED into the pin
labelled GND on the Arduino.
EXERCISE 1. LED BLINK
![Page 28: Beginning arduino](https://reader035.vdocument.in/reader035/viewer/2022081502/554a23c9b4c9051b578b46ea/html5/thumbnails/28.jpg)
Step 3. Program the Arduino board
A. Plug the Arduino into the computer using the USB cable
EXERCISE 1. LED BLINK
![Page 29: Beginning arduino](https://reader035.vdocument.in/reader035/viewer/2022081502/554a23c9b4c9051b578b46ea/html5/thumbnails/29.jpg)
Step 3. Program the Arduino board
B. Select chip C. Select Port
EXERCISE 1. LED BLINK
In Arduino, select: TOOLS ---> Board ---> Arduino UNO ToIn
Select Tools ---> Serial Port ---> and click the TOP OPTION :
something like "dev.tty.usbmodemfd131"
![Page 30: Beginning arduino](https://reader035.vdocument.in/reader035/viewer/2022081502/554a23c9b4c9051b578b46ea/html5/thumbnails/30.jpg)
Now you are ready to program!
D. Open Blink sketch
Click on File ---> Examples---> Basics ---> Blink ToIn
EXERCISE 1. LED BLINK
![Page 31: Beginning arduino](https://reader035.vdocument.in/reader035/viewer/2022081502/554a23c9b4c9051b578b46ea/html5/thumbnails/31.jpg)
EXERCISE 1. LED BLINK
![Page 32: Beginning arduino](https://reader035.vdocument.in/reader035/viewer/2022081502/554a23c9b4c9051b578b46ea/html5/thumbnails/32.jpg)
Step 4. Change the blink speed
EXERCISE 1. LED BLINK
![Page 33: Beginning arduino](https://reader035.vdocument.in/reader035/viewer/2022081502/554a23c9b4c9051b578b46ea/html5/thumbnails/33.jpg)
Step 5. Now that you have MODIFIED the BLINK sketch, go ahead and save it
EXERCISE 1. LED BLINK
![Page 34: Beginning arduino](https://reader035.vdocument.in/reader035/viewer/2022081502/554a23c9b4c9051b578b46ea/html5/thumbnails/34.jpg)
RECAP: what did we just learn?
1. how to download and install Arduino software
2. about the Arduino software language
3. how to modify a sketch
4. how to upload a sketch to Arduino
5. how to blink LED's at different speeds
EXERCISE 1. LED BLINK
![Page 35: Beginning arduino](https://reader035.vdocument.in/reader035/viewer/2022081502/554a23c9b4c9051b578b46ea/html5/thumbnails/35.jpg)
2. USING A BREADBOARD
Follow this link to make the same circuit using a breadboard. Then get a bit more advanced and use multiple LED’s, then an RGB LED.
http://levinegabriella.com/exploringbiomimicry/Arduino_tutorials/2_CIID_tutorial_breadboard.pdf
![Page 36: Beginning arduino](https://reader035.vdocument.in/reader035/viewer/2022081502/554a23c9b4c9051b578b46ea/html5/thumbnails/36.jpg)
3. PUSHBUTTON
Follow this link to make a simple pushbutton ircuit.
http://www.levinegabriella.com/exploringbiomimicry/Arduino_tutorials/CIID_Beginner_makepushbutton.pdf
![Page 37: Beginning arduino](https://reader035.vdocument.in/reader035/viewer/2022081502/554a23c9b4c9051b578b46ea/html5/thumbnails/37.jpg)
Follow this link to get some practice using Arduino example code to output rotational motion through a servo motor.
http://levinegabriella.com/exploringbiomimicry/Arduino_tutorials/3_CIID_Servo.pdf
4. USING A SERVO MOTOR
![Page 38: Beginning arduino](https://reader035.vdocument.in/reader035/viewer/2022081502/554a23c9b4c9051b578b46ea/html5/thumbnails/38.jpg)
The following excersizes are here:
http://www.levinegabriella.com/exploringbiomimicry/Arduino_tutorials/4_CIID_Arduino_Analog_Digital.pdf
5 - 6. ANALOG / DIGITAL INPUT
![Page 39: Beginning arduino](https://reader035.vdocument.in/reader035/viewer/2022081502/554a23c9b4c9051b578b46ea/html5/thumbnails/39.jpg)
ARDUINO LAB:1. LED blink2. Set up your breadboard
CIRCUITS:3. Output: Turn a servo motor4. digital input: make a push button lights up
LED's5. Analog input: Make an photo cell6. Bigger load Analog Input & output: make a
potentiometer move a motor
TECH WORKSHOP 1 ARDUINO