From charlesreid1

No edit summary
No edit summary
Line 1: Line 1:
This code shows a simple implementation of a blink program on the Arduino Micro.
=Overview=


This is the same as the [[Hello World Arduino Micro]] circuit, but with the Arduino controlling the voltage of the circuit.
In this article, we go over a simple blink program using the Arduino Micro. This is the same as the [[Hello World Arduino Micro]] circuit, but with the Arduino controlling the voltage of the circuit to make it blink.


This time, we connect the power source of the circuit to a pin whose voltage the Arduino microcontroller controls.
In the simple Hello World example, we wanted a constant source of potential, 5 volts, to keep the LED light continuously lit. Now, we want to control the voltage so that we can shut the light on and off. The program we load onto the Arduino microcontroller will allow us to create a logical program to control the voltage.


Now, we have a reason to write a program for the microcontroller. By doing different things with the voltage at pin X, we can do things with the light. It's as simple as controlling a shut-off valve for water (voltage).
=The Circuit=
 
The circuit for our blink program is almost exactly the same as for the Hello World program, except now we plug it into a numbered pin on the Arduino board:
 
[[Image:bb_Blink1.png|500px]]






[[Category:Arduino]]
[[Category:Arduino]]

Revision as of 21:24, 18 July 2015

Overview

In this article, we go over a simple blink program using the Arduino Micro. This is the same as the Hello World Arduino Micro circuit, but with the Arduino controlling the voltage of the circuit to make it blink.

In the simple Hello World example, we wanted a constant source of potential, 5 volts, to keep the LED light continuously lit. Now, we want to control the voltage so that we can shut the light on and off. The program we load onto the Arduino microcontroller will allow us to create a logical program to control the voltage.

The Circuit

The circuit for our blink program is almost exactly the same as for the Hello World program, except now we plug it into a numbered pin on the Arduino board:

Bb Blink1.png