.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

Using Nextion displays with the Arduino

Nextion are a range of HMI displays with built in controller that can be used with any microcontroller via a 2 pin UART interface. We have some resources here. Installing Nextion Arduino Library Download ITEADLIB_Arduino_Nextion from GitHub Rename the “ITEADLIB_Arduino_Nextion-master” folder to “ITEADLIB_Arduino_Nextion”.Move it to your Arduino IDE installation libraries folder. Configuring the library for […]

Read More

Arduino UNO

https://store.arduino.cc/arduino-uno-rev3 Microcontroller: ATmega328PIO voltage: 5V IO pin high voltage (for VCC = 5V): min 0.6VCC to max VCC + 0.5So digital IO pins have a nominal high level input range of 3.0V to 5.5V, so are compatible with 3.3V input signals. UART pins RX and TX are marked as the pins that are RX and TX on […]

Read More

Increasing available memory

To increase available RAM Move constants to program memory instead of RAM Use the F macro to move string literals to program memory. Serial.print("some string") is stored in RAM (dynamic memory), Serial.print(F("some string literal") is stored in program memory. Any function that uses the print class functions can use the F macro (e.g.client.print). Avoid long […]

Read More

RAM

Ram used in interrupts Use volatile: volatile byte my_variable_name; Stopping constants using RAM Use the F macro to move string literals to program memory. Serial.print(“some string”) is stored in RAM (dynamic memory), Serial.print(F(“some string literal”) is stored in program memory.  Any function that uses the print class functions can use the F macro (e.g.client.print).  Use […]

Read More