Time to give this Starship a remote pilot
So, using the excellent MIT App maker 2 software (free), it was time to make something to give me remote control.
The cockpit Arduino 2560p has a HC-06 Bluetooth receiver connected to it, so all I had to do was create an app that transmitted a command to the ship for the various functions.
This basically consisted of a simple system of sending 255 as a checksum, followed by a byte (0-255) command number.
The cockpit then would interpret that into the relevant command.
In the MIT App software, you add buttons and text as required on the design page, and then what those buttons do is determined in the block command section.
Most of the blocks are simply send the checksum number (255) by Bluetooth, then announce the command using the text to voice feature.
It then sends the Bluetooth command number as required.
The cockpit Arduino 2560p has a HC-06 Bluetooth receiver connected to it, so all I had to do was create an app that transmitted a command to the ship for the various functions.
This basically consisted of a simple system of sending 255 as a checksum, followed by a byte (0-255) command number.
The cockpit then would interpret that into the relevant command.
In the MIT App software, you add buttons and text as required on the design page, and then what those buttons do is determined in the block command section.
Most of the blocks are simply send the checksum number (255) by Bluetooth, then announce the command using the text to voice feature.
It then sends the Bluetooth command number as required.
The ships cockpit controls are all disabled while the starship is in Android phone mode.