Electronics

Arduino UNO WIFI REV2 Board (Original)

Out Of Stock

1

Description

The Arduino UNO WiFi Rev 2 is a remarkable combination of the familiar Arduino UNO platform and advanced WiFi capabilities. This integration allows creators to seamlessly connect the physical and digital realms, enabling a new era of interconnected and interactive projects. With its enhanced features and built-in WiFi connectivity, this board empowers makers to effortlessly bridge the gap between the physical and digital worlds, unlocking endless possibilities for innovative creations.

 

Package Includes:

  • 1 x Arduino UNO WiFi Rev 2

 

Features:

  • WiFi Connectivity: The board comes with integrated WiFi capabilities, eliminating the need for additional WiFi shields or modules. It allows seamless communication with wireless networks, enabling internet connectivity and interaction with other networked devices.
  • Arduino UNO Compatibility: The Arduino UNO WiFi Rev 2 retains the familiar form factor and pinout of the Arduino UNO, making it compatible with a wide range of shields, sensors, and components. This ensures easy integration with existing Arduino projects and access to a vast library of resources.
  • Wide Range of I/O Pins: The board provides a generous number of digital and analog input/output pins, allowing you to connect and control a variety of sensors, actuators, and peripherals. This versatility enables the creation of diverse projects with different input and output requirements.
  • User-Friendly Development Environment: Arduino UNO WiFi Rev 2 is supported by the Arduino development environment, a user-friendly programming interface that simplifies coding and project development. It offers a vast collection of libraries and examples, facilitating rapid prototyping and implementation.
  • Internet of Things (IoT) Capabilities: With its integrated WiFi connectivity, the board enables seamless communication with web servers, cloud platforms, and IoT services. This opens up possibilities for collecting and transmitting data, remote control of devices, and integration with online services.
  • Cross-Platform Compatibility: The Arduino UNO WiFi Rev 2 is compatible with various operating systems, including Windows, Mac, and Linux. This flexibility ensures that developers can work on their preferred platforms without limitations.
  • Open-Source Community and Support: The Arduino UNO WiFi Rev 2 benefits from an active and supportive open-source community. The Arduino community provides a wealth of resources, tutorials, and forums where users can seek assistance, share projects, and collaborate with like-minded individuals.
  • Seamless Prototyping: The board's integrated WiFi and familiar Arduino interface make it an excellent choice for rapid prototyping. It enables quick iterations, allowing creators to test ideas and refine their projects efficiently.
  • Versatile Applications: The Arduino UNO WiFi Rev 2 finds applications in a wide range of projects, including home automation systems, IoT devices, data logging, remote sensing, robotics, and more. Its flexibility and connectivity options make it suitable for various fields and industries.

 

Description:

The Arduino UNO WiFi Rev 2 is a remarkable fusion of the classic Arduino UNO board and advanced wireless capabilities, presenting an innovative solution for embedded electronics and IoT projects. This versatile microcontroller board seamlessly integrates the power and simplicity of the UNO platform with built-in WiFi connectivity, enabling seamless communication with the digital world. At its core, the Arduino UNO WiFi Rev 2 boasts the same beloved characteristics that have made Arduino a favorite among makers, hobbyists, and professionals alike. It provides a robust and user-friendly development environment, with a wide range of input and output pins, making it a breeze to connect and control various sensors, actuators, and components. Its compatibility with the Arduino ecosystem ensures a wealth of libraries and community support to expedite your project development. However, what sets the Arduino UNO WiFi Rev 2 apart is its ability to effortlessly connect to wireless networks, granting it the power to interact with the internet and other networked devices. With its built-in WiFi module, this board eliminates the need for external WiFi shields or additional hardware, simplifying the prototyping process and reducing complexity. By harnessing the power of WiFi, the Arduino UNO WiFi Rev 2 opens up a multitude of possibilities. It can communicate with web servers, cloud platforms, and IoT services, allowing you to collect data, control devices remotely, and build smart applications. Whether you're creating a home automation system, a weather station, or an IoT-enabled gadget, this board empowers you to seamlessly integrate your projects into the digital realm. Furthermore, the Arduino UNO WiFi Rev 2 embodies the Arduino philosophy of openness and accessibility. Its flexible design encourages exploration and experimentation, enabling users of all skill levels to dive into the world of connected devices. The board's rich feature set, combined with its ease of use, makes it an ideal choice for both beginners and experienced developers looking to bring their ideas to life in the ever-expanding IoT landscape.

 

