Project List
This section takes you from your first cloud-connected sensor to clear, production-minded device patterns through a practical learning sequence. Every project includes objectives, parts, a wiring table, PxServ keys, complete firmware examples, a test procedure, and troubleshooting notes.
Beginner · 10 Projects
Intermediate · 10 Projects
Move to multi-task loops, remote commands, calibration, and alarms.
Advanced · 5 Projects
One path across all project levels
The sequence is intentionally balanced: 10 beginner, 10 intermediate, and 5 advanced projects. You can follow end-to-end or jump directly to the level that matches your current needs.
Examples target an ESP32 DevKit V1 in Arduino IDE. PxServ also supports ESP8266, but pin names, ADC ranges, and peripheral APIs must be adapted.
One-time setup
- Create a PxServ project and copy its project API key.
- Install the ESP32 board package in Arduino IDE.
- Install PxServ
1.3.0or newer through Library Manager. - Replace
WIFI_SSID,WIFI_PASSWORD, andPXSERV_API_KEYin each sketch. - Select your exact ESP32 board and serial port.
Never publish your API key. In a real product, keep credentials in a separate configuration file excluded from version control.
Electrical safety
- ESP32 GPIO uses 3.3 V logic; never apply a 5 V signal directly.
- Level-shift 5 V outputs such as HC-SR04 ECHO before connecting them to ESP32.
- Power pumps, motors, and servos from a suitable external supply and share GND.
- Relay examples are for safe, low-voltage DC loads only. Do not work with mains voltage.
- Confirm your module’s pinout and voltage limits in its manufacturer documentation.
PxServ key model
PxServ sends values as strings. Keys use only a short project prefix—such as buzzer/command, greenhouse/temperature, or gps/status—without a skill-level prefix.
client.setData("temperature-humidity/temperature", String(temperature, 1));The series is based on the official PxServ Arduino source , the Arduino language reference , Arduino-ESP32 documentation , and the sensor references linked in each project.
Start with Cloud Hello.