logo elektroda
logo elektroda
X
logo elektroda

ESP32-C3 Super Mini with OLED 0.42 - are there ready-made programs to upload?

pnowoczekPatryk90 396 2
ADVERTISEMENT
This content has been translated flag-pl » flag-en View the original version here
  • #1 21912402
    pnowoczekPatryk90
    Level 2  
    Posts: 37
    Rate: 1
    Hi, can anyone help program an ESP32 C3 Super Mini board with a 0.42 inch OLED display? Are there any ready-made programs for this, just to drop in the program and upload?
    Purple development board with a small OLED display and a USB‑C connector on a dark surface.
  • ADVERTISEMENT
  • #2 21912447
    max4elektroda
    Level 24  
    Posts: 754
    Help: 48
    Rate: 187
    I recently made a simple "dice" program with arduino: the "boot" button will display the next random number in form of a dice.
    It might or might not work out of the box - there seem to be different models around, requiring different offsets for the display. The actual 72x40 dots can be located differently inside the buffer of the full resolution of 132x64 or 128x64...

    I'm on a trip now and can post the code only middle of next week.
  • #3 21914961
    max4elektroda
    Level 24  
    Posts: 754
    Help: 48
    Rate: 187
    O.k. @pnowoczekPatryk90 , here we go:

    The code for Arduino (so you can see and change it if needed) - just remove ".txt" extension for I can't attach ".ino" files
    and the merged binary to flash with esptool:

    esptool --port /dev/ttyACM0 write-flash -z 0x0 merged_firmware.bin



    Attachments:
    • Dice_C3_Disp.ino.txt (3.08 KB) You must be logged in to download this attachment.
    • merged_firmware.zip (194.82 KB) You must be logged in to download this attachment.
ADVERTISEMENT