Skip to content

Latest commit

 

History

History
19 lines (13 loc) · 982 Bytes

README.md

File metadata and controls

19 lines (13 loc) · 982 Bytes

Back to components README

Motors

The robot has 4 motors, each equipped with an odometry sensor which enables us to get the number of turns per wheels. The Arduino card controls 4 motors and the servomotor. The motor module can receive a speed between -255 and 255, with -255 meaning the fastest speed possible going backward and +255 the fastest speed possible to go forward. The Servo is configured with a commang GPIO and can recieve an angle in radians. The odometry module is also loaded. It should be plugged with the STM8 tx pin and will exchange the informations coming from the STM8 to the raspberry pi.

The Motors

Build instructions

Download the sources and follow the instructions on the official repository's wiki. Complete the Arduino sources with the libraries and flash the motors.ino on the main arduino responsible to control the motors.