Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/klein0r/esp32-smarthome-center

ESP32 Smart home center
https://github.com/klein0r/esp32-smarthome-center

audio esp32 esp32-a1s smart-home

Last synced: 4 months ago
JSON representation

ESP32 Smart home center

Awesome Lists containing this project

README

        

# ESP32 SmartHome Center

## How to start

1. ``cp ./credentials.h.dist ./src/credentials.h``
2. Modify ``./src/credentials.h``
3. Build and upload

## Hardware

Based on [ESP32-A1S-AudioKit](https://docs.ai-thinker.com/en/esp32-audio-kit)

- [ESP32-D0WD / ESP32-A1S](https://github.com/Ai-Thinker-Open/ESP32-A1S-AudioKit)

```
esptool.py v4.1
Serial port /dev/cu.usbserial-0001
Connecting....
Detecting chip type... Unsupported detection protocol, switching and trying again...
Connecting.....
Detecting chip type... ESP32
Chip is ESP32-D0WD (revision 1)
Features: WiFi, BT, Dual Core, 240MHz, VRef calibration in efuse, Coding Scheme None
Crystal is 40MHz
MAC: a4:e5:7c:e9:30:70
Uploading stub...
Running stub...
Stub running...
Warning: ESP32 has no Chip ID. Reading MAC instead.
MAC: a4:e5:7c:e9:30:70
Hard resetting via RTS pin...
```

## Jumper

- Jumper positions are: OFF,ON,ON,OFF,OFF

## SD-Card

- Format as exFAT
- Copy mp3 files and configuration file to the SD-Card

Requirements: 64 kbps / 24kHz / Mono (you can convert your files by using https://onlineaudioconverter.com)

## Dependencies

- https://github.com/pschatzmann/arduino-audio-tools/tree/v0.9.4
- https://github.com/pschatzmann/arduino-audiokit/tree/v0.6.3
- https://github.com/pschatzmann/arduino-libhelix/tree/v0.8 (mp3 decoder)
- https://github.com/pschatzmann/arduino-libmad/tree/v0.7 (mp3 decoder)
- https://github.com/greiman/SdFat/tree/2.2.0
- https://github.com/knolleary/pubsubclient/tree/v2.8