Learn how to create a simple project showing the charging particle animation on the OLED screen using the Arduino-compatible board Seeed XIAO. The XIAO board is smaller and faster than Arduino. The expansion board includes a lot of additional sensors as well as an SSD1306 128x64px OLED display with an IIC interface. I really like using this XIAO board, and I hope to use it for future projects as well. Setting it up was very quick, and I really like the bigger memory as well as the faster performance. For development, the free online Arduino emulator WOKWI is used. This way, we can immediately see the result before uploading the code to the board. For drawing, the U8G2 library is used. Compared to the older U8G library, version 2 of the library allows using fullscreen buffer mode. However, for a 128x64 display, this requires 128x64/8 = 1024 bytes of RAM memory. Arduino UNO has 2048 bytes of RAM, which means that half of the RAM is used for the fullscreen buffer. The U8G2 library also includes two other modes - page mode and text mode, but we will not be using those today. By the end of the video, we will try the same project on Arduino UNO and Arduino MEGA. You might be surprised to see that the MEGA board is not much different from UNO (as for performance for this project), even when MEGA is a 32bit microcontroller, while UNO is only an 8bit microcontroller.
Links from the video:
Seeed XIAO: https://s.click.aliexpress.com/e/_DnO...
Seeed XIAO expansion board: https://s.click.aliexpress.com/e/_DmZ...
Seeed XIAO documentation: https://wiki.seeedstudio.com/XIAO_BLE/
Arduino UNO: https://s.click.aliexpress.com/e/_AXDw1h
Arduino breadboard prototyping shield: https://s.click.aliexpress.com/e/_ApbCwx128x64 SSD1306 OLED Display: https://s.click.aliexpress.com/e/_DCK...Transparent OLED display: https://s.click.aliexpress.com/e/_Dns...XBMP online generator: https://xbm.jazzychad.net/
Related videos:
Turbo pressure gauge with Arduino and OLED display - https://youtu.be/JXmw1xOlBdkArduino Car Cluster with OLED Display - https://youtu.be/El5SJelwV_0Knob over OLED Display - https://youtu.be/SmbcNx7tbX8Arduino + OLED = 3D ? - https://youtu.be/kBAcaA7NAlAArduino OLED Gauge - https://youtu.be/xI6dXTA02UQ
upir
Comments