You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Oops! Looks like we don't know anything about this board. This means it's likely very new.
18
+
A compact 4 channel motor+encoder controller, powered by RP2040. It has RGB and per-motor indicator LEDs plus built in voltage and current sensing. There's also a Qwiic/STEMMA QT connector for adding breakouts!
19
+
20
+
## Features
21
+
- Powered by RP2040 (Dual Arm Cortex M0+ running at up to 133Mhz with 264kB of SRAM)
22
+
- 2MB of QSPI flash supporting XiP
23
+
- 2 Dual H-Bridge motor drivers (DRV8833)
24
+
- 4 JST-SH connectors (6 pin) for attaching motors
25
+
- Wide voltage range for motors and logic (2.7V to 10V)
26
+
- On-board 3V3 regulator with input up to 13.2V (max regulator current output 150mA)
27
+
- Onboard voltage, current and fault sensing
28
+
- Per motor current limiting (0.5A) \*
29
+
- Per motor direction indicator LEDs **
30
+
- Addressable RGB LED/Neopixel
31
+
- Reset and BOOT button (the BOOT button can also be used as a user button)
32
+
- USB-C connector for programming and power (3A max)
33
+
- Qw/ST (Qwiic/STEMMA QT) connector for breakouts
34
+
35
+
## Powering Motor 2040
36
+
Motor 2040 can be powered either by plugging the board into a USB-C power source (like a PC or power adapter) or by connecting a battery pack to the EXT PWR or VSYS connections. On an unmodified board, **you should only have one power source connected at a time**, to avoid back-powering your computer or battery.
37
+
38
+
If you want to have two power sources connected at the same time, Motor 2040 has two traces on its underside that you can cut to do this safely.
39
+
40
+
-**Cut EXT PWR to VSYS** if you want to provide your motors with a separate power supply (up to 10V) from that used to power the rest of the board. Board power (up to 13.2V) will need to be provided either by USB 5V or VSYS.
41
+
-**Cut USB 5V to VSYS** if you want to run the board entirely off a separate power supply, without worry of back-powering your computer. Note that this also means the board will not turn on when only connected by USB.
42
+
43
+
## Notes
44
+
-\* The current limit of each motor can be disabled by soldering the "high current" pads on the rear (doing this will also disable the current monitoring). The maximum supported output current is 1.2 A continuous (2 A peak) per motor.
45
+
-** The direction indicators for each motor can be disabled by cutting the "motor LED" traces on the rear.
46
+
- The pinout of the JST-SH motor connectors is M+, M-, 3v3, A, B, GND.
47
+
48
+
## About RP2040
49
+
Raspberry Pi's RP2040 microcontroller is a dual core ARM Cortex M0+ running at up to 133Mhz. It bundles in 264kB of SRAM, 30 multifunction GPIO pins (including a four channel 12-bit ADC), a heap of standard peripherals (I2C, SPI, UART, PWM, clocks, etc), and USB support.
50
+
51
+
One very exciting feature of RP2040 is the programmable IOs which allow you to execute custom programs that can manipulate GPIO pins and transfer data between peripherals - they can offload tasks that require high data transfer rates or precise timing that traditionally would have required a lot of heavy lifting from the CPU.
0 commit comments