Jump to content

Arduino: Difference between revisions

From Smithnet Wiki
Line 47: Line 47:
* [https://docs.arduino.cc/hardware/nano/ Arduino Nano]
* [https://docs.arduino.cc/hardware/nano/ Arduino Nano]
** ATmega328PB (Micro USB) (16 MHz)
** ATmega328PB (Micro USB) (16 MHz)
** [https://docs.platformio.org/en/latest/boards/atmelavr/nanoatmega328.html PlatformIO]
*** [https://docs.platformio.org/en/latest/boards/atmelavr/nanoatmega328.html PlatformIO]
** ATmega328PB (USBC) (16 MHz)
** ATmega328PB (USBC) (16 MHz)
** [https://docs.platformio.org/en/latest/boards/atmelavr/nanoatmega328new.html PlatformIO]
*** [https://docs.platformio.org/en/latest/boards/atmelavr/nanoatmega328new.html PlatformIO]


See: [https://wolles-elektronikkiste.de/en/atmega328pb-based-boards 328PB additions].
See: [https://wolles-elektronikkiste.de/en/atmega328pb-based-boards 328PB additions].

Revision as of 07:06, 4 October 2025

General

Startup & Programming

On reset or powerup, ehe Optiboot or other bootloader code is run. If an external reset was the cause, listening mode is entered, and the LED is flashed. Programming commands in STK500 protocol are listened for, of the serial line at 115200 speed. If none are received in a small timeout window (~ 1s), the normal code is executed.

The DTR line if used to trigger a reset pulse in software IDE (see here).

millis()

Documentation

Useful Libraries

Hardware

See: 328PB additions.

Development Environment

  • SHIFT-ALT-F to format document

Platformio.ini

  • monitor_speed = 115200