I plugged a bluetooth module into my mouse bot. It is connected to the Propeller TX/RX serial pins.
From my mobile phone app I can now control the robot. The Tachyon Forth gets the commands in direct mode. I only flashed Tachyon and the EXTENDS.FTH Forth extension into the EEPROM. The control Forth program will be transfered over bluetooth into the Propeller RAM on a click onto the "PROGRAM" button. Then the robot is ready to listen to commands.
This way of programming is more flexible then flash into the EEPROM. I can test new programs very easy this way.
The mobile phone app is written in Java with Android Studio. I just had to find a good bluetooth example. Then I changed things to my needs. The response message of the Tachyon Forth is shown below the control buttons. So I can see what is going on. Here is a picture of the GUI:
Discussions
Become a Hackaday.io Member
Create an account to leave a comment. Already have an account? Log In.