Sonsivri
 
*
Welcome, Guest. Please login or register.
Did you miss your activation email?
November 24, 2024, 12:01:08 00:01


Login with username, password and session length


Pages: [1]
Print
Author Topic: Project with PIC and Loadcell  (Read 15833 times)
0 Members and 1 Guest are viewing this topic.
falcon _bd
Active Member
***
Offline Offline

Posts: 139

Thank You
-Given: 66
-Receive: 117


falconbd.com


WWW
« on: April 20, 2009, 06:09:07 18:09 »

I am trying to build a weight scale with 16F877A and a loadcell (model LHD00-4) 750kg.
I need to know how I can connect the load cell with pic. Here is the load cell specification.
What types of  output of this load cell , resistive or directly mV ?




http://www.hand-free.cn/1-5loadcell.htm#4
« Last Edit: April 20, 2009, 06:54:09 18:54 by falcon _bd » Logged

Wizpic
Global Moderator
Hero Member
*****
Offline Offline

Posts: 1203

Thank You
-Given: 553
-Receive: 409



« Reply #1 on: April 20, 2009, 07:00:29 19:00 »

Looking at the data sheet , I would say it gives a voltage out, I've looked on the web and I can see that it says Supply Voltage V(DC) 6~15V
so I would say it gives a voltage out, If you have got one the only thing that I could say is try it connect it up and  first and put a known wieght say 10KG on it and see what the ouput voltage it gives then double the wieght then check again and do the same again, By doing it this way it should make it easier for you to work out your calculations, If the voltage is greater then 5V then just use an op-amp or resistor network to scale the max volatge down to 5V,

How may wires come out of it, I've seen these fitted to some machines and if I remeber there is 5 or 6 wires ? am I correct in thinking that there is a bolt or someting that passes throught the middle which tells how much wait there is



Logged

When you think, "I can't do anymore. I need a break," that is the time to challenge yourself to keep going another five minutes. Those who persevere for even an extra five minutes will win in life..
falcon _bd
Active Member
***
Offline Offline

Posts: 139

Thank You
-Given: 66
-Receive: 117


falconbd.com


WWW
« Reply #2 on: April 21, 2009, 07:31:20 07:31 »

I already checked it. When I applied supply voltage 15v, weight 10kg the out put is 0.1V. when weight 70kg out put is 0.2V. And I cant increase the output if I apply double weight.

There are 5 wire . I/p + , I/p - , O/p +, O/p -, earth

What can I do now 
Logged

madhan7710
Junior Member
**
Offline Offline

Posts: 74

Thank You
-Given: 48
-Receive: 155


« Reply #3 on: April 21, 2009, 08:21:37 08:21 »

Hi,

You need to amplify the output to directly connect to the ADC of the PIC. You can use INA101 or INA125. you can use any voltage multiplier circuit or else use a separate high resolution ADC (24 bit) with internal PGA (Programmable gain amplifier) as this will give accurate result. If you can work on 8051 core then u can choose TI's msc1210 which has 24 bit internal ADC with PGA with 8051 micro. You can directly connect the loadcell to the controller.
Logged
MGLSOFT
Junior Member
**
Offline Offline

Posts: 69

Thank You
-Given: 32
-Receive: 73



« Reply #4 on: April 21, 2009, 12:11:34 12:11 »

The resolution of a load cell is defined by the manufacturer.
Normally this is a voltage proportional to the voltage applied to their power cables.
In your case it is 2 mV / V, ie the maximum output voltage of 15 volts applied to the input is 30 mV.
For a load of 70 Kg and 750 Kg of a cell fed with 15 Volts, the output is 2.8 mV.
750/70 * 30 = 2.8

 Wink Wink
Logged
chandra2sekhar2000
Active Member
***
Offline Offline

Posts: 126

Thank You
-Given: 25
-Receive: 18


« Reply #5 on: April 22, 2009, 09:24:54 09:24 »

hai,
u can use analog devices ic AD7799 .IT HAS INTERNAL AMPLIFIER AND ADC .USE THE SPI OUTPUT OF ADC TO MICRO .U CAN FIND MORE INFORMATION IN LINK BELOW

http://www.analog.com/library/analogDialogue/archives/39-12/weigh_scale.pdf
Logged
charudatt
Active Member
***
Offline Offline

Posts: 111

Thank You
-Given: 53
-Receive: 70


« Reply #6 on: April 23, 2009, 11:06:38 11:06 »

There are some other designs as well , which are tropicalised (I mean Indian Design - Cheap !) using a 1$ chip. Take a look at this post from Proton Basic Forum where, P.N. Shaji has made some design using CS5460 IC and this design is very famous locally - INDIAN. The PCB used to cost arround Rs.700/- in kit form. It used AT89C52.

http://www.picbasic.org/forum/showthread.php?t=7252&highlight=load+cell

I wanted to convert it for the PIC , but did not get a chance.

Posting this information, just in case if, some one was interested.

regards
 
Logged
vinay.gvc
Inactive

Offline Offline

Posts: 2

Thank You
-Given: 0
-Receive: 1


« Reply #7 on: November 18, 2015, 04:35:27 16:35 »

I have made many commercial projects for weighing machine. The load cell outputs are define as 5mV/V . So if a load cell is meant for 10KG and you provide 5V DC, at 10KG output will be 25mV. You need a 20 bit  ADC to read in grams.

The current controller is NAC7802 and is available in Indian local markets for Rs 30/- each. This is a 24 bit ADC and can be read using I2C bus thru almost all micro controllers. I have used freescale's 9S08, Renesas R8C/1B and not using STM8S003.

Porting it to PIC will not be complex task. Read the data sheet and it will be clear to you.

Need any specific help, let me know.

Will be glad to help.
Logged
cerebronico
Junior Member
**
Offline Offline

Posts: 76

Thank You
-Given: 264
-Receive: 27



« Reply #8 on: November 19, 2015, 12:03:49 00:03 »

can't find reference to NAC7802, may you post your code for zeroing, span, etc?
Logged
Vineyards
Active Member
***
Offline Offline

Posts: 168

Thank You
-Given: 64
-Receive: 37


« Reply #9 on: November 19, 2015, 12:56:13 00:56 »

It looks easy on paper but noise can be a big problem in a load cell Project. Especially so, if we are talking about using a 20bit ADC.
I think these are needed:
A differential input or better still a ratiometric input.
with temperature compensation
perhaps a non-linear gain stage to handle the large signal range.
Logged
Pages: [1]
Print
Jump to:  


DISCLAIMER
WE DONT HOST ANY ILLEGAL FILES ON THE SERVER
USE CONTACT US TO REPORT ILLEGAL FILES
ADMINISTRATORS CANNOT BE HELD RESPONSIBLE FOR USERS POSTS AND LINKS

... Copyright © 2003-2999 Sonsivri.to ...
Powered by SMF 1.1.18 | SMF © 2006-2009, Simple Machines LLC | HarzeM Dilber MC