hannabox/README.md

39 lines
696 B
Markdown

# HannaBox
## Microcontroller
D1 Mini ESP32
Due to mp3 playback it needs a multicore esp 32:
This library only works on multi-core ESP32 chips like the ESP32-S3. It does not work on the ESP32-S2 or the ESP32-C3 warning
## Pins
```
Amplifier:
25 -> DIN
D8 -> BCLK
D4 -> LRC
5V -> Vin
GND -> GND
DAC Channel ESP32 = PIN 25
SD Card:
CS -> D1
MOSI -> D7
CLK -> D5
MISO -> D6
```
## TODOs
* Card Reader with SPI. Configure hspi, second SPI channel? Or does SD Card + RFID run at the same channel?
![](images/wemos-d1-mini-esp32.png)
## Links
https://github.com/earlephilhower/ESP8266Audio
[Running two SPI devices at once](https://randomnerdtutorials.com/esp32-spi-communication-arduino/)