Obsah

Arduino

Arduino is an open-source electronics platform based on easy-to-use hardware and software. It's intended for anyone making interactive projects.

Arduino Uno

https://www.arduino.cc/en/Main/ArduinoBoardUno

Technical specs

MicrocontrollerATmega328P
Operating Voltage 5V
Input Voltage (recommended) 7-12V
Input Voltage (limit)6-20V
Digital I/O Pins14 (of which 6 provide PWM output)
PWM Digital I/O Pins6
Analog Input Pins6
DC Current per I/O Pin20 mA
DC Current for 3.3V Pin50 mA
Flash Memory32 KB (ATmega328P)\n of which 0.5 KB used by bootloader
SRAM2 KB (ATmega328P)
EEPROM1 KB (ATmega328P)
Clock Speed16 MHz
Length68.6 mm
Width53.4 mm
Weight25 g

Arduino MEGA 2560

Arduino MEGA 2560 driver CH340 klon

Specifikace

Libraries

https://github.com/NicoHood/SerialProtocol

Programování

Ochrana proti přetečení millis()

unsigned long currentMillis = millis();
if ((unsigned long)(currentMillis - previousMillis) >= interval) {
  previousMillis = currentMillis;
}

Bootloader OWL