Author Topic: "Precision" Digital scales  (Read 6800 times)

0 Members and 1 Guest are viewing this topic.

Offline ChristopherTopic starter

  • Frequent Contributor
  • **
  • Posts: 429
  • Country: gb
"Precision" Digital scales
« on: June 13, 2012, 12:59:20 pm »
Hi all

For my school project I have decided to make a digital money box, for pennies etc, which weighs each coin as it is put into the hole and then finds out what value the coin is based on the mass of the coin. This value is then added to the value in the eeprom and displayed on 7 segments (Everyone loves 7 segments!).

The problem I am having is with the scales, I'm going to buy a couple of cheap Chinese 0.01g resolution (Crappy I know, but this is just a small project) digital scales, and I need to get the value out of it. My options are:

  • hack the loadcells, 12 bit adc etc (don't want to do this, the board already does it and converts the voltage to grams for me)
  • find debug points on the board and get the value from that? hack the micro etc
  • read the value from the seven segment displays (easiest way, also the dirtiest)

My question to you now is, if anyone reading this has as digital scale, could they please post a teardown or a picture of the insides (PCB)? This would really really help me, and I'd be really really grateful!

Or any other thoughts about the extraction of the mass would be very useful.
« Last Edit: June 13, 2012, 01:20:43 pm by Christopher »
 

Offline Rerouter

  • Super Contributor
  • ***
  • Posts: 4694
  • Country: au
  • Question Everything... Except This Statement
Re: "Precision" Digital scales
« Reply #1 on: June 13, 2012, 01:22:42 pm »
considering you told us nothing about which currency you wish to measure, i will assume australian, if so you only need 1g accuracy to diffentiate every coin, still the second digit wouldnt hurt,

i would definatly reccomend just breaking into the 7 segment display, you have 7 wires that will drive the segments, and 1 transistor per 7-seg to pull down its earth, tie as many of the segment pull downs as you want to interrupt lines, and have your micro read the values of the 7 segments each time an interupt is triggered, and store them into a array for each segment, that means only 8 pins for 1 digit, 9 for 2, and so on,

also to me this seems a little tidier than the other 2 solutions :/

edit: if you want the dot point that will cost you an extra pin,
« Last Edit: June 13, 2012, 01:26:01 pm by Rerouter »
 

Offline ChristopherTopic starter

  • Frequent Contributor
  • **
  • Posts: 429
  • Country: gb
Re: "Precision" Digital scales
« Reply #2 on: June 13, 2012, 01:32:35 pm »
Well all I want is to extract the value from the scales, the rest of my project is simple after that. I'm going to be measuring UK coins, which are 3.56g for a penny (I'll accept a tolerance of about +-0.2g, depending on the weights of the actual coins I have are).

Yeah, this is probably what I will do Rerouter, all depending on how the LCD is hooked up to the IC. If it is one wire per segment, I'll use either a 16 bit shift register (Which I already have) or a picaxe per display (I don't like Picaxe, but I have these available to me) and just connect em up to my main micro by I2C. I think I'm going to borrow my friend's scales later to see what the insides look like, if he'll let me.

The main thing I want is to keep the original hardware intact, with a little port on the side to connect everything up so I can use em afterward.

Cheers
 

Offline deephaven

  • Frequent Contributor
  • **
  • Posts: 796
  • Country: gb
  • Civilization is just one big bootstrap
    • Deephaven Ltd
Re: "Precision" Digital scales
« Reply #3 on: June 13, 2012, 01:52:10 pm »
If you go for reading the segments beware of any multiplexing that might be going on - i.e they may be scanned rather than having a constant logic state per segment.
 

Offline ChristopherTopic starter

  • Frequent Contributor
  • **
  • Posts: 429
  • Country: gb
Re: "Precision" Digital scales
« Reply #4 on: June 13, 2012, 03:31:50 pm »
If you go for reading the segments beware of any multiplexing that might be going on - i.e they may be scanned rather than having a constant logic state per segment.

Ah brilliant! I guess I'll probe it with a Scope to see if it's the case if I go for that. Surely just checking all of the lines for a logic 0 before updating the value in memory would be the best way?

I really want to find some way of getting the value of it through a couple of pins on the board, though.

I'll be using 74HC165s for this, in parallel. I'll be outputting over 7 segments with 74HC595's in parallel also, taking up 6 pins total. Would you say this is viable (I'll be using an arduino or most likely a msp430)?
 

Offline deephaven

  • Frequent Contributor
  • **
  • Posts: 796
  • Country: gb
  • Civilization is just one big bootstrap
    • Deephaven Ltd
Re: "Precision" Digital scales
« Reply #5 on: June 13, 2012, 04:40:49 pm »
If you go for reading the segments beware of any multiplexing that might be going on - i.e they may be scanned rather than having a constant logic state per segment.

