Editor Version ×
Standard

1.Easy to use and quick to get started

2.The process supports design scales of 300 devices or 1000 pads

3.Supports simple circuit simulation

4.For students, teachers, creators

Profession

1.Brand new interactions and interfaces

2.Smooth support for design sizes of over 5,000 devices or 10,000 pads

3.More rigorous design constraints, more standardized processes

4.For enterprises, more professional users

Ongoing

STD ATmega4808 Development Board M

License: CC-BY-SA 3.0

Mode: Editors' pick

Cloned from ATmega4808 Development Board

  • 5.8k
  • 9
  • 8
Update time: 2022-12-15 09:07:12
Creation time: 2020-10-29 14:44:21
Description
# ATmega4808 Development Board Development board for the ATmega4808 series microcontrollers with integrated USB-to-serial converter, 32.768 kHz crystal for the RTC, 3.3V voltage regulator, support for bootloader and Arduino IDE. Due to a similar pinout, the board also works with the AVR DA/DB family of microcontrollers. ![ATmega4808_DevBoard_pic1.jpg](https://raw.githubusercontent.com/wagiminator/AVR-Development-Boards/master/ATmega4808_DevBoard/documentation/ATmega4808_DevBoard_pic1.jpg) # Pinout ![ATmega4808_DevBoard_pinout.png](https://raw.githubusercontent.com/wagiminator/AVR-Development-Boards/master/ATmega4808_DevBoard/documentation/ATmega4808_DevBoard_pinout.png) # Features of the megaAVR The ATmega4808 microcontrollers are part of the megaAVR 0-series, which uses the AVR processor with hardware multiplier running at up to 20 MHz from the internal calibrated oscillator. The series uses the latest technologies from Microchip with a flexible and low-power architecture, including Event System and SleepWalking, accurate analog features, and advanced peripherals. The following microcontrollers (TQFP-32 package) can be used with this development board: |Controller|Flash|SRAM|EEPROM| |:-|:-|:-|:-| |ATmega808|8 KB|1 KB|256 B| |ATmega1608|16 KB|2 KB|256 B| |ATmega3208|32 KB|4 KB|256 B| |ATmega4808|48 KB|6 KB|256 B| All microcontrollers have the following features: - 27 General purpose I/O - One 16-bit Timer/Counter type A (TCA) with a dedicated period register and three compare channels - Three 16-bit Timer/Counters type B (TCB) with input capture - One 16-bit Real-Time Counter (RTC) running from an external crystal or an internal RC oscillator - Three USARTs with fractional baud rate generator, auto-baud, and start-of-frame detection - Master/slave Serial Peripheral Interface (SPI) - Master/slave TWI (I²C) with dual address match, - can operate simultaneously as master and slave - Standard mode (Sm, 100 kHz) - Fast mode (Fm, 400 kHz) - Fast mode plus (Fm+, 1 MHz) - Event System for core independent and predictable inter-peripheral signaling - Configurable Custom Logic (CCL) with up to four programmable Look-up Tables (LUT) - One Analog Comparator (AC) with a scalable reference input - One 10-bit 150 ksps Analog-to-Digital Converter (ADC) with 12 channels - Five selectable internal voltage references: 0.55V, 1.1V, 1.5V, 2.5V, and 4.3V - Watchdog Timer (WDT) with Window mode, with a separate on-chip oscillator - External interrupt on all general purpose pins # Preparing Arduino IDE and Installing Bootloader - [Install MegaCoreX](https://github.com/MCUdude/MegaCoreX#how-to-install) - Open the Arduino IDE - Go to "Tools" -> "Board" -> "MegaCoreX" -> "ATmega4808" - Go to "Tools" and set the following board options: - Clock: "Internal 20 MHz" - Pinout: "32 pin standard" - Reset pin: "Reset" - Bootloader: "Optiboot (UART0 default pins)" - Programmer: "jtag2updi(megaTinyCore)" - Connect the UPDI programmer to the UPDI header on the development board. You can find such programmers in my [projects](https://github.com/wagiminator/AVR-Programmer) or you can use an [Arduino Uno as a UPDI programmer](https://github.com/SpenceKonde/megaTinyCore/blob/master/MakeUPDIProgrammer.md). Do NOT use high voltage programming! - Go to "Tools" -> "Burn Bootloader" - Disconnect the UPDI programmer and connect the development board via USB to your computer - Open one of the [example sketches](https://github.com/wagiminator/AVR-Development-Boards/tree/master/ATmega4808_DevBoard/software) and click the "Upload" button # Example Sketches To test the board and to learn a thing or two about the new megaAVR, four small [example sketches](https://github.com/wagiminator/AVR-Development-Boards/tree/master/ATmega4808_DevBoard/software) are attached. |Sketch Name|Description| |:-|:-| |ATmega4808_Hello_World.ino|This sketch flashes the built-in LED at 1 Hz and sends a message once per second via the serial interface, which can be displayed on the serial monitor at 9600 baud.| |ATmega4808_RTC.ino|This sketch implements a real-time clock using the external 32.768 kHz crystal. Every five seconds the current time and date is sent via the serial interface, which can be displayed on the serial monitor at 9600 baud.| |ATmega4808_Blink_PIT.ino|One of the new features is the Periodic Interrupt Timer (PIT), which can run on the internal ultra low-power 32.768 kHz oscillator while the CPU is in sleep mode power down. In this sketch, the PIT wakes the sleeping CPU twice per second in order to toggle the built-in LED.| |ATmega4808_Blink_CIP.ino|One of the coolest new features are the Core Independent Peripherals (CIPs). Peripherals can be connected directly to one another via the Event System (EVSYS) and thus work independently of the CPU. In this example, the built-in LED is flashing while the CPU is in sleep mode power down all the time ... without ever waking up.| # Using the AVR DA/DB Family of Microcontrollers The even more powerful AVR DA/DB family of microcontrollers (TQFP-32 package) can also be used with this board. Some of their features (depending on the model): - Up to 128 KB of flash and 16 KB of SRAM - Running at up to 24 MHz with internal oscillator (or even more with overclocking) - 12-bit Differential Analog-to-Digital Converter (ADC) with 14 channels - 10-bit Digital-to-Analog Converter (DAC) - 3 Analog Comparators (AC) - 2 independent OpAmps with integrated feedback resistor network - Zero-Cross Detector (ZCD) - Peripheral Touch Controller (PTC) with 22 self-capacitance and 121 mutual capacitance touch channels - 4 Multi-Voltage I/O channels capable of bi-directional communication with external devices running at a higher or lower voltage than the MCU itself - 3 UART, 2 SPI, 2 I2C - 4 16-bit timers - Configurable Custom Logic (CCL) - Event System (EVSYS) - Watchdog Timer (WDT) with Window Mode In order to be able to use the AVR DA/DB microcontrollers with the Arduino IDE, [DxCore](https://github.com/SpenceKonde/DxCore) must be installed. # References, Links and Notes 1. [MegaCoreX by MCUdude](https://github.com/MCUdude/MegaCoreX) 2. [megaAVR 0-series Family Data Sheet](http://ww1.microchip.com/downloads/en/DeviceDoc/megaAVR0-series-Family-Data-Sheet-DS40002015B.pdf) 3. [ATmega4808 Datasheet](http://ww1.microchip.com/downloads/en/DeviceDoc/ATmega4808-09-DataSheet-DS40002173B.pdf) 4. [TB3262: Getting Started with Writing C-Code for AVR MCUs](http://ww1.microchip.com/downloads/en/Appnotes/AVR1000b-Getting-Started-Writing-C-Code-for-AVR-DS90003262B.pdf) 5. [TB3213: Getting Started with RTC](http://ww1.microchip.com/downloads/en/Appnotes/TB3213-Getting-Started-with-RTC-DS90003213B.pdf) 6. [AN2451: Getting Started with Core Independent Peripherals](http://ww1.microchip.com/downloads/en/Appnotes/Getting-Started-with-Peripherals-on-AVR-MCU-00002451C.pdf) 7. [AN2515: AVR Low-Power Techniques](http://ww1.microchip.com/downloads/en/Appnotes/AN2515-AVR-Low-Power-Techniques-00002515C.pdf) 8. [AN2543: Temperature Logger with ATtiny817 and SD Card](http://ww1.microchip.com/downloads/en/Appnotes/AN2543-Temperature-Logger-with-ATtiny817-and-SD-Card-v2-00002543C.pdf) 9. [Core Independent Peripherals Video by Microchip](https://youtu.be/TcqpmupVCXQ) ![ATmega4808_DevBoard_pic2.jpg](https://raw.githubusercontent.com/wagiminator/AVR-Development-Boards/master/ATmega4808_DevBoard/documentation/ATmega4808_DevBoard_pic2.jpg) ![ATmega4808_DevBoard_pic3.jpg](https://raw.githubusercontent.com/wagiminator/AVR-Development-Boards/master/ATmega4808_DevBoard/documentation/ATmega4808_DevBoard_pic3.jpg) ![IMG_20201122_081520_x.jpg](https://image.easyeda.com/pullimage/jHPM6GLFS4yb8MbdF48letGdqqN7pdmElsiTVPeI.jpeg) ![IMG_20201122_081532_x.jpg](https://image.easyeda.com/pullimage/x5FqI2qEoBpFqv6xOdfeim12Fc5r4ZIUS1q72vov.jpeg) # License ![license.png](https://i.creativecommons.org/l/by-sa/3.0/88x31.png) This work is licensed under Creative Commons Attribution-ShareAlike 3.0 Unported License. (http://creativecommons.org/licenses/by-sa/3.0/)
Design Drawing
schematic diagram
1 /
PCB
1 /
The preview image was not generated, please save it again in the editor.
ID Name Designator Footprint Quantity BOM_Supplier BOM_Supplier Part
1 CH330N U2 SOP-8_150MIL 1 LCSC C108996
2 HDR H2,H1 210S-15X1/2.54 2 LCSC C124373
3 1k R3,R2,R5,R1,R6 0603 5 LCSC C21190
4 UPDI H3 210S-3X1/2.54 1 LCSC C49257
5 ATMEGA4808-AFR U1 TQFP-32_7X7X08P 1 Digi-Key ATMEGA4808-AFRCT-ND
6 AMS1117-3.3 U3 SOT-223 1 LCSC C6186
7 500mA F1 F0603 1 LCSC C210356
8 RESET KEY1 KEY-3.0*6.0 1 LCSC C46491
9 4u7 C9,C12 0603 2 LCSC C19666
10 100n C6,C1,C7,C2,C8 0603 5 LCSC C14663
11 18p C5,C4 0603 2 LCSC C1647
12 1u C10,C11 0603 2 LCSC C15849
13 47u C3 1206 1 LCSC C30300
14 PWR LED1 LED0603 1 LCSC C72041
15 BI LED2 LED0603 1 LCSC C72041
16 Micro USB 5P USB1 MICRO-USB-16-LONG 1 LCSC C21377
17 32.768KHz X1 OSC-SMD_3215 1 LCSC C409356
18 5817 D2 SCHOTTKY-SOD-123 1 LCSC C727113

Unfold

Project Attachments
Order File name Download times
1

ATmega4808_DevBoard_firmware.zip

12
Project Members
Target complaint
Related Projects
Change a batch
Loading...
Add to album ×

Loading...

reminder ×

Do you need to add this project to the album?

服务时间

周一至周五 9:00~18:00
  • 0755 - 2382 4495
  • 153 6159 2675

服务时间

周一至周五 9:00~18:00
  • 立创EDA微信号

    easyeda

  • QQ交流群

    664186054

  • 立创EDA公众号

    lceda-cn