Cirkit Designer Logo
Cirkit Designer
Your all-in-one circuit design IDE
Home / 
Component Documentation

How to Use A01NYUB V2: Examples, Pinouts, and Specs

Image of A01NYUB V2
Cirkit Designer LogoDesign with A01NYUB V2 in Cirkit Designer

A01NYUB V2 Microcontroller Board Documentation

1. Introduction

The A01NYUB V2 is a versatile microcontroller board designed for a wide range of applications, particularly in the fields of IoT (Internet of Things), automation, and rapid prototyping. It features multiple input/output pins, built-in Wi-Fi connectivity, and compatibility with various programming environments, including Arduino IDE, MicroPython, and PlatformIO. Its compact design and robust functionality make it an excellent choice for both beginners and experienced developers.

Common Applications

  • IoT devices and smart home systems
  • Environmental monitoring and data logging
  • Robotics and automation
  • Wearable technology
  • Prototyping and educational projects

2. Technical Specifications

The following table outlines the key technical details of the A01NYUB V2 microcontroller board:

Key Specifications

Parameter Value
Microcontroller ESP32-based dual-core processor
Clock Speed 240 MHz
Flash Memory 4 MB
SRAM 520 KB
Wi-Fi Connectivity IEEE 802.11 b/g/n (2.4 GHz)
Operating Voltage 3.3V
Input Voltage Range 5V (via USB) or 7-12V (via VIN pin)
GPIO Pins 30 (including digital, analog, PWM, and I2C/SPI/UART support)
ADC Channels 18 (12-bit resolution)
PWM Channels 16
Communication Protocols UART, SPI, I2C, I2S, CAN
USB Interface Micro-USB (for programming and power)
Dimensions 58 mm x 25 mm
Operating Temperature -40°C to +85°C

Pin Configuration

The A01NYUB V2 features a total of 30 GPIO pins, each with specific functions. Below is a summary of the pin configuration:

Pin Function Description
VIN Power Input Accepts 7-12V input for powering the board.
GND Ground Common ground for the circuit.
3V3 3.3V Output Provides 3.3V output for external components.
GPIO0 Digital I/O, ADC, PWM General-purpose pin with ADC and PWM support.
GPIO1 UART TX Transmit pin for UART communication.
GPIO2 Digital I/O, ADC, PWM General-purpose pin with ADC and PWM support.
GPIO3 UART RX Receive pin for UART communication.
GPIO4 Digital I/O, ADC, PWM General-purpose pin with ADC and PWM support.
GPIO5 Digital I/O, ADC, PWM General-purpose pin with ADC and PWM support.
GPIO12 Digital I/O, ADC, PWM General-purpose pin with ADC and PWM support.
GPIO13 Digital I/O, ADC, PWM General-purpose pin with ADC and PWM support.
GPIO14 Digital I/O, ADC, PWM General-purpose pin with ADC and PWM support.
GPIO15 Digital I/O, ADC, PWM General-purpose pin with ADC and PWM support.
GPIO16 Digital I/O General-purpose pin.
GPIO17 Digital I/O General-purpose pin.
GPIO18 SPI SCK Serial Clock for SPI communication.
GPIO19 SPI MISO Master In Slave Out for SPI communication.
GPIO21 I2C SDA Data line for I2C communication.
GPIO22 I2C SCL Clock line for I2C communication.
GPIO23 SPI MOSI Master Out Slave In for SPI communication.

3. Usage Instructions

Getting Started

  1. Powering the Board:

    • Connect the board to your computer using a Micro-USB cable for power and programming.
    • Alternatively, supply 7-12V to the VIN pin for standalone operation.
  2. Programming the Board:

    • Install the Arduino IDE or any compatible programming environment.
    • Add the ESP32 board support package to your IDE.
    • Select "A01NYUB V2" or a compatible ESP32 board from the board manager.
    • Connect the board to your computer and upload your code.
  3. Connecting Peripherals:

    • Use the GPIO pins to connect sensors, actuators, or other peripherals.
    • Ensure that the voltage and current requirements of your peripherals are compatible with the board.

