Posts

arduino-esp32 read memory info (tested on YD-ESP32-S3 N16R8/Waveshare ESP32-C5-WIFI6-KIT-N16R8)

Image
arduino-esp32 read memory info, tested on Waveshare ESP32-C5-WIFI6-KIT-N16R8 and YD-ESP32-S3 N16R8 . ESP32-xx_mem_info.ino /* Exercise run on Waveshare ESP32-xx - Memory info Tested on: VCC-GND Studio YD-ESP32-S3 N16R8 https://github.com/vcc-gnd/YD-ESP32-S3 16MB Flash, 8MB PSRAM WaveShare ESP32-C5-WIFI6-KIT-N16R8: https://www.waveshare.com/wiki/ESP32-C5-WIFI6-KIT-NXRX 16MB Flash, 8MB PSRAM */ #include <SPIFFS.h> void setup() { delay(2000); Serial.begin(115200); delay(1000); Serial.println("\n\n~ Start ~"); Serial.println("--- Memory Info ---"); Serial.println(); Serial.println("--- Model and Revision ---"); Serial.printf("Chip model: %s\n", ESP.getChipModel()); Serial.printf("Chip revision: %d\n", ESP.getChipRevision()); Serial.println(); Serial.println("--- SRAM (internal RAM) ---"); Serial.printf("Free heap: %d bytes\n", ESP.getFreeHeap()); Serial.printf("L...

3.2" 240x320 ST7789 SPI IPS LCD (4-Wire SPI/8-Bit Parallel/16-Bit Parallel)

Image
3.2" 240x320 ST7789 SPI IPS LCD (4-Wire SPI/8-Bit Parallel/16-Bit Parallel) T320H8-C40-11

WebServer on ESP32-C5-WIFI6-KIT-N16R8, to control onboard RGB LED (Arduino Framework)

Image
Exercises (Arduino Framework) run on Waveshare ESP32-C5-WIFI6-KIT-N16R8 , act as WiFi Access Point, and setup simple WebServer to control onboard RGB LED. ESP32C5_WiFi_AP_WebServer , act as Access Point and setup a simple WebServer. /* Exercise run on Waveshare ESP32-C5-WIFI6-KIT-N16R8 Setup WiFi AP, and a simple WebServer. details: https://coxxect.blogspot.com/2026/03/webserver-on-esp32-c5-wifi6-kit-n16r8.html Ref: Arduino ESP32 Wi-Fi API https://docs.espressif.com/projects/arduino-esp32/en/latest/api/wifi.html Github: espressif/arduino-esp32/libraries/WebServer/ https://github.com/espressif/arduino-esp32/tree/master/libraries/WebServer */ #include <WiFi.h> #include <WebServer.h> // Built-in lightweight HTTP server const char* ssid = "ESP32-C5_AP"; const char* password = "12345678"; // Create a web server on port 80 WebServer server(80); void handleRoot() { server.send(200, "text/html", "<h1>Hello from ESP32-C5 W...

my cam.module, OV3660 & GC2145 Camera Modules

Image
my cam.module, OV3660 & GC2145 Camera Modules, both 68 degrees, 21mm length.

Waveshare ESP32-C5-WIFI6-KIT-N16R8 to control onboard RGB LED using Adafruit_NeoPixel library, Arduino framework.

Image
Exercise run on Waveshare ESP32-C5-WIFI6-KIT-N16R8 to control onboard RGB LED using Adafruit_NeoPixel library. ESP32C5_RGB.ino /* Exercise run on Waveshare ESP32-C5-WIFI6-KIT-N16R8 to control onboard RGB LED using Adafruit_NeoPixel library. The onboard RGB on Waveshare ESP32-C5-WIFI6-KIT-N16R8 is connected to GPIO27. https://coxxect.blogspot.com/2026/02/waveshare-esp32-c5-wifi6-kit-n16r8-to.html */ #include <Adafruit_NeoPixel.h> // Pin where the onboard RGB is connected #define LED_PIN 27 // Number of LEDs (number of onboard RGB is 1) #define LED_COUNT 1 // Create NeoPixel object Adafruit_NeoPixel strip(LED_COUNT, LED_PIN, NEO_RGB + NEO_KHZ800); void setup() { strip.begin(); // Initialize NeoPixel library strip.show(); // Turn OFF all pixels ASAP strip.setBrightness(50); // Adjust brightness (0–255) } void loop() { // Cycle through Red, Green, Blue strip.setPixelColor(0, strip.Color(255, 0, 0)); // Red strip.show(); delay(100...

my dev. board: Waveshare ESP32-C5-WIFI6-KIT-N16R8

Image
my dev. board: Waveshare ESP32-C5-WIFI6-KIT-N16R8 Product Page: ~  https://www.waveshare.com/wiki/ESP32-C5-WIFI6-KIT-NXRX (English) ~  https://www.waveshare.net/wiki/ESP32-C5-WIFI6-KIT-N16R4 (Chinese) ~ ESP32-C5-WIFI6-KIT-NXRX Schematic Arduino Exercises: ~  Waveshare ESP32-C5-WIFI6-KIT-N16R8 to control onboard RGB LED using Adafruit_NeoPixel library . ~  WebServer on ESP32-C5-WIFI6-KIT-N16R8, to control onboard RGB LED ~  arduino-esp32 read memory info

Pico HDMI Board on CircuitPython

Image
picodvi is a CircuitPython library of low-level routines for interacting with PicoDVI Output. This exercise run on Raspberry Pi Pico (RP2040) running CircuitPython 10.0.3 to display on HDMI monitor with Spotpear Pico HDMI Board . pico-hdmi.py , basic test. """ Pico HDMI Board on CircuitPython Basic test. details: https://coxxect.blogspot.com/2026/02/pico-hdmi-board-on-circuitpython.html Ref: https://docs.circuitpython.org/en/latest/shared-bindings/picodvi/ https://learn.adafruit.com/using-dvi-video-in-circuitpython/using-a-framebuffer-and-picodvi lib needed: - adafruit_display_text folder Install lib using circup: circup install adafruit_display_text """ import os, sys import board import displayio import framebufferio import picodvi from adafruit_display_text import label import terminalio import time import gc displayio.release_displays() #======================================= info = os.uname()[4] + "\n" + \ sys.impleme...