Meet the Arduino Uno, learn about it, here’s how to install and configure. The Arduino was developed in Italy and most certainly a big step for humanity, with this board can do nothing less than the integration of the computer with the physical world out here
It is the integration of the digital world belonging to the computer with the analog world to which we belong, of course much more can be said, but in this class we will learn more this board and further out into the practice, and thus learn more about this fantastic world of Physical Computing with Arduino.
The Arduino was developed in Italy and most certainly a big step for humanity, with this board can do nothing less than the integration of the computer with the physical world out here, that is, the integration of the digital world belonging to computer with analog world to which we belong, of course much more can be said, but in this class we will learn more this board and following leave for the practice, and thus get to know this fantastic world of Physical Computing with Arduino.
Knowing the Arduino Uno
The figure below shows Arduino Uno board is of note that there are other board models, but in this course this will be the model used.
The anatomy of the Arduino Uno
Arduino One provides 14 digital ports that can be used for both input (input) and for output (output) and that can be used to control external devices 14. These doors will 0-13, observe carefully the figure.
These doors simulate an analog port and are six in number, they note that in addition to the port number also has a small sine wave as shown in the figure.
Digital door that can also be used as PWM ports are the number: 11, 10, 9, 6, 5 and 3. But keep in mind that they are also digital ports.
Doors RX and TX
These two ports but can be used as digital ports are also used by the Arduino for serial communication for both input and for output. It is desirable to avoid use of these ports as digital ports, but not prohibited.
This button, shown below, has the sole function of resetting the Arduino Uno, but note that it changes slightly its position in other boards.
This is where everything happens, is the brain of this board, that’s where the code is written and developed that will run, but note that when recording a previous code is discarded, is always only the last recorded code.
This processor allows the Arduino to work autonomously, that is, once downloaded the code for it is no more the need for a connection to the computer. The figure 1 shows the type most commonly found but other processor as shown in Figure 2 . The great advantage of the processor Figure 1 is the ease with which they can be removed and transferred to another plate.
These ports are only for data entry and commonly used for communication with sensors that can be used to determine:
- The amount of light
- Among other actions.
The analog ports are in number 6 and range from A0 to A5.
These pins supply power to external devices as shown in the figure to the side and explained below: Look carefully at the picture below, it shows these pins.
- 3.3V : this pin provides 3.3 volts to external devices and this marked on the plate;
- 5V : provides 5 volts to external devices and also is indicated on the board.
- GND : ground potential provides the external devices, is 0 volts and are two in number and as can be observed are also not well identified on the card.
- Vin : this pin provides the external device the same voltage that is being received by theexternal power supply pin . Note that the pin is last shown in the figure.
It should be noted that these pins provide a very low current carrying must be used for small loads and not for starting an engine, as small as it can be from other high consumption devices. In general can withstand only feed an LED, the base of a transistor or something.
This is the port used to establish a connection between the Arduino board and the PC. It is what allows you to send codes to the processor, allows connection to the serial and is also used to power the board. Look carefully next photo.
Pin External power
This is the pin for external power adapter, that is, when you are not using the USB port to connect to the computer, and is using it we will power the board. It is allowing the autonomy of this board. We food plate this with a voltage between 6 and 12 volts without problems.
Preparing the environment
Lowering the Arduino IDE
With your browser starts visit us at: http://arduino.cc/en/Main/Software
Once logged in click on this link for your operating system as shown in the figure below, in this case for Windows.
A new page is now displayed, click on the link indicated in the figure below.
Installing the Arduino IDE
Locate the downloaded file to your computer shown below, drag it into a folder created for this purpose and unzip it.
The following image shows the result after unpacking. Note that a new folder was created.
Open the folder indicated in the previous figure and note that in this there is a arduino.exe file name as shown in the figure below. It is he who should be used to start the Arduino IDE.
To make your life easier you can create a shortcut of this file and copy it to the desktop.
Starting the IDE for the first time
Locate the shortcut created and copied to the desktop and run it by double clicking.
If Windows Windows security alert stating that Windows Firewall has blocked some features click Allow access as indicated in the figure.
The figure below shows this initial screen, watch it very carefully.
Below you will set this IDE is started. In the menu bar select the File option. In the menu bar select the Preferences option.
The drop-down menu that now appears select the Preferences option.
Select the Show line numbers as indicated in the figure below.
Look carefully at all the other options and note that here you can even increase the font size if deemed necessário.Clique the OK button.
Note that the number of lines is now being displayed as shown in the figure below, which makes it much easier to identify a line of code.
Much more could be said about this IDE, but little good pouring an excess of content, now that you know the basics advance sequence and throughout the course you will be familiar with it. Close the IDE by clicking the Close button as shown in the figure below.
Configuring Windows 8 so you can install the necessary drivers
By default Windows 8 and 8.1 is configured not to accept the installation of drivers that do not have digital signature, so there is a need to set it up so you can accept the installation of the necessary drivers for the Arduino boards. A warning as shown in the figure below can be displayed if you attempt to install without this setting. Click Close.
Let the setting for the required driver installation.
Restarting Windows 8 correctly
Being with your Windows as shown in the figure below press the Shift key and keeping it pressed click Restart with the left button on your mouse.
Hold down the Shift button until the next screen button to appear (in blue). Release the Shift key and click the Troubleshooting option.
In the next screen, click Advanced Options.
Click the option Startup Settings .
Click the Restart .
Your computer will restart and a new screen as shown below appears. Watch it carefully.
Using your keyboard press the ” 7 “related to option Disable Driver Signature Enforcement .
Now, just wait for your Windows 8 or 8.1 will start normally, but will now accept the driver installation
Installing the Driver
Visit your Device Manager .
With its open Device Manager and the Arduino board properly connected to your computer using the USB cable locate in Other Devices plate that should not be recognized by Windows.
Position the mouse cursor over the unknown device that represents Arduino board and good click the right button.
The drop-down menu that opens choose Update Driver
A new window is now displayed in this and choose Search driver software on your computer .
In this new window click Browse .
The window Browse For Folder is now displayed at this, locate and select the folder driversthat is in the arduino-1.6.3 folder and click on OK .
Note that now the path is full to the folder where the drivers, click Next .
If a Windows security warning as shown below pass to be displayed, click Install.
Ai is the Arduino board was recognized and in my computer for the port COM3 , but each computer, each card can be recognized on a different port. Look carefully at the picture below.
And so we come to the end of this class where you learned of the Arduino board anatomy, learned how to download and install your IDE and also the driver software so that Windows can recognize the Arduino. In the next lesson we will begin to implement practical examples.