Analog Input Example for Intel® Edison Board
The Analog Input example for Intel® Edison Board uses a potentiometer as an input/output device to control the blinking rate of the LED. We are using the code provided under the examples for Arduino* IDE 1.5.3.
Hardware
- Intel® Edison Board
- Arduino* expansion board
- Breadboard
- Potentiometer
- Wires
- One LED
- One 220 Ohm resistor
Instructions
- Using two wires, make the following breadboard-to-Arduino expansion board connections.
Breadboard | Arduino expansion board |
Positive strip | 5 V |
Negative strip | GND |
- Using the potentiometer, make the following breadboard-to-Arduino expansion board connections.
Breadboard | Arduino expansion board | Potentiometer | LED | Resistor |
Pin 13 | Positive leg | |||
Negative strip | Negative leg | Connect | ||
Negative strip | Pin 1 | |||
A0 | Pin 2 | |||
Positive strip | Pin 3 |
- Connect the power supply and the USB to USB port on the Arduino expansion board.
- Open Arduino IDE. Click Tools > Board and select Intel® Edison.
- Click Tools > Serial Port and select the Com # that the Intel Edison board is connected to.
- Click File > Examples > 03.Analog and select AnalogInput.
- Click upload icon.
Circuit
Note | This image was created using Fritzing*. |