Example Circuit

Below is an example of connecting an LED to GPIO2:

  • Connect the positive leg of the LED to GPIO2 through a 220-ohm resistor.
  • Connect the negative leg of the LED to GND.

Example Code

The following code demonstrates how to blink an LED connected to GPIO2:

// Define the GPIO pin where the LED is connected
#define LED_PIN 2

void setup() {
  // Set the LED pin as an output
  pinMode(LED_PIN, OUTPUT);
}

void loop() {
  // Turn the LED on
  digitalWrite(LED_PIN, HIGH);
  delay(1000); // Wait for 1 second

  // Turn the LED off
  digitalWrite(LED_PIN, LOW);
  delay(1000); // Wait for 1 second
}

Important Considerations

  • Avoid exceeding the maximum voltage and current ratings of the board.
  • Use level shifters when interfacing with 5V logic devices.
  • Ensure proper grounding to avoid noise and instability in your circuit.

4. Troubleshooting and FAQs

Common Issues and Solutions

Issue Possible Cause Solution
Board not detected in the IDE Missing drivers or incorrect board settings Install the required USB drivers and select the correct board in the IDE.
Code upload fails Incorrect COM port or board not in boot mode Check the COM port and press the "BOOT" button while uploading the code.
Wi-Fi not connecting Incorrect SSID or password Verify the Wi-Fi credentials in your code.
Peripherals not working as expected Incorrect pin connections Double-check the wiring and ensure the correct pins are used in the code.

FAQs

  1. Can I power the board with a battery?
    Yes, you can use a 7-12V battery connected to the VIN pin.

  2. What is the maximum current output of the 3.3V pin?
    The 3.3V pin can supply up to 500mA, depending on the input power source.

  3. Is the board compatible with MicroPython?
    Yes, the A01NYUB V2 supports MicroPython, which can be flashed using tools like esptool.

  4. How do I reset the board?
    Press the "RESET" button on the board to restart it.


This documentation provides a comprehensive guide to using the A01NYUB V2 microcontroller board. Whether you're building an IoT project or experimenting with new ideas, this board offers the flexibility and performance you need.

Explore Projects Built with A01NYUB V2

Use Cirkit Designer to design, explore, and prototype these projects online. Some projects support real-time simulation. Click "Open Project" to start designing instantly!
Arduino UNO with A9G GSM/GPRS and Dual VL53L1X Distance Sensors
Image of TED CIRCUIT : A project utilizing A01NYUB V2 in a practical application
This circuit features an Arduino UNO microcontroller interfaced with an A9G GSM/GPRS+GPS/BDS module and two VL53L1X time-of-flight distance sensors. The A9G module is connected to the Arduino via serial communication for GPS and GSM functionalities, while both VL53L1X sensors are connected through I2C with shared SDA and SCL lines and individual SHUT pins for selective sensor activation. The Arduino is programmed to control these peripherals, although the specific functionality is not detailed in the provided code.
Cirkit Designer LogoOpen Project in Cirkit Designer
Wi-Fi Controlled Environmental Monitoring System with Dual Stepper Motor Valve Actuation
Image of MVP : A project utilizing A01NYUB V2 in a practical application
This circuit features two 28BYJ-48 stepper motors controlled by ULN2003A breakout boards, interfaced with a NodeMCU V3 ESP8266 microcontroller. The NodeMCU collects environmental data from a DHT11 temperature and humidity sensor and an MQ-135 air quality sensor. The microcontroller uses WiFi for connectivity and controls the stepper motors based on the sensor inputs, likely for regulating environmental conditions.
Cirkit Designer LogoOpen Project in Cirkit Designer
Arduino UNO-Based Dual Stepper Motor Controller with Gesture Sensing and RTC Display
Image of Arduino UNO-Based Dual Stepper Motor Controller with Gesture Sensing and RTC Display: A project utilizing A01NYUB V2 in a practical application
This circuit is an Arduino UNO-based dual stepper motor controller that uses ULN2003A driver boards to control two 28BYJ-48 stepper motors. It features an APDS-9960 RGB and gesture sensor for gesture-based control, a DS1307 RTC module to display time on a 16x2 I2C LCD, and includes a green LED and two pushbuttons for additional control and status indication.
Cirkit Designer LogoOpen Project in Cirkit Designer
Arduino UNO and A9G GSM/GPRS GPS-Based Air Quality Monitoring System
Image of A9G Smoke Sensor: A project utilizing A01NYUB V2 in a practical application
This circuit features an Arduino UNO microcontroller interfaced with an A9G GSM/GPRS+GPS module and an MQ2 gas sensor. The Arduino communicates with the A9G module via digital pins D11 and D10 for data transmission, and it reads analog gas concentration levels from the MQ2 sensor through analog pin A5. Both the A9G module and the MQ2 sensor are powered by the Arduino's 5V output, and all components share a common ground.
Cirkit Designer LogoOpen Project in Cirkit Designer

