Twin Motor Spybot using Mbed with bluetooth connection to a PC

Dependencies:   mbed Motor X_NUCLEO_53L0A1

General Information

This code allows an mbed LPC1768 to be wirelessly controlled from a PC. The PC sends serial chars over Bluetooth to control motors connected to an H-Bridge. This code works via interrupt driven functions which receive the incoming chars over a serial Bluetooth connection. The chars are sent in the format "0.00" with a - sign if it is negative. The functions parse the strings out and convert them into float values before then writing them into the Motor API. This all works while the LIDAR polls readings to ensure that it is not to close to any objects.

The serial chars are generated on the PC by a C# application which reads gamepad inputs. (Motors are controlled via float values from the analog sticks).

History

This is the First Revision default tip

2019-11-26, by lballard9 [Tue, 26 Nov 2019 22:00:43 +0000] rev 0

This is the First Revision