Warning: preg_match(): Compilation failed: group name must start with a non-digit at offset 8 in /home/cell/jason.pepas.com/wiki/includes/MagicWord.php on line 542

Warning: preg_match(): Compilation failed: group name must start with a non-digit at offset 8 in /home/cell/jason.pepas.com/wiki/includes/MagicWord.php on line 542

Warning: preg_match(): Compilation failed: group name must start with a non-digit at offset 8 in /home/cell/jason.pepas.com/wiki/includes/MagicWord.php on line 542

Warning: preg_match(): Compilation failed: group name must start with a non-digit at offset 8 in /home/cell/jason.pepas.com/wiki/includes/MagicWord.php on line 542

Warning: preg_match(): Compilation failed: group name must start with a non-digit at offset 8 in /home/cell/jason.pepas.com/wiki/includes/MagicWord.php on line 542

Warning: preg_match(): Compilation failed: group name must start with a non-digit at offset 8 in /home/cell/jason.pepas.com/wiki/includes/MagicWord.php on line 542

Warning: preg_match(): Compilation failed: group name must start with a non-digit at offset 8 in /home/cell/jason.pepas.com/wiki/includes/MagicWord.php on line 542

Warning: preg_match(): Compilation failed: group name must start with a non-digit at offset 8 in /home/cell/jason.pepas.com/wiki/includes/MagicWord.php on line 542

Warning: preg_match(): Compilation failed: group name must start with a non-digit at offset 8 in /home/cell/jason.pepas.com/wiki/includes/MagicWord.php on line 542

Warning: preg_match(): Compilation failed: group name must start with a non-digit at offset 8 in /home/cell/jason.pepas.com/wiki/includes/MagicWord.php on line 542

Warning: preg_match(): Compilation failed: group name must start with a non-digit at offset 8 in /home/cell/jason.pepas.com/wiki/includes/MagicWord.php on line 542

Warning: preg_match(): Compilation failed: group name must start with a non-digit at offset 8 in /home/cell/jason.pepas.com/wiki/includes/MagicWord.php on line 542

Warning: preg_match(): Compilation failed: group name must start with a non-digit at offset 8 in /home/cell/jason.pepas.com/wiki/includes/MagicWord.php on line 542

Warning: preg_match(): Compilation failed: group name must start with a non-digit at offset 8 in /home/cell/jason.pepas.com/wiki/includes/MagicWord.php on line 542

Warning: preg_match(): Compilation failed: group name must start with a non-digit at offset 8 in /home/cell/jason.pepas.com/wiki/includes/MagicWord.php on line 542

Warning: preg_match(): Compilation failed: group name must start with a non-digit at offset 8 in /home/cell/jason.pepas.com/wiki/includes/MagicWord.php on line 542

Warning: preg_match(): Compilation failed: group name must start with a non-digit at offset 8 in /home/cell/jason.pepas.com/wiki/includes/MagicWord.php on line 542

Warning: preg_match(): Compilation failed: group name must start with a non-digit at offset 8 in /home/cell/jason.pepas.com/wiki/includes/MagicWord.php on line 542
AsiaEngineerGauges - Wiki

AsiaEngineerGauges

From Wiki

Jump to: navigation, search

Image:Asia-engineer-panel-meter-thumbnail.jpg

I found these 30 volt round analog panel meters on ebay for $5 from a company called Asia Engineer. With a simple hack, these can be turned into a 5 volt gauge, which can then be controlled via PWM from a boarduino.

Contents

cost

the gauges sell for a buy-it-now price of $4.49, but shipping (from china) is $10, so the cost of a single gauge is about $15.

however, each additional gauge in your order gets a 50% discount on shipping. this means I was able to buy 10 gauges for $99.90 with shipping included (just under $10 per gauge).

for those of you who are unfamiliar with how expensive gauges are, a single automotive tachometer gauge can easily cost over $100.

shipping method

my gauges arrived via registered us mail.

disassembly

Image:Asia-engineer-disassembly-thumbnail.jpg

here are a bunch of photos of my tear-down procedure.

internals

the gauge consists of a coil driven needle in series with a resistor. the coil is current controlled, so the range of the gauge is simply determined by value of the internal series resistor.

resistor

the series resistor appears to be a 1% 30k ohm (orange black black red brown).

Image:30kohm.jpg

I measure it as being 1% off (29.7k ohm) with my cheap and probably inaccurate multimeter.

Image:30k-measured.jpg

coil

the coil measures as 159 ohms.

Image:Asia-engineer-159-ohm-coil.jpg

the 5 volt hack

if the 30 volt gauge has a 30k ohm resistor, this means the needle should be fully deflected with 1 milliamp of current. This means we can turn this into a 5 volt meter by substituting a 5k ohm resistor.

I had 4.7k ohm resistors on hand, which means my 5.12 volt power supply is driving about 1.05 milliamps through the meter. this appears to be corroborated by the fact that my needle deflects just past the 30 volt mark.

Image:Just-past-30.jpg

a 5 volt gauge can be controlled from a microcontroller with pulse width modulation, as I have done in this youtube video.

Image:Boarduino-gauge-control.JPG

faceplate scans

after the disassembly process, I scanned the metal faceplate. these high resolution scans are useful for creating custom faceplates.

Image:Gauge-thumbnail.jpg

  • 300dpi (note: the faceplate is about 740 pixels in diameter at 300 dpi)
  • 600dpi

custom faceplate

software

version 0.1

I am working on a python/cairo script to create a custom faceplate. the advantage of "drawing" the faceplate programatically (as opposed to laying it out by hand in something like photoshop) is that I can have the tick marks laid out according to any mathematical formula. this will allow the gauge to display non-linear data.

Here are my results so far.

Image:Faceplate-original-thumb.png Image:Faceplate-mask-thumb.png Image:Faceplate-combined-thumb.png

this is the program I used to generate them: http://jason.pepas.com/code/asia-engineer-faceplate/0.1/asia-engineer-faceplate-0.1.py

version 0.2

update: version 0.2 supports tickmarks:

Image:Tickmarks-thumb.png

code: http://jason.pepas.com/code/asia-engineer-faceplate/0.2/asia-engineer-faceplate-0.2.py

version 0.3

update: version 0.3 supports a sigmoidal scale:

Image:Sigmoidal-faceplate-thumb.png

code: http://jason.pepas.com/code/asia-engineer-faceplate/0.3/asia-engineer-faceplate-0.3.py

version 0.4

update: version 0.4 has basic support for text labels:

Image:Labeled-mask-linear.png Image:Labeled-mask-sigmoidal.png

code: http://jason.pepas.com/code/asia-engineer-faceplate/0.4/asia-engineer-faceplate-0.4.py

version 0.5

in version 0.5 I reorganized the code, and added support for mounting holes.

Image:Asiaengineer-0.5-linear.png Image:Asiaengineer-0.5-sigmoidal.png Image:Asiaengineer-0.5-signorm.png

code: http://jason.pepas.com/code/asia-engineer-faceplate/asiaengineer-0.5.tar.gz

version 0.6

more small code clean-ups, more examples.

code: http://jason.pepas.com/code/asia-engineer-faceplate/asiaengineer-0.6.tar.gz

Personal tools