I am currently planning to create a an autonomous rover that uses Pixhawk 2.4.8, Arduino Uno and L289N motor driver to power and control the motors of the rover.
Is it feasible to interface these 3 components?
Firstly, the Pixhawk is used to plot the path on the virtual map and coupled with sensors for obstacle avoidance abilities. The Pixhawk is connected to the enA and enB input of the L289N motor controllers to control the stop and go motion of the motors. Next, the Pixhawk is also connected to the analog input to the Arduino.
The Arduino then reads in the analog input and sends out PWM signals to the input 1, 2, 3, 4, of the L289N motor controller. This is to control the left and right turns of the rover.
L289N motor controller is used because we are using 24V motors, and connecting the motors straight to Arduino which is beyond the capable voltage of the Arduino Uno. Also, it can facilitate the left and right turns of the rover.
Thanks in advance.