Skip navigation

Widerstand ist zwecklos” is german for “resistance is futile”, but also “resistor is useless”, which is absolutely the point in this project. i teamed up with my dear friend jan and we created a device that measures resistance and displays it as a resistor color code. an optional cheat mode also displays the resistance as a decimal number. needless to say it is shaped like a giant resistor.

complete_naked

‘just because’, we decided to integrate all electronics into the tube instead of putting it into the base. we also chose to use perfboard and not a dedicated PCB because we had all the parts leftover from different projects and this one is more of a recycling project.

segments

the heart of our resistor is an ATmega168 microcontroller in an uncomfortably large DIL28 package. along with the microcontroller we use a 7805 for voltage regulation and a 4511N BCD to 7-segment decoder/driver for the extra display.

pcb_top

we multiplex the three RGB-LEDs and the 7-segment displays using BC846 transistors as drivers. in order to save some space, we decided to use SMT for transistors and other passive components.

transistors

the resistor is made of dark grey PVC pipe. RGB LEDs and 7-segment displays are integrated into acrylic discs that form the rings of the resistor. in order to embed the displays, we had to CNC a custom disc.

display_multiplex

to perform the actual measurement, we experimented with measuring the resistance by the discharge time of a capacitor. the problem: the measurement takes some time, so the user does not receive an instant measurement when she connects the probes to a resistor. so we decided to rather use a voltage divider and the ADC of the ATmega. the problem this time: we wanted to cover a large range of resistances. so if you use – let’s say a 1K resistor as the constant resistor and measure a 1K resistor, you measure a nice 50% value at your ADC, let’s say 512. if you measure small resistances, like for example 10R and 12R, you cannot safely distinguish between those two because both lead to very very small ADC values. our solution was to use two voltage dividers, one with a 150R constant resistor and the other one with a 27K. we determined this values with some spreadsheeting.

calculations

the resistance is measured with both voltage dividers. threshold values decide if the measured value lies in the safe range of the first or the second voltage divider. as a result, we were able to cover the E12-series over more than 5 decades. in other words: from 10R to 1M

measureclose1

the firmware displays a fancy colorful animation if the line between the probes is open. if a resistance is measured, the ADC value is compated to a lookup table. the closest value from the E12 series is selected and the correspondent colors are displayed. cheatmode is activated if a resistance is measured during power-up. it is sufficient to bridge both terminals with your fingers to do so. if cheatmode is active, you get an additional decimal display of the resistance value.

measuring

feel free to take a look at the calculations, scripts, firmware and schematics:

))) project files (((

if you have any questions, please do comment.

UPDATE: the device is now used as a temperature sensor, connected to an NTC. although my brain is still struggling to figure out the mapping from temperature to colors :)

additional images:

solderin

pcb_bot

digits

opened_display

display_down

measureclose

About these ads

2 Comments

  1. Hey that’s an awesome project! Yeah the rc circuit can take some time if r and c are large

    -Moser

  2. Hi,

    We are two physicists from Linz, Austria. We are very impressed by your great idea.
    The design and build quality look awesome. Thanks for sharing this!!

    Regards
    Michael & Susi


8 Trackbacks/Pingbacks

  1. By Giant resistor-shaped Ohmmeter on 12 Feb 2013 at 7:02 pm

    [...] fun of having a giant resistor-shaped Ohmmeter is that it reads back the resistance by displaying the color code. If you’re not too hot with [...]

  2. By rndm(mod) » Giant resistor-shaped Ohmmeter on 12 Feb 2013 at 7:08 pm

    [...] fun of having a giant resistor-shaped Ohmmeter is that it reads back the resistance by displaying the color code. If you’re not too hot with [...]

  3. [...] fun of having a giant resistor-shaped Ohmmeter is that it reads back the resistance by displaying the color code. If you’re not too hot with [...]

  4. [...] Sebastian created Widerstand ist Zwecklos, an ohmmeter lamp that displays resistor color codes. He writes: [...]

  5. By Need an Ohmmeter? on 20 Feb 2013 at 10:49 am

    [...] Maybe region locked? Try an online web based proxy service… Or try the origin page… http://hackedfrompieces.wordpress.co…-ist-zwecklos/ [...]

  6. [...] fun desktop ohmmeter displays resistor values numerically and lights up the colored bands to match. via [...]

  7. […] ARTIKEL: Widerstand ist zwecklos Ein selbstgebauter Widerstandsmesser, der den gemessenen Widerstand als Widerstandsfarbcode anzeigt, und natürlich, als Widerstand geformt ist. […]

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.

%d bloggers like this: