gzeronet / esp32-trackpoint-example

port trackpoint ps/2 to esp32 c6

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

esp32-trackpoint-example

esp-tp.mp4

Port trackpoint ps/2 to esp32 c6

Here is my stm32F4 version maybe someone interested in.

Just try to port esp32 and ready to do some POC with BLE trackpoint mouse, so have this example.

Seems esp32 hal is much easier than stm32 one, and more powerful with wireless.

And no difficult on porting by rust esp-template :D

Hardware

  • esp32 board c6 or others
  • trackpoint module
  • breadboard

Connect

ESP32C6 --- Trackpoint

  • Pin 5 --- RST
  • Pin 6 --- CLK
  • Pin 7 --- DATA

** Don't forget connect power on Trackpoint module, I just made the mistake.

Build & Run

cargo run --example tp

** check & replace keyword "esp32c6" in repo files if you use other board.

TODO

Trackpoint stream mode with interrupt.

About

port trackpoint ps/2 to esp32 c6

License:MIT License


Languages

Language:Rust 100.0%