Principle of Work:

The Arduino UNO WiFi Rev 2 operates on the same principle as other Arduino boards, with the added functionality of integrated WiFi connectivity:

  1. Microcontroller: At the heart of the Arduino UNO WiFi Rev 2 is a microcontroller, typically an ATmega4809 or a similar variant. The microcontroller serves as the brain of the board, executing the code and controlling the connected components.
  2. Programming: To program the board, you write code in the Arduino programming language, which is based on C/C++. The Arduino development environment provides a user-friendly interface for writing, uploading, and debugging code on the board.
  3. Input/Output (I/O) Pins: The board features a range of digital and analog input/output pins. These pins allow you to connect various sensors, actuators, and other electronic components to interact with the physical world. You can read sensor data, control LEDs, drive motors, and more using these pins.
  4. WiFi Connectivity: The Arduino UNO WiFi Rev 2 differentiates itself from the standard Arduino UNO by offering integrated WiFi connectivity. It incorporates a WiFi module (typically an ESP8266 or an ESP32) that allows the board to connect to wireless networks.
  5. WiFi Communication: The integrated WiFi module enables the board to communicate with other networked devices and services. By connecting to a WiFi network, the board can send and receive data over the internet. This facilitates interactions with web servers, cloud platforms, and IoT services.
  6. Protocols and Libraries: The Arduino UNO WiFi Rev 2 supports various communication protocols, including TCP/IP, HTTP, and MQTT, which are commonly used in IoT applications. Additionally, there are libraries available that simplify the implementation of WiFi functionality, making it easier to establish connections and transfer data.
  7. IoT Integration: With WiFi connectivity, the board can be used in Internet of Things (IoT) applications. It allows you to collect sensor data and send it to a cloud platform for storage and analysis. You can also control devices remotely by receiving commands over WiFi.
  8. Power Supply: The board can be powered using a USB connection or an external power supply. It has voltage regulators that provide the necessary voltage levels for its operation and for powering connected components.

 

Pinout of the Module:

  1. Digital Pins: The Arduino UNO WiFi Rev 2 is equipped with 14 digital pins, which can be configured as either input or output based on your project requirements. These pins operate at a logic level and can receive or send digital signals. They support two states: HIGH (5V) and LOW (0V).
  2. Analog Pins: The board features 6 analog pins, labeled A0 to A5, which can read analog voltage values. Unlike digital pins that can only detect HIGH or LOW states, analog pins can measure a range of values between 0V and 5V. This allows you to interface with analog sensors, potentiometers, and other devices that provide continuous voltage outputs.
  3. PWM Pins: Out of the 14 digital pins on the board, 5 of them (marked with "~" symbol) can be used as Pulse Width Modulation (PWM) pins. PWM allows you to simulate analog output by rapidly toggling the pin between HIGH and LOW states. These pins are commonly used to control the speed of motors, dim LEDs, and generate analog-like signals.
  4. SPI Pins: The Arduino UNO WiFi Rev 2 supports the Serial Peripheral Interface (SPI) protocol, which enables communication between the microcontroller and other peripheral devices such as shift registers, sensors, and display modules. It utilizes two pins: MISO (Master Input Slave Output) and MOSI (Master Output Slave Input). MISO is used to receive data from peripheral devices, while MOSI is used to transmit data from the microcontroller.
  5. I2C Pins: The board also incorporates support for the Inter-Integrated Circuit (I2C) communication protocol. It utilizes two pins: SCL (Serial Clock Line) and SDL (Serial Data Line). SCL is responsible for synchronizing the data transfer between devices on the I2C bus, while SDL carries the actual data being transmitted.
  6. UART Pins: The Arduino UNO WiFi Rev 2 features UART (Universal Asynchronous Receiver-Transmitter) pins for serial communication. It includes two pins: Rx (Receiver) and Tx (Transmitter). The Rx pin is used for receiving serial data, while the Tx pin is used for transmitting serial data.

 

