The Arduino UNO+WiFi R3 ATmega328P+ESP8266 (CH340G) is a microcontroller board developed by Robocraze that integrates the features of an Arduino UNO with the WiFi capabilities of the ESP8266 module. This board is designed for hobbyists, educators, and professionals who require both the traditional Arduino interface and wireless connectivity in their projects. It is ideal for applications such as smart home devices, IoT projects, and wireless sensor networks.
Pin Number | Function | Description |
---|---|---|
1 | TXD | Transmit Data (Serial Output) |
2 | RXD | Receive Data (Serial Input) |
3-8 | Digital I/O | Digital Input/Output Pins |
9-14 | PWM/Digital I/O | PWM Output Capable Digital Pins |
A0-A5 | Analog Input | Analog Input Pins |
A6-A7 | Analog Input | Analog Input Pins (SMD Package Only) |
VIN | Voltage Input | Input Voltage for the Board |
5V | 5V Output | Regulated 5V Output |
3.3V | 3.3V Output | Regulated 3.3V Output |
GND | Ground | Ground Pins |
RST | Reset | Reset Pin |
#include <ESP8266WiFi.h>
// Replace with your network credentials
const char* ssid = "your_SSID";
const char* password = "your_PASSWORD";
void setup() {
Serial.begin(115200); // Start serial communication at 115200 baud
WiFi.begin(ssid, password); // Connect to the WiFi network
while (WiFi.status() != WL_CONNECTED) { // Wait for connection
delay(500);
Serial.print(".");
}
Serial.println("");
Serial.print("Connected to ");
Serial.println(ssid);
Serial.print("IP address: ");
Serial.println(WiFi.localIP());
}
void loop() {
// Your code here
}
Q: Can I use the Arduino UNO+WiFi board as a regular Arduino UNO? A: Yes, the board can be used as a regular Arduino UNO when the onboard switch is set to the ATmega328P position.
Q: How do I reset the ESP8266 module? A: You can reset the ESP8266 by briefly connecting the RST pin to GND.
Q: Can I use the ESP8266 and ATmega328P at the same time? A: Yes, but you need to ensure they are not using the same serial ports for communication.
For further assistance, consult the Robocraze community forums or contact technical support.