UART TX

Waiting for TX to complete – Flush When you issue a Serial.print() or Serial.write() , the function returns almost immediately. Instead of waiting until the string or data has been transmitted, it sets up a buffer for the data which is then transmitted via interrupts one byte at a time. I.e., your program keeps running, […]

Read More

BAUD Rate

Atmega BAUD Rates The baud rate on the Atmega is generated by dividing the system clock. This table from the datasheet shows the register values and error percentages for a 16 MHz clock (e.g. for Arduino Uno):

Read More

ATtiny IC’s

All of the ATtiny’s are basically the same apart from the number of actual IO pins and a few specific features. ATtiny24 / ATtiny44 / ATtiny84 14pinInternal osc +-10% without user calibration (ATtiny841 is drop in replacement with better accuracy) ATtiny85 8 pin ATtiny441 / ATtiny841 14 pinInternal osc +-2% without user calibration Default pin […]

Read More

ATtiny – Programming

Bootloader vs Programmer The ICSP programmer is needed when writing the bootloader or if you want to save program flash space and only program your ATtiny using the ICSP. When programming the ATTiny using the bootloader you use the TX/RX serial port (the ATTiny should be connected to your USB-serial adapter). The ICSP programmer doesn’t […]

Read More

Arduino Mega1280

https://www.arduino.cc/en/Main/arduinoBoardMega/ Microcontroller: ATmega1280 Power Power in: From the USB connectors (5V) or the DC plug (7-12V) 5V DCDC reg: MC33269D-5.0, 1%, 1V dropout, 800mA output current rated IO Pins IO voltage: 5V IO pin high voltage (for VCC = 5V): min 0.6VCC to max VCC + 0.5So digital IO pins are compatible with 3.3V input signals. […]

Read More

Enabling the Arduino Watchdog Timer (WDT)

Include the header file: Enable the WDT Typically in your applications setup() function Possible issue: We’ve had issues with the watchdog enabled and program uploading never leaving the “Uploading…” stage, where disabling the watchdog would fix the issue. There may be a need to delay turning on the WDT at start – TBC. Available time […]

Read More

Arduino DUE

https://store.arduino.cc/due Microcontroller: AT91SAM3X8E IO voltage: 3.3V IO Pin Specifications (for VDDIO = 3.3V) IO pin input high voltage : min 0.7 x VDDIO to max VDDIO + 0.3VIO pin input low voltage : min -0.3V to max 0.3 x VDDIO IO pin output high voltage : min VDDIO – 0.4VIO pin output low voltage : max […]

Read More

.Arduino Models Comparison

Main Arduino Boards Arduino uC Voltage IO Flash Ram Uno ATmega328P 5V 14 32kB 2kB Nano ATmega328 5V 22 32kB 2kB Leonardo ATmega32u4 5V 20 32kB 2.5kB Micro ATmega32U4 5V 20 32kB 2.5kB Esplora ATmega32u4 5V – 32kB 2.5kB Mega 2560 ATmega2560 5V 54 256kB 8kB 101 Intel Curie 3.3V 14 196kB 24kB Zero ATSAMD21G18 […]

Read More