Author Topic: Weight in grams.  (Read 6730 times)

0 Members and 1 Guest are viewing this topic.

Offline metalsapoTopic starter

  • Newbie
  • Posts: 7
Weight in grams.
« on: July 06, 2012, 05:23:46 pm »
HI, im wondering if anyone has ever created a project to sense weight, and i want to weight around 20 gr. to 60 gr. for one day chicks, where can i buy the sensor, i´m starting to program pic16f84A so it is a nice project, thanks guys.
 ::)
 

Offline robrenz

  • Super Contributor
  • ***
  • Posts: 3035
  • Country: us
  • Real Machinist, Wannabe EE
Re: Weight in grams.
« Reply #1 on: July 06, 2012, 05:35:44 pm »
Buy a 100g scale and interface with whats already there. IMO its not worth trying to build the strain gage flexure unit.  Not to mention it would end up costing you more even if you worked for a $1 per hour.

Online PA0PBZ

  • Super Contributor
  • ***
  • Posts: 5372
  • Country: nl
Re: Weight in grams.
« Reply #2 on: July 06, 2012, 06:25:31 pm »
I did make one from scratch, mostly because I could not use or scrap a scale because of the size of what I wanted. Since that will not be a problem for you just go out and buy a cheap digital scale, anywhere from 100g - 1Kg, depending on the resolution you want. Glueing your own strain gages is not realy funny...
The easiest for you would be to tap the strain voltage after the amlifier and feed it into the ADC of the pic, at least easier than trying to decode the display output. Of course you would need a pic with an ADC, I used a pic with USB for easy interfacing.

If you can't find an amplified output in the scale just take the strain gage output and amplify it yourself, one LM and 2 resistors did the trick fine for me on a single 5V supply.
Keyboard error: Press F1 to continue.
 

Offline metalsapoTopic starter

  • Newbie
  • Posts: 7
Re: Weight in grams.
« Reply #3 on: July 06, 2012, 06:44:15 pm »
OK, the search starts now, and just to make this post advance, the data from every time the scale is used is to make a data recording inside of the PIC to see the ending results to inform ourselves and the client, the problem here is to get accurate weight for the client to see the weighted chicks, by now we have a scale, but not to tear down, jajajajja, we weight like 400 of them and its tedious, i´m an electronic, i must do something.
 

Offline SeanB

  • Super Contributor
  • ***
  • Posts: 16391
  • Country: za
Re: Weight in grams.
« Reply #4 on: July 06, 2012, 07:09:13 pm »
Start by buying a cheap kitchen scale, one that does from 5g to 10kg will do, and use the loadcell and pan from it. Otherwise you will need to buy a 10kg loadcell, which will be a lot more expensive. Google a bit for loadcell amplifiers, and either build or buy one to get the output of the loadcell to a range where you can use a 16 bit ADC ( or an 8 bit one if you are really careful with drift and offset compensation, as well as subtracting a big tare voltage from it) to give a raw data value. Scale it to get the sensitivity you need, and then use a look up table to get the mass to display.

Remember that you are dealing with live animals that move, so you will probably have to do a few hundred readings per second, and calculate a moving average to have a stable reading.
 

Offline metalsapoTopic starter

  • Newbie
  • Posts: 7
Re: Weight in grams.
« Reply #5 on: July 06, 2012, 07:13:35 pm »
In Jameco i found this options, i bought both, so here i go!

FORCE SENSING RESISTOR,0.5
CIRCLE,1oz-22LB,FLEXIBLE

FORCE SENSING RESISTOR,1.5"SQ
1oz-22LBS,2 LEADS,0.1" SPACING
 

Offline SeanB

  • Super Contributor
  • ***
  • Posts: 16391
  • Country: za
