This website uses cookies. By using this site, you consent to the use of cookies. For more information, please take a look at our Privacy Policy.
Home > Embedded Events > Arduino core board with atmega328p-pu Microchip as the main control

Arduino core board with atmega328p-pu Microchip as the main control

Date: 17-03-2021 ClickCount: 107

To create an Arduino core board with atmega328p-pu as the main control, prepare the tools as follows.

Hardware.

A piece of atmega328p-pu

16M passive crystal (must be 16M)

USBASP downloader (for burning arduino bootloader)

USB to serial port tool (such as PL2303 or CH340)

 

Software.

Arduino 1.8.2 software

progisp172 software (for burning arduino's bootloader)

 

Step 1.

Soldering Arduino core board, see the following schematic.

ATMEGA328P-PU

Step 2.

Burn the bootloader of Arduino.

USBASP connect usbasp download interface, open the progisp172 software, the following operations.

1, Select Chip selected for Atmega 328P, point RD to confirm whether consistent

2, the fuse bit settings: low byte 0xFF high byte 0xDE extended itself 0xFF, write and then read out to see if the fuse bit has been written correctly

3, transfer to flash: in the arduino installation directory of ...\hardware\arduino\avr\bootloaders\optiboot\optiboot_atmega328.hex , note that the crystal must be 16M, if you use 8M crystal then to use ...\hardware\arduino\avr\bootloaders\atmega\ATmegaBOOT_168_atmega328_pro_8MHz.hex.

4、Configure the fuse bit, transfer to flash and then tap auto.

 

Step 3.

1、Select Chip for Atmega 328P, point RD to confirm whether the same

2, the fuse bit setting: low byte 0xFF high byte 0xDE extended itself 0xFF, write and then read out to see if the fuse bit has been written correctly

3, transfer to flash: in the arduino installation directory of ...\hardware\arduino\avr\bootloaders\optiboot\optiboot_atmega328.hex , note that the crystal must be 16M, if you use 8M crystal then to use ...\hardware\arduino\avr\bootloaders\atmega\ATmegaBOOT_168_atmega328_pro_8MHz.hex.

Here I am using 16M crystal and have burned optiboot_atmega328.hex.

4, configure the fuse bit, transfer to the flash after the point can be automatic.

 

Step 4.

Use Arduino1.8.2 software and serial tool PL2303 to upload the program.

If the burned bootloader is optiboot_atmega328.hex, the development board option should be "Arduino/Genuino Uno" to be able to. If the burned bootloader is ATmegaBOOT_168_atmega328_pro_8MHz.hex the development board should be selected as Arduino pro or pro mini, and the processor should be selected as 328P. Because the serial port is used to upload the file, it needs to be reset manually, and the white key on the board is the reset key.

Special attention, after the point upload compile progress full quickly press the reset button, wait for about 10 seconds, the display upload success can be. If after half a minute the upload is still in progress or an error is reported, it means the reset timing is not right or the bootloader and development board options do not match.

  • STM32-based Temperature Control System Simulation
  • Use of STM32F3 op-amps - STM32F303 Discovery board as an example

Hot Products

  • TMS320C6474FZUNA2

    Manufacturer: Texas Instruments

    IC DSP MILTICORE 561FCBGA

    Product Categories: DSP

    Lifecycle:

    RoHS:

  • TMS320DM6467TZUT1

    Manufacturer: Texas Instruments

    IC DIGITAL MEDIA SOC 529FCBGA

    Product Categories: SOC

    Lifecycle:

    RoHS:

  • ADSP-BF512BBCZ-4F4

    Manufacturer: Analog Devices

    IC DSP 16/32B 400MHZ 168CSBGA

    Product Categories: DSP

    Lifecycle:

    RoHS:

  • ADSP-BF514KBCZ-4F4

    Manufacturer: Analog Devices

    IC DSP 16/32B 400MHZ 168CSBGA

    Product Categories: DSP

    Lifecycle:

    RoHS:

Customer Comments

  • Looking forward to your comment

  • Comment

    Verification Code * 

Compare products

Compare Empty