Mouse Emulator using Arduino

Forum for discussion about the Langstone Microwave Transceiver that shares some features with the Portsdown. Wiki: https://wiki.microwavers.org.uk/Langstone_Project
g4eml
Posts: 673
Joined: Thu Apr 26, 2018 9:36 am

Re: Mouse Emulator using Arduino

Post by g4eml » Sat Jan 15, 2022 5:21 pm

Hello Russ,

That sounds like only one of the phase outputs is working. I think the Arduino library still registers counts even if only one phase changes.

It may be the voltage is a bit too low. Although the spec for the encoder says 5-24V, internally it feeds into a 78M05 regulator. So really the lowest input voltage should be more like 8V to get a regulated 5V for the encoder. A low voltage could be causing one of the phases to not see the movement of the encoder disk.

Of course it might also be something simple like a shorted pin or faulty Arduino.

If you can measure the voltages on the two phase signals you should be able to see them changing between 0 and 5V.

Colin.

g4saq
Posts: 48
Joined: Mon Nov 12, 2018 6:06 pm

Re: Mouse Emulator using Arduino

Post by g4saq » Sat Jan 15, 2022 9:36 pm

Thanks for the suggestions, Colin. I will try them out tomorrow and let you know.
73, Russ

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

Re: Mouse Emulator using Arduino

Post by g4eml » Sat Jan 15, 2022 10:02 pm

As mentioned in the instructions bypassing the internal regulator may be necessary if you are running the encoder from 5V.

Colin.

g4saq
Posts: 48
Joined: Mon Nov 12, 2018 6:06 pm

Re: Mouse Emulator using Arduino

Post by g4saq » Sun Jan 16, 2022 12:56 pm

Of course, you are quite correct. I looked again at my PIC project (now 3 yrs old) and I had the encoder fed by 9v. Silly of me! Thanks anyway.
73, Russ.
PS I should say thanks to you for the Langstone - a great project.

G4MJW
Posts: 30
Joined: Tue Jun 01, 2021 8:56 am

Re: Mouse Emulator using Arduino

Post by G4MJW » Sun Jul 30, 2023 4:23 pm

I'm building a second Langstone, mostly for QO-100. All in one small package and with built-in Dish. That compact, the cable lengths from LNB and Helical Tx Feed to Pluto and TX Final are just 2ft long or less!

So what's this to do with Langstone Mouse?

When I started building, there was a shortage of Arduino Pro Micro's so I bought a couple of DFrobot Beetles which use the same ATmega 32U4 processor and 5V 16MHz as in the Arduino Pro Micro. The small Beetle PCB has few I/O's, so I had to reassign them in the sketch to D9, D10 and D11 for the 3 push buttons and the Encoder to SDA and SCL. To program using the Arduino IDE, selected Arduino Leonardo Board. It works perfectly. I just glued the Beetle board onto the back of the Encoder!

Steve/G4MJW

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

Re: Mouse Emulator using Arduino

Post by g4eml » Sun Jul 30, 2023 7:56 pm

Excellent, as you have found the 32U4 processor is the critical part.
I suspect the many raspberry pi RP2040 boards could also be used with some changes to the code.

Colin G4EML

G4MJW
Posts: 30
Joined: Tue Jun 01, 2021 8:56 am

Re: Mouse Emulator using Arduino

Post by G4MJW » Mon Jul 31, 2023 7:40 am

. . . another thing Colin; I've used the OSOYOO 5" DSI touch screen (from Amazon). Again, it works perfectly. Nice and bright ans sharp. Everything works as it should.

Steve/G4MJW

Post Reply

Return to “The Langstone Microwave Transceiver”