Why Won’t My Arduino Work?

Slides:



Advertisements
Similar presentations
Why won’t my Arduino work???? living with the lab © 2012 David Hall.
Advertisements

temperature system wiring
Analog and Digital Measurements living with the lab 14 digital input / output pins 6 analog input pins © 2012 David Hall.
Using the Arduino to Make an LED Flash Work in teams of two! living with the lab digital I/O pins (I/O = input / output) USB cable plug power pins.
User-defined functions in Arduino sketches living with the lab © 2012 David Hall.
Using Your Arduino, Breadboard and Multimeter Work in teams of two! living with the lab 1 © 2012 David Hall.
Assembly of conductivity flow loop living with the lab (in preparation for calibrating conductivity sensor)
Using fixed-cell references and built-in functions in Excel living with the lab © 2012 David Hall.
220  470  Gnd5V Currents Through Parallel Resistors 1 living with the lab © 2012 David Hall.
Introduction to Microsoft Excel living with the lab © 2012 David Hall.
Kirchoff’s Current Law (KCL) living with the lab University of Pennsylvania Library and Wikipedia Gustav Kirchoff (left) and Robert Bunsen (right) Bunsen.
Adding a Barrel Jack to a Battery Pack living with the lab © 2012 David Hall.
Using for loops to control LEDs living with the lab 1 1 arduino.cc the for statement allows us to repeat a block of commands a limited number of times.
Building Circuits.
Measuring & Drawing a Barbed Fitting
Pump Fabrication Day Group A will draw their pump
Controlling Servos with the Arduino
Connecting Switches.
Series and Parallel Resistors
Pump Project Requirements
Pump Efficiency Fluid Energy Out + - Electrical Energy In.
Introduction to the Arduino
Robot Challenge Introduction
Troubleshooting Your Multimeter
Introduction to SolidWorks
Servo Library and Functions
What’s in your kit?.
Pump Project Overview.
Robot Assembly.
How to Use Dial Calipers
Controlling a Motor with Cascading Switches
Introduction to the Fishtank
RGB LEDs.
Conservation of Mass Problem
Freshman Design Expo.
Linkages and Mechanisms
Servo Library and Functions
Troubleshooting Your Multimeter
Introduction to Statics
Relays.
using for loops to control LEDs
using the Arduino to make LEDs flash
Acquiring Data from an ADXL335 Accelerometer
Using Photoresistors with an Arduino
Torque and RPM of Gears
Conservation of Mass Problem
Data Types.
analog and digital measurements
Finishing your Project
Using “if” statements.
Controlling the Heater
Design Project Forecast
Digital Input from Switches
Measuring & Drawing a Barbed Fitting
Cash Flow Diagrams <in> <out> $200 $300 $150 $100
Implementing Switches Using Interrupts
Arduino: For Loops.
Non-Concurrent Force Systems
IR Object Detection IR detector IR LED IR light reflected off object
Interfacing a Rotary Encoder with an Arduino
Brainstorming.
Graphing in Mathcad.
Conservation of Mass Problem
Non-Concurrent Force Systems
Evaluating Design Alternatives
Counting Servo Gear Teeth (FS90R Servos)
Static Equilibrium Problem
Reservoir Loop.
Freshman Design Expo Presentations
Gearmotor Efficiency W table top gearmotor pulley string.
Presentation transcript:

Why Won’t My Arduino Work?

DISCLAIMER & USAGE The content of this presentation is for informational purposes only and is intended for students attending Louisiana Tech University only. The authors of this information do not make any claims as to the validity or accuracy of the information or methods presented. Any procedures demonstrated here are potentially dangerous and could result in damage and injury. Louisiana Tech University, its officers, employees, agents and volunteers, are not liable or responsible for any injuries, illness, damage or losses which may result from your using the materials or ideas, or from your performing the experiments or procedures depicted in this presentation. The Living with the Lab logos should remain attached to each slide, and the work should be attributed to Louisiana Tech University. If you do not agree, then please do not view this content. boosting application-focused learning through student ownership of learning platforms

from the computer through the USB cable? 1. Is the Arduino plugged in??? Is the green indicator light illuminated? Is the Arduino receiving power from the computer through the USB cable?

2. Are the Arduino drivers installed? NOTE: Once your Arduino works on your computer for the first time, this is probably not why your Arduino no longer works … just proceed to step 3 and come back to this after checking everything else. Open “Control Panel” and then click on “Hardware and Sound”

2. Are the Arduino drivers installed? click on “Device Manager”

2. Are the Arduino drivers installed? If you see this, then your Arduino driver or IDE (integrated development environment) has probably not been properly installed Refer to an earlier presentation tells how to install the Arduino IDE and drivers You should see something like this

3. Does the Arduino IDE “see” the Arduino through a COM port? If the COM port is not checked, then try to check it with your mouse If it won’t check, then your Arduino IDE is not seeing the Arduino. Try these steps: unplug the Arduino and close the Arduino IDE plug the Arduino back in and start the Arduino IDE again wait a few seconds and then check your COM port again (as shown above) if this still doesn’t work, reboot your computer and repeat the above procedure if it still doesn’t work, try another Arduino (your instructor has another one)

4. Be sure that you are using the right hardware (there are different versions of the Arduino microcontroller)

5. Try running a program that you know works. For example, load and run the blink program. The built-in LED should flash on and off; change the values in the delay(1000) command from 1000 to 200 to make sure it works properly (it should blink faster).

6. If your Arduino still doesn’t work, then … Unplug your Arduino from your computer and close your Arduino program Plug your Arduino back in, and wait about five seconds Re-open your Arduino program Check under tools > port to see if your computer is recognizing your Arduino If so, try to upload a program such as the Blink program to confirm that it’s working. 7. If your Arduino still doesn’t work, then … Shut down your computer and repeat step 6 above. 8. If your Arduino still doesn’t work, then … You may have a short on your breadboard. Unplug the wires leaving your Arduino and repeat step 6 above.

9. If your Arduino still doesn’t work, then … Try a friend’s Arduino. If their Arduino works, then you may have a damaged Arduino. 10. If your Arduino still doesn’t work, then … Try plugging your Arduino into a friend’s computer. If your Arduino works with their computer, then your computer may not be running the Arduino software properly. In this case, go back to step 2.

11. If you are still having trouble getting your Arduino to work, then it is important that you get some help: Helpdesk in Bogard Hall 129 Sunday through Thursday 6 p.m. – 8 p.m. Your Professor Go see him or her during office hours