Yes, I am the one who built it still have on a breadboard --- I demo
it to students at the beginning of the semester. I have not compiled
the code since I tested it in the summer. I just downloaded the
archive and gave it a try - the compilation failed because a problem
in common/pic24_configbits.c which is because I have upgraded to the
latest PIC24 compiler (this was fixed in the main archive a while
back). I updated to the latest pic24_configbits.c file, compiled and
programmed in my board and the demo worked fine.
I updated the tilt_sensor.zip archive with the latest
pic24_configbits.c and left the .hex file in there
(tilt_sensor.hex).
If the pitch/roll is working, but it is just not calibrated correctly,
you can follow use the calibration project to find the min/max values
of the X,Y,Z accelerometers and the zero values of the X,Y gyros and
enter these in the board.h file (however, I would expect any mis-
calibration to be off only by a few degrees, not 45 degrees).
For it to be off 45 degrees, it seems like this is either a sensor
wire is swapped, or the sensor is not working.
On Oct 26, 11:44 am, Byron Blue <
byronb...@hotmail.com> wrote:
> I'm new to using the PIC24 controllers.
> I started last week with the Sparkfun units as listed on the site
> below.
http://www.reesemicro.com/Home/projects/vibration-compenstated-tilt-s...