Project #047: PSoC 4 BLE - Accelerometer Controlled Car | Cypress Semiconductor
Project #047: PSoC 4 BLE - Accelerometer Controlled Car
In today's exanmple project, we demonstrate how to implement an accelerometer controlled car.
In this example, a PSoC 4 BLE device, configured as the GATT Server, measures the accelerometer X, Y and Z axis data using the SAR ADC and translates them into a corresponding gesture. Based on the detected gesture, the Bluetooth Low Energy GATT Server sends one of the following five comands - Left, Right, Forward, Back or Stop to the Bluetooth Low Energy GATT Client. The transmitted information is received by the Bluetooth Low Energy GATT Client and based on the comand received, it modulates the PWMs to control the DC motors and thus the car.
To view the video of this accelerometer controlled car, click here.
You can download the PSoC 4 BLE Accelerometer (GATT Server) and PSoC 4 BLE Car (GATT Client) PSoC Creator projects from Github: https://github.com/cypresssemiconductorco/PSoC-4-BLE/tree/master/100_Projects_in_100_Days/Day047_Accelerometer_Controlled_Car