Using RP2040-zero as mouse

Forum for discussion about the Langstone Microwave Transceiver that shares some features with the Portsdown. Wiki: https://wiki.microwavers.org.uk/Langstone_Project
Post Reply
g8gtz
Posts: 1776
Joined: Wed Apr 07, 2010 6:26 pm

Using RP2040-zero as mouse

Post by g8gtz » Tue Feb 18, 2025 12:11 pm

I thought I'd trying using the RP2040-zero as the mouse on my new Langstone build.

Got the code loaded as per Github but can't find the connection details - only the Arduino schematic is on the wiki:
https://wiki.microwavers.org.uk/File:Lmouse.JPG

Is it published somewhere or am I just missing it?

73
Noel

radiogareth
Posts: 1370
Joined: Wed Jan 06, 2016 9:46 am

Re: Using RP2040-zero as mouse

Post by radiogareth » Tue Feb 18, 2025 1:39 pm

If this doesn't help its ask Colin direct :-)
https://github.com/g4eml/Langstone-Mous ... ematic.pdf
Have to say I was wondering the same thing as they are a lot cheaper than the Arduino part....
Gareth

g0mjw
Posts: 2567
Joined: Sat Sep 20, 2014 9:15 am

Re: Using RP2040-zero as mouse

Post by g0mjw » Tue Feb 18, 2025 1:46 pm

Sledgehammer and nut comes to mind. Surely the PI could control this by itself with a little GPIO sacrifice? I wonder how hard it would be to update the code for a rotary encoder and couple of buttons? Could we use the SR select pins, these are not used in Langstone as far as I know and probably not often in the Portsdown.

Mike

g4eml
Posts: 752
Joined: Thu Apr 26, 2018 9:36 am

Re: Using RP2040-zero as mouse

Post by g4eml » Tue Feb 18, 2025 3:09 pm

Noel,

The connection diagram is valid for either board type. The IO pin numbers are the same for both boards.

Mike,
In theory it could be done using the Pi GPIO. However my experience is that rotary encoders can be tricky to get working reliably in Linux. Interrupts can be delayed by other system activity and steps end up getting lost. Leaving that task for the mouse to handle was the simplest solution.

Colin G4EML

g8gtz
Posts: 1776
Joined: Wed Apr 07, 2010 6:26 pm

Re: Using RP2040-zero as mouse

Post by g8gtz » Tue Feb 18, 2025 5:16 pm

Thanks - I'll update the image on the wiki with the one from github (which I didn't look at!!)

73
Noel

Post Reply

Return to “The Langstone Microwave Transceiver”