This project is useful for controlling the blind. Related to another jarolift domotic project
- 1 ESP32
- 1 ESP32 adaptor board
- 1 MCP1700
- 1 Capacitor 100µF
- 1 Capacitor 10nF
- 3 Resistance 12 ohms
- 2 Resistance 47k
- 2 White LED Light Momentary 3V
- 1 Red LED Light Momentary 3V
- 1 3 x AA Power Battery Case Box
| Variable | Description | Default |
|---|---|---|
| WiFiSSID | Wifi SSID | |
| WiFiPassword | Wifi password | |
| serverName | Exposed API | http://SERVER_IP:8080/api/ |
| boardUserAgent | User Agent Name | ESP32 board (kitchen blind) |
| binVersion | Binary version | 2020-08-25.bin |
| gpioBatteryLevel | GPIO to read the battery level | 34 |
| defaultChannel | The channel that you want to manage | 2 |
| gpioUpButton | Up button GPIO | 15 |
| gpioUpLed | GPIO for Up button LED | 8 |
| upChannel | Up channel LED | 1 |
| gpioStopButton | Stop button GPIO | 2 |
| gpioStopLed | GPIO for Stop button LED | 19 |
| stopChannel | Stop channel LED | 2 |
| gpioDownButton | Down button GPIO | 4 |
| gpioDownLed | GPIO for Down button LED | 21 |
| downChannel | Down channel LED | 3 |
| BUTTON_PIN_BITMASK | GPIOs Mask for several wake up | 0x8014 |
From deep sleep mode, wakes up when any button is pressed
- Connecting WIFI (blinking all the LEDs until the wifi is connected)
- Checking battery level
- Execute the button pressed command (up, stop, down)
- It will wait for another button to be pressed for 20 seconds
- Checking OTA updates (blinking stop button during the process)
- Return to sleep mode (fadeout of all buttons)