Applications:

  • Home Automation: The board can be used to create smart home systems, allowing you to remotely control and monitor lights, appliances, security systems, and environmental parameters like temperature and humidity.
  • Internet of Things (IoT) Projects: With its integrated WiFi connectivity, the board is well-suited for developing IoT applications. You can build connected devices that interact with cloud platforms, send sensor data to online services, or receive commands for remote control.
  • Environmental Monitoring: The board can be utilized in projects involving environmental monitoring and data logging. You can connect sensors to measure parameters such as air quality, temperature, pressure, or pollution levels and transmit the data over WiFi for analysis or visualization.
  • Robotics and Automation: Arduino UNO WiFi Rev 2 can serve as the control unit for robotic systems, allowing you to create autonomous robots, remotely operated vehicles, or home automation robots.
  • Weather Stations: The board can be used to build weather monitoring stations, collecting data from sensors that measure temperature, humidity, barometric pressure, rainfall, and wind speed. This data can be transmitted over WiFi for analysis or displayed on a web interface.
  • Energy Management: With its WiFi capabilities, the board can assist in energy management systems. You can monitor power consumption, control appliances remotely, and implement energy-saving strategies based on real-time data.
  • Industrial Automation: The board can be integrated into industrial automation projects, allowing for remote monitoring and control of machines, processes, and equipment. It can facilitate data exchange between factory floor devices and enterprise-level systems.
  • Educational Projects: Arduino UNO WiFi Rev 2 is widely used in educational settings to teach electronics, programming, and IoT concepts. It provides a hands-on platform for students to learn about embedded systems, data communication, and physical computing.
  • Smart Agriculture: The board can be utilized in agricultural applications such as automated irrigation systems, crop monitoring, and environmental sensing. It enables remote access to data, real-time monitoring, and automation of agricultural processes.
  • Prototyping and DIY Projects: The Arduino UNO WiFi Rev 2 is an excellent choice for rapid prototyping and do-it-yourself (DIY) projects. Its versatility, ease of use, and extensive community support make it a go-to platform for creating innovative and interactive projects.

 

Circuit:

We will not need any circuit, in this testing code, we will rely on the built-in LED.

 

Libraries:

We used no library but for the first time to make the Arduino UNO WiFi Rev 2 board ready to work and set it up for code uploading, follow these steps:

  1. Install the Arduino IDE: Download and install the Arduino Integrated Development Environment (IDE) from the official Arduino website (https://www.arduino.cc/en/software). The IDE provides a programming interface for writing and uploading code to the board.
  2. Connect the Board: Connect the Arduino UNO WiFi Rev 2 board to your computer using a USB cable. Ensure that the board is properly connected and powered.
  3. Select the Board: Launch the Arduino IDE and go to the "Tools" menu. From the "Board" submenu, select "Arduino UNO WiFi Rev2" as the board type. This selection is important to ensure that the IDE compiles the code correctly for the specific board.
  4. Select the Port: In the same "Tools" menu, navigate to the "Port" submenu and select the appropriate port to which the board is connected. The port will typically have the name of your board in its description.
  5. Verify and Upload a Test Code: to upload a code copy your code to the IDE, Click the "Upload" button (right-arrow icon) to compile and upload the code to the board. Verify that the code uploads successfully.
  6. Test Serial Communication: Open the Serial Monitor in the Arduino IDE by clicking the magnifying glass icon in the toolbar or navigating to "Tools" > "Serial Monitor." Set the baud rate to match the value in your code (usually 9600). You should see the output messages from the test code in the Serial Monitor.

 

Code:

A sample code that blinks an LED on the Arduino UNO WiFi Rev 2 board and provides status messages in the Serial Monitor the built-in LED on pin 13 is blinked at a regular interval. The status of the LED (ON or OFF) is printed on the Serial Monitor along with a corresponding message. The code uses a delay of 1000 milliseconds (1 second) between turning the LED on and off, and to use this code, follow the steps mentioned earlier to set up your board and upload the code. Open the Serial Monitor at a baud rate of 9600, and you should see the status messages indicating the LED state as it blinks on and off.:

// Pin connected to the LED
const int LED_PIN = 13;

// Time interval for blinking (in milliseconds)
const int BLINK_INTERVAL = 1000;

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

  // Start the Serial communication
  Serial.begin(9600);
  while (!Serial) {
    // Wait for the Serial Monitor to open
  }
  Serial.println("Blinking LED with Serial Monitor Status");
}

void loop() {
  // Turn on the LED
  digitalWrite(LED_PIN, HIGH);
  Serial.println("LED ON");
  delay(BLINK_INTERVAL);

  // Turn off the LED
  digitalWrite(LED_PIN, LOW);
  Serial.println("LED OFF");
  delay(BLINK_INTERVAL);
}

