I can do CH32!
I can do CH32!
The PS2 is bit-banged on 2 pins, the clock and data lines of the PS2 have 4.7k pullup resistors to 3.3V, with the mouse being powered by 5V.
This is running on a SOIC8 ch32v003J4M6
The PS2 is bit-banged on 2 pins, the clock and data lines of the PS2 have 4.7k pullup resistors to 3.3V, with the mouse being powered by 5V.
This is running on a SOIC8 ch32v003J4M6
here is the code for this bot so far.
sorry, it depends on the ch32fun library in a way I have not succesfully untangled yet.
here is the code for this bot so far.
sorry, it depends on the ch32fun library in a way I have not succesfully untangled yet.
* 1.9013259
zippo:/morfiles/programming/c/ch32/ch32fun/examples/serialADC# units 1000000000minutes years
* 1901.3259
Fact check is clear! 👍
* 1.9013259
zippo:/morfiles/programming/c/ch32/ch32fun/examples/serialADC# units 1000000000minutes years
* 1901.3259
Fact check is clear! 👍
Open-source tools include github.com/cnlohr/ch32fun
Open-source tools include github.com/cnlohr/ch32fun
ch32funならかなり最適化され、小さなバイナリになるため積極的に使いたいものだがArduinoのライブラリ等とはお別れになる。
#電子工作
ch32funならかなり最適化され、小さなバイナリになるため積極的に使いたいものだがArduinoのライブラリ等とはお別れになる。
#電子工作
動作テストしてなかったのでテストしてみました
u8g2のissue見てるとssd1306の設定で動くっぽいけど、私の試したch32funを謎mcu用に改変したやつだとssd1306ではなくsh1107を出発点にしないといけなかった
石の中のgramと表示で8行ズレてるみたいでそのへんの改良を盛り込んでた
mcuのram使用量やi2cの転送量を減らせたのでまんぞく
3個買ってたけど(このテストする前に)追加3個買ってたから届くの楽しみ
さらにあと3個買えたら買いたいね
動作テストしてなかったのでテストしてみました
u8g2のissue見てるとssd1306の設定で動くっぽいけど、私の試したch32funを謎mcu用に改変したやつだとssd1306ではなくsh1107を出発点にしないといけなかった
石の中のgramと表示で8行ズレてるみたいでそのへんの改良を盛り込んでた
mcuのram使用量やi2cの転送量を減らせたのでまんぞく
3個買ってたけど(このテストする前に)追加3個買ってたから届くの楽しみ
さらにあと3個買えたら買いたいね
github.com/SrBurns-rep/...
github.com/SrBurns-rep/...
www.uiap.jp/uiapduino/pr...
www.uiap.jp/uiapduino/pr...
Now USB can be nicely used on ch32v203s without a USBFS PHY.
Currently residing in this pr if anyone wants to try: github.com/cnlohr/ch32f...
Now USB can be nicely used on ch32v203s without a USBFS PHY.
Currently residing in this pr if anyone wants to try: github.com/cnlohr/ch32f...
https://www.uiap.jp/uiapduino/pro-micro/ch32v006/v1dot1
https://www.uiap.jp/uiapduino/pro-micro/ch32v006/v1dot1
By: Anne Barela on Monday, April 13, 2026
By: Anne Barela on Monday, April 13, 2026
By: Anne Barela on Wednesday, March 11, 2026
By: Anne Barela on Wednesday, March 11, 2026