pimoroni / picovision

MIT License
45 stars 14 forks source link

Touchscreen integratioon? #77

Open znmeb opened 11 months ago

znmeb commented 11 months ago

I'm getting a couple of PicoVision units. I have a couple of HDMI displays with a second connector (USB) for a Linux touchscreen. These work with full-size Raspberry Pi and NVIDIA Jetson Linux. Is there any project to port this capability to PicoVision MicroPython?

Gadgetoid commented 11 months ago

Adding a touchscreen is a great idea. What are your displays, specifically?

Even if we can't squeeze USB host support into MicroPython (there are oh so many caveats) it would be possible to use yet another Pico to convert a USB touchscreen into an i2c one that could be connected via Qw'St (the little i2c header).

znmeb commented 11 months ago

This is one model: https://www.amazon.com/waveshare-7inch-LCD-HDMI-Consumption/dp/B015E8EDYQ/

There are some touchscreens that have a mounting bracket on the back for a standard Raspberry Pi. If you could make a board with three RP2040s on it in the same form factor as a standard Pi you could make a Pico tablet.

znmeb commented 11 months ago

I also have one of these: https://www.amazon.com/gp/product/B08T5LCTKT/ but it looks like Amazon doesn't carry it any more.

MichaelBell commented 11 months ago

I've got one of these (though not currently in the same place as me), may well be similar. https://www.amazon.co.uk/gp/product/B093FNSDYF

If you can get TinyUSB in USB host mode talking to it then you should be able to use it in C++ projects (you'll want a splitter cable). For Micropython using another Pico does sound like the best option - I've already been experimenting with that approach to connect Bluetooth game pads for use with MicroPython on PicoVision (unfortunately MicroPython only supports BLE not full Bluetooth).

znmeb commented 11 months ago

TBH for my application (music) some kind of wireless mesh network software with Pico Ws would make more sense than making a bunch of different boards for USB functionality.