Hi,
This is just in the idea fase, but at some point I want to hack my hometrainer. It has a little computer that shows you the speed you cycle, the time, and other "yadayada" non-interesting information. Anyway...
So, what I like to do, is listen to the board-computer's incoming sensor signal, with a Atmega8 chip, and connect make the signal digital, so I can send it over a UART-to-USB cable to my computer, and do more interesting things with it... Like a little 3d program that shows you a 3d world where you cycle, and the faster you cycle in real live, the faster you go in the world.... Or something simpler to start with.
I am all-ready-to-go on the software side. I probably hook it up first to a game I allready wrote a long time ago. On the AVR side, I am also good to go.... I just need to get the signal somehow, in whatever format it is, into the AVR.
So, for the hardware side of things. On this hometrainer, type "Nordic"... There is no external wheel exposed, so I can't mount any simple sensors to detect speed myself. (Just anticipating a question)
What does exist is two wires that come from "some sensor", and go to this little on board computer, as I described in the beginning.
So, what could those two wires be leading to, is my question to the forum. I am not really in the mood to take the whole bike apart just now, but maybe I do that, if I can't get the info otherwise.
I was mostly expecting 3 wires. Voltage, Ground and signal back.... So what can two wires provide me? One seems to go to the CPU directly. Not alot of analogues stuff is on the circuit, so I expect it could be digital allready. The second seem to be connected directly to voltage. Maybe there is some on/off circuitry in the sensor. Or maybe the resistance changes? (but then I'd expect 3 wires again.)
Does any one has any good ideas?
I post some pics later (Need to take them first)...
Thanks for any comments
DaC
This is just in the idea fase, but at some point I want to hack my hometrainer. It has a little computer that shows you the speed you cycle, the time, and other "yadayada" non-interesting information. Anyway...
So, what I like to do, is listen to the board-computer's incoming sensor signal, with a Atmega8 chip, and connect make the signal digital, so I can send it over a UART-to-USB cable to my computer, and do more interesting things with it... Like a little 3d program that shows you a 3d world where you cycle, and the faster you cycle in real live, the faster you go in the world.... Or something simpler to start with.
I am all-ready-to-go on the software side. I probably hook it up first to a game I allready wrote a long time ago. On the AVR side, I am also good to go.... I just need to get the signal somehow, in whatever format it is, into the AVR.
So, for the hardware side of things. On this hometrainer, type "Nordic"... There is no external wheel exposed, so I can't mount any simple sensors to detect speed myself. (Just anticipating a question)
What does exist is two wires that come from "some sensor", and go to this little on board computer, as I described in the beginning.
So, what could those two wires be leading to, is my question to the forum. I am not really in the mood to take the whole bike apart just now, but maybe I do that, if I can't get the info otherwise.
I was mostly expecting 3 wires. Voltage, Ground and signal back.... So what can two wires provide me? One seems to go to the CPU directly. Not alot of analogues stuff is on the circuit, so I expect it could be digital allready. The second seem to be connected directly to voltage. Maybe there is some on/off circuitry in the sensor. Or maybe the resistance changes? (but then I'd expect 3 wires again.)
Does any one has any good ideas?
I post some pics later (Need to take them first)...
Thanks for any comments
DaC