September 14, 2012
about 5 months ago
Unfortunately by setting the “ALT ADDRESS” pin either high or low, you’re only able to select between 2 addresses, making more than 2 chips coexist on the I2C lines impossible. I haven’t looked to see if there are different versions at Mouser or Digikey that will allow different addresses to choose from, but it is a possibility.
Accelerometers are notoriously noisy sensors, +-5 is not anything to write home about, you could try adding another small 1uF - 10uF cap to the power to see if it helps, but the wind blowing on your house with a wobbly table could make it wander still.
Gravity being 1G, my guess is that your reading of +-255 is a bit low, With 12-bit resolution (this chip states 13-bit) you should get a total range of 4096, which is +-2048. Unless I’m mistaken you should be seeing +-1024 from the effects of gravity (Half the total range of 2g).
Edit: After looking at the datasheet, you’ll find that the higher bit resolution is for the higher ranges. For the 2g range it’s going to get 10-bit resolution (1024 steps) which is +-512. In that case, gravity should give a reading between +-255, which is spot on with what you’re showing.
about 5 months ago
I wouldn’t call it “the wrong way” The chip appears to output a nominal 2.5v with no force acting on it. A positive acceleration will bring it to 5v while a negative acceleration will bring it to 0v. Either way you’ll get the same change as far as the readings go, you just might have to flip the sign somewhere in your code.
Although flipping the silkscreen arrow would be “more technically correct”. :P
about 7 months ago
According to what you’re saying, the code should be correct (as long as you aren’t putting the while loop in parenthesis). Did you double check to make sure you’ve selected “Leonardo” in the IDE?
about 10 months ago
These are male headers. They have pins on the bottom that get soldered to a PCB and male pins with a latch on top (to help prevent it from being plugged in backwards) for plugging a female connector into. The wires are only on the female connector end and are sold separately. I realize this is an old post, but I thought I’d leave this here for future visitors that are wondering the same thing.
about 11 months ago
It may not be for everyone, but I like having chips in my prototyping box that have the pinout right there with it. It might not seem like it saves a lot of time, but I find it SUPER convenient when you have more than a couple ICs in your project. Having a header optimized for daisy chaining is also nice.
PS. The two headers along the sides get male pins that plug into the breadboard, while the third row gets a female header on top for plugging wires into it. Shorting really isn’t an issue. Come on, man. I feel like you’re just TRYING to be difficult. :P
Most likely it won’t hold the pressure, however, adding a check-valve to the outlet is trivial.
Hmmm, I could make the kids' X-Box run off of “homework complete” tokens! ….. To Shapeways!……. Mwahahaha!
about a year ago
1mm pitch it is ;)
Yes, looks like a 15-pin FFC, but I can’t tell if it’s .8mm or 1mm pitch from the picture. My best guess by eyeballing the ruler is 1mm pitch, but somebody might be able to confirm one way or the other.
No public wish lists :(
Forgot your password?
No account? Register one!