A collection of example codes demonstrating how to use WiFi capabilities with Arduino, specifically focusing on the ESP8266/ESP32 modules. The examples cover various applications from basic WiFi functionalities, sensor integration, and MQTT communication to OLED displays.
MIT License
This repository contains a collection of example codes demonstrating how to use WiFi with Arduino, focusing primarily on ESP8266 and ESP32 modules. These examples are designed to help users explore and implement various IoT (Internet of Things) projects, integrating sensors, displays, and communication protocols.
The ExampleCode-AWiFi-with-Arduino repository is designed to help developers understand and implement WiFi-based IoT solutions using Arduino. Each example in this repository is crafted to demonstrate a specific use case, such as reading sensor data, controlling devices remotely, or displaying information on an OLED screen. The examples are easy to follow and can be used as a foundation for more complex projects.
To use the examples in this repository, follow these steps:
Clone the Repository:
git clone https://github.com/Compassy/ExampleCode-AWiFi-with-Arduino.git
Open in Arduino IDE:
File > Open...
and select the .ino
file from the desired example directory.Install Required Libraries:
Some examples may require additional libraries. Make sure to install them via the Arduino Library Manager (Sketch > Include Library > Manage Libraries...
).
Upload to Your Device:
Tools > Board
and Tools > Port
.