Hello everyone, this is my first post here !
I am working on a project that needs to send the data from an accelerometer to a computer.
So far, I have an arduino acessing the device (MMA7455) directly using the I2C bus.
But I need the sensor to be used wirelessly.
The scheme I have come up with, after some advice from a few helpful friends and strangers, is to use an ATTiny45 as the I2C master.
After receiving data from the sensor the ATTiny would flash an IRLED, and the arduino will receive the data, decode it and send it over to the computer over its usb .
I want some warnings about the problems I may run into.
The ones I have thought about are:
If anyone of you have experience with a similar setup, I want some insight into what problems you have faced, so I do not make the same blunders.
(If the mods feel that this question may be better suited to the microcontroller/embedded sub board, please move it over there.)
I am working on a project that needs to send the data from an accelerometer to a computer.
So far, I have an arduino acessing the device (MMA7455) directly using the I2C bus.
But I need the sensor to be used wirelessly.
The scheme I have come up with, after some advice from a few helpful friends and strangers, is to use an ATTiny45 as the I2C master.
After receiving data from the sensor the ATTiny would flash an IRLED, and the arduino will receive the data, decode it and send it over to the computer over its usb .
I want some warnings about the problems I may run into.
The ones I have thought about are:
- Battery pack for powering the attiny and the sensor. How big? Where to buy?
- Infrared protocol.
- How to program the ATTiny to use the I2C bus? I have found online implementations that claim to be compatible with Arduino's Wire.h, but they have many users commenting about them being buggy. Is there a better way available ?
If anyone of you have experience with a similar setup, I want some insight into what problems you have faced, so I do not make the same blunders.
(If the mods feel that this question may be better suited to the microcontroller/embedded sub board, please move it over there.)