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.
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.
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
Pin
MCU pin
Types
Notes
Motor
Born 1 of the H M1 bridge. It connects a CC engine or an end of a coil.
Motor
Born 2 of the H M1 bridge. It connects a CC engine or an end of a coil.
GND
Common ground. For a unipolar engine the central take of the 1 group is connected here.
Motor
Born 1 of the H M2 bridge. It connects a CC engine or an end of a coil.
Motor
Born 2 of the H M2 bridge. It connects a CC engine or an end of a coil.
Motor
Born 1 of the H M3 bridge. It connects a CC engine or an end of a coil.
Motor
Born 2 of the H M3 bridge. It connects a CC engine or an end of a coil.
GND
Common ground. For a unipolar engine the central take of the 2 group is connected here.
Motor
Born 1 of the H M4 bridge. It connects a CC engine or an end of a coil.
Motor
Born 2 of the H M4 bridge. It connects a CC engine or an end of a coil.
Power
Positive input from the external motor source, from 5 to 12 V CC.
GND
Return of the motor source, attached to the Raspberry Pi ground.
BCM2
I2C
Two-way data from the I²C bus that controls the PCA9685.
BCM3
I2C
Clock of bus I²C that controls the PCA9685.
BCM14
UART
Serial transmission from the Raspberry Pi.
BCM15
UART
Serial reception to the Raspberry Pi.
BCM4
GPIO
General purpose watch output if the Raspberry Pi enables it.
BCM17
GPIO
Selection of 1 device from the second SPI bus if enabled.
BCM18
GPIO
PWM modulation or digital audio watch on the Raspberry Pi. It also supports SPI1 CE0 according to configuration.
BCM27
GPIO
General purpose digital input or output to 3.3 V.
BCM22
GPIO
General purpose digital input or output to 3.3 V.
BCM23
GPIO
General purpose digital input or output to 3.3 V.
BCM24
GPIO
General purpose digital input or output to 3.3 V.
BCM25
GPIO
General purpose digital input or output to 3.3 V.
BCM10
SPI
Data from the SPI controller to the peripheral.
BCM9
SPI
Data from the SPI peripheral to the controller.
BCM11
SPI
SPI0 bus clock. The screen indicates CLK.
BCM8
SPI
0 bus device selection SPI0.
BCM7
SPI
1 bus device selection SPI0.
BCM5
GPIO
General purpose digital input or output to 3.3 V.
BCM6
GPIO
General purpose digital input or output to 3.3 V.
BCM12
GPIO
PWM output from the Raspberry Pi if enabled.
BCM13
GPIO
PWM output from the Raspberry Pi if enabled.
BCM16
GPIO
Selection of 2 device from the second SPI bus if enabled.
BCM19
GPIO
Synchronization of audio plot or data input SPI1 on the Raspberry Pi.
BCM20
GPIO
Digital audio input or SPI1 data output on the Raspberry Pi.
BCM21
GPIO
Digital 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.