Page 1 of 1

weight sensor source code pic16877a

PostPosted: Mon Sep 15, 2014 12:30 am
by students
can anyone teach me how to built weight sensor source code using pic16877a ?

Re: weight sensor source code pic16877a

PostPosted: Mon Sep 15, 2014 12:06 pm
by sich
Are you using FlexiForce A201 sensor? You can refer to this tutorial. PIC16F876A used in this tutorial is in the same series as PIC16F877A.

Re: weight sensor source code pic16877a

PostPosted: Mon Sep 15, 2014 1:23 pm
by students
nope i'm using Weight Sensor (Load Cell) 0-500g..

Re: weight sensor source code pic16877a

PostPosted: Mon Sep 15, 2014 8:32 pm
by shahrul
students WROTE:nope i'm using Weight Sensor (Load Cell) 0-500g..

Search for load cell amplifier. The output is analog.

Re: weight sensor source code pic16877a

PostPosted: Fri Oct 10, 2014 11:26 pm
by wilson
students WROTE:can anyone teach me how to built weight sensor source code using pic16877a ?



Hi,

It is a bit difficult to use PIC to read load cell. Load cell itself is differential signal, the easiest way to do is using differntial amplifier to amplifly the signal and read with ADC. After Amplification, the signal can goes down to negative value, if using single ended ADC, it is not allow negative signal input. you can use amplifier to shift up the DC level before connect to ADC.

For de coding, it is very easy, just read ADC value. ADC value is raw value, so using a known weight to do a calibration. Hopefully it help :D