The code includes two Arduino libraries: one for the servo and another for the ultrasonic sensors ... a Bluetooth module for remote control, and a battery for powering the car. Upon powering up, the ...
via a magnet mounted in the servo’s gear. An Arduino is used to determine the servo’s current position versus the desired position, and it turns the motor accordingly with a BTS7960 motor driver.