Sometimes you need to do two things at once. For example you might want to blink an LED (or some other time-sensitive function) while reading a button press or other input. In this case, you can’t use delay(), or you’d stop everything else the program while the LED blinked. The program might miss the button press […]
Projects
Analog Read Voltage using Arduino
This example shows you how to read an analog input on Pin 0, convert the values from analogRead() into voltage, and print it out to the serial monitor. Circuit: image developed using Fritzing. For more circuit examples, see the Fritzing project page Connect the three wires from the potentiometer to your Arduino board. The first goes to […]
Fading an LED off and on using Arduino
Demonstrates the use of the analogWrite() function in fading an LED off and on. AnalogWrite uses pulse width modulation (PWM), turning a digital pin on and off very quickly, to create a fading effect. Circuit Connect the anode (the longer, positive leg) of your LED to digital output pin 9 on your Arduino through a 220-ohm resistor. Connect the cathode (the shorter, negative leg) […]
Using Servo Motors with Arduino
In this instructable, I am going to show you what a servo motor is, how to use it, and ideas for starting projects using it. I used arduino to control my servo, I added how to use a 555 in some of the later steps. Step 1: What is a Servo motor If you are […]
Digital Read Serial using Arduino
This example shows you how to monitor the state of a switch by establishing serial communication between your Arduino and your computer over USB. Hardware Required Arduino Board A momentary switch, button, or toggle switch 10k ohm resistor breadboard hook-up wire Circuit image developed using Fritzing. For more circuit examples, see the Fritzing project page Connect three wires to […]
Blink LED using Arduino
This example shows the simplest thing you can do with an Arduino to see physical output: it blinks an LED. Circuit To build the circuit, attach a 220-ohm resistor to pin 13. Then attach the long leg of an LED (the positive leg, called the anode) to the resistor. Attach the short leg (the negative […]
Make an Arduino LCD shield
In this short tutorial we make an Arduino LCD shield. Updated 18/03/2013 Today we are going to make an Arduino shield with an LCD module. More often than not I have needed to use an LCD shield in one of my projects, or with the Arduino tutorials. Naturally you can buy a pre-made one, however […]
Arduino Timer Interrupts
Timer interrupts allow you to perform a task at very specifically timed intervals regardless of what else is going on in your code. In this instructable I’ll explain how to setup and execute an interrupt in Clear Timer on Compare Match or CTC Mode. Jump straight to step 2 if you are looking for sample […]
Model Airplane Autopilot using Arduino
Hello everyone! My age is twenty years. I started using my Arduino for the first time during Christmas, and I have been busy working on Arduino projects to create this instructable for you. I trust that it will be beneficial! The purpose of this project was to build a stepping stone from remote controlled flight […]
An Arduino real time clock shield
Today we are going to make a real time clock Arduino shield. Doing so will give you a simple way of adding … real time capability to your projects such as time, date, alarms and so on. We will use the inexpensive Maxim DS1307 real-time clock IC. First of all, we need create our circuit […]
