2.1 Obtaining schematics and PCB boards
Learning Arduino necessarily need to have an Arduino board, either buy or make their own, because the Arduino website provides each type of schematic and PCB, so the production is very convenient. The following is the production of our Arduino UNO Compatibility board Sagoo Uno. We've made some improvements and replacements based on the official Arduino UNO schematic, and here's how the official board looks compared to our board:
Main device comparison:
  |
processor |
USB to serial port |
5V power supply |
3.3V power supply |
Power selection control circuit |
Power selector switch |
official Arduino UNO |
Atmega328p-pu |
ATMEGA16U2 Simulation implements |
1117-5v |
Lp2985-33dbvr |
lmv358 |
fdn340p |
ch340g dedicated chip |
1117-5v |
XC6206P332MR |
LMV358 |
fdn340p |
The main changes include selecting the ATMEGA328 of the SMD package; using professional USB to serial port chip ch340g instead of MCU, not only reduce the cost, but also ensure the stability of the communication, in the latest operating system Win8 and Mac can be stable work The XC6206 can provide a maximum of 200mA current, and the LP2985 maximum can provide 150mA current.
Official Arduino UNO schematic diagram and PCB download link: https://www.arduino.cc/en/Main/ArduinoBoardUno
Sagoo uno schematic download link: http://pan.baidu.com/s/1mgL37V6
2.2 Burning Write Bootload
With the schematic and PCB data, after processing to get the real Arduino plate welding. This time the circuit board can not be used, must be burned into the underlying code bootload, burn write can be implemented in a variety of ways, commonly used in the use of burning writing tools and Arduino IDE software, commonly used to write tools are also many, such as AVR ISP, Usbasp,usbtinyisp, It is recommended to use Usbtinyisp.
Welded Sagoo UNO Board
↓
Use the Usbtinyisp on the right to write bootload to the UNO board
↓
Connect Uno and PC with USB cable, open the blink example that comes with the Arduino IDE software, compile and download to Sagoo UNO board
2.3 Observation Results
When you are done with the above steps, if everything is normal, you will see that the signal indicator light on the UNO board flashes at a frequency of 1Hz. If the end result is wrong, then ... Oh... Check it slowly!
Second, the production of Arduino