Using Your Arduino, Breadboard And Multimeter

1y ago
7 Views
1 Downloads
9.97 MB
22 Pages
Last View : 1m ago
Last Download : 3m ago
Upload by : Amalia Wilborn
Transcription

Using Your Arduino,Breadboard and MultimeterWork in teams of two!EAS 199AFall 2010

Your Multimeterpincer clips – good for workingwith breadboard wiringprobes(push these onto probes)leadsTurn knob to select thetype of measurement.You will use the multimeter to understand and troubleshoot circuits, mostlymeasuring DC voltage, resistance and DC current.

The Arduino Duemilanove14 digital I/O pins(I/O input / output)USB cable plugon-board voltageregulatorexternal power plugpower pinsmicrocontroller(the brains)Power can be provided through the USB cable ( 5V fromthe computer) or externally (7-12V supply recommended)analog input pins

Measure VinVin is the voltage of the power supply. The USB supplies a nominal 5V(4.43V was measured when this photo was taken)

Change power source and measure VinIn this photo, a 7V DC power supply was plugged into the power jack ofthe Arduino.

Check Voltage at 5V Power PinThe on-board voltage regulator maintains the voltage on the 5V pin at about 5VThe measuredvoltage is closeto 5V target.

Check Voltage at 3V3 PinThe FIDI chip on the Arduino, which helps the microcontroller talk with your computerthrough the USB cable, also has an on-board voltage regulator that outputs 3.3V.If you need less than5V for a project, youcan use the 3V3 pin,Which provides about3.3V. The currentdraw from the 3V3 pinis limited to 50mA.max power V·I 3.3V·0.05A 0.165W 165mW

Select ResistorsFind the 330Ω and the 10kΩ resistors from your parts kit gold 5%silver 20%numberof zerosExample: 330Ω resistor:3 orange3 orangeAdd 1 zero to 33 to make 330, so 1 brownSo, 330 orange, orange, brownNow, find the 10kΩ resistor.

Check Resistance of Resistors

Building a circuit on a breadboard

LED circuit:two equivalent pictures

Building an LED CircuitSupplies: 2 two jumper wires – colors don’t matter, butred is usually used for positive, and black isused for negative LED 330 Ω and 10kΩ resistors Arduino Breadboard USB cable from your computer)

LEDsLED Light Emitting Diode -electronic symbolDiagram from Wikipedia description of an LEDElectricity can only flow one way through an LED (or any diode).The flat spot on the LED must be connected to ground (GND).

Building an always-onLED CircuitShort leg of LED connectsto ground wire

BreadboardLED circuit

The Circuit330Ω 5V-5V330Ωthese circuit diagramsare equivalentsymbol for ground (GND)

Replace the 330Ω Resistorwith the 10kΩ ResistorWhat happens and Why?ANSWER: The smaller resistor (330Ω) provides less resistance to current thanthe larger resistor (10kΩ). Since more current passes through the smallerresistor, more current also passes through the LED making it brighter.What would happen if you forgot to put in a resistor? You would probably burnup your LED.

Arduino program to blink an LED Build the circuit on the breadboard– A slight modification to always-on LED circuit Write your first Arduino program Use the digital (on/off) output to turn LEDon and off

Connect the Power Wire to Pin 0(Use P0 as a digital output)Enter and run the following program:!void setup() {!// initialize pin as an output:!pinMode(0, OUTPUT);!}!!void loop() {!// turn the LED on!digitalWrite(0, HIGH);!// wait 1 second 1000 ms!delay(1000);!// turn the LED off!digitalWrite(0, LOW);!// wait for 500 ms!delay(500);!}!

(500);}initialize pin 0 as an outputset pin 0 to HIGH (5V)wait 1000 msset pin 0 to LOW (0V)wait 500 ms1000 msvoltage (V)infinite loopHow the Program Works500 ms5V0Vtime (ms)HIGH 5VandLOW 0V(Always!!!!)

Now Experiment on Your Own!(1) Try changing the time to 1.5 seconds on and 1 second off(2) Connect the resistor to digital pin 5 and change the program to match(3) Blink out SOS in Morse code (dot-dot-dot-dash-dash-dash-dot-dot-dot)a. three short pulses (0.25 seconds each) followed by . . .b. three long pulses (0.75 second each) followed by . . .c. three short pulses (0.25 seconds each) followed by . . .d. a brief pause (1 second)e. repeat a through d using an infinite loopShow your instructor when you have completed exercise (3)

Find the each command in thereference section of arduino.cc(discuss each command with others at your 500ms}The End J

(4.43V was measured when this photo was taken) Change power source and measure Vin In this photo, a 7V DC power supply was plugged into the power jack of the Arduino. . color digit black 0 brown 1 red 2 orange 3 yellow 4 green 5 blue 6 violet 7 gray 8 white 9 first digit second digit number of zeros tolerance gold 5% silver 20% .

Related Documents:

The Arduino Nano is a small, complete, and breadboard-friendly board based on the ATmega328 (Arduino Nano 3.0) or ATmega168 (Arduino Nano 2.x). . development environment (based on Processing). Arduino projects can be stand-alone or they can communicate with software on running on a computer (e.g. Flash, Processing, MaxMSP). Arduino is a cross .

Arduino compatible components. Personal computer running Arduino software Arduino software is free to download and use from: www.arduino.cc Arduino board Such as: Arduino Uno Freetronics Eleven Genuino Uno or any Arduino compatible board that has a standard Arduino UNO header l

arduino-00 -win.zip Recommended Path c:\Program Files\ ( - version #) Step 3: Shortcut Icon Open c:\program files\arduino-00 Right Click Arduino.exe (send to Desktop (create shortcut)) \ ( - version #) Step 4: Plug In Your Arduino Plug your Arduino in: Using the included USB cable, plug your Arduino board into a free USB port. Wait for a box to .

Arduino's, resistors (220 ohm), breadboard). Suppliers: www.sparkfun.com www.elexp.com 1 x 10K ohm resistors 1 x pushbutton 6 x 220-ohm resistors Breadboard's Connecting wires Red, yellow, and green LED's Arduino's Power supply 5. Handouts: Arduino Tutorial Using Autodesk tinker CAD Simulation Student Handout 4_29_2020 6. Apps:

Hence we given interesting top five easy to make Arduino projects with code and library link. Happy learning Arduino 1. Heart Rate Monitor AD8232 Interface Arduino 2. Fingerprint sensor-scanner with Arduino 3. Giving Voice Recognition Ability to Arduino 4. Soil Moisture Sensor and Arduino 5. How to Interface RFID with Arduino?

117. Password access with arduino 118. Arduino Voltmeter Code 119. Easily control your iPod using Arduino 120. Candy Tossin Coffin using an Arduino 121. Arduino 7 segment Displays Digital Clock With Charlieplexing LEDs 122. Arduino controlled webcam panner 123. Binary/ Analog Clock 124. Universal Gripper

3. Then, use the Arduino IDE to write code to send to Arduino. Once a code is sent to the Arduino, it lives on the Arduino Uno. Any future edits to that code on the computer will not be sent to the Arduino unless it is manually uploaded to the Arduino Uno. When using the Arduino

Upload your custom Arduino code with the corresponding library file 3. Add the used libraries 4. Select the used in-outputs in the Arduino IO Simulator 5. Connect the Arduino IO Simulator to the Arduino board with the right se-rial port 1. Connect the Arduino Board The Arduino IO Simulator works with a lot of