ESP32 + MPU9250 2026-01-25 197 But here https://buyertrade.taobao.com/trade/itemlist/list_bought_items.htm?spm=a21bo.jianhua/a.bought.1.5af92a89BjwMqR
了解Pulseview Logic Analyze背後運作 2026-01-10 394 因為想知道Pulseview背後運作原理來,又想為cpu開發加入一啲特別嘅功能,所以決定用STM32自己搞一隻logic analyzer,雖然STM32用來搞不會很高速,但足了之解其原理,之後再用FPGA搞會非常容易 Pulseview是logic analyzer的GUI界面,sigrok-cli是命令行模式,兩者是呼叫一個名為libsigrok的庫去和你的logic analyzer溝通。至於libsigrok用什麼去和你的logic analyzer溝運,這個是你個人意願,因為stm32可以自己變成uart device所以就當它是uart去溝通最容易。你的logic analyzer可以有兩個mode,stream vs buffer。stream就是收幾多signal就立即傳回給libsigrok,buffer就是先儲起直至你認為儲夠再傳回至libsigrok。 我用stm32的F411和H750完成,可以看代碼,主要是main.c。因為libsigrok無可能認得你個device,所以要跟這個tutorial去改。最終效果如下
EC11 Encode - Micropython example 2025-11-15 116 Tao Bao https://github.com/quantrpeter/ec11-waveshare-esp32c6
ESP32 C6 example to control WS2812 2025-10-12 316 This example controls the WS2812 on Waveshare C6 Zero board, keep changing its color, done using VSCode + ESP-IDF
STM32 - Calculator timer interrupt speed 2025-09-30 102 https://wiki.st.com/stm32mcu/wiki/Getting_started_with_TIM#Clock_division
STM32 SWD knockout 2025-09-23 292 st-info is working but after i burn the program to weact blackpill using stm32cubeide, it become not work. I need…
作為教學工具,比較Platform IO和STM32CubeIDE 2025-08-24 152 大家都係用STM32CubeMX,所以Gen出黎嘅Code無太大分別。計功能肯定係STM32CubeMX強,第一佢有一個生成器可以生成粒MCU所有Setting,而PlatformIO係純Code,所以好考驗老師嘅功力,但係純Code有純Code嘅好處,就係學生可以更了解第一句代碼點影響粒MCU,會更有利於教學。STM32CubeIDE會要求你將啲Code寫係comment與comment之間,睇上去好亂,而PlatformIO無呢回事,啲Code睇上去好Clean。PlatformIO最大賣點係源於VSCODE所以有Github Copilot,我之前用STM32CubeIDE同VSCode開住同一個project,github copilot一邊gen我一邊改,我就無問題。但作為學生會好麻煩。
Micropython燒程式落stm32, reboot會無哂 2025-08-05 211 https://github.com/issues/created?issue=micropython%7Cmicropython%7C17828解決辦法就係加呢兩句係main.py頭import pybpyb.usb_mode('VCP+HID')
Weact STM32 H750 board use serial port via usb 2025-08-01 139 Unlike nucleo to user serial port via usb by just enabling the uart. We have to enable VCP in weact…
Weact STM32H750 DMA Reg-To-Mem example 2025-07-23 167 Few things need to be care and different then STM32F411CEU6 Gitlab source https://wiki.st.com/stm32mcu/wiki/Getting_started_with_DMA
Solved: Weact STM32H750VBT6 unable to find target 2025-07-23 421 I changed the clock to maximum 480Mhz, after I F5 for the first time, I unable to burn any program…
ATMEGA328P and ATMEGA328PB are different in programming 2025-07-22 128 I got this error is i change "MODEL=atmega328p" to "MODEL=atmega328pb" in my makefile. Github copilot said the error occurs because…
STM32L476RG - DMA from register to memory example 2025-07-21 183 Thinking how to build a logic analyzer using STM32. This example keep transfer the value of GPIO A to memory…
Example : STM32F411CEU6 mem-to-mem DMA interrupt 2025-07-15 150 https://wiki.st.com/stm32mcu/wiki/Getting_started_with_DMA#DMA_memory-to-memory_example_overview
Waveshare-ESP32-C6-1.47-Touch + Micropython + LVGL 2025-07-06 610 Special Thanks to Mr kdschlosser for writing the driver More Examples on https://github.com/quantrpeter/Waveshare-ESP32-C6-1.47-Touch-Micropython-LVGL Example:
Perfect 3D print for Ender 3 Pro 2025-07-04 150 My old Ender 3 Pro, give 0.3mm X-Y Hole compensation, now no need polishing, I can plug them into another.…
Waveshare-c6-zero + st7735 2025-07-03 147 https://gitlab.quantr.hk/example/micropython/waveshare-c6-zero-st7735
Run: Micropython + LVGL on CYD (Cheap Yellow Display) 2025-07-02 510 Example: Clock Cheap Yellow Display Pins Connector types Connector Type Note P1 4P 1.25mm JST Serial P3 4P 1.25mm JST…
Mac: Run ubuntu command with GUI in docker 2025-07-01 183 Step 1: create Dockerfile Step 2: Build the image docker build -t xclock-ubuntu . Step 3: Set XQuartz and restart…
Run Micropython in CYD (Cheap Yellow Display) and control the TFT 2025-06-29 609 Official Tutorial From TaoBao Factory : https://github.com/quantrpeter/2.8inch_ESP32-2432S028R Remark: use offset 0x1000 to write the firmware and have to erase flash…
Solved: unable to write to cheap yellow display esp32 2025-06-29 144 In mac, sometime arduino unable to write the program to cheap yellow display esp32, you can type the command manually
Tutorial build micropython for WEACT_F411_BLACKPILL 2025-06-07 558 using st-flash is better then dfu-util because we don't need to put the board into dfu mode Micrpython testing example
AT28 Programmer (Java + Arduino) 2025-06-06 204 https://gitlab.quantr.hk/quantr/toolchain/java-at28-programmer https://gitlab.quantr.hk/example/arduino/at28-programmer
solved: nextpnr-ice40 Library not loaded: '@rpath/Python3.framework/Versions/3.9/Python3' 2025-02-07 320 run this command
Solved: macports fatal error: 'boost/filesystem/path.hpp' 2025-02-07 332 Edit CMakeLists.txt, add these two line on top
The correct way to send code to micropython via uart and run 2025-01-28 404 There are two mode in micropython: REPL vs paste mode. I guess the uart of my ESP32 board has no… narrow
Solved Chisel : Error compiling the sbt component 'compiler-bridge_2.12' 2025-01-09 684 When running the chisel book example, we got Error compiling the sbt component 'compiler-bridge_2.12'. Here are the way to solve…
解剖玩具麥輪車 2024-12-28 671 MX512G : 低压单通道有刷直流电机驱动器, RMB $2MX1616S : 双路有刷直流马达驱动电路, RMB $7.8TRSP5040A : SOP8語音OTP芯片40秒碩呈語音播報IC程序開發, RMB 0.27RF2520A : 无线遥控收发器芯片, RMB $4.3