Explore Projects Built with A01NYUB V2

Use Cirkit Designer to design, explore, and prototype these projects online. Some projects support real-time simulation. Click "Open Project" to start designing instantly!
Image of TED CIRCUIT : A project utilizing A01NYUB V2 in a practical application
Arduino UNO with A9G GSM/GPRS and Dual VL53L1X Distance Sensors
This circuit features an Arduino UNO microcontroller interfaced with an A9G GSM/GPRS+GPS/BDS module and two VL53L1X time-of-flight distance sensors. The A9G module is connected to the Arduino via serial communication for GPS and GSM functionalities, while both VL53L1X sensors are connected through I2C with shared SDA and SCL lines and individual SHUT pins for selective sensor activation. The Arduino is programmed to control these peripherals, although the specific functionality is not detailed in the provided code.
Cirkit Designer LogoOpen Project in Cirkit Designer
Image of MVP : A project utilizing A01NYUB V2 in a practical application
Wi-Fi Controlled Environmental Monitoring System with Dual Stepper Motor Valve Actuation
This circuit features two 28BYJ-48 stepper motors controlled by ULN2003A breakout boards, interfaced with a NodeMCU V3 ESP8266 microcontroller. The NodeMCU collects environmental data from a DHT11 temperature and humidity sensor and an MQ-135 air quality sensor. The microcontroller uses WiFi for connectivity and controls the stepper motors based on the sensor inputs, likely for regulating environmental conditions.
Cirkit Designer LogoOpen Project in Cirkit Designer
Image of Arduino UNO-Based Dual Stepper Motor Controller with Gesture Sensing and RTC Display: A project utilizing A01NYUB V2 in a practical application
Arduino UNO-Based Dual Stepper Motor Controller with Gesture Sensing and RTC Display
This circuit is an Arduino UNO-based dual stepper motor controller that uses ULN2003A driver boards to control two 28BYJ-48 stepper motors. It features an APDS-9960 RGB and gesture sensor for gesture-based control, a DS1307 RTC module to display time on a 16x2 I2C LCD, and includes a green LED and two pushbuttons for additional control and status indication.
Cirkit Designer LogoOpen Project in Cirkit Designer
Image of A9G Smoke Sensor: A project utilizing A01NYUB V2 in a practical application
Arduino UNO and A9G GSM/GPRS GPS-Based Air Quality Monitoring System
This circuit features an Arduino UNO microcontroller interfaced with an A9G GSM/GPRS+GPS module and an MQ2 gas sensor. The Arduino communicates with the A9G module via digital pins D11 and D10 for data transmission, and it reads analog gas concentration levels from the MQ2 sensor through analog pin A5. Both the A9G module and the MQ2 sensor are powered by the Arduino's 5V output, and all components share a common ground.
Cirkit Designer LogoOpen Project in Cirkit Designer