Quick Start
Get a device online in a few minutes.
1. Install the library
PlatformIO — add to platformio.ini:
lib_deps = https://github.com/pulsync/pulsync-arduino.git Arduino IDE — download the latest .zip from Releases and use Sketch → Include Library → Add .ZIP Library.
2. Get a pairing code
Create a device in the portal and copy its pairing code (e.g. PUL-A7K9X2). Hardcode it in begin().
3. Flash this sketch
#include <Pulsync.h>
void setup() {
Serial.begin(115200);
Pulsync.setWiFi("YourSSID", "YourPassword");
Pulsync.begin("PUL-A7K9X2");
Pulsync.setInterval([]() {
Pulsync.send("temperature", analogRead(34) * 0.1f);
}, 5000);
}
void loop() {
Pulsync.loop();
} On first boot the device claims a token and starts sending data. If it can’t find WiFi, it opens a captive portal so you can configure credentials from your phone.
Next
- Learn the core concepts
- Browse the full API reference