we define two constants. LED_PIN represents the pin number to which the LED is connected, which, in this case, is pin 13. BLINK_INTERVAL defines the time interval between the LED turning on and off, set to 1000 milliseconds (1 second).

In the setup() function, we perform the following tasks:

  • Set the LED pin (LED_PIN) as an output using pinMode(). This configuration is necessary to control the LED.
  • Start the Serial communication at a baud rate of 9600 using Serial.begin(). This allows us to communicate with the Arduino board via the Serial Monitor.
  • Wait in a loop until the Serial Monitor is opened. This ensures that we don't miss any status messages sent to the Serial Monitor during the startup phase.
  • Print a message, "Blinking LED with Serial Monitor Status", to the Serial Monitor using Serial.println(). This message serves as an introductory statement.

The loop() function contains the main code that runs repeatedly. Here's how it works:

  • First, we set the LED pin (LED_PIN) to a HIGH state using digitalWrite(). This turns on the LED.
  • We then send a status message, "LED ON", to the Serial Monitor using Serial.println().
  • A delay of BLINK_INTERVAL (1 second) is added using delay() to keep the LED on for the specified duration.
  • After the delay, we set the LED pin to a LOW state using digitalWrite(), turning off the LED.
  • We send another status message, "LED OFF", to the Serial Monitor.
  • Another delay of BLINK_INTERVAL is added to keep the LED off for the specified duration.
  • The code then loops back to the beginning of the loop() function and repeats the process indefinitely, resulting in the LED blinking on and off at the defined interval.

During the execution of this code, the status messages "LED ON" and "LED OFF" are printed to the Serial Monitor, allowing you to monitor the state of the LED as it blinks.

 

Technical Details:

  • Secure Element = ATECC608A
  • Radio module = u-blox NINA-W102
  • Inertial Measurement Unit = LSM6DS3TR
  • Microcontroller = ATmega4809
  • Oscillator = 16MHz
  • Input Voltage (recommended) = 7 - 12V
  • Operating Voltage = 5V
  • DC Current for 3.3V Pin = 50 mA
  • DC Current per I/O Pin = 20mA
  • Size = 53x68mm
  • Weight = 25g

 

Resources:

 

Comparisons:

A comparison between the Arduino UNO WiFi Rev 2 and the Arduino UNO Rev 3:

  1. WiFi Connectivity:
  • Arduino UNO WiFi Rev 2: The main feature of this board is the integrated WiFi connectivity, allowing it to connect to wireless networks and communicate over the internet.
  • Arduino UNO Rev 3: The Arduino UNO Rev 3 does not have built-in WiFi capabilities. It relies on external modules or shields to enable WiFi connectivity.
  1. Communication Interface:
  • Arduino UNO WiFi Rev 2: It supports WiFi communication protocols, allowing for wireless data transfer and internet connectivity.
  • Arduino UNO Rev 3: It relies on wired communication interfaces, such as USB, UART, SPI, and I2C, for data transfer and communication with other devices.
  1. Additional Features:
  • Arduino UNO WiFi Rev 2: Apart from WiFi, it has features similar to the Arduino UNO Rev 3, including digital and analog input/output pins, PWM pins, SPI pins, I2C pins, and UART pins.
  • Arduino UNO Rev 3: It does not have integrated WiFi, but it has the same set of features as the Arduino UNO WiFi Rev 2, such as digital and analog pins, PWM pins, SPI pins, I2C pins, and UART pins.
  1. Power Supply:
  • Arduino UNO WiFi Rev 2: It can be powered via USB or an external power supply (7-12V DC) connected to the power jack. It also has a built-in power over Ethernet (PoE) module for powering the board using an Ethernet cable.
  • Arduino UNO Rev 3: It can be powered via USB or an external power supply (7-12V DC) connected to the power jack.
  1. Programming:
  • Arduino UNO WiFi Rev 2: It can be programmed using the Arduino IDE and supports the same programming language and syntax as the Arduino UNO Rev 3. Additional libraries for WiFi communication are available to facilitate wireless programming and communication.
  • Arduino UNO Rev 3: It can be programmed using the Arduino IDE, and the programming language and syntax are the same as the Arduino UNO WiFi Rev 2.