Author Topic: Connecting the mouse circuit to the steering set instead of the potentiometer?  (Read 1088 times)

0 Members and 1 Guest are viewing this topic.

Offline denizari82Topic starter

  • Newbie
  • Posts: 3
  • Country: tr
The potentiometer cannot perform in games due to both the limited rotation angle and the serious gap, but most importantly, its response is very weak! When I try it with the mouse (for example, ETS game), the steering wheel in the game turns/reacts at the same rate and instantly even to the slightest movement. When I connect the mouse circuit to the potentiometer inputs of the steering circuit, naturally it does not work. I didn't get any results when I connected it to the other ends. I wonder how can I connect this mouse optic to the main board instead of the potentiometer or is this possible?
 

Online ataradov

  • Super Contributor
  • ***
  • Posts: 11709
  • Country: us
    • Personal site
This is a USB mouse, you can't connect it directly instead of a potentiometer. You can't easily integrate it into the existing product, it will always be a separate mouse.

If you can setup your game to take inputs from the mouse, then just connect it as a separate USB device and point the sensor at some rotating part.
Alex
 
The following users thanked this post: denizari82

Offline denizari82Topic starter

  • Newbie
  • Posts: 3
  • Country: tr
This is a USB mouse, you can't connect it directly instead of a potentiometer. You can't easily integrate it into the existing product, it will always be a separate mouse.

If you can setup your game to take inputs from the mouse, then just connect it as a separate USB device and point the sensor at some rotating part.

Well, I found something like this, do you think this device will work for me: "Voltage Converter Module - Digital to Analog Signal PWM Adjustable Power Module":https://tr.aliexpress.com/item/1005001634067740.html
 

Offline denizari82Topic starter

  • Newbie
  • Posts: 3
  • Country: tr
I assume you'd like to use mouse sensor to translate steering wheel shaft rotation into electrical signal that mimics action of a potentiometer?

Digital to analog debate aside, with naive approach you'll probably very quickly discover that it drifts over time. Then you'll spend time re-inventing absolute encoder.

Ask yourself, are hours spent on trying to get it right really worth it? Logitech G29 with manual shifter is only $300.

Well, I found something like this, do you think this device will work for me: "Voltage Converter Module - Digital to Analog Signal PWM Adjustable Power Module":https://tr.aliexpress.com/item/1005001634067740.html
 

Online ataradov

  • Super Contributor
  • ***
  • Posts: 11709
  • Country: us
    • Personal site
It depends on what you really want to do and what the actual problem is.

But generally, it is not likely that a random module will help
Alex
 

Offline EPAIII

  • Super Contributor
  • ***
  • Posts: 1147
  • Country: us
I love the use of "only" right next to "$300".

How about sending me "only $300". I promise to give it a good home. At least for a while.



I assume you'd like to use mouse sensor to translate steering wheel shaft rotation into electrical signal that mimics action of a potentiometer?

Digital to analog debate aside, with naive approach you'll probably very quickly discover that it drifts over time. Then you'll spend time re-inventing absolute encoder.

Ask yourself, are hours spent on trying to get it right really worth it? Logitech G29 with manual shifter is only $300.
Paul A.  -   SE Texas
And if you look REAL close at an analog signal,
You will find that it has discrete steps.
 

Offline DavidAlfa

  • Super Contributor
  • ***
  • Posts: 6211
  • Country: es
This would require an inmense amount of work, not worth the hassle for a cheap device.
Limited angle? Then adjust sensitivity in game. Maybe your issue comes elsewhere, like dead angle, input filtering, all that needs checking first before blamign the potentiometer.
Every console has used potentiometers for the analog sticks, and there's no such delay.
Probably this device is like this, cheap and limited, with slow sampling rates, so no amount of work will fix it ::)...

Not pretending to be a jerk, but next will be: Help me to make a circuit, help to to program it, help me to calibrate it, help me to fix broken pcb... Please do for me!
Quickly you'll realize it gets too complicated and drop the idea!

It might be $300, but you get something that works properly out of the box (Or just get a used one).
« Last Edit: October 29, 2023, 09:57:50 am by DavidAlfa »
Hantek DSO2x1x            Drive        FAQ          DON'T BUY HANTEK! (Aka HALF-MADE)
Stm32 Soldering FW      Forum      Github      Donate
 

Offline EPAIII

  • Super Contributor
  • ***
  • Posts: 1147
  • Country: us
An USB mouse, optical or otherwise, sends a digital, serial signal via that USB connection. And actually it is not just one signal, but several because the mouse can be moved in two directions, any of two or three buttons can be pressed, and a wheel can be turned. That's as many as six different signals that it can transmit. And all of them are in a digital format.

A potentiometer will output a single DC Voltage, probably between 0 and 5 Volts. Or 0 and 3 Volts perhaps.

These are two very different types of signals. Unless it is specifically made to convert a USB mouse signal to a variable DC Voltage, I very much doubt that any inexpensive and ready-made circuit board will do what you want.

It could probably be done with an Arduino or similar processor and some custom code.
Paul A.  -   SE Texas
And if you look REAL close at an analog signal,
You will find that it has discrete steps.
 

Offline DavidAlfa

  • Super Contributor
  • ***
  • Posts: 6211
  • Country: es
There's a small posibility of doing somthing similar with a quadrature encoder and some interfacing circuit, like this:
https://www.electronics-lab.com/encoder-controlled-potentiometer/

But I keep thinking this is a limitation of the device itself and will make no difference.
« Last Edit: October 29, 2023, 10:56:59 am by DavidAlfa »
Hantek DSO2x1x            Drive        FAQ          DON'T BUY HANTEK! (Aka HALF-MADE)
Stm32 Soldering FW      Forum      Github      Donate
 

Offline NiHaoMike

  • Super Contributor
  • ***
  • Posts: 9199
  • Country: us
  • "Don't turn it on - Take it apart!"
    • Facebook Page
I think the way to go would be to build one from scratch from a Raspberry Pi Pico and some 3D printed parts. For pedals it would make sense to get some from the junkyard, they're drive by wire nowadays. Probably need to add a stiff spring to the brake pedal to simulate the brake master cylinder, while the gas pedal would be self contained and just have an electrical connection.
Cryptocurrency has taught me to love math and at the same time be baffled by it.

Cryptocurrency lesson 0: Altcoins and Bitcoin are not the same thing.
 

Offline coromonadalix

  • Super Contributor
  • ***
  • Posts: 6522
  • Country: ca
You have already made solutions for thoses who want to create arcade, MAME, cockpits, filght simulators,  cars simulators and more ... motion controllers etc ...


Even a cheap arduino can do interfacing

Do things right and search for the right stuff,  not doing gimmick  or not listening previous thread advices ??
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf