mcarne / Motor-Driver-L298N-and-PCA9685

With this set of python programs it is possible to use a PCA9685 servo controller board to control L298N H-Bridge.

Home Page:https://custom-build-robots.com/electronic/instruction-l298n-h-bridge-is-controlled-by-a-pca9685-servo-controller/8809?lang=en

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Adafruit PCA9685 servo controller to control a L298N H-Bridge

With this two Python programs and the Adafruit PCA9685 Python library it is possible to use a PCA9685 servo controller to control a L298N H-Bridge. Due to the fact that the Raspberry Pi has problems to generate a clear PWM signal I am using the PCA9685 servo controller to generate the PWM signal for the L298N H-Bridge to set the spinning speed.

The PCA9685 servo controller board is connected via the I2C bus to a Raspberry Pi.

The picture below shows my setup:

PCA9685 servo controller with a L298N H-Bridge setup

The Video shows the PCA9685 and L298N H-Bridge

PCA9685 servo controller

About

With this set of python programs it is possible to use a PCA9685 servo controller board to control L298N H-Bridge.

https://custom-build-robots.com/electronic/instruction-l298n-h-bridge-is-controlled-by-a-pca9685-servo-controller/8809?lang=en


Languages

Language:Python 100.0%