As of this posting, I've started again with the LSM303LDHC and the Arduino. I could not go back to the floor this weekend, so I haven't tested with the AXDL accelerometer. The FLORA LSM303 works fine wiht the Arduino Uno. I've been using alligator clips soldered by moi. I do have another 'regular' LSM303LHDC, but I'm not good at soldering and am afraid I'll destroy the accelerometer. When my confidence is back up, I'll attempt. I'm thinking that fabric ties around the middle of the clips will be adequate for testing until I feel confident enough to solder the header pins.
I figured out that the Processing sketch works when I map 12-bit values to the color and position of the ball.
The Processing Ball sketch works!
I know that I still don't understand the datasheet. Which is good! I'm starting to know where I am. Making Things Talk features two exercises with the LSM303. I won't delve into them before office hours: the library referenced is now depreacted but I receive this error when I run the examples for the updated LSM303 library
lsm303 does not name a type
the line lsm303 compass; is causing the error. What could this mean?
- For the next two nights I will focus on the openFrameworks code of the Glove Project with the Arduino sketch, since the first iteration is due for ICM on Wednesday.
If a sensor has a 12-bit or 16-bit data output, that means it's range is from 0 -> 4095 or 0 -> 2^16-1, right?
What do I do now? I often feel out of my depth with the Physical Computing labs because I've never done before and so I get lost easily troubleshooting. I will need much help project planning because I have no idea how I should proceed. I think my instincts are off.