Menticol
Active Member
Hi! I'm currently adapting a motorcycle dashboard to use with a computer video game, using a raspberry pi.
At first replicated this circuit shown in Youtube. Its 12V square wave was not able to make the tachometer needle move.
Switched the Arduino for the Raspberry pi due limitations of Arduino's tone() function and even ordered a new dashboard (thinking the one I had was DoA) to no avail.
My bad luck ended when I found this great post by user Robmack that explains how this type of tachometers do require a a negative offset to work. After implementing the circuit and fiddling with the duty cycle, it worked perfectly.
However, my questions are:
1. What's the technical name for Robmacks solution?
2. His solution it's heavily dependent on duty cycle and frequency, under some parameters it stops working. Is there another way to induce a positive or negative offset on a frequency-variable square wave signal? Thought about a Ad9833 module, but it does require an OP-AMP with a negative power supply, maybe for my application is an overkill?
Yellow channel represents the output from my TIP125, the purple one the tachometer-out output, shifted by the aforementioned resistor and capacitor technique.
Thank you for your time
At first replicated this circuit shown in Youtube. Its 12V square wave was not able to make the tachometer needle move.
Switched the Arduino for the Raspberry pi due limitations of Arduino's tone() function and even ordered a new dashboard (thinking the one I had was DoA) to no avail.
My bad luck ended when I found this great post by user Robmack that explains how this type of tachometers do require a a negative offset to work. After implementing the circuit and fiddling with the duty cycle, it worked perfectly.
However, my questions are:
1. What's the technical name for Robmacks solution?
2. His solution it's heavily dependent on duty cycle and frequency, under some parameters it stops working. Is there another way to induce a positive or negative offset on a frequency-variable square wave signal? Thought about a Ad9833 module, but it does require an OP-AMP with a negative power supply, maybe for my application is an overkill?
Yellow channel represents the output from my TIP125, the purple one the tachometer-out output, shifted by the aforementioned resistor and capacitor technique.
Thank you for your time
Last edited: