Adafruit DC and Stepper Motor HAT for Raspberry Pi Rev B Pinout

Adafruit DC and Stepper Motor HAT for Raspberry Pi Rev B pinout. The HAT Adafruit 2348 Rev B controls up to four CC motors or two stepper motors from a Raspberry Pi.

Jump to pin index ↓

Main pinout

The HAT Adafruit 2348 Rev B controls up to four CC motors or two stepper motors from a Raspberry Pi. The PCA9685 is ordered by I²C and rules two TB6612FNG. The photographed board is fitted with boreholes and the 2 × 20 factory soldier.

100%Drag to pan · Ctrl/⌘ + wheel to zoomSwipe up/down to scroll the page · Swipe sideways to pan · Use two fingers to pan and zoom
See functions and contacts

Pin index

Pin index

Quickly scan every header pin, port name, supported function and usage note.

37 visible
PinMCU pinTypesNotes
MotorBorn 1 of the H M1 bridge. It connects a CC engine or an end of a coil.
MotorBorn 2 of the H M1 bridge. It connects a CC engine or an end of a coil.
GNDCommon ground. For a unipolar engine the central take of the 1 group is connected here.
MotorBorn 1 of the H M2 bridge. It connects a CC engine or an end of a coil.
MotorBorn 2 of the H M2 bridge. It connects a CC engine or an end of a coil.
MotorBorn 1 of the H M3 bridge. It connects a CC engine or an end of a coil.
MotorBorn 2 of the H M3 bridge. It connects a CC engine or an end of a coil.
GNDCommon ground. For a unipolar engine the central take of the 2 group is connected here.
MotorBorn 1 of the H M4 bridge. It connects a CC engine or an end of a coil.
MotorBorn 2 of the H M4 bridge. It connects a CC engine or an end of a coil.
PowerPositive input from the external motor source, from 5 to 12 V CC.
GNDReturn of the motor source, attached to the Raspberry Pi ground.
BCM2I2CTwo-way data from the I²C bus that controls the PCA9685.
BCM3I2CClock of bus I²C that controls the PCA9685.
BCM14UARTSerial transmission from the Raspberry Pi.
BCM15UARTSerial reception to the Raspberry Pi.
BCM4GPIOGeneral purpose watch output if the Raspberry Pi enables it.
BCM17GPIOSelection of 1 device from the second SPI bus if enabled.
BCM18GPIOPWM modulation or digital audio watch on the Raspberry Pi. It also supports SPI1 CE0 according to configuration.
BCM27GPIOGeneral purpose digital input or output to 3.3 V.
BCM22GPIOGeneral purpose digital input or output to 3.3 V.
BCM23GPIOGeneral purpose digital input or output to 3.3 V.
BCM24GPIOGeneral purpose digital input or output to 3.3 V.
BCM25GPIOGeneral purpose digital input or output to 3.3 V.
BCM10SPIData from the SPI controller to the peripheral.
BCM9SPIData from the SPI peripheral to the controller.
BCM11SPISPI0 bus clock. The screen indicates CLK.
BCM8SPI0 bus device selection SPI0.
BCM7SPI1 bus device selection SPI0.
BCM5GPIOGeneral purpose digital input or output to 3.3 V.
BCM6GPIOGeneral purpose digital input or output to 3.3 V.
BCM12GPIOPWM output from the Raspberry Pi if enabled.
BCM13GPIOPWM output from the Raspberry Pi if enabled.
BCM16GPIOSelection of 2 device from the second SPI bus if enabled.
BCM19GPIOSynchronization of audio plot or data input SPI1 on the Raspberry Pi.
BCM20GPIODigital audio input or SPI1 data output on the Raspberry Pi.
BCM21GPIODigital audio output or SPI1 watch on the Raspberry Pi.

Specifications

Revision
B · Pinguin screen printing · assembled from 27 September 2023 · PID 2348
Motores
Up to 4 bi-directional CC or 2 single or bipolar stepper motors
Motor source
5–12 V CC per boatboard protected against investment. Independent Raspberry Pi feed
Channel current
Up to 1.2 A according to Adafruit. 3 A short spike for about 20 ms
Logic and interface
3,3 V · I²C in SDA / BCM2 and SCL / BCM3 · 2 × 20 female socket
Engine direction
0x60 factory. The A0-A4 bits are added. All Call in 0x70 if enabled
PWM
PCA9685 de 12 bits. PWM0, PWM1, PWM14 and PWM15 accessible on the front
Dimensions
65 × 56 × 13 mm with components

References

Datasheets

Manufacturer references and technical documentation.

ChipRoleManufacturerNotesLink
PCA9685Control PWM por I²CNXP16 channels with 12 bit resolution.Datasheet
TB6612FNGDouble bridge HToshibaTwo units for four motor channels.Datasheet
M24C32-WEEPROM of identificationSTMicroelectronicsMarked 24C32WP on the photo board. WC entry into the 7 pin.Datasheet
AOD417Protection of motor inputAlpha & Omega SemiconductorP channel MOSFET with the D417 marking.Datasheet

Board notes

Engine connections
M1 and M2 form the 1 group. M3 and M4 form the 2 group. Each group has a central LNG borne for the common take of a unipolar engine.
Expansion
The front row exposes 25 signs of the Raspberry Pi. The adjacent matrix of 4 × 19 drills is isolated by default and serves as a prototyping.
Detail views
The library includes the 2 × 20 socket, the PWM bridges and exits, each 13 lane contacts and the reverse test points.
Fuentes
Photographs of Adafruit de la Rev B. The networks were contrasted with the screen, visible tracks, guide and public design of the HAT Rev A.