# StepperMote (Arduino IDE Setup)

This project has been structured to work natively within the Arduino IDE. Open `StepperMote.ino` directly in your Arduino IDE.

## Required Libraries

Please install the following libraries via the Arduino Library Manager (`Sketch` -> `Include Library` -> `Manage Libraries`):

1. **NimBLE-Arduino** by h2zero (v2.x or newer) - For Bluetooth Low Energy provisioning.
2. **ArduinoJson** by Benoit Blanchon (v7.x or newer) - For processing API and MQTT data.
3. **PubSubClient** by Nick O'Leary - For MQTT communication.
4. **AccelStepper** by Mike McCauley - For Stepper Motor precise control.
5. **WiFiManager** by tzapu - For WiFi configuration and connectivity management.

## Board Setup

1. Add the ESP32 board manager URL in Arduino IDE Preferences if you haven't: `https://espressif.github.io/arduino-esp32/package_esp32_index.json`
2. Install the `esp32` platform using the Boards Manager.
3. Select `ESP32C6 Dev Module` (or equivalent) in the Boards menu.
4. If using `partitions.csv`, configure your partition scheme to Custom, or select a large app partition with SPIFFS/LittleFS if available.

Upload the code and enjoy!
