I'm working on a bench top technology demonstration project for controlling a pointing mechanism aboard a spacecraft or high altitude balloon. On board the system is an Arduino Uno attached to a pair of stepper motors which control the pointing mechanism. The Arduino sketch I created essentially converts my desired pointing direction into the required number of steps. This portion works fine when I have my Arduino plugged into my PC and I upload a new sketch every time I update my desired pointing direction.
For flight, I need to send an RF signal/file to the flight computer aboard the actual Bus, and then have the flight computer upload that into the arduino via USB.
- I plan to use a Raspberry Pi to simulate my flight computer in my bench setup. Does anyone know how I would go about sending my .ino to the pi, and then have the pi automatically upload the sketch into the arduino?
- Is there a way to a less data intensive way to send a command other than uploading the whole sketch? Currently only a single variable ("degreesDesired") is changed when I need to adjust my pointing direction.
Thanks for any help!