Skip to Content
Learning Robotics using Python - Second Edition
book

Learning Robotics using Python - Second Edition

by Lentin Joseph
June 2018
Beginner to intermediate
280 pages
6h 58m
English
Packt Publishing
Content preview from Learning Robotics using Python - Second Edition

Input pins

The following pins are the input pins of the motor driver, through which we can control mainly the motor speed and direction:

Pin name

Function

1DIAG/EN, 2DIAG/EN

These monitor the fault conditions of motor drivers 1 and 2. In a normal operation, they will remain disconnected.

1INa, 1INb, 2INa, 2INb

These pins will control the direction of motors 1 and 2 in the following manner:

  • If INA = INB = 0, the motor will break
  • If INA = 1, INB = 0, the motor will rotate clockwise
  • If INA = 0, INB = 1, the motor will rotate counter clockwise
  • * If INA = INB = 1, the motor will break

1PWM, 2PWM

This will control the speed of motors 1 and 2 by turning them on and off at very high speed.

1CS, 2CS

This is the current ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Learning Robotics using Python

Learning Robotics using Python

Lentin Joseph
Python Robotics Projects

Python Robotics Projects

Prof. Diwakar Vaish

Publisher Resources

ISBN: 9781788623315Supplemental Content