https://github.com/tobymurray/esp32-mailbox
Inspired by https://learn.adafruit.com/gmailbox/, MQTT controlled mailbox flag
https://github.com/tobymurray/esp32-mailbox
Last synced: 4 months ago
JSON representation
Inspired by https://learn.adafruit.com/gmailbox/, MQTT controlled mailbox flag
- Host: GitHub
- URL: https://github.com/tobymurray/esp32-mailbox
- Owner: tobymurray
- Created: 2020-07-07T02:26:47.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2020-07-07T02:57:26.000Z (almost 5 years ago)
- Last Synced: 2024-12-30T04:18:32.772Z (5 months ago)
- Language: C
- Size: 262 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# MQTT ESP32 Mailbox
Inspired by https://learn.adafruit.com/gmailbox/, triggered my MQTT messages. "up" moves the flag up, "down" moves the flag down.
This is a mash-up of https://github.com/espressif/esp-idf/tree/6330b3345e87eb4401e7be7c8b6fea2870c35d9f/examples/protocols/mqtt/tcp and https://github.com/espressif/esp-idf/tree/6330b3345e87eb4401e7be7c8b6fea2870c35d9f/examples/peripherals/mcpwm/mcpwm_servo_control.Included is the STEP file containing a model inspired by the "DMP Rural Mailbox - Black Plastic". It is roughly 1/4 scale.
### Configure the project
* Open the project configuration menu (`idf.py menuconfig`)
* Configure Wi-Fi or Ethernet under "Example Connection Configuration" menu. See "Establishing Wi-Fi or Ethernet Connection" section in [examples/protocols/README.md](../../README.md) for more details.
* When using Make build system, set `Default serial port` under `Serial flasher config`.### Build and Flash
Build the project and flash it to the board, then run monitor tool to view serial output:
```
idf.py -p PORT flash monitor
```(To exit the serial monitor, type ``Ctrl-]``.)
See the Getting Started Guide for full steps to configure and use ESP-IDF to build projects.