5

RTX RTOS Car controlled with PS4 controller

A project to illustrate skills in embedded systems and real-time operating systems. The car is controlled using KEIL RTX RTOS using the FRDM KL25 Board and a ESP 32

ESP32

  • Used to receive bluetooth data from PS4 controller
  • Sends the data to the FRDM KL25Z Board using UART communication

Threads and ISR on the FRDM KL25Z Board

  • tBrain: Decode the data from the Serial Port and perform the necessary action
  • tMotorControl: Control the Action of the Motors for both direction and speed control using bitwise operations
  • tLED: Control the LED’s based on movement status
  • tAudio: Controls music effects
  • Serial_ISR: Used to trigger the tBrain thread after updating the data from the Serial Port