802.11 b/g/n protocol support, with a frequency range of 2.4 GHz
| + WiFi mode | Station, SoftAP, and Wi-Fi Direct |
+ Supports WPA/WPA2 encryption and WPS
802.11 b/g/n protocol support, with a frequency range of 2.4 GHz
| + WiFi mode | Station, SoftAP, and Wi-Fi Direct |
+ Supports WPA/WPA2 encryption and WPS
4.2 BR/EDR and BLE (Low Energy) protocol support, with a frequency range of 2.4 GHz
| + Bluetooth mode | Classic, HID, SPP, and BLE peripheral |
### Peripherals and Interfaces
32 programmable GPIO pins, with support for SPI, I2S, I2C, UART, and PWM
1x USB interface (USB-C) for programming and debugging
1x JTAG interface for debugging and programming
2x UART interfaces (1x hardware, 1x software)
1x SPI interface (supports up to 4x slaves)
| I2C | 1x I2C interface (supports up to 2x slaves) |
| I2S | 1x I2S interface (supports audio streaming) |
### Power Management
3.3V
80mA (average), 300mA (peak)
Supports multiple power-saving modes, including deep sleep, light sleep, and hibernation
Supports software and hardware reset
### Other Features
-40C to 85C
25.4mm x 51.3mm (1 inch x 2 inches)
FCC, CE, and RoHS compliant
Supports Arduino, MicroPython, and ESP-IDF development environments
Applications
| The WeMos Lolin V1.0 is suitable for a wide range of IoT applications, including |
Smart home automation
Industrial automation
Wearable devices
Robotics and drones
Wireless sensor networks
BLE-based peripherals
WiFi-enabled appliances
Conclusion
The WeMos Lolin V1.0 WiFi + Bluetooth module is a powerful and feature-rich microcontroller module, ideal for IoT projects requiring dual-mode wireless connectivity. Its compact size, low power consumption, and versatility make it an attractive solution for a broad range of applications.
WeMos Lolin V1.0 WiFi+Bluetooth Module DocumentationOverviewThe WeMos Lolin V1.0 is a versatile WiFi and Bluetooth module based on the ESP32 microcontroller. It provides a compact and cost-effective solution for IoT projects, offering dual-mode WiFi and Bluetooth 4.0 connectivity. This module is ideal for projects requiring wireless communication, low power consumption, and a wide range of peripherals.FeaturesESP32 microcontroller with dual-core 32-bit LX6 microprocessor
Dual-mode WiFi (AP/STA) and Bluetooth 4.0
Supports UART, SPI, I2C, I2S, and GPIO interfaces
Onboard antenna for WiFi and Bluetooth
USB-to-UART bridge for programming and debugging
Operating voltage: 3.3V
Compact size: 25.5mm x 20.5mm x 3.5mmPinout| Pin | Function |
| --- | --- |
| 3V3 | 3.3V Power Supply |
| GND | Ground |
| VIN | External Power Supply (5V) |
| EN | Enable Pin (Active High) |
| RX | UART RX Pin |
| TX | UART TX Pin |
| GPIO0 | GPIO Pin 0 |
| GPIO1 | GPIO Pin 1 |
| ... | ... |
| GPIO39 | GPIO Pin 39 |Getting StartedTo get started with the WeMos Lolin V1.0, you'll need:A USB-to-UART bridge (e.g., FTDI or CP2102)
A computer with a USB port
The Arduino IDE or a compatible development environmentCode Examples### Example 1: WiFi ScannerThis example demonstrates how to use the WeMos Lolin V1.0 to scan for nearby WiFi networks:
```cpp
#include <WiFi.h>void setup() {
Serial.begin(115200);
WiFi.mode(WIFI_STA); // Set WiFi mode to Station (STA)
}void loop() {
Serial.println("Scanning for WiFi networks...");
int numNetworks = WiFi.scanNetworks();
Serial.println("Found " + String(numNetworks) + " networks:");
for (int i = 0; i < numNetworks; i++) {
Serial.println(WiFi.SSID(i) + " (" + WiFi.RSSI(i) + " dBm)");
}
delay(5000);
}
```
### Example 2: Bluetooth Low Energy (BLE) BeaconThis example shows how to use the WeMos Lolin V1.0 to advertise a BLE beacon:
```cpp
#include <BLE.h>void setup() {
Serial.begin(115200);
BLE.begin();
BLE.setDeviceName("My BLE Beacon");
BLE.setLocalName("My BLE Beacon");
BLE.setAdvertisedServiceUuid(BLEUUID("180f")); // Generic Access Profile
}void loop() {
BLE.advertise();
delay(1000);
}
```
### Example 3: WiFi Web ServerThis example demonstrates how to create a simple WiFi web server using the WeMos Lolin V1.0:
```cpp
#include <WiFi.h>
#include <WiFiServer.h>WiFiServer server(80);void setup() {
Serial.begin(115200);
WiFi.softAP("My WiFi AP", "12345678"); // Set up WiFi AP
IPAddress myIP = IPAddress(192, 168, 4, 1);
server.begin();
}void loop() {
WiFiClient client = server.available();
if (client) {
String request = client.readStringUntil('
');
client.println("HTTP/1.1 200 OK");
client.println("Content-Type: text/html");
client.println("");
client.println("<html><body><h1>Hello, World!</h1></body></html>");
delay(1);
client.stop();
}
}
```
NotesMake sure to install the necessary libraries and board definitions in your Arduino IDE or development environment.
The WeMos Lolin V1.0 is a powerful module, and its capabilities go beyond these examples. Be sure to explore the module's documentation and datasheet for further information.I hope this documentation helps you get started with the WeMos Lolin V1.0 WiFi+Bluetooth module!