Handling data received from BLE module

In Mobile App Overview, we said that command signals from the app are used to control the car’s movement. Here’s an overview of how this works:

  1. The app sends a BLE signal telling the car to either move in a specific direction or stop

  2. The BLE module wirelessly receives the signal and sends it to the microcontroller via a wired connection

  3. The microcontroller receives the signal and uses it to determine what commands to send to the motor driver

  4. The microcontroller sends signals to the motor driver telling it how the car should move

  5. The motor driver receives the signals and moves the motors as instructed