The MKR WIFI 1010, manufactured by Arduino (Part ID: 21-2), is a powerful microcontroller board designed for IoT (Internet of Things) applications. It is based on the SAMD21 Cortex-M0+ 32-bit ARM microcontroller and features built-in Wi-Fi connectivity via the u-blox NINA-W102 module. This board is ideal for projects requiring wireless communication, low power consumption, and compatibility with the Arduino ecosystem.
Parameter | Specification |
---|---|
Microcontroller | SAMD21 Cortex-M0+ 32-bit ARM |
Operating Voltage | 3.3V |
Input Voltage (VIN) | 5V to 6V |
Digital I/O Pins | 8 (of which 12 support PWM) |
Analog Input Pins | 7 |
Analog Output Pins | 1 (DAC) |
Flash Memory | 256 KB |
SRAM | 32 KB |
Clock Speed | 48 MHz |
Wi-Fi Module | u-blox NINA-W102 |
Connectivity | Wi-Fi 802.11 b/g/n, BLE |
Battery Connector | Yes (Li-Po, 3.7V, 1024mAh recommended) |
Dimensions | 61.5 mm x 25 mm |
Weight | 32 g |
Pin Name | Description |
---|---|
VIN | Input voltage pin (5V to 6V) for powering the board |
3.3V | Regulated 3.3V output pin |
GND | Ground pin |
Digital Pins 0-7 | General-purpose digital I/O pins (PWM supported on some pins) |
Analog Pins A0-A6 | Analog input pins for reading sensor data |
DAC (A0) | Analog output pin for generating analog signals |
I2C (SDA, SCL) | Pins for I2C communication |
SPI (MISO, MOSI, SCK) | Pins for SPI communication |
UART (TX, RX) | Pins for serial communication |
Li-Po Connector | Connector for a 3.7V Li-Po battery |
Reset (RST) | Pin to reset the board |
Powering the Board:
Connecting to Wi-Fi:
WiFiNINA
library to configure and manage Wi-Fi connections.Programming the Board:
Interfacing with Sensors and Modules:
WiFiNINA
library for Wi-Fi functionality and ensure it is updated to the latest version.#include <WiFiNINA.h>
// Replace with your network credentials
const char* ssid = "Your_SSID"; // Your Wi-Fi network name
const char* password = "Your_PASSWORD"; // Your Wi-Fi password
void setup() {
Serial.begin(9600); // Initialize serial communication
while (!Serial); // Wait for the serial monitor to open
Serial.print("Connecting to Wi-Fi...");
WiFi.begin(ssid, password); // Start Wi-Fi connection
while (WiFi.status() != WL_CONNECTED) {
delay(1000); // Wait for connection
Serial.print(".");
}
Serial.println("\nConnected to Wi-Fi!");
Serial.print("IP Address: ");
Serial.println(WiFi.localIP()); // Print the board's IP address
}
void loop() {
// Add your main code here
}
The board is not recognized by the Arduino IDE:
Wi-Fi connection fails:
The board resets unexpectedly:
Cannot upload code to the board:
Can I use the MKR WIFI 1010 with 5V sensors?
No, the board operates at 3.3V. Use a level shifter to interface with 5V sensors.
What is the maximum range of the Wi-Fi module?
The range depends on environmental factors but typically extends up to 100 meters in open spaces.
Can I use the board without a battery?
Yes, the board can be powered via USB or the VIN pin without a battery.
Is the MKR WIFI 1010 compatible with Arduino shields?
The board is not directly compatible with standard Arduino shields due to its smaller form factor. However, it can be used with MKR-compatible shields.