ArielsAngels
Member
Hello everyone,
I'm fairly new at this, having tinkered quite a bit, but never taking a full project from start to finish....
I need to detect a few strings vibrations (heavy metal strings) for which I bought the MMA8452Q accelerometer, and planning to use the teensy for simulating a string being plucked....
The sensor works beautifully on an Arduino (showing smooth, sensible data -- having worked with accelerometers before, I know what to expect)
Yet, when changing nothing in the sketch, and only changing the 4 wires (3.3v, GND, SCL, SDA) from the Arduino to the Teensy, I'm suddenly getting insensible data, only showing very low results 0.xxx to very high 15.9xxxx (which is double the expected range) and nothing in between these extremes for even small movements across all 3 axis........ In short, data that does not make sense, seems perhaps clipped.
You can see this data in the photo attached. as well as my wiring and the code I downloaded online....
I am using 2 pull-up resistors (5K as recommended here) .....
I'm wondering if this could be due to different I2C configurations between the Arduino (Mega) & Teensy 3.2 , or is the only logical possibility is damage to the hardware?....
What am I missing?..... H E L P !
Thanks,
Ariel
I'm fairly new at this, having tinkered quite a bit, but never taking a full project from start to finish....
I need to detect a few strings vibrations (heavy metal strings) for which I bought the MMA8452Q accelerometer, and planning to use the teensy for simulating a string being plucked....
The sensor works beautifully on an Arduino (showing smooth, sensible data -- having worked with accelerometers before, I know what to expect)
Yet, when changing nothing in the sketch, and only changing the 4 wires (3.3v, GND, SCL, SDA) from the Arduino to the Teensy, I'm suddenly getting insensible data, only showing very low results 0.xxx to very high 15.9xxxx (which is double the expected range) and nothing in between these extremes for even small movements across all 3 axis........ In short, data that does not make sense, seems perhaps clipped.
You can see this data in the photo attached. as well as my wiring and the code I downloaded online....
I am using 2 pull-up resistors (5K as recommended here) .....
I'm wondering if this could be due to different I2C configurations between the Arduino (Mega) & Teensy 3.2 , or is the only logical possibility is damage to the hardware?....
What am I missing?..... H E L P !
Thanks,
Ariel