Description:
UNO R3 is an easy-to-use open source controller motherboard, a microcontroller development board based on Atmega328P,
No additional programmer is needed, and you can use the IDE to program, compile, and burn by directly connecting the USB cable.
Features are as follows:
– 4 M3 screw positioning holes for easy fixing and installation
– The reset button is placed in the upper left corner for easy pressing
– The function expansion board (Shield) is directly plugged in and can be used
– Abundant peripheral modules available
Main controller: ATMEGA328P
Analog input pins: 6 (2 of which can be used as I2C interface)
Digital I0: 14 (6 of which can be used as pwm ports)
Flash memory capacity: 32KB (of which 2KB can be used as Bootloader space)
USB power supply voltage: 5V
SRAM: 2KB
External power supply voltage (recommended value): 7-12
EEPROM: 1KB
Maximum current of external power supply: 1A
Clock frequency: 1 6MHz
I0 port maximum current: 40mA
Weight: 60g
Operating voltage: 5V
Size: 75* 54* 15mm
After getting the board, the first item is initially confirmed whether it is normal, that is, connect the board and the computer with a USB cable, and then the right
The green power light (ON) should be on, and the yellow light (L) next to ATmega16U2 is also flashing quickly.
The LED will flash once every two seconds, because the IDE’s own process Blink has been burned before storage (the installation driver will be introduced below).
The following is a simple project to simulate a simple development process, so that friends who have not yet entered the door of open source hardware have a preliminary experience-next
The methods and benefits of using UNO R3 for projects and creative design, as well as the similarities and differences with conventional development methods.
Project goal:
1 LED flashes, flashing once per second, that is, on for half a second and off for half a second.
Programming:
First download the development environment from the official website ttp://.cc/en/Main/Software, select version 1.0 or higher, here select 1.0
version. After the download is complete, unzip it to the English path. The software is a hard disk version and does not need to be installed.
Open the .exe in the -1.0 directory.
To write the program required for this project, it is to loop the pin 13 on the motherboard that is connected to the green LED to keep high and low.
Transform.
Note: The program must contain two functions, setup() and loop(), setup() is a function that will be executed when the system is started.
Then the loop() function is executed, and the loop() function is executed in a loop.
After programming, keep to the new directory MyProject under the -1.0 directory (the name depends on your preference),
The file name is blink.
Reminders about programming:
Most people think that the development environment programming is too cumbersome and the user experience is not good enough (for example, it cannot automatically recognize the defined changes
Quantities, macros, functions, etc.), so we can use an external editor. Click Preferences in the File drop-down menu, then
Check the Useextrnal editor option, and then click OK to open the program file of the project with an external editor for editing
Cheng (limited to the layout, details are not detailed), as shown in the figure below. External editor recommends using Source Insight 3.5 or
Notepad++, only know its usefulness after using it.
Program burning:
Install the serial port driver. Connect UNO R3 to the computer with a USB cable, you need to install the driver, the driver is unzipping
.-1.0\drivers
Select the serial port number. After the driver is installed, click the Tools button in the menu bar of the development environment and select Serial in the drop-down menu
Port, and then select the serial port number of the newly installed driver.
Choose the board. Use UNO R3 should select the first Uno, click the Tools button in the menu bar of its development environment, select
Drop-down menu Boards, then the board.
Compile. Click the Verify button on the toolbar, and the window below the development environment will display the space occupied by the program.
Burn. Click Upload on the toolbar, and Done uploading will be displayed in the lower window to indicate that the burning is complete.
Result:
After the programming is completed, the green LED next to the FT232RL chip will flash as expected.
Package Contents:
1 x UNO R3 Motherboard ATmega328P MCU Control Board