Socket
Socket
Sign inDemoInstall

github.com/eyelight/drv8833

Package Overview
Dependencies
0
Alerts
File Explorer

Install Socket

Detect and block malicious and high-risk dependencies

Install

    github.com/eyelight/drv8833

Package drv8833 provides a driver for the DRV8833 dual h-bridge chip able to drive DC motors, bipolar steppers, solenoids, and other inductive loads The DRV8833 has a wide power supply range from 2.7v - 10.8v Included are methods that seem appropriate for DC motors Run() & latching solenoids Pulse(), but not steppers Datasheet: https://www.ti.com/lit/ds/symlink/drv8833.pdf Pins IN1 | H-bridge 1 IN2 | H-bridge 1 IN3 | H-bridge 2 IN4 | H-bridge 2 GND | VCC | 3-10v ULT | Low = Sleep; High = Run EEP | Output protection OUT1 | OUT2 | OUT3 | OUT4 | Truth Table (per H-bridge) | IN1 | IN2 | OUT1 | OUT2 | FUNCTION | | --- | --- | ---- | ---- | -------- | | 0 | 0 | Z | Z | Coast / fast decay | | 0 | 1 | L | H | Reverse | | 1 | 0 | H | L | Forward | | 1 | 1 | L | L | Brake / slow decay | PWM Control Truth Table | IN1 | IN2 | Function | | --- | --- | -------- | | PWM | 0 | Forward PWM, fast decay | | 1 | PWM | Forward PWM, slow decay | | 0 | PWM | Reverse PWM, fast decay | | PWM | 1 | Reverse PWM, slow decay |


Version published

Readme

Source

drv8833

This package is a TinyGo driver for the TI DRV8833 dual h-bridge chip able to drive DC motors, bipolar steppers, solenoids, and other inductive loads.

The chip has a power supply range from 2.7v - 10.8v. Included are methods that seem appropriate to motors and solenoids, with and without PWM, but may need some more work to support steppers.

FAQs

Last updated on 29 Dec 2022

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc