From 12195d5b8b457bfab0b6b347add3c4bb64e537ef Mon Sep 17 00:00:00 2001 From: e2002 Date: Mon, 7 Feb 2022 15:53:45 +0300 Subject: [PATCH] hardware --- README.md | 41 +++++++++++++++++++++++++++++++++++++++++ yoRadio/options.h | 1 - 2 files changed, 41 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index b11f8d2..fa7277d 100644 --- a/README.md +++ b/README.md @@ -3,6 +3,47 @@ #### Web-radio based on [ESP32-audioI2S](https://github.com/schreibfaul1/ESP32-audioI2S) library #### More images in [Images.md](Images.md) +### Hardware +#### Required: +**ESP32 board**: https://aliexpress.ru/item/32847027609.html\ +**I2S DAC**, roughly like this one: https://aliexpress.ru/item/1005001993192815.html +#### Optional: +##### Displays +- **ST7735** 1.8' or 1.44' https://aliexpress.ru/item/1005002822797745.html +- or **SSD1306** 0.96' I2C https://aliexpress.ru/item/1005001621806398.html +##### Controls +Three tact buttons or Encoder or all together +### Connection table +| SPI Display | ESP-32 | +| ------ | ------ | +| GND | GND | +| VCC | +5v | +| SCL | 18 | +| SDA | 23 | +| CSL | 5* | +| RSTL | 15* | +| DCL | 4* | + +| I2C Display | ESP-32 | +| ------ | ------ | +| GND | GND | +| VCC | +5v | +| SDA | 13* | +| SCL | 14* | + +| I2S DAC | ESP-32 | +| ------ | ------ | +| GND | GND | +| VIN | +5v | +| DOUT(DIN) | 27* | +| BCLK | 26* | +| LRC(WSEL) | 25* | + +| Buttons, Encoder | ESP-32 | +| ------ | ------ | +| GND | GND | +| PIN | * | +\* Any free pin, configured in options.h ## Version history ### v0.4.180 - Vol steps 0..256 (in ESP32-audioI2S) diff --git a/yoRadio/options.h b/yoRadio/options.h index 894db4e..a8f7abc 100644 --- a/yoRadio/options.h +++ b/yoRadio/options.h @@ -17,7 +17,6 @@ #define TFT_RST 15 // Or set to -1 and connect to Arduino RESET pin //#define TFT_RST -1 // we use the seesaw for resetting to save a pin #define TFT_DC 4 - /* * OLED I2C DISPLAY */