Need Advice regarding this project
Please advice on the project and how to go about it. Here is the detail of the project
Project diagram

The basic concept is that I need to record the position of ‘B’ in X,Y,Z axis when ‘A’ is exactly horizontal.
The two are interdependent but can not have a wire connection.
My Idea
- For (a2) .Have an arduino board with a triple axis accelerometer with blue tooth capability( only receiver will do) and an OLED display.
- For (a1) . have an arduino board with A single/two axis gyroscope with blue tooth capability.(only transmission) and a green LED.
How It should Work
1) Both (a1) and (a2) are attached to ‘A’ and ‘B’.
2) When ‘A’ moves and becomes exactly horizontal( as recorded by the gyroscope) the current output should do the following two things
i) Light the green LED
ii) Send a signal through blue tooth to (a2)
3) Since ‘A’ and ‘B’ are both in motion (albeit very slow) The OLED display is continuously showing the X,Y,Z axis values of (a2), but as ‘A’ becomes horizontal the relative values of X,Y,Z displayed on (a2) should freeze.
4) A reset button on (a2) in case the readings need to be repeated.
1) Both (a1) and (a2) should be as small as possible.
2) Power both with button cells.
3) In case of (a2) { as it has to have a OLED screen} the accelerometer can be separate from the rest of the unit and may be we can have a thin 2/3 core wire running from the base unit.
What I think
For (a2)
– Use Adrofruit feather 32UL blue fruit LE.
- Triple axis Accelerometer –ADXL335
- Adafruit OLED feather wing.
Doubts
1) How big and bulky will it get?
2) Can I use button cells to power the whole setup?
3) What steps to be followed for programming? ( Not very experienced )
For (a1)
-Use Adrafruit Trinket MO
Doubts
1) Which gyroscope to use? Or an accelerometer would be better?
2) How to connect a blue tooth transmitter module and power it with button cells?
3) Programming steps.
Please advice on the project and how to go about it. Here is the detail of the project
Project diagram

The basic concept is that I need to record the position of ‘B’ in X,Y,Z axis when ‘A’ is exactly horizontal.
The two are interdependent but can not have a wire connection.
My Idea
- For (a2) .Have an arduino board with a triple axis accelerometer with blue tooth capability( only receiver will do) and an OLED display.
- For (a1) . have an arduino board with A single/two axis gyroscope with blue tooth capability.(only transmission) and a green LED.
How It should Work
1) Both (a1) and (a2) are attached to ‘A’ and ‘B’.
2) When ‘A’ moves and becomes exactly horizontal( as recorded by the gyroscope) the current output should do the following two things
i) Light the green LED
ii) Send a signal through blue tooth to (a2)
3) Since ‘A’ and ‘B’ are both in motion (albeit very slow) The OLED display is continuously showing the X,Y,Z axis values of (a2), but as ‘A’ becomes horizontal the relative values of X,Y,Z displayed on (a2) should freeze.
4) A reset button on (a2) in case the readings need to be repeated.
1) Both (a1) and (a2) should be as small as possible.
2) Power both with button cells.
3) In case of (a2) { as it has to have a OLED screen} the accelerometer can be separate from the rest of the unit and may be we can have a thin 2/3 core wire running from the base unit.
What I think
For (a2)
– Use Adrofruit feather 32UL blue fruit LE.
- Triple axis Accelerometer –ADXL335
- Adafruit OLED feather wing.
Doubts
1) How big and bulky will it get?
2) Can I use button cells to power the whole setup?
3) What steps to be followed for programming? ( Not very experienced )
For (a1)
-Use Adrafruit Trinket MO
Doubts
1) Which gyroscope to use? Or an accelerometer would be better?
2) How to connect a blue tooth transmitter module and power it with button cells?
3) Programming steps.