Hi, I'm working on a project, and I've drawn up a schematic that I want to make sure it will work before I put it together. I'm a novice, so bear with me.
I have an exercise bike that hooks up to a digital display. the wire can be unhooked from the display. Inside the wire from the bike wheel is two contacts. The resistance across the contacts is about 1meg when the wheel is turning, and an open circuit when the wheel is still.
My goal is to hook that up to a game controller, so that when the wheel is turning a button is pressed, and when the wheel stops the button is let up. It seemed simple at first, except 1meg is way too much resistance for the controller to be able to detect the button being pressed.
So, what I've done is created a circuit using an IR510 Mosfet, as seen attached to this post. R1 represents the exercise bike (remember, it's an open circuit when the bike isn't moving), V2 is the measured voltage across the open circuit of the button, and V1 is a 9 volt battery.
The idea is, basically, the wheel on the exercise bike will start turning and apply 9v to the gate. this will open the circuit across the button on the game controller, and the game controller will detect the button as being pressed.
I would really appreciate an expert opinion on this circuit before I get the parts to put it together. It seems to work in LTspice, but I want to make sure.
Thanks, Donnie
I have an exercise bike that hooks up to a digital display. the wire can be unhooked from the display. Inside the wire from the bike wheel is two contacts. The resistance across the contacts is about 1meg when the wheel is turning, and an open circuit when the wheel is still.
My goal is to hook that up to a game controller, so that when the wheel is turning a button is pressed, and when the wheel stops the button is let up. It seemed simple at first, except 1meg is way too much resistance for the controller to be able to detect the button being pressed.
So, what I've done is created a circuit using an IR510 Mosfet, as seen attached to this post. R1 represents the exercise bike (remember, it's an open circuit when the bike isn't moving), V2 is the measured voltage across the open circuit of the button, and V1 is a 9 volt battery.
The idea is, basically, the wheel on the exercise bike will start turning and apply 9v to the gate. this will open the circuit across the button on the game controller, and the game controller will detect the button as being pressed.
I would really appreciate an expert opinion on this circuit before I get the parts to put it together. It seems to work in LTspice, but I want to make sure.
Thanks, Donnie