Re: Weight in grams.
« Reply #6 on: July 06, 2012, 07:33:18 pm »
Those are not loadcells. Force sensing yes, repeatable no. You will find they have a basic accuracy of a few percent, and that if you place a constant mass on them the output will be both noisy, and the output will depend on both position and time. They also have a poor tempco. You do need a precision loadcell, one that has a nice foil strain gauge and compensating gauge mounted on a block, with both positioning and overload protection. You can buy the foils as parts, but you will need to glue them down carefully.
 

Online PA0PBZ

  • Super Contributor
  • ***
  • Posts: 5372
  • Country: nl
Re: Weight in grams.
« Reply #7 on: July 06, 2012, 09:33:15 pm »
If you really want results: buy a cheap digital kitchen scale! They cost like $10 - $15, and are perfect for what you want. Strain gages(*) are very hard to get, been there, done that... Then either take the load cell out or tap into the scale to get an analog value, these things are very linear so it's easy to get a meaningful output. If you want to make 1000+ devices there are probably better ways to do it, but it looks like you only want 1.

(*) gages or gauges? I see both and since I'm not native English I have no idea what the right spelling is...
« Last Edit: July 06, 2012, 09:42:44 pm by PA0PBZ »
Keyboard error: Press F1 to continue.
 

Offline olsenn

  • Frequent Contributor
  • **
  • Posts: 993
Re: Weight in grams.
« Reply #8 on: July 06, 2012, 09:37:51 pm »
Go to a head shop, where they sell marijuana paraphenalia... they sell scales perfect for what you're doing and they're pretty cheap.
 

Offline hlavac

  • Frequent Contributor
  • **
  • Posts: 536
  • Country: cz
Re: Weight in grams.
« Reply #9 on: July 06, 2012, 09:49:13 pm »
Good way to measure weight is using a long coil and have an iron core slide into it as stuff hangs on/compresses a spring. Measure inductance of the coil, for example put it as part of an LC oscillator and count cycles. This can have surprisingly good resolution.
Good enough is the enemy of the best.
 

Offline saturation

  • Super Contributor
  • ***
  • Posts: 4787
  • Country: us
  • Doveryai, no proveryai
    • NIST
Re: Weight in grams.
« Reply #10 on: July 07, 2012, 12:41:43 pm »
http://www.esnarf.com/5288k.htm

For calibration I use coins, in the US they are made with very tight tolerances for size and weight. 

http://www.usmint.gov/about_the_mint/?action=coin_specifications

You can find them on eBay for $4@ as a postal scale.

« Last Edit: July 07, 2012, 12:46:33 pm by saturation »
Best Wishes,

 Saturation
 

Online PA0PBZ

  • Super Contributor
  • ***
  • Posts: 5372
  • Country: nl
Re: Weight in grams.
« Reply #11 on: July 07, 2012, 07:32:22 pm »
You can find them on eBay for $4@ as a postal scale.

Too bad the PIC interface will cost a bit more using this scale  ;)
Keyboard error: Press F1 to continue.
 

Offline metalsapoTopic starter

  • Newbie
  • Posts: 7
Re: Weight in grams.
« Reply #12 on: July 11, 2012, 12:40:08 am »
Thank you guys, maybe girls, your fast answer will let me think, the advantage here is that time is not important, also i can make some experiments with this, and the pic is just because im starting to program again, i learned in the university and i am very rusted, so, i will keep you noticed for every move, thanks again.
 

Offline metalsapoTopic starter

  • Newbie
  • Posts: 7
Re: Weight in grams.
« Reply #13 on: July 11, 2012, 05:56:56 pm »
If you really want results: buy a cheap digital kitchen scale! They cost like $10 - $15, and are perfect for what you want. Strain gages(*) are very hard to get, been there, done that... Then either take the load cell out or tap into the scale to get an analog value, these things are very linear so it's easy to get a meaningful output. If you want to make 1000+ devices there are probably better ways to do it, but it looks like you only want 1.

(*) gages or gauges? I see both and since I'm not native English I have no idea what the right spelling is...

I want 2 or 3, jajaja, ok i will buy one, ill write to you when i get lost in someones circuit to destroy and get the digital info!
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf