immaturespartan wrote:I am just going to use the default arduino ide program.
I just need the pi to somehow control the movement of the balancing act.
If the Pi is controlling the movement, what is the Arduino doing? What messages need to be passed in each direction between the two?
Examples that I can think of include:
Sensor data (if so, in which direction?)
Command data (if so, what commands? In which direction?)
Logging or recording (I'm guessing from Arduino to Pi, but if so, what data are being passed for logging? How often? Will anything be passed back such as acknowledgments or program adjustments based on data trends?)
Or is the Pi just there to reprogram the Arduino between tests, in which case why is it onboard the robot instead of connected by tether while reprogramming?
I might be on totally the wrong track here, but Scruss already asked what the Arduino and Pi will each be doing, and I haven't really seen an answer. All I've seen is that the Pi is controlling the movement of the balancing act. For that, I wouldn't imagine you'd need an Arduino at all. Alternatively, for just this task I'm pretty sure that you could forgo the Pi entirely and let the Arduino handle it all. This certainly seems like an interesting project, but I'd like to know how your pieces fit together.