Punch Force Sensor
djwan
Posts: 5
Saw this guy using an Arduino to create a punch force sensor. Wanted to do the same thing using a BS2.
http://abieneman.wordpress.com/2010/04/04/punch-acceleration-sensor-%E2%80%93-part-2/
Bought the 250g x 1 axis accelerometer from Sparkfun and the ADC7680 16 bit ADC and breakout board for the ADC.
Using SHIFTIN command to read the data but need some help on the tweaks to make it usable data.
OK using the DEBUG terminal as the data display but will eventually migrate to a 2 x 16 LCD.
http://abieneman.wordpress.com/2010/04/04/punch-acceleration-sensor-%E2%80%93-part-2/
Bought the 250g x 1 axis accelerometer from Sparkfun and the ADC7680 16 bit ADC and breakout board for the ADC.
Using SHIFTIN command to read the data but need some help on the tweaks to make it usable data.
OK using the DEBUG terminal as the data display but will eventually migrate to a 2 x 16 LCD.
Comments
@Franklin,
OK. I think I have the file attached. I've been looking at the code for other accelerometers from Parallax and they are all multi axis. I can't seem to make heads or tails of the axis minus any value since this is a single axis and my experience is sparse at best. Any help would be greatly appreciated.
Djwan
Acceleration = (ADReading / 2^16 * 5 - 2.5) / 0.008
Here, 2^15 is the maximum 16 bit value which corresponds to the analog voltage of 5V, 2.5 is the no-acceleration value and 0.008 is sensitivity volts per g.
Thanks for your help.
Question is how do I make sense of the values?
Is it simply a decimal value that can be calibrated by saying that 4090=0g and 4296=206g?