Hello, I run a robotics after school programme, and an very impressed with your balanduino robot.
In addition we have been using the joystick tab in the balanduino app to control robots we have created ourselves - its an excellent app and works really well.
However we are also wishing to use the PID and GRAPH tabs of your app as well.
We are able to read the messages from the app fine (i.e. joystick and PID adjust vales), but have not been successful in sending data to the PID (to fill the Current Values section) and the GRAPH tabs.
We have studied the balanduino code in detail, and our understanding of the message flows are shown below:
Message initiator Message sent from App Message sent from Balanduino Comments
Joystick tag CS; -------------> joystick in center position - works fine
CJ,xxx,yyy; -------------> joystick in other positions - works fine
PID tag SP,xxx; -------------> P value - works fine
SI,xxx; -------------> I value - works fine
SD,xxx; -------------> D value - works finr
ST,xxx; -------------> T value - works fine
GP; -------------> request for current PID values
data snt from robot <------------- P,xxx,xxx,xxx,xxx/n robot response to GP; request - but PID values not populated in app
Graph tag
data sent from robot <------------- V,xxx,xxx,xxx/n sent every 50ms - but graph not populated
Just wondering if you could give me some pointers as to why the PID Current Values section of the PID tag, and the Graph tag does not respond to the data messages we are sending. Note the BT card in he robot is set up for 9600 baud.
Again many thanks for your excellent work.