Arduino 控制板有多种不同的类型，包括UNO, MEGA2560, Nano, Pro Mini(Pro Micro),Lilypad, Leonardo, Yun等。现在对最常用的几个类型分别介绍如下：
Don't feel like you have to understand this part fully! Skim it for now, and consider it a resource for you when you want to take a deeper dive into understanding the hardware!
The black thing with all the metal legs is an IC, or Integrated Circuit (13). Think of it as the brains of our Arduino. The main IC on the Arduino is slightly different from board type to board type, but is usually from the ATmega line of IC’s from the ATMEL company. This can be important, as you may need to know the IC type (along with your board type) before loading up a new program from the Arduino software. This information can usually be found in writing on the top side of the IC. If you want to know more about the difference between various IC’s, reading the datasheets is often a good idea.
Every Arduino board needs a way to be connected to a power source. The Arduino UNO can be powered from a USB cable coming from your computer or a wall power supply that is terminated in a barrel jack.
The USB connection is also how you will load code onto your Arduino board. More on how to program with Arduino can be found in our Installing and Programming Arduino tutorial.
NOTE: Do NOT use a power supply greater than 20 Volts as you will overpower (and thereby destroy) your Arduino. The recommended voltage for most Arduino models is between 6 and 12 Volts.
The Arduino is designed for beginners so it has some protection and regulation circuitry so that it can use just about any power supply you throw at it. In particular there is a polarity protection diode (to avoid destroying the board if you have a Negative Tip adapter). It also has an onboard 5V
As we talked about in the beginning, this is how you connect your Arduino to your computer. You can use any computer with a USB port. You will need a cable to connect! This cable is usually included in the Osoyoo pack.
OK so you plug your Arduino into a computer with a USB cable. But you may be surprised to learn, the main processor chip (ATmega328) cannot speak “USB”. Instead it can talk an interface language called “Serial”. Serial is a much simpler, much older interface. (It’s also a lot less expensive to build into a chip) So, how do you connect a chip that does not speak USB to a USB port? Easy! you just need a USB to Serial Interface Translator chip. Much like a human translator, it can understand and speak both languages and can seamlessly translate between the two.
There’s a lot of different translator chips, some common part numbers are FTDI FT232, FTDI FT231X, CP2102 orCP2104, PL2303, CH430 and probably a dozen others. They’re all nearly identical but some require different operating system drivers.
Likewise, the Arduino has four LEDs: L, RX, TX, and ON
This LED will shine green whenever the Arduino is powered. Always check this LED if your Arduino is not acting right, if its flickering or off then you should check your power supply.
These are like the ‘send’ and ‘receive’ LEDs on your cable modem. They blink whenever information is sent from or to the Arduino through the USB connection
The TX LED lights up yellow whenever data is sent from the Arduino to the computer USB port
The RX LED lights up yellow whenever data is sent to the Arduino from the computer USB port
This is the one LED that you can control. The ON, RX and TX LEDs all light up automatically no matter what. The L LED, however, is connected to the Arduino main chip and you can turn it on or off when you start writing code.
For future reference, L is connected to Digital Pin #13
The two pins labeled 0 (RX) and 1 (TX) are the two Serial pins that are used to send data to and from the Arduino to the USB-Serial translator chip.
And a few extra straggler pins:
Shh! It’s a secret but those 6 analog input pins? They can also be used as digital input/output pins, they really are the most versatile pins!
Each analog pin can read a voltage between 0 and 5 V (the same voltage used to power the Arduino.
Once you get advanced analog skills you can connect the ARef pin to a different voltage like 3.3V and direct the Arduino to use Aref as the max voltage, then you can get more precision. But we’ll cover that some other day.
The little USB fuse is a part that is used to protect your Arduino and computer. You’ll be connecting all sorts of wires to your Arduino and there’s a chance you will accidentally short out the power. To keep your electronics safe this resettable fuse will open up, much like the circuit breakers in your home.
Just like the original Nintendo, the Arduino has a reset button (10). Pushing it will temporarily connect the reset pin to ground and restart any code that is loaded on the Arduino. This can be very useful if your code doesn’t repeat, but you want to test it multiple times. Unlike the original Nintendo however, blowing on the Arduino doesn’t usually fix any problems.
The pins on your Arduino are the places where you connect wires to construct a circuit (probably in conjuction with a breadboard and some wire. They usually have black plastic ‘headers’ that allow you to just plug a wire right into the board. The Arduino has several different kinds of pins, each of which is labeled on the board and used for different functions.
Arduino provides an open-source and easy-to-use programming tool for writing code and uploading it to your board. It is often referred to as the Arduino IDE (Integrated Development Environment). The Arduino Software (IDE) is easy-to-use for beginners, yet flexible enough for advanced users.
DownLoad Url osoyoo.com