Pico-Motor-Driver-Hat

From SB-Components Wiki

Pico Motor Driver HAT

Pico Driver Motor HAT is a DC motor control module that is powered by one H-bridge IC L293D with the motor input supply range 6V-12V DC. It is designed to connect 2 DC motors or 1 stepper motor simultaneously that would help the user to make projects in a compact size with high efficiency.

Features

  • On Board GPIO Stacking Header.
  • Motor Input Supply Range : 6V- 12V DC.
  • One H-Bridge IC L293D.
  • Stackable Header and Screw Terminal for Motor Supply.
  • On board LDO to Power Pico directly through Stackable Header.
  • Specifications

  • Motor Control - Up to 2 DC Motor or 1 StepperMotor
  • Motor Input Supply - 6 - 12V
  • On/Off Switch - yes
  • External Output - Yes, for Pico
  • Pinout

    Pico Motor Pinout.png

    Installation

    MicroPython

  • Stack Raspberry Pi Pico on female header of Pico Motor Driver HAT.
  • Connect USB cable on Raspberry Pi Pico USB port.
  • Now use example code "Motor_Test.py" from Pico Motor Driver HAT's github repository in any micropython supported ide (preferred thonny ide).
  • Source code : https://github.com/sbcshop/Pico-Motor-Driver

  • Copy paste code in thonny ide
  • Choose interpreter as MicroPython (Raspberry Pi pico).
  • Thonny-interpreter.PNG

  • Connect Motor and external supply as shown below and turn on slider Switch:
  • Pico motor connection.png

  • Click on green play button to run example on Pico Motor Driver HAT.
  • Thonny play.PNG

    Resources