You are here

Wiring a touchscreen to a vesc

4 posts / 0 new
Last post
posthy
Offline
Last seen: 2 years 4 months ago
Joined: 2021-12-01 18:03
Posts: 3
Wiring a touchscreen to a vesc

I'm building an electric scooter. I managed to make a nice interface using qml that works fine inside vesc tool. Now i want to wire on an external touch screen for that UI, but have no idea how to do that. What interface do i need (i2c / uart / other)?  Do i need an additional microcontroler like an arduino?  Any advice would be greatly apprciated!

frank
Offline
Last seen: 3 weeks 2 days ago
VESC BronzeVESC FreeVESC GoldVESC OriginalVESC PlatinumVESC Silver
Joined: 2016-12-27 20:19
Posts: 847

You could compile VESC-Tool for/on a Raspberry PI Zero and use USB for a permanent connection. Attach the screen to the PI....

posthy
Offline
Last seen: 2 years 4 months ago
Joined: 2021-12-01 18:03
Posts: 3

Sounds a bit hacky, but should work. Thanks for the idea

frank
Offline
Last seen: 3 weeks 2 days ago
VESC BronzeVESC FreeVESC GoldVESC OriginalVESC PlatinumVESC Silver
Joined: 2016-12-27 20:19
Posts: 847

That is how we do it on our GoKart. The beauty is the super fast update rate..... And fast logging to the SD card.