martes, 12 de abril de 2016

Our first circuit.

For our first circuit with Arduino need:
   -Arduino One or similar. This session accepts any other model of Arduino.
   -A PC with the Arduino environment correctly installed and configured.
   -A Protoboard.
   -A Diode LED.
   -A 330 Ohm resistor.
   -Some Breadboard wires.

In the previous blog program the pin 13 connected to our Arduino LED. Today we will duplicate this circuit in the outside riding him from the start with discrete components. Its electronic scheme would be:
Img_3_1
We left the command LED that is light emitter and therefore has little arrows to indicate these projections (Light Emitting Diode). The resistance is represented by the second symbol indicating a name and value R1 330Ω. In turn we left the letters GND to indicate that is the negative. Finally right + 5V symbol indicates the end of positive voltage.
It is important to understand electronic schemes because they allow quickly understand any circuit. Worth spending a little effort because they are the language of electronics.

Once understood the electrical circuit diagram, see the connection in the Protoboard:


Circuito LED mas resistencia


This scheme follows a pattern of marking the cables to positive in red and those who go to GND in black. We highly recommend this rule is followed in practice because it helps identify potential problems and avoid mistakes.
The keys to successfully mount the circuit are:


- Connect the Arduino pin 13 to the red line of the breadboard: Positive.
- Connect the Arduino GND to the blue line Protoboard: Ground.
- We use the positive rail (the pins of the red line) to connect to the resistance.
- The other end of the resistor is connected to the positive LED because they are in the same Breadboarding vertically (and this connects electrically).
- Note that the positive LED is clearly marked longest by a small angle near the base.
- A LED almost no resistance itself, so additional resistance to limit the current flow must always be used, and avoid burning. (A resistance between 220 and 3300 Ω is usually adequate).
- The circuit is closed with a wire from the negative rail LED to GND.
- When our program use a value of HIGH (5V) on pin 1.3 will allow the current flow through the LED lighting circuit. With LOW simply be off the circuit without tension.


We can now dump the program that we did in session 2 (or simply load the Blink example), following the procedure we defined there, and see how this time, besides their LED Arduino, our outdoor LED flashes following the same ignition cycle and off.

https://www.dropbox.com/s/zwyh0896stsq9gy/Arduino_pin_13_to_LED_10s_test%28bajaryoutube.com%29.mp4?dl=0

No hay comentarios:

Publicar un comentario