Close

Bluetooth module RN-42

A project log for Jimmy the mouse bot

I'm building a mouse bot based on the Parallax Propeller microcontroller.

jay-tjay-t 10/11/2015 at 14:170 Comments

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