![]() |
MatrixMiniR4 1.1.5
Matrix Mini R4 Arduino Library API Documentation
|
The MatrixMiniR4 library is a versatile library designed for robotics and automation projects. It provides simplified access to a wide array of functionalities such as motor control, sensors, buttons, and communication protocols. This documentation provides detailed insights into the use of the MiniR4 controller and its built-in modules.
The MatrixMiniR4 library includes a pre-configured object named MiniR4
that provides easy access to all the functions. You can interact with the various components connected to your MiniR4 controller using this object.
Here are a few examples:
For Full class referecne of MiniR4
object please visit MatrixMiniR4 Class List.
For users who prefer to use pure Arduino functions, here is the Pin Definition table:
Port of MiniR4 | Pin of Arduino Uno R4 WiFi |
---|---|
D1 L.(A), R.(B) | D3, D2 (only D3 support PWM) |
D2 L.(A), R.(B) | D5, D4 (only D5 support PWM) |
D3 L.(A), R.(B) | D12, D11 (only D11 support PWM) |
D4 L.(A), R.(B) | D13, D10 (only D10 support PWM) |
A1 L.(A), R.(B) | A1, A0 (only A0 support DAC) |
A2 L.(A), R.(B) | A3, A2 |
A3 L.(A), R.(B) | A4, A5 |
I2C 1-4 | I2C Multiplexer Channel 0 - 3 |
I2C 0 | MiniR4 Port A3 |
UART | Serial1 |
UART(USB) | Serial |
DC Motor & Encoder | Control by Lower STM32 |
RC Servo | Control by Lower STM32 |
MiniR4 Controller Datasheet *Datasheet URL might be change, you can find on our Website->Downloads->Resources
We welcome contributions to the MatrixMiniR4 library! Whether you have a great idea for a new feature or have encountered a bug, we encourage you to participate in improving the project.
If you find a bug, please report it by creating a new issue in our GitHub repository. When submitting a bug report, please include:
You can find our GitHub repository here: MatrixMiniR4 GitHub Repo
We appreciate your feedback and contributions!
This project is licensed under the MIT License.