Make your own Arduino Atmega328p SMD circuit

posted in: Electronic, Microcontroller | 0
  1. Prepare
  • 1 Arduino board DIP. To load Bootloader and code for the board you made.
  • A complete code project on the Arduino IDE. Since it is quite laborious and time consuming to load the code into the board yourself, you need to complete your project on the Arduino test board first. كيفية لعب البوكر للمبتدئين
  • Skill in SMD soldering

2. Understanding how to load Bootloader and load code for Atmega328p smd

You should read how to load bootloader for Atmega328p chip first.

Step 1. Load the Arduino ISP code to the prepared Arduino board

Go to Examples and Select ArduinoISP and then upload it into Arduino.

Step 2. Wiring

Arduino Atmega328p smd
13 13
12 12
11 11

When drawing the circuit, you should pay attention to create ports containing pins 13, 12, 11, RESET to load the bootloader.

Step 3. Load Bootloader for atmega328p smd

You choose as shown and then click Burn Bootloader. When successful, it will display a message for you. كيفية الرهان على كرة القدم

Remember to select Programmer: “Arduino as ISP”

Step 4. Upload the code

Remove chip on the arduino out and wire. Upload the code as usual.

Arduino Atmega328p smd

After carefully studying how to load the code, we proceed to draw the circuit.

3. Circuit drawing

Important components of the circuit

  • Atmega328p SMD and quartz, Reset button (Note do not add capacitors to the Reset button).
  • The bootloader uploading port and the code include the pins to load the bootloader and the code is: 13, 12, 11, VCC, GND, RX, TX, RESET. I recommend you draw them all close together to make it easier to upload the code.
  • Switching circuit if you do not use a 5V source but use a 12V source, a rechargeable battery source, etc. You can use ICs like 7805, AMS1117 5V, LM2596 5V, … I personally use the MP1584 5V circuit to plug directly into the circuit I created. العاب لربح المال على النت  It’s also quite good, but this circuit is broken quickly.
  • Ports connected to peripherals: Lcd, motor, …. According to your project.

This is my drawing

After drawing, you export to gerber file and then order circuit processing services. Wait for more than a week, you will solder it yourself and load the bootloader, load the code.

Good luck.

Leave a Reply

Your email address will not be published.