#IdeaSpark

2024-11-23

A few new #Microcontrollers - My wife always asks me why I need new microcontrollers, or how many microcontrollers do you need. But the answer is "because", or "why not", or "I thought we agreed it's not a good idea to ask me why"

These all have a ST7789 LCD, but different microcontrollers, and different features.
The #Waveshare is #ESP32C6,
has a SD reader, #IdeaSpark is just a #ESP32 nothing extra, and the #Lilygo is a #ESP32S2 has a #OTG USB port, and SD reader, and Grove port,...

lilygo T-Dongle ESP32-S2 with ST7789 LCD screen, OTG USB, Grove port, SD card reader
Plugs directly into USB port, and came in a little smokey black case (see though)2 Waveshare ESP32C6 microcontrollers with LCD screen, and SD card reader. 
2 Ideaspark (maybe a Lilygo clone) ESP32 and LCD screen, but no additional sensors or anything
These are about the size a nodemcu board
2023-10-20

I've been playing with the IdeasparkNanoOled Arduino. I'm not quite getting the hang of the screen but I'm getting there.

#ideaspark #arduino #oled #cpp

I found the screen answers as:
U8G2_SSD1306_128X64_NONAME_F_HW_I2C u8g2(U8G2_R0, /* reset=*/ U8X8_PIN_NONE);

Here's the code so far....
#include <Arduino.h>
#include <U8g2lib.h>

#ifdef U8X8_HAVE_HW_SPI
#include <SPI.h>
#endif
#ifdef U8X8_HAVE_HW_I2C
#include <Wire.h>
#endif

U8G2_SSD1306_128X64_NONAME_F_HW_I2C u8g2(U8G2_R0, /* reset=*/ U8X8_PIN_NONE);
void setup(void) {
u8g2.begin();
}

void loop(void) {
u8g2.clearBuffer(); // clear the internal memory
u8g2.setFont(u8g2_font_ncenB08_tr); // choose a suitable font
u8g2.drawStr(0,10,"British Tech Guru"); // write something to the internal memory
u8g2.sendBuffer(); // transfer internal memory to the display
delay(1000);
}

Client Info

Server: https://mastodon.social
Version: 2025.04
Repository: https://github.com/cyevgeniy/lmst