1. Introduction
The R7FA4M1 V4 Development Board is a versatile microcontroller board designed for various embedded systems projects. It integrates an Atmel AVR 8-bit ATmega328P microcontroller, an ESP32-S3-MINI WIFI module, and a JDY33 wireless Bluetooth module. This board is compatible with Arduino UNO R3 and R4 MINIMA/WIFI, offering expanded capabilities with 4 integrated motor drivers and XH2.54-2P motor interfaces. It provides a robust platform for learning and developing applications involving digital and analog I/O, motor control, and wireless communication.

2. Specifications
| Feature | Description |
|---|---|
| Processor | Atmel AVR 8-bit microcontroller ATmega328P |
| Clock Frequency | 16 MHz |
| Digital I/O Pins | 14 (6 with PWM capability) |
| Analog Input Pins | 6 |
| Memory | 32KB Flash, 2KB SRAM, 1KB EEPROM |
| Communication Interfaces | Serial (USB), I2C, SPI |
| Wireless Modules | ESP32-S3-MINI (WIFI), JDY33 (Bluetooth) |
| Motor Drivers | 4 integrated motor drivers with XH2.54-2P interface |
| Input Voltage | USB 5V, DC 6-12V (barrel jack) |
| Output Voltage | 3.3V, 5V |
| Development Environments | Arduino IDE, Mind+, Mixly |
| Package Type | TQFP |
3. Setup
- Power Supply: Connect the board to a power source. You can use the USB-C port for 5V power, or a DC power adapter (6-12V) via the barrel jack. Ensure the power supply matches the board's requirements.
- Software Installation: Download and install the Arduino IDE (or Mind+, Mixly) on your computer. Ensure you have the necessary board support packages and drivers installed for ATmega328P and ESP32-S3-MINI.
- USB Connection: Connect the R7FA4M1 V4 board to your computer using a USB-C cable. This connection is used for programming and serial communication.
- Motor Connections: If using motors, connect them to the XH2.54-2P motor interfaces (M1, M2, M3, M4) on the board. Refer to the pinout diagram for specific motor control pins.
- Peripheral Connections: Connect any other sensors, actuators, or modules to the appropriate digital I/O, analog input, I2C, or SPI pins as required by your project.

4. Operating Instructions
4.1 Programming the Board
- Select Board: In the Arduino IDE, go to
Tools > Boardand select the appropriate board (e.g., "Arduino Uno" for ATmega328P programming, or the specific ESP32-S3 board if programming the ESP32 module directly). - Select Port: Go to
Tools > Portand select the serial port corresponding to your connected R7FA4M1 V4 board. - Write Code: Write your program (sketch) in the Arduino IDE.
- Upload: Click the "Upload" button to compile and upload your sketch to the board.
4.2 Digital I/O
The 14 digital pins (D0-D13) can be configured as inputs or outputs. Use pinMode(), digitalWrite(), and digitalRead() functions in Arduino to control these pins.
Six of these pins support Pulse Width Modulation (PWM) for analog-like output (e.g., controlling LED brightness or motor speed). These are typically marked with a tilde (~).
4.3 Analog Input
The 6 analog input pins (A0-A5) can read analog sensor values. Use analogRead() to get a 0-1023 value corresponding to 0-5V input.
4.4 Motor Control
The board includes 4 motor drivers. Pins D3, D5, D6, D7, D9, D10, D11 are dedicated for motor control. M1, M2, M3, M4 refer to the motor interfaces.
- M1 Motor: Forward rotation (D3), Reverse rotation (D11).
- M2 Motor: Forward rotation (D5), Reverse rotation (D6).
- M3 Motor: Forward rotation (D9), Reverse rotation (D10).
- M4 Motor: Forward rotation (D4), Reverse rotation (D7). Note: D4 and D7 are unable to adjust speed (no PWM).
Connect motors to the XH2.54-2P connectors. Use digitalWrite to control direction and analogWrite (for PWM pins) to control speed.
4.5 Wireless Communication (WIFI & Bluetooth)
The integrated ESP32-S3-MINI module provides WIFI capabilities, and the JDY33 module provides Bluetooth communication. Refer to the respective module documentation and Arduino libraries for programming these features.
5. Pinout Diagram
The following diagram and table detail the pin assignments and functions of the R7FA4M1 V4 Development Board.

