Monthly Archives: July 2025
Weact STM32H750 DMA Reg-To-Mem example

Few things need to be care and different then STM32F411CEU6 Gitlab source
Solved: Weact STM32H750VBT6 unable to find target

I changed the clock to maximum 480Mhz, after I F5 for the first time, I unable to burn any program to it again. To solve this, press both reset and boot buttons on the board, click F5 in STM32CubeIDE, then release reset button (still hold the bott button). It will successfully burn the program again. […]
ATMEGA328P and ATMEGA328PB are different in programming

I got this error is i change "MODEL=atmega328p" to "MODEL=atmega328pb" in my makefile. Github copilot said the error occurs because the ATmega328PB has two TWI (I2C) modules, and its I/O register naming is different from the ATmega328P. Specifically, the ATmega328PB splits some port definitions (like DDRC, PORTC) into two sets (for PORTC and PORTD, etc.), […]
STM32L476RG - DMA from register to memory example

Thinking how to build a logic analyzer using STM32. This example keep transfer the value of GPIO A to memory then fire interrupt using DMA. It will toggle PC0 for every complete transfer in my Nucleo L476RG board, I use oscilloscope to test, around 93KHZ
Shooting Star : 四驅車

Example : STM32F411CEU6 mem-to-mem DMA interrupt

https://wiki.st.com/stm32mcu/wiki/Getting_started_with_DMA#DMA_memory-to-memory_example_overview
LVGL_python connecting two SPI devices

All device pins should be connected to the same pins on the ESP32 board except the CS (chip select) pin.
Waveshare-ESP32-C6-1.47-Touch + Micropython + LVGL

Special Thanks to Mr kdschlosser for writing the driver Example: More Examples on https://github.com/quantrpeter/Waveshare-ESP32-C6-1.47-Touch-Micropython-LVGL
Waveshare ESP32-C6-Zero + LVGL + ST7735S + 80x160 LCD

Perfect 3D print for Ender 3 Pro

My old Ender 3 Pro, give 0.3mm X-Y Hole compensation, now no need polishing, I can plug them into another. Two filament print from two different nozzle temperature, same perfect.
Waveshare-c6-zero + st7735

https://gitlab.quantr.hk/example/micropython/waveshare-c6-zero-st7735
Waveshare ESP32-C6-Zero + LVGL + ST7735S

https://www.waveshare.com/wiki/ESP32-C6-Zero
Run: Micropython + LVGL on CYD (Cheap Yellow Display

Example: Clock Cheap Yellow Display Pins Connector types Connector Type Note P1 4P 1.25mm JST Serial P3 4P 1.25mm JST GPIO P4 2P 1.25mm JST Speaker CN1 4P 1.25mm JST GPIO (I2C) What pins are available on the CYD? There are 3 easily accessible GPIO pins Pin Location Note IO35 P3 JST connector Input only pin, […]
Mac: Run ubuntu command with GUI in docker

Step 1: create Dockerfile Step 2: Build the image docker build -t xclock-ubuntu . Step 3: Set XQuartz and restart it Step 4: Run "xhost + 127.0.0.1", and this "xhost +localhost" wont work Step 5: Run Another way