Code Monkey home page Code Monkey logo

motor-driver-l298n-h-bridge's Introduction

Motor Driver L298N

This is a python program to control two DC motors with a L298N H-Bridge motor driver.

Project Homepage

The project homepage with many pictures of my Raspberry Pi robots is as follows: https://custom-build-robots.com/

Module L298NHBridge.py

The L298NHBridge.py module has to be imported into your python program to control the two DC motors. The L298NHBridge.py offers the functionality to set the direction and speed of each motor independently. I used a Raspberry Pi and a L298N H-Bridge for my setup. With the RobotControl.py program the speed and direction of the DC motors is set via the keyboard.

Raspberry Pi robot

This was my first robot I build with a Raspberry Pi and a L298N H-Bridge. Raspberry Pi robots

The picture belows shows a typical L298N H-Bridge. With the ENA, IN1, IN2, IN3, IN4 and ENB pins of the motor driver board which are connected with the Raspberry Pi GPIO pins. L298N H-Bridge

motor-driver-l298n-h-bridge's People

Contributors

custom-build-robots avatar

Stargazers

 avatar  avatar

Watchers

 avatar

motor-driver-l298n-h-bridge's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.