Ah brilliant! I guess I'll probe it with a Scope to see if it's the case if I go for that. Surely just checking all of the lines for a logic 0 before updating the value in memory would be the best way?

I really want to find some way of getting the value of it through a couple of pins on the board, though.

I'll be using 74HC165s for this, in parallel. I'll be outputting over 7 segments with 74HC595's in parallel also, taking up 6 pins total. Would you say this is viable (I'll be using an arduino or most likely a msp430)?

If they are multiplexed you might be able to be clever and use the common of each digit to clock the segment states into the the 74HC595's. You will need to check voltage levels to make sure they're within the specs of the 595's.

 

Offline Spikee

  • Frequent Contributor
  • **
  • Posts: 568
  • Country: nl
Re: "Precision" Digital scales
« Reply #6 on: June 13, 2012, 04:58:24 pm »
You can use the AD620 to interface the loadcell.

Just watch this video:
Freelance electronics design service, Small batch assembly, Firmware / WEB / APP development. In Shenzhen China
 

Offline olsenn

  • Frequent Contributor
  • **
  • Posts: 993
Re: "Precision" Digital scales
« Reply #7 on: June 13, 2012, 06:05:28 pm »
You can buy cheap gram scales used if you don't mind the smell of marijuana
 

Offline ChristopherTopic starter

  • Frequent Contributor
  • **
  • Posts: 429
  • Country: gb
Re: "Precision" Digital scales
« Reply #8 on: June 14, 2012, 06:45:47 pm »
UPDATE!

Looked through the digital scales, massive chip-on-board blob. Basically useless, I think I'll interface directly with a loadcell, thanks for the video link, quite informative.

Debugging by the 7 seg was no use, the LCD was connected directly to a 16 pin header on the board (Through a solderless technology, not sure of the name, but a conductive strip). I was thinking it _could_ use the HD44780 interface if I'm lucky but I can't really be bothered with that, I'll look  at the signals through a scope if I get a chance.

So yeah, cheers all, time to get a cheap scale and interface with the loadcell. Would the loadcell in a 0.01g resolution be better than that in a 0.1g scale? I guess so, but it could just be the marketing techniques they use (Limited to 0.1g in software). Brill! I'll get back to you once I have something working.
 

Offline T4P

  • Super Contributor
  • ***
  • Posts: 3697
  • Country: sg
    • T4P
Re: "Precision" Digital scales
« Reply #9 on: June 15, 2012, 09:57:13 am »
It's one of those brownish flexible cables right?
It's called a flex cable
 

Offline ChristopherTopic starter

  • Frequent Contributor
  • **
  • Posts: 429
  • Country: gb
Re: "Precision" Digital scales
« Reply #10 on: June 15, 2012, 12:08:30 pm »
No it connects directly to the board, theres open pads on the board and a spongey conductive "thing" which connects the LCD to the board.

I've seen this before on other things I've taken apart, not sure what it's called though.

I think interfacing with the loadcell itsself is the best option! Cheers.
 

Offline baljemmett

  • Supporter
  • ****
  • Posts: 665
  • Country: gb
Re: "Precision" Digital scales
« Reply #11 on: June 15, 2012, 12:46:46 pm »
No it connects directly to the board, theres open pads on the board and a spongey conductive "thing" which connects the LCD to the board.

I've seen this before on other things I've taken apart, not sure what it's called though.

An elastomeric connector ('zebra strip')?
 

Offline ChristopherTopic starter

  • Frequent Contributor
  • **
  • Posts: 429
  • Country: gb
Re: "Precision" Digital scales
« Reply #12 on: June 15, 2012, 01:51:17 pm »
Yep that's it! Nice one man
 

Offline Jacob

  • Newbie
  • Posts: 5
  • Country: 00
Re: "Precision" Digital scales
« Reply #13 on: November 16, 2012, 05:24:37 pm »
Most precision scales provide the subsequent with a weight of units: Grams, Ounces., Troy Ounces., and Pennyweight. In addition, some perfection scale also provide the with a weight of models of Carats...
 

Offline poptones

  • Frequent Contributor
  • **
  • Posts: 709
  • Country: 00
Re: "Precision" Digital scales
« Reply #14 on: November 16, 2012, 06:09:01 pm »
I think you're cheating. Don't take that personally, but I used to work on scales as a field engineer. Scales are pretty simple tech, make one for extra points. All you need is a spring, some brass shims to act as a hinge, and a coil of wire tuned by a slug of iron. The slug is attached to the brass shim and the weight is laid on top.

http://www.elab.ph/forum/index.php?topic=1824.0

Use a shim of brass to act as a spring and hinge and attach the slog of iron to the end of the brass. Calibrate it using your coins, done. I've made scales built like this weigh gallon buckets of paint down to 10g accuracy and that's as they travel down an assembly line.
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf