Theres only 1 data pin on the transmitter so all the data will arrive at the receiver conjoined.
If I use Xbee's, there seems to be a number of analog/digital pins for transmission i.e channels
2) Is there a need for two microcrontrollers for this type of project or do I just need one on the receivers side to control movment of the motors depending on what data is received?
What, exactly, is the servo to do with the raw accelerometer data? The instantaneous rate of acceleration is of only fleeting interest.
So? The data might be something like <1:34 2:83 3:193> which the Arduino can then parse.
The analog and digital pins collect data that needs to be transmitted. The data is still transmitted in a packet on a single channel.
Other, less expensive, transceivers do not have microcontrollers aboard, so you need to provide one
You still need to deal with the accelerometer output on a microcontroller, and recognize exactly what an accelerometer is telling you (instantaneous rate of acceleration, not any kind of angular information).
So depening on the changes detected on the x-axis, I want the servo motor to rotate a certain amount to the left, depening on the changes detected on the y-axis, I want the servo motor to rotate a certain amount to the right
Would it be as easy as the 1st segment of the block will always be x-axis data, the 2nd will always be y-axis data and the 3rd always z-axis data
Is the reason for having to use a microcontroller on a less expensive transceiver to allow anologue to digital conversion of the accelerometer data received?
Ok, so are you saying when I receive the raw accelerometer data on the Tx side, I must process that data in some way before it is transmitted to the Rx side?
The assumption here is that changes to the x axis value are completely isolated from changes to the y axis value. I don't see this as a valid assumption. Laying on the table, maybe. Held in your hand, no.Unless you are not referring to the same servo in both cases. In which case, never mind.Still, assuming that the raw value corresponds to some meaningful servo position is not a valid assumption. I see no relationship whatsoever between the instantaneous rate of acceleration along one axis and the position of a servo.As long as you don't care that there is no meaningful relationship, carry on.
Please enter a valid email to subscribe
We need to confirm your email address.
To complete the subscription, please click the link in the
email we just sent you.
Thank you for subscribing!
via Egeo 16