Controlling a single-needle gauge
ChrisN
Posts: 4
I'm planning a project in which I'd like to control several single-needle guages (like a spedometer) with a BASIC stamp.
1. Has anyone done this in the past?
2. Does anyone know where I can get a digitally-controlled guage (and the smaller, the better)
Here's an example of the type of gauge:
http://store.gaugemagazine.com/index.asp?PageAction=VIEWPROD&ProdID=1859
1. Has anyone done this in the past?
2. Does anyone know where I can get a digitally-controlled guage (and the smaller, the better)
Here's an example of the type of gauge:
http://store.gaugemagazine.com/index.asp?PageAction=VIEWPROD&ProdID=1859
Comments
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Jon Williams
Applications Engineer, Parallax
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Jon Williams
Applications Engineer, Parallax
PAR
0- 5ma; 0-20ma; 0-100ma;0-10amps;0-3 volts;0-100volts; -15 to +15 voltsand many more.
Second of all, that needle will bounce around on a car or motorcycle [noparse][[/noparse]the speedometer is a mechanical needle, not electrical].
Third, if you want it to indicate something like MPH, you have to take it apart and change the face with your own art work.
If you can live with the needle bouncing and changing the face, then you have to deal with the actual range.
If you don't want to see a bouncing needle, an LED numerical guage may be more useful and teach you more about electronics.
And an LCD will tell you what your are measuring without making an new face.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
"When all think alike, no one is thinking very much.' - Walter Lippmann (1889-1974)
······································································ Warm regards,····· G. Herzog [noparse][[/noparse]·黃鶴 ]·in Taiwan
I'm not actually going to be using these on a car, (spedometer was just an example in my original post) but it will be on a device that will be carried around, so it won't exactly be on a stable surface. It will probably be still when the gauges are being read.
I don't mind changing the faces for my use, I kind of expected that.
I'm really after the analog aestehtics of the gauge rather than the digital aesthetics of the LED. Do you have any online resources for purchasing the gauges you cited?
There are numerous places to buy the gauge "movements" ...meaning the needle, windings and associated parts. You'd have to build the enclosure and make the face. They are based on voltage or current input...you'll have to figure out what you need. You can get a movement and tailor the signal to meet the needs of the movement or you can find out what your signal to the gauge is going to be (voltage range, current range) and pick a movement to match possibly.
I'd imagine you'll have to do some kind of analog to digital conversion....either going from the sensor into the BS or from the digital output of the BS to the movement.
You could also make a servo gauge using the BS to drive the servo....that way you could use a digital input or a pulse input, do the math in the BS program and convert it to 1.0 - 2.0 ms pulses to drive the servo. Just did that myself with a simple circuit to test a tachometer idea. Took input pulses...measured the negative pulse width between the spikes and then did the math in the BS program.
For instance...if the BS measures a 5ms pulse width...that's 200 pulses per second (1000ms / 5ms)...200 pulses per second x 60 seconds = 12,000 rpm. Then you write some math into the program to convert 12,000 into the .5 ms pulse to drive the servo clockwise...etc.
Probably not very understandable to you at this point. But what you want to do IS possible....might not even require a BS to do it. More details always helps.
JohnnyB