tiny-pilot / tinypilot

Use your Raspberry Pi as a browser-based KVM.
https://tinypilotkvm.com
MIT License
3k stars 252 forks source link

Compute Module Support? #193

Open peterberbec opened 4 years ago

peterberbec commented 4 years ago

The Pi CM3 is a Pi 3 in a SODIMM space. It seems, with the right size carrier board, and some software h4x, you can get OTG working with it. This, plus a CSI to HDMI bridge, would seem to allow a TinyPilot to be only slightly larger than a Pi Zero, making an even TinierPilot.

The Pi Zero works, but is very slow. I'm seeing close to 750ms of lag even when overclocking the CPU, GPU and RAM. It is my hope that using a CM3 will have a few advantages.

There is a pretty big downside to non-fullsized version of this carrier board and it goes with the problem of the CM3

The Pi CM3 doesn't have wifi and the tiny carrier board doesn't have ethernet. Normally, I'd use g_ether, but since we are using g_hid to connect to the host machine, this won't work. It turns out, you can use GPIOs to connect to an ESP32, but that's a lot of work. I'm just going to solder some motherboard USB headers onto the carrier board's unpopulated USB header and pop on some random USB wifi dongle.

I have ordered a CM3+ 8GB eMMC Pi, the above carrier board, a wifi dongle and a motherboard USB header. I will report back.

mtlynch commented 4 years ago

Cool! Yeah, I'm interested in supporting CM3. I'd expect it to work out of the box as long as you get Raspbian running and OTG enabled. If it doesn't work, I'm interested in what work is required to make it compatible.

peterberbec commented 4 years ago

I'm obsessed with making a PicoPilot. 😀

Peter Berbec (917) 213-2594

On Thu, Sep 3, 2020 at 11:10 AM Michael Lynch notifications@github.com wrote:

Cool! Yeah, I'm interested in supporting CM3. I'd expect it to work out of the box as long as you get Raspbian running and OTG enabled. If it doesn't work, I'm interested in what work is required to make it compatible.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/mtlynch/tinypilot/issues/193#issuecomment-686559189, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEDNU4PXLWN4DARXRPJQSKTSD6WYHANCNFSM4QULBX3Q .

peterberbec commented 4 years ago

Cool! Yeah, I'm interested in supporting CM3. I'd expect it to work out of the box as long as you get Raspbian running and OTG enabled. If it doesn't work, I'm interested in what work is required to make it compatible.

I got the boards, but I guess I missed a part of the instructions, because I let out the magic smoke.

For anyone using this board, when you jump the two pins to enable flashing mode, make sure the switch is set properly or you'll burn out the carrier when 5v goes in some sort of loop.

Ordered a new one. 😭

WardBenjamin commented 3 years ago

This could be tagged with alternate-equipment.