Giter VIP home page Giter VIP logo

posit-control's Introduction

posit-control

Posit is an STM32-based DC motor controller designed to provide an efficient and reliable solution for controlling DC motors in various applications. This README file provides an overview of the Posit motor controller, its features, and instructions on getting started and using it in your projects.


Features

  • STM32F1 Microcontroller: Posit is built around the STM32F103 microcontroller, known for its reliability and high-performance capabilities.

USB Control: Posit acts as a USB Virtual COM Port, for sending over commands via usb->serial interfaces.

UART Communication: UART interface for communication with external devices or microcontrollers.


Usage

The Posit STM32 DC Motor Controller is highly customizable to fit a wide range of applications. You can control the motor speed and direction using PWM signals, monitor current feedback, and interface with external sensors for more advanced control.

Here is a basic example of controlling a motor using Posit:

posit-control's People

Contributors

sampreets3 avatar

Watchers

 avatar

Forkers

aniketsaha1997

posit-control's Issues

Create Base Schematic

Base Schematic Capture by defining requirements:

  • DRV8874
  • Microcontroller to interface with the driver
  • Power circuitry
  • USB data communication

Add initial USB operability

For the moment, we can blink the STAT_LED, which we can also use to demonstrate the USB capabilities:

  • Establish USB Device class firmware
  • Initial USB Communication - send 0 to turn LED off, 1 to turn LED on
  • Develop and solidify USB dataframe to be passed
  • Setup the Rx and Tx buffers

Add Open Loop Motor Control Firmware

For starters, add some simple Motor Control Firmware in open-loop control mode, to test if everything works fine.

  • Spin Motor1 in Clockwise direction
  • Spin Motor1 in CounterClockwise direction
  • Spin Motor2 in Clockwise direction
  • Spin Motor2 in Counterclockwise direction

Add a debug LED on the board

Currently there are status LEDs but an additional LED would be good to have which can be helpful during debugging. For example - In case of the motor PWM apis, the LED could have been an added benefit in order to test whether the PWMs are set properly or not.

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.