Saturday 22 June 2013

Earth Rover 

Part IV

Android / Arduino Interface Code Update.

Code update for android and arduino files. Note xml files are added on to end of Java code in same file to save space. You will need to cut and paste them to the correct xml files.On my google drive:


The update incorporates two way serial comms over BT. RC control from Android with bumper sensors controlling interrupts to stop the Rover and display which bumper was triggered on the display. Note I am using button action:  if (event.getAction() == MotionEvent.ACTION_MOVE)
which means you have to keep you finger or stylus moving slightly to keep sending the signal. A small safety feature.

It is an update but it isn't working fully. The interrupts are triggered incorrectly by the movement of the robot's motors. I am working towards finding out why and a solution. Please let me know if you have some ideas.

No comments:

Post a Comment