| SN | Pin Name | Function Description |
|---|---|---|
| 1 | D0 | Digital input/output pin |
| 2 | D1 | Digital input/output pin |
| 3 | D2 | Digital input/output pin |
| 4 | D3 | M1 motor forward rotation (PWM capable) |
| 5 | D4 | M4 motor forward rotation (unable to adjust speed) |
| 6 | D5 | M2 motor forward rotation (PWM capable) |
| 7 | D6 | M2 motor reverse (PWM capable) |
| 8 | D7 | M4 motor reverse (unable to adjust speed) |
| 9 | D8 | Digital input/output pin |
| 10 | D9 | M3 motor forward rotation (PWM capable) |
| 11 | D10 | M3 motor reverse (PWM capable) |
| 12 | D11 | M1 motor reverse (PWM capable) |
| 13 | D12 | Digital input/output pin |
| 14 | D13 | Digital input/output pin |
| 15 | A0 | Analog input pin |
| 16 | A1 | Analog input pin |
| 17 | A2 | Analog input pin |
| 18 | A3 | Analog input pin |
| 19 | A4 | Analog input pin, also used as SDA pin for I2C bus |
| 20 | A5 | Analog input pin, also used as SCL pin for I2C bus |
| 21 | 5V | 5V power supply pin |
| 22 | 3.3V | 3.3V power supply pin |
| 23 | GND | Ground pin |
| 24 | RESET | Reset pin |
6. Maintenance
- Storage: Store the development board in a dry, anti-static environment when not in use.
- Cleaning: Use a soft, dry brush or compressed air to remove dust. Avoid using liquids or harsh chemicals.
- Handling: Always handle the board by its edges to avoid touching components and static discharge.
- Power Off: Disconnect power before making any physical connections or disconnections to prevent damage.
7. Troubleshooting
- Board Not Detected:
- Ensure the USB-C cable is securely connected to both the board and your computer.
- Check if the necessary USB drivers are installed for your operating system.
- Try a different USB port or cable.
- Program Upload Fails:
- Verify that the correct board and serial port are selected in the Arduino IDE.
- Ensure there are no syntax errors in your code.
- Disconnect any peripherals that might interfere with serial communication during upload.
- Motors Not Responding:
- Check motor connections to the XH2.54-2P interfaces.
- Ensure adequate power supply for both the board and the motors.
- Verify your code correctly controls the motor pins (D3, D4, D5, D6, D7, D9, D10, D11).
- WIFI/Bluetooth Connectivity Issues:
- Confirm that the correct libraries for ESP32-S3 and JDY33 are installed and included in your sketch.
- Check for proper antenna connection (if external).
- Ensure correct network credentials for WIFI or pairing procedures for Bluetooth.
8. User Tips
No specific user tips were available from reviews or Q&A. However, here are some general tips for working with development boards:
- Start Simple: Begin with basic examples (e.g., blinking an LED) to familiarize yourself with the board and development environment before moving to complex projects.
- Refer to Documentation: Always consult the official Arduino documentation and ESP32-S3/JDY33 module datasheets for detailed information and advanced usage.
- Community Support: Leverage online forums and communities (like Arduino forums) for troubleshooting and project ideas.
- Power Considerations: When connecting multiple components or high-current devices like motors, ensure your power supply can provide sufficient current to avoid unexpected behavior or damage.
9. Warranty and Support
For any technical assistance, questions, or issues not covered in this manual, please contact the seller directly through the platform where the product was purchased. Provide your order details and a clear description of the problem for efficient support.





