Browse Source

Adding stuff for new AZDelivery-PCB

master
Torsten Stauder 4 years ago
parent
commit
c288555488
  1. 6
      PCBs/AZDelivery_ESP32_NodeMCU/README.md
  2. BIN
      PCBs/AZDelivery_ESP32_NodeMCU/gerber/gerber.zip
  3. BIN
      PCBs/AZDelivery_ESP32_NodeMCU/pictures/3d-model-back.png
  4. BIN
      PCBs/AZDelivery_ESP32_NodeMCU/pictures/3d-model_front.png
  5. BIN
      PCBs/AZDelivery_ESP32_NodeMCU/pictures/Schematics.pdf
  6. BIN
      PCBs/AZDelivery_ESP32_NodeMCU/pictures/Soldered.jpg
  7. BIN
      PCBs/AZDelivery_ESP32_NodeMCU/pictures/Soldered_with_peripherals.jpg
  8. BIN
      PCBs/ESP32_Breakout_Carrier/Pictures/Schematics.pdf
  9. BIN
      PCBs/ESP32_Breakout_Carrier/Pictures/assembled.jpeg
  10. 64
      PCBs/ESP32_Breakout_Carrier/Readme.md
  11. 5880
      PCBs/ESP32_Breakout_Carrier/gerber/ESPuino-ESP32_2-B_Cu.gbr
  12. 174
      PCBs/ESP32_Breakout_Carrier/gerber/ESPuino-ESP32_2-B_Mask.gbr
  13. 29
      PCBs/ESP32_Breakout_Carrier/gerber/ESPuino-ESP32_2-B_Paste.gbr
  14. 15
      PCBs/ESP32_Breakout_Carrier/gerber/ESPuino-ESP32_2-B_SilkS.gbr
  15. 46
      PCBs/ESP32_Breakout_Carrier/gerber/ESPuino-ESP32_2-Edge_Cuts.gbr
  16. 6101
      PCBs/ESP32_Breakout_Carrier/gerber/ESPuino-ESP32_2-F_Cu.gbr
  17. 174
      PCBs/ESP32_Breakout_Carrier/gerber/ESPuino-ESP32_2-F_Mask.gbr
  18. 29
      PCBs/ESP32_Breakout_Carrier/gerber/ESPuino-ESP32_2-F_Paste.gbr
  19. 3373
      PCBs/ESP32_Breakout_Carrier/gerber/ESPuino-ESP32_2-F_SilkS.gbr
  20. 205
      PCBs/ESP32_Breakout_Carrier/gerber/ESPuino-ESP32_2-NPTH-drl_map.ps
  21. 13
      PCBs/ESP32_Breakout_Carrier/gerber/ESPuino-ESP32_2-NPTH.drl
  22. 3258
      PCBs/ESP32_Breakout_Carrier/gerber/ESPuino-ESP32_2-PTH-drl_map.ps
  23. 122
      PCBs/ESP32_Breakout_Carrier/gerber/ESPuino-ESP32_2-PTH.drl
  24. 128
      PCBs/ESP32_Breakout_Carrier/gerber/ESPuino-ESP32_2-job.gbrjob
  25. 4
      PCBs/Headphone with PCM5102a and TDA1308/README.md
  26. 2
      platformio.ini
  27. 119
      src/settings-azdelivery_sdmmc.h
  28. 18
      src/settings.h

6
PCBs/AZDelivery_ESP32_NodeMCU/README.md

@ -0,0 +1,6 @@
# ESPuino-PCB based on AZ Delivery's ESP32 NodeMCU / Devkit C
## Features
For complete feature-list and explanations please have a look [here](https://forum.espuino.de/t/az-delivery-esp32-nodemcu-devkit-c-mit-sd-mmc-und-pn5180-als-rfid-leser/634). In the past I wrote everything in English, too, but as it turns out (surprise surprise) it's too much work.
Feel free to order this PCB yourself using the Gerber-files provided or contact me via forum (linked above).

BIN
PCBs/AZDelivery_ESP32_NodeMCU/gerber/gerber.zip

BIN
PCBs/AZDelivery_ESP32_NodeMCU/pictures/3d-model-back.png

After

Width: 487  |  Height: 702  |  Size: 88 KiB

BIN
PCBs/AZDelivery_ESP32_NodeMCU/pictures/3d-model_front.png

After

Width: 488  |  Height: 703  |  Size: 112 KiB

BIN
PCBs/AZDelivery_ESP32_NodeMCU/pictures/Schematics.pdf

BIN
PCBs/AZDelivery_ESP32_NodeMCU/pictures/Soldered.jpg

After

Width: 2048  |  Height: 1152  |  Size: 691 KiB

BIN
PCBs/AZDelivery_ESP32_NodeMCU/pictures/Soldered_with_peripherals.jpg

After

Width: 2048  |  Height: 1152  |  Size: 826 KiB

BIN
PCBs/ESP32_Breakout_Carrier/Pictures/Schematics.pdf

BIN
PCBs/ESP32_Breakout_Carrier/Pictures/assembled.jpeg

Before

Width: 1600  |  Height: 1200  |  Size: 182 KiB

64
PCBs/ESP32_Breakout_Carrier/Readme.md

@ -1,64 +0,0 @@
## Disclaimer
This PCB was kindly provided by a user (@mariolukas) of ESPuino and I (@biologist79) didn't test it myself. PCB-circuit is provided 'as is' without warranty. It was made to keep wiring much simpler. However, Mario stated it's working fine with his ESPuinos.
## ESP32 I2S breakout carrier PCB
This is a simple PCB which makes wiring the whole stuff much easier. It contains connections for all components which are described in the projects wiring table. An [ESP32 from AZ-Delivery](https://www.amazon.de/AZDelivery-NodeMCU-Development-Nachfolgermodell-ESP8266/dp/B074RGW2VQ/) was used but every pin-Compatible ESP32-board will do the job.
![Assembled Board](Pictures/assembled.jpeg)
The image shows my first board which came with a litte wiring-bug. Don't worry: the bug is fixed in the current version. I ordered my board at aisler.net, there is already and upload-link available: [https://aisler.net/p/YTYZJZMM](https://aisler.net/p/YTYZJZMM). Gerberfiles (`gerber.zip`) are also available, so ordering for instance at [JCLPCB](https://jlcpcb.com/) is also possible.
## Features
* Fits [ESP32 from AZ-Delivery](https://www.amazon.de/AZDelivery-NodeMCU-Development-Nachfolgermodell-ESP8266/dp/B074RGW2VQ/)
* Outer diameter: 72 x 82mm
* 2.54mm-connectors for all peripherals.
* NPN-transistor/pMosfet-circuit that switches off MAX98357a, Neopixel and uSD-card-reader automatically when ESP32's deepsleep is active (RC522 is directly driven by GPIO17).
* All peripherals are driven at 5V! Keep this especially in mind when choosing uSD-reader. Never use one without voltage-regulator! [This one](https://www.amazon.de/AZDelivery-Reader-Speicher-Memory-Arduino/dp/B077MCQS9P) would fit for instance.
## Prerequisites
* Edit `settings.h` first according your needs. However, some settings are fixed:
* Set HAL=1
* Disable `HEADPHONE_ADJUST_ENABLE`, `MEASURE_BATTERY_VOLTAGE`, `SD_MMC_1BIT_MODE` and `SINGLE_SPI_ENABLE` as these are not supported
* Edit `settings-lolin32.h` according the wiring-table below. Don't worry that your board isn't in fact a Lolin32. It's just there to make life easier for those, that use Lolin32, but that doesn't mean it wouldn't work with different boards.
## PCB-wiring (2 SPI-instances: RC522 + SD)
Uses two SPI-instances. The first one for the RFID-reader and the second for SD-card-reader. Make sure to edit `settings-lolin32.h` according this table! Please refer `Schematics.pdf` for reference. <br />
| ESP32 (GPIO) | Hardware | Pin | Comment |
| ------------- | --------------------- | ------ | ------------------------------------------------------------ |
| 5 V | SD-reader | VCC | |
| GND | SD-reader | GND | |
| 15 | SD-reader | CS | |
| 13 | SD-reader | MOSI | |
| 16 | SD-reader | MISO | |
| 14 | SD-reader | SCK | |
| 17 | RFID-reader | 3.3V | Directly connected to GPIO 17 for power-saving when uC is off |
| GND | RFID-reader | GND | |
| 21 | RFID-reader | CS/SDA | |
| 22 | RFID-reader | RST | |
| 23 | RFID-reader | MOSI | |
| 19 | RFID-reader | MISO | |
| 18 | RFID-reader | SCK | |
| 5 V | MAX98357 | VIN | |
| GND | MAX98357 | GND | |
| 25 | MAX98357 | DIN | |
| 27 | MAX98357 | BCLK | |
| 26 | MAX98357 | LRC | |
| --- | MAX98357 | SD | not connected |
| 34 | Rotary encoder | CLK | Change CLR with DT if you want to change the direction of RE |
| 35 | Rotary encoder | DT | Change CLR with DT if you want to change the direction of RE |
| 32 | Rotary encoder | BUTTON | |
| 3.3 V | Rotary encoder | + | |
| GND | Rotary encoder | GND | |
| 4 | Button (next) | | |
| GND | Button (next) | | |
| 33 | Button (previous) | | |
| GND | Button (previous) | | |
| 5 | Button (pause/play) | | |
| GND | Button (pause/play) | | |
| 5 V | Neopixel | V | |
| GND | Neopixel | G | |
| 12 | Neopixel | DI | |
| 17 | BC337-40 | Base | |
## Antenna-improvements
It is recommended to solder an external antenna to the ESP32 for preventing connection issues. Cheap ESP32 boards come with an antenna which is laying on the PCB. The newer ones provide an ESP32-board where the antenna-part protrudes over the edge.
You can find some useful tips for soldering an antenna to the old ones here:
[https://community.home-assistant.io/t/how-to-add-an-external-antenna-to-an-esp-board/131601](https://community.home-assistant.io/t/how-to-add-an-external-antenna-to-an-esp-board/131601)

5880
PCBs/ESP32_Breakout_Carrier/gerber/ESPuino-ESP32_2-B_Cu.gbr
File diff suppressed because it is too large
View File

174
PCBs/ESP32_Breakout_Carrier/gerber/ESPuino-ESP32_2-B_Mask.gbr

@ -1,174 +0,0 @@
%TF.GenerationSoftware,KiCad,Pcbnew,(5.1.8-0-10_14)*%
%TF.CreationDate,2021-01-10T22:50:04+01:00*%
%TF.ProjectId,Tonuino-ESP32_2,546f6e75-696e-46f2-9d45-535033325f32,rev?*%
%TF.SameCoordinates,Original*%
%TF.FileFunction,Soldermask,Bot*%
%TF.FilePolarity,Negative*%
%FSLAX46Y46*%
G04 Gerber Fmt 4.6, Leading zero omitted, Abs format (unit mm)*
G04 Created by KiCad (PCBNEW (5.1.8-0-10_14)) date 2021-01-10 22:50:04*
%MOMM*%
%LPD*%
G01*
G04 APERTURE LIST*
%ADD10C,5.700000*%
%ADD11C,1.530000*%
%ADD12R,1.530000X1.530000*%
%ADD13O,1.700000X1.700000*%
%ADD14R,1.700000X1.700000*%
%ADD15C,1.676400*%
%ADD16O,2.000000X1.905000*%
%ADD17R,2.000000X1.905000*%
%ADD18R,1.500000X1.500000*%
%ADD19C,1.500000*%
G04 APERTURE END LIST*
D10*
%TO.C,REF\u002A\u002A*%
X201554080Y-108699300D03*
%TD*%
%TO.C,REF\u002A\u002A*%
X137579100Y-34841180D03*
%TD*%
D11*
%TO.C,U1*%
X166370000Y-62240000D03*
X166370000Y-64780000D03*
X166370000Y-67320000D03*
X166370000Y-69860000D03*
X166370000Y-72400000D03*
X166370000Y-74940000D03*
X166370000Y-77480000D03*
X166370000Y-80020000D03*
X166370000Y-82560000D03*
X166370000Y-85100000D03*
X166370000Y-87640000D03*
X166370000Y-90180000D03*
X166370000Y-92720000D03*
X166370000Y-95260000D03*
X166370000Y-97800000D03*
X166370000Y-100340000D03*
X166370000Y-102880000D03*
X166370000Y-105420000D03*
X166370000Y-107960000D03*
X140970000Y-107960000D03*
X140970000Y-105420000D03*
X140970000Y-102880000D03*
X140970000Y-100340000D03*
X140970000Y-97800000D03*
X140970000Y-95260000D03*
X140970000Y-92720000D03*
X140970000Y-90180000D03*
X140970000Y-87640000D03*
X140970000Y-85100000D03*
X140970000Y-82560000D03*
X140970000Y-80020000D03*
X140970000Y-77480000D03*
X140970000Y-74940000D03*
X140970000Y-72400000D03*
X140970000Y-69860000D03*
X140970000Y-67320000D03*
X140970000Y-64780000D03*
D12*
X140970000Y-62240000D03*
%TD*%
D13*
%TO.C,J1*%
X177800000Y-68580000D03*
X180340000Y-68580000D03*
X182880000Y-68580000D03*
X185420000Y-68580000D03*
X187960000Y-68580000D03*
D14*
X190500000Y-68580000D03*
%TD*%
D13*
%TO.C,J9*%
X177800000Y-35560000D03*
D14*
X175260000Y-35560000D03*
%TD*%
D13*
%TO.C,J8*%
X199390000Y-35560000D03*
X199390000Y-38100000D03*
D14*
X199390000Y-40640000D03*
%TD*%
D13*
%TO.C,J7*%
X189230000Y-40640000D03*
D14*
X186690000Y-40640000D03*
%TD*%
D13*
%TO.C,J6*%
X189230000Y-35560000D03*
D14*
X186690000Y-35560000D03*
%TD*%
D13*
%TO.C,J5*%
X189230000Y-45720000D03*
D14*
X186690000Y-45720000D03*
%TD*%
D13*
%TO.C,J2*%
X199390000Y-48260000D03*
X199390000Y-50800000D03*
X199390000Y-53340000D03*
X199390000Y-55880000D03*
X199390000Y-58420000D03*
X199390000Y-60960000D03*
X199390000Y-63500000D03*
D14*
X199390000Y-66040000D03*
%TD*%
D13*
%TO.C,J3*%
X139766040Y-50185320D03*
X142306040Y-50185320D03*
X144846040Y-50185320D03*
X147386040Y-50185320D03*
X149926040Y-50185320D03*
X152466040Y-50185320D03*
D14*
X155006040Y-50185320D03*
%TD*%
D13*
%TO.C,J4*%
X190500000Y-53340000D03*
X187960000Y-53340000D03*
X185420000Y-53340000D03*
X182880000Y-53340000D03*
D14*
X180340000Y-53340000D03*
%TD*%
D15*
%TO.C,R5*%
X181102000Y-46990000D03*
X171958000Y-46990000D03*
%TD*%
%TO.C,R4*%
X181102000Y-40640000D03*
X171958000Y-40640000D03*
%TD*%
%TO.C,R1*%
X160020000Y-46990000D03*
X169164000Y-46990000D03*
%TD*%
D16*
%TO.C,Q2*%
X166370000Y-36830000D03*
X166370000Y-39370000D03*
D17*
X166370000Y-41910000D03*
%TD*%
D18*
%TO.C,Q1*%
X172720000Y-53340000D03*
D19*
X167640000Y-53340000D03*
X170180000Y-53340000D03*
%TD*%
M02*

29
PCBs/ESP32_Breakout_Carrier/gerber/ESPuino-ESP32_2-B_Paste.gbr

@ -1,29 +0,0 @@
%TF.GenerationSoftware,KiCad,Pcbnew,(5.1.8-0-10_14)*%
%TF.CreationDate,2021-01-10T22:50:04+01:00*%
%TF.ProjectId,Tonuino-ESP32_2,546f6e75-696e-46f2-9d45-535033325f32,rev?*%
%TF.SameCoordinates,Original*%
%TF.FileFunction,Paste,Bot*%
%TF.FilePolarity,Positive*%
%FSLAX46Y46*%
G04 Gerber Fmt 4.6, Leading zero omitted, Abs format (unit mm)*
G04 Created by KiCad (PCBNEW (5.1.8-0-10_14)) date 2021-01-10 22:50:04*
%MOMM*%
%LPD*%
G01*
G04 APERTURE LIST*
%ADD10C,1.676400*%
G04 APERTURE END LIST*
D10*
%TO.C,R5*%
X181102000Y-46990000D03*
X171958000Y-46990000D03*
%TD*%
%TO.C,R4*%
X181102000Y-40640000D03*
X171958000Y-40640000D03*
%TD*%
%TO.C,R1*%
X160020000Y-46990000D03*
X169164000Y-46990000D03*
%TD*%
M02*

15
PCBs/ESP32_Breakout_Carrier/gerber/ESPuino-ESP32_2-B_SilkS.gbr

@ -1,15 +0,0 @@
%TF.GenerationSoftware,KiCad,Pcbnew,(5.1.8-0-10_14)*%
%TF.CreationDate,2021-01-10T22:50:04+01:00*%
%TF.ProjectId,Tonuino-ESP32_2,546f6e75-696e-46f2-9d45-535033325f32,rev?*%
%TF.SameCoordinates,Original*%
%TF.FileFunction,Legend,Bot*%
%TF.FilePolarity,Positive*%
%FSLAX46Y46*%
G04 Gerber Fmt 4.6, Leading zero omitted, Abs format (unit mm)*
G04 Created by KiCad (PCBNEW (5.1.8-0-10_14)) date 2021-01-10 22:50:04*
%MOMM*%
%LPD*%
G01*
G04 APERTURE LIST*
G04 APERTURE END LIST*
M02*

46
PCBs/ESP32_Breakout_Carrier/gerber/ESPuino-ESP32_2-Edge_Cuts.gbr

@ -1,46 +0,0 @@
%TF.GenerationSoftware,KiCad,Pcbnew,(5.1.8-0-10_14)*%
%TF.CreationDate,2021-01-10T22:50:04+01:00*%
%TF.ProjectId,Tonuino-ESP32_2,546f6e75-696e-46f2-9d45-535033325f32,rev?*%
%TF.SameCoordinates,Original*%
%TF.FileFunction,Profile,NP*%
%FSLAX46Y46*%
G04 Gerber Fmt 4.6, Leading zero omitted, Abs format (unit mm)*
G04 Created by KiCad (PCBNEW (5.1.8-0-10_14)) date 2021-01-10 22:50:04*
%MOMM*%
%LPD*%
G01*
G04 APERTURE LIST*
%TA.AperFunction,Profile*%
%ADD10C,0.050000*%
%TD*%
G04 APERTURE END LIST*
D10*
X133350000Y-109220000D02*
X133350000Y-34290000D01*
X201930000Y-113030000D02*
X137160000Y-113030000D01*
X205740000Y-34290000D02*
X205740000Y-109220000D01*
X201930000Y-30480000D02*
X137160000Y-30480000D01*
X133350000Y-34290000D02*
G75*
G02*
X137160000Y-30480000I3810000J0D01*
G01*
X137160000Y-113030000D02*
G75*
G02*
X133350000Y-109220000I0J3810000D01*
G01*
X205740000Y-109220000D02*
G75*
G02*
X201930000Y-113030000I-3810000J0D01*
G01*
X201930000Y-30480000D02*
G75*
G02*
X205740000Y-34290000I0J-3810000D01*
G01*
M02*

6101
PCBs/ESP32_Breakout_Carrier/gerber/ESPuino-ESP32_2-F_Cu.gbr
File diff suppressed because it is too large
View File

174
PCBs/ESP32_Breakout_Carrier/gerber/ESPuino-ESP32_2-F_Mask.gbr

@ -1,174 +0,0 @@
%TF.GenerationSoftware,KiCad,Pcbnew,(5.1.8-0-10_14)*%
%TF.CreationDate,2021-01-10T22:50:04+01:00*%
%TF.ProjectId,Tonuino-ESP32_2,546f6e75-696e-46f2-9d45-535033325f32,rev?*%
%TF.SameCoordinates,Original*%
%TF.FileFunction,Soldermask,Top*%
%TF.FilePolarity,Negative*%
%FSLAX46Y46*%
G04 Gerber Fmt 4.6, Leading zero omitted, Abs format (unit mm)*
G04 Created by KiCad (PCBNEW (5.1.8-0-10_14)) date 2021-01-10 22:50:04*
%MOMM*%
%LPD*%
G01*
G04 APERTURE LIST*
%ADD10C,5.700000*%
%ADD11C,1.530000*%
%ADD12R,1.530000X1.530000*%
%ADD13O,1.700000X1.700000*%
%ADD14R,1.700000X1.700000*%
%ADD15C,1.676400*%
%ADD16O,2.000000X1.905000*%
%ADD17R,2.000000X1.905000*%
%ADD18R,1.500000X1.500000*%
%ADD19C,1.500000*%
G04 APERTURE END LIST*
D10*
%TO.C,REF\u002A\u002A*%
X201554080Y-108699300D03*
%TD*%
%TO.C,REF\u002A\u002A*%
X137579100Y-34841180D03*
%TD*%
D11*
%TO.C,U1*%
X166370000Y-62240000D03*
X166370000Y-64780000D03*
X166370000Y-67320000D03*
X166370000Y-69860000D03*
X166370000Y-72400000D03*
X166370000Y-74940000D03*
X166370000Y-77480000D03*
X166370000Y-80020000D03*
X166370000Y-82560000D03*
X166370000Y-85100000D03*
X166370000Y-87640000D03*
X166370000Y-90180000D03*
X166370000Y-92720000D03*
X166370000Y-95260000D03*
X166370000Y-97800000D03*
X166370000Y-100340000D03*
X166370000Y-102880000D03*
X166370000Y-105420000D03*
X166370000Y-107960000D03*
X140970000Y-107960000D03*
X140970000Y-105420000D03*
X140970000Y-102880000D03*
X140970000Y-100340000D03*
X140970000Y-97800000D03*
X140970000Y-95260000D03*
X140970000Y-92720000D03*
X140970000Y-90180000D03*
X140970000Y-87640000D03*
X140970000Y-85100000D03*
X140970000Y-82560000D03*
X140970000Y-80020000D03*
X140970000Y-77480000D03*
X140970000Y-74940000D03*
X140970000Y-72400000D03*
X140970000Y-69860000D03*
X140970000Y-67320000D03*
X140970000Y-64780000D03*
D12*
X140970000Y-62240000D03*
%TD*%
D13*
%TO.C,J1*%
X177800000Y-68580000D03*
X180340000Y-68580000D03*
X182880000Y-68580000D03*
X185420000Y-68580000D03*
X187960000Y-68580000D03*
D14*
X190500000Y-68580000D03*
%TD*%
D13*
%TO.C,J9*%
X177800000Y-35560000D03*
D14*
X175260000Y-35560000D03*
%TD*%
D13*
%TO.C,J8*%
X199390000Y-35560000D03*
X199390000Y-38100000D03*
D14*
X199390000Y-40640000D03*
%TD*%
D13*
%TO.C,J7*%
X189230000Y-40640000D03*
D14*
X186690000Y-40640000D03*
%TD*%
D13*
%TO.C,J6*%
X189230000Y-35560000D03*
D14*
X186690000Y-35560000D03*
%TD*%
D13*
%TO.C,J5*%
X189230000Y-45720000D03*
D14*
X186690000Y-45720000D03*
%TD*%
D13*
%TO.C,J2*%
X199390000Y-48260000D03*
X199390000Y-50800000D03*
X199390000Y-53340000D03*
X199390000Y-55880000D03*
X199390000Y-58420000D03*
X199390000Y-60960000D03*
X199390000Y-63500000D03*
D14*
X199390000Y-66040000D03*
%TD*%
D13*
%TO.C,J3*%
X139766040Y-50185320D03*
X142306040Y-50185320D03*
X144846040Y-50185320D03*
X147386040Y-50185320D03*
X149926040Y-50185320D03*
X152466040Y-50185320D03*
D14*
X155006040Y-50185320D03*
%TD*%
D13*
%TO.C,J4*%
X190500000Y-53340000D03*
X187960000Y-53340000D03*
X185420000Y-53340000D03*
X182880000Y-53340000D03*
D14*
X180340000Y-53340000D03*
%TD*%
D15*
%TO.C,R5*%
X181102000Y-46990000D03*
X171958000Y-46990000D03*
%TD*%
%TO.C,R4*%
X181102000Y-40640000D03*
X171958000Y-40640000D03*
%TD*%
%TO.C,R1*%
X160020000Y-46990000D03*
X169164000Y-46990000D03*
%TD*%
D16*
%TO.C,Q2*%
X166370000Y-36830000D03*
X166370000Y-39370000D03*
D17*
X166370000Y-41910000D03*
%TD*%
D18*
%TO.C,Q1*%
X172720000Y-53340000D03*
D19*
X167640000Y-53340000D03*
X170180000Y-53340000D03*
%TD*%
M02*

29
PCBs/ESP32_Breakout_Carrier/gerber/ESPuino-ESP32_2-F_Paste.gbr

@ -1,29 +0,0 @@
%TF.GenerationSoftware,KiCad,Pcbnew,(5.1.8-0-10_14)*%
%TF.CreationDate,2021-01-10T22:50:04+01:00*%
%TF.ProjectId,Tonuino-ESP32_2,546f6e75-696e-46f2-9d45-535033325f32,rev?*%
%TF.SameCoordinates,Original*%
%TF.FileFunction,Paste,Top*%
%TF.FilePolarity,Positive*%
%FSLAX46Y46*%
G04 Gerber Fmt 4.6, Leading zero omitted, Abs format (unit mm)*
G04 Created by KiCad (PCBNEW (5.1.8-0-10_14)) date 2021-01-10 22:50:04*
%MOMM*%
%LPD*%
G01*
G04 APERTURE LIST*
%ADD10C,1.676400*%
G04 APERTURE END LIST*
D10*
%TO.C,R5*%
X181102000Y-46990000D03*
X171958000Y-46990000D03*
%TD*%
%TO.C,R4*%
X181102000Y-40640000D03*
X171958000Y-40640000D03*
%TD*%
%TO.C,R1*%
X160020000Y-46990000D03*
X169164000Y-46990000D03*
%TD*%
M02*

3373
PCBs/ESP32_Breakout_Carrier/gerber/ESPuino-ESP32_2-F_SilkS.gbr
File diff suppressed because it is too large
View File

205
PCBs/ESP32_Breakout_Carrier/gerber/ESPuino-ESP32_2-NPTH-drl_map.ps

@ -1,205 +0,0 @@
%!PS-Adobe-3.0
%%Creator: PCBNEW
%%CreationDate: Sun Jan 10 22:50:01 2021
%%Title: /Users/torsten/Documents/PlatformIO/Projects/Tonuino-ESP32-I2S/PCBs/ESP32_Breakout_Carrier/gerber/Tonuino-ESP32_2-NPTH-drl_map.ps
%%Pages: 1
%%PageOrder: Ascend
%%BoundingBox: 0 0 596 842
%%DocumentMedia: A4 595 842 0 () ()
%%Orientation: Landscape
%%EndComments
%%BeginProlog
/line { newpath moveto lineto stroke } bind def
/cir0 { newpath 0 360 arc stroke } bind def
/cir1 { newpath 0 360 arc gsave fill grestore stroke } bind def
/cir2 { newpath 0 360 arc gsave fill grestore stroke } bind def
/arc0 { newpath arc stroke } bind def
/arc1 { newpath 4 index 4 index moveto arc closepath gsave fill
grestore stroke } bind def
/arc2 { newpath 4 index 4 index moveto arc closepath gsave fill
grestore stroke } bind def
/poly0 { stroke } bind def
/poly1 { closepath gsave fill grestore stroke } bind def
/poly2 { closepath gsave fill grestore stroke } bind def
/rect0 { rectstroke } bind def
/rect1 { rectfill } bind def
/rect2 { rectfill } bind def
/linemode0 { 0 setlinecap 0 setlinejoin 0 setlinewidth } bind def
/linemode1 { 1 setlinecap 1 setlinejoin } bind def
/dashedline { [200] 100 setdash } bind def
/solidline { [] 0 setdash } bind def
/phantomshow { moveto
/KicadFont findfont 0.000001 scalefont setfont
show } bind def
/textshow { gsave
findfont exch scalefont setfont concat 1 scale 0 0 moveto show
} bind def
/reencodefont {
findfont dup length dict begin
{ 1 index /FID ne
{ def }
{ pop pop } ifelse
} forall
/Encoding ISOLatin1Encoding def
currentdict
end } bind def
/KicadFont /Helvetica reencodefont definefont pop
/KicadFont-Bold /Helvetica-Bold reencodefont definefont pop
/KicadFont-Oblique /Helvetica-Oblique reencodefont definefont pop
/KicadFont-BoldOblique /Helvetica-BoldOblique reencodefont definefont pop
%%EndProlog
%%Page: 1 1
%%BeginPageSetup
gsave
0.0072 0.0072 scale
linemode1
82680 0 translate 90 rotate
64.1673 setlinewidth
%%EndPageSetup
0 0 0 setrgbcolor
25.2627 setlinewidth
newpath
40177.3 38946.7 moveto
40177.3 76805.3 lineto
stroke
0 0 0 setrgbcolor
newpath
74827.7 37021.6 moveto
42102.3 37021.6 lineto
stroke
0 0 0 setrgbcolor
newpath
76752.7 76805.3 moveto
76752.7 38946.7 lineto
stroke
0 0 0 setrgbcolor
newpath
74827.7 78730.4 moveto
42102.3 78730.4 lineto
stroke
0 0 0 setrgbcolor
42102.3 76805.3 1925.02 90 180 arc0
0 0 0 setrgbcolor
42102.3 38946.7 1925.02 180 270 arc0
0 0 0 setrgbcolor
74827.7 38946.7 1925.02 -90 -0 arc0
0 0 0 setrgbcolor
74827.7 76805.3 1925.02 -0 90 arc0
78.7398 setlinewidth
118.11 setlinewidth
0 0 0 setrgbcolor
0 0 0 setrgbcolor
newpath
41292.4 35175.5 moveto
41292.4 36356.6 lineto
41573.6 36356.6 lineto
41742.3 36300.3 lineto
41854.8 36187.9 lineto
41911 36075.4 lineto
41967.3 35850.4 lineto
41967.3 35681.7 lineto
41911 35456.7 lineto
41854.8 35344.2 lineto
41742.3 35231.7 lineto
41573.6 35175.5 lineto
41292.4 35175.5 lineto
stroke
newpath
42473.5 35175.5 moveto
42473.5 35962.9 lineto
stroke
newpath
42473.5 35737.9 moveto
42529.7 35850.4 lineto
42586 35906.6 lineto
42698.4 35962.9 lineto
42810.9 35962.9 lineto
stroke
newpath
43204.6 35175.5 moveto
43204.6 35962.9 lineto
stroke
newpath
43204.6 36356.6 moveto
43148.4 36300.3 lineto
43204.6 36244.1 lineto
43260.9 36300.3 lineto
43204.6 36356.6 lineto
43204.6 36244.1 lineto
stroke
newpath
43935.8 35175.5 moveto
43823.3 35231.7 lineto
43767.1 35344.2 lineto
43767.1 36356.6 lineto
stroke
newpath
44554.5 35175.5 moveto
44442 35231.7 lineto
44385.7 35344.2 lineto
44385.7 36356.6 lineto
stroke
newpath
45904.3 35175.5 moveto
45904.3 36356.6 lineto
46298 35512.9 lineto
46691.7 36356.6 lineto
46691.7 35175.5 lineto
stroke
newpath
47760.3 35175.5 moveto
47760.3 35794.2 lineto
47704.1 35906.6 lineto
47591.6 35962.9 lineto
47366.6 35962.9 lineto
47254.1 35906.6 lineto
stroke
newpath
47760.3 35231.7 moveto
47647.8 35175.5 lineto
47366.6 35175.5 lineto
47254.1 35231.7 lineto
47197.9 35344.2 lineto
47197.9 35456.7 lineto
47254.1 35569.2 lineto
47366.6 35625.4 lineto
47647.8 35625.4 lineto
47760.3 35681.7 lineto
stroke
newpath
48322.7 35962.9 moveto
48322.7 34781.8 lineto
stroke
newpath
48322.7 35906.6 moveto
48435.2 35962.9 lineto
48660.2 35962.9 lineto
48772.7 35906.6 lineto
48828.9 35850.4 lineto
48885.2 35737.9 lineto
48885.2 35400.5 lineto
48828.9 35288 lineto
48772.7 35231.7 lineto
48660.2 35175.5 lineto
48435.2 35175.5 lineto
48322.7 35231.7 lineto
stroke
newpath
49391.4 35288 moveto
49447.6 35231.7 lineto
49391.4 35175.5 lineto
49335.1 35231.7 lineto
49391.4 35288 lineto
49391.4 35175.5 lineto
stroke
newpath
49391.4 35906.6 moveto
49447.6 35850.4 lineto
49391.4 35794.2 lineto
49335.1 35850.4 lineto
49391.4 35906.6 lineto
49391.4 35794.2 lineto
stroke
showpage
grestore
%%EOF

13
PCBs/ESP32_Breakout_Carrier/gerber/ESPuino-ESP32_2-NPTH.drl

@ -1,13 +0,0 @@
M48
; DRILL file {KiCad (5.1.8-0-10_14)} date Sunday, January 10, 2021 at 10:49:59 PM
; FORMAT={-:-/ absolute / metric / decimal}
; #@! TF.CreationDate,2021-01-10T22:49:59+01:00
; #@! TF.GenerationSoftware,Kicad,Pcbnew,(5.1.8-0-10_14)
; #@! TF.FileFunction,NonPlated,1,2,NPTH
FMAT,2
METRIC
%
G90
G05
T0
M30

3258
PCBs/ESP32_Breakout_Carrier/gerber/ESPuino-ESP32_2-PTH-drl_map.ps
File diff suppressed because it is too large
View File

122
PCBs/ESP32_Breakout_Carrier/gerber/ESPuino-ESP32_2-PTH.drl

@ -1,122 +0,0 @@
M48
; DRILL file {KiCad (5.1.8-0-10_14)} date Sunday, January 10, 2021 at 10:49:59 PM
; FORMAT={-:-/ absolute / metric / decimal}
; #@! TF.CreationDate,2021-01-10T22:49:59+01:00
; #@! TF.GenerationSoftware,Kicad,Pcbnew,(5.1.8-0-10_14)
; #@! TF.FileFunction,Plated,1,2,PTH
FMAT,2
METRIC
T1C0.400
T2C0.800
T3C0.813
T4C1.000
T5C1.020
T6C1.100
T7C3.200
%
G90
G05
T1
X153.67Y-72.39
X157.48Y-78.74
X162.56Y-85.09
X171.45Y-71.12
X180.34Y-72.39
X193.04Y-64.77
T2
X167.64Y-53.34
X170.18Y-53.34
X172.72Y-53.34
T3
X160.02Y-46.99
X169.164Y-46.99
X171.958Y-40.64
X181.102Y-40.64
X171.958Y-46.99
X181.102Y-46.99
T4
X199.39Y-48.26
X199.39Y-50.8
X199.39Y-53.34
X199.39Y-55.88
X199.39Y-58.42
X199.39Y-60.96
X199.39Y-63.5
X199.39Y-66.04
X175.26Y-35.56
X177.8Y-35.56
X186.69Y-40.64
X189.23Y-40.64
X186.69Y-35.56
X189.23Y-35.56
X177.8Y-68.58
X180.34Y-68.58
X182.88Y-68.58
X185.42Y-68.58
X187.96Y-68.58
X190.5Y-68.58
X199.39Y-35.56
X199.39Y-38.1
X199.39Y-40.64
X180.34Y-53.34
X182.88Y-53.34
X185.42Y-53.34
X187.96Y-53.34
X190.5Y-53.34
X139.766Y-50.185
X142.306Y-50.185
X144.846Y-50.185
X147.386Y-50.185
X149.926Y-50.185
X152.466Y-50.185
X155.006Y-50.185
X186.69Y-45.72
X189.23Y-45.72
T5
X140.97Y-62.24
X140.97Y-64.78
X140.97Y-67.32
X140.97Y-69.86
X140.97Y-72.4
X140.97Y-74.94
X140.97Y-77.48
X140.97Y-80.02
X140.97Y-82.56
X140.97Y-85.1
X140.97Y-87.64
X140.97Y-90.18
X140.97Y-92.72
X140.97Y-95.26
X140.97Y-97.8
X140.97Y-100.34
X140.97Y-102.88
X140.97Y-105.42
X140.97Y-107.96
X166.37Y-62.24
X166.37Y-64.78
X166.37Y-67.32
X166.37Y-69.86
X166.37Y-72.4
X166.37Y-74.94
X166.37Y-77.48
X166.37Y-80.02
X166.37Y-82.56
X166.37Y-85.1
X166.37Y-87.64
X166.37Y-90.18
X166.37Y-92.72
X166.37Y-95.26
X166.37Y-97.8
X166.37Y-100.34
X166.37Y-102.88
X166.37Y-105.42
X166.37Y-107.96
T6
X166.37Y-36.83
X166.37Y-39.37
X166.37Y-41.91
T7
X201.554Y-108.699
X137.579Y-34.841
T0
M30

128
PCBs/ESP32_Breakout_Carrier/gerber/ESPuino-ESP32_2-job.gbrjob

@ -1,128 +0,0 @@
{
"Header":
{
"GenerationSoftware":
{
"Vendor": "KiCad",
"Application": "Pcbnew",
"Version": "(5.1.8-0-10_14)"
},
"CreationDate": "2021-01-10T22:50:04+01:00"
},
"GeneralSpecs":
{
"ProjectId":
{
"Name": "Tonuino-ESP32_2",
"GUID": "546f6e75-696e-46f2-9d45-535033325f32",
"Revision": "rev?"
},
"Size":
{
"X": 72.440,
"Y": 82.600
},
"LayerNumber": 2,
"BoardThickness": 1.600
},
"DesignRules":
[
{
"Layers": "Outer",
"PadToPad": 0.200,
"PadToTrack": 0.200,
"TrackToTrack": 0.200,
"MinLineWidth": 0.400,
"TrackToRegion": 0.508,
"RegionToRegion": 0.508
}
],
"FilesAttributes":
[
{
"Path": "Tonuino-ESP32_2-F_Cu.gbr",
"FileFunction": "Copper,L1,Top",
"FilePolarity": "Positive"
},
{
"Path": "Tonuino-ESP32_2-B_Cu.gbr",
"FileFunction": "Copper,L2,Bot",
"FilePolarity": "Positive"
},
{
"Path": "Tonuino-ESP32_2-F_Paste.gbr",
"FileFunction": "SolderPaste,Top",
"FilePolarity": "Positive"
},
{
"Path": "Tonuino-ESP32_2-B_Paste.gbr",
"FileFunction": "SolderPaste,Bot",
"FilePolarity": "Positive"
},
{
"Path": "Tonuino-ESP32_2-F_SilkS.gbr",
"FileFunction": "Legend,Top",
"FilePolarity": "Positive"
},
{
"Path": "Tonuino-ESP32_2-B_SilkS.gbr",
"FileFunction": "Legend,Bot",
"FilePolarity": "Positive"
},
{
"Path": "Tonuino-ESP32_2-F_Mask.gbr",
"FileFunction": "SolderMask,Top",
"FilePolarity": "Negative"
},
{
"Path": "Tonuino-ESP32_2-B_Mask.gbr",
"FileFunction": "SolderMask,Bot",
"FilePolarity": "Negative"
},
{
"Path": "Tonuino-ESP32_2-Edge_Cuts.gbr",
"FileFunction": "Profile",
"FilePolarity": "Positive"
}
],
"MaterialStackup":
[
{
"Type": "Legend",
"Notes": "Layer F.SilkS"
},
{
"Type": "SolderPaste",
"Notes": "Layer F.Paste"
},
{
"Type": "SolderMask",
"Notes": "Layer F.Mask"
},
{
"Type": "Copper",
"Notes": "Layer F.Cu"
},
{
"Type": "Dielectric",
"Material": "FR4",
"Notes": "Layers L1/L2"
},
{
"Type": "Copper",
"Notes": "Layer B.Cu"
},
{
"Type": "SolderMask",
"Notes": "Layer B.Mask"
},
{
"Type": "SolderPaste",
"Notes": "Layer B.Paste"
},
{
"Type": "Legend",
"Notes": "Layer B.SilkS"
}
]
}

4
PCBs/Headphone with PCM5102a and TDA1308/README.md

@ -2,10 +2,6 @@
This is a pcb, that was kindly provided by a user of my ESPuino. It makes use of a DAC named 'PCM5102A' with a TDA1308 as amp. PCM5102A supports I2S, so it can connected in parallel to MAX98357a to the I2S-pins BCLK, LRC and DIN. Of course, it needs 3.3V and GND, too. Please note that SMD-technique is used. <br /> This is a pcb, that was kindly provided by a user of my ESPuino. It makes use of a DAC named 'PCM5102A' with a TDA1308 as amp. PCM5102A supports I2S, so it can connected in parallel to MAX98357a to the I2S-pins BCLK, LRC and DIN. Of course, it needs 3.3V and GND, too. Please note that SMD-technique is used. <br />
The 6th pin of connector J1 is used to indicate whether there's a plug or not. That means if there is a plug, this pin is pulled to GND and therefore can be used to connect to MAX98357.SD. Doing so will mute MAX's amp and vice versa. Of course you need a special [headphone jack](https://www.conrad.de/de/p/cliff-fcr1295-klinken-steckverbinder-3-5-mm-buchse-einbau-horizontal-polzahl-3-stereo-schwarz-1-st-705830.html) to use this feature. Additionaly this 6th pin can be connected to the ESP32 in order to make use of the feature `HEADPHONE_ADJUST_ENABLE`. Doing so can optionally limit the headphone's maximum volume (configureable via GUI). <br /> The 6th pin of connector J1 is used to indicate whether there's a plug or not. That means if there is a plug, this pin is pulled to GND and therefore can be used to connect to MAX98357.SD. Doing so will mute MAX's amp and vice versa. Of course you need a special [headphone jack](https://www.conrad.de/de/p/cliff-fcr1295-klinken-steckverbinder-3-5-mm-buchse-einbau-horizontal-polzahl-3-stereo-schwarz-1-st-705830.html) to use this feature. Additionaly this 6th pin can be connected to the ESP32 in order to make use of the feature `HEADPHONE_ADJUST_ENABLE`. Doing so can optionally limit the headphone's maximum volume (configureable via GUI). <br />
<<<<<<< HEAD
=======
>>>>>>> 15a06350b94ca27ba7d88401436a90da2c068d50
Please note: the files in my GitHub-repository may be outdated regarding this PCB. Please have a look [here](https://u.pcloud.link/publink/show?code=kZjJVKkZOYso9U99qILNOMm5ehliaFtxldWX). Please note: the files in my GitHub-repository may be outdated regarding this PCB. Please have a look [here](https://u.pcloud.link/publink/show?code=kZjJVKkZOYso9U99qILNOMm5ehliaFtxldWX).
## Disclaimer ## Disclaimer

2
platformio.ini

@ -114,6 +114,8 @@ board = az-delivery-devkit-v4
board_build.partitions = custom_4mb_noota.csv board_build.partitions = custom_4mb_noota.csv
upload_port = /dev/cu.SLAB_USBtoUART upload_port = /dev/cu.SLAB_USBtoUART
monitor_port = /dev/cu.SLAB_USBtoUART monitor_port = /dev/cu.SLAB_USBtoUART
build_flags = -DHAL=99
[env:ttgo_t8] [env:ttgo_t8]
;https://docs.platformio.org/en/latest/boards/espressif32/esp-wrover-kit.html ;https://docs.platformio.org/en/latest/boards/espressif32/esp-wrover-kit.html

119
src/settings-azdelivery_sdmmc.h

@ -0,0 +1,119 @@
#ifndef __ESPUINO_SETTINGS_CUSTOM_H__
#define __ESPUINO_SETTINGS_CUSTOM_H__
#include "Arduino.h"
//######################### INFOS ####################################
/* This is a PCB-specific config-file for *AZ Delivery ESP32 NodeMCU/Devkit C with SD_MMC and PN5180*.
PCB: t.b.a.
Forum: https://forum.espuino.de/t/az-delivery-esp32-nodemcu-devkit-c-mit-sd-mmc-und-pn5180-als-rfid-leser/634
Infos: https://www.amazon.de/AZDelivery-NodeMCU-Development-Nachfolgermodell-ESP8266/dp/B074RGW2VQ
Schematics PCB: t.b.a.
Caveats: Battery-monitoring is not available and SD ist SD_MMC only
Status:
tested with PN5180 + SD_MMC (by biologist79)
*/
//################## GPIO-configuration ##############################
// Please note: GPIOs 34, 35, 36, 39 are input-only and don't have pullup-resistors.
// So if connecting a button to these, make sure to add a 10k-pullup-resistor for each button.
// Further infos: https://randomnerdtutorials.com/esp32-pinout-reference-gpios/
#ifdef SD_MMC_1BIT_MODE
// uSD-card-reader (via SD-MMC 1Bit)
//
// SD_MMC uses fixed pins
// MOSI 15
// SCK 14
// MISO 2
#else
// uSD-card-reader (via SPI) is not supported by this board!
#endif
// RFID (via SPI)
#define RST_PIN 99 // Not necessary for RC522 but has to be set anyway; so let's use a dummy-number
#define RFID_CS 21 // GPIO for chip select (RFID)
#define RFID_MOSI 23 // GPIO for master out slave in (RFID)
#define RFID_MISO 19 // GPIO for master in slave out (RFID)
#define RFID_SCK 18 // GPIO for clock-signal (RFID)
#ifdef RFID_READER_TYPE_PN5180
#define RFID_BUSY 16 // PN5180 BUSY PIN
#define RFID_RST 22 // PN5180 RESET PIN
#define RFID_IRQ 39 // PN5180 IRQ PIN (only needed for low power card detection)
#endif
// I2S (DAC)
#define I2S_DOUT 25 // Digital out (I2S)
#define I2S_BCLK 27 // BCLK (I2S)
#define I2S_LRC 26 // LRC (I2S)
// Rotary encoder
#ifdef USEROTARY_ENABLE
#define ROTARYENCODER_CLK 34 // If you want to reverse encoder's direction, just switch GPIOs of CLK with DT (in software or hardware)
#define ROTARYENCODER_DT 35 // (set to 99 to disable; 0->39 for GPIO)
#define ROTARYENCODER_BUTTON 32 // (set to 99 to disable; 0->39 for GPIO; 100->115 for port-expander)
#endif
// Amp enable (Not supported)
//#define GPIO_PA_EN 112 // To enable amp for loudspeaker (GPIO or port-channel)
//#define GPIO_HP_EN 113 // To enable amp for headphones (GPIO or port-channel)
// Control-buttons (set to 99 to DISABLE; 0->39 for GPIO; 100->115 for port-expander)
#define NEXT_BUTTON 4 // Button 0: GPIO to detect next
#define PREVIOUS_BUTTON 39 // Button 1: GPIO to detect previous
#define PAUSEPLAY_BUTTON 5 // Button 2: GPIO to detect pause/play
#define BUTTON_4 99 // Button 4: unnamed optional button
#define BUTTON_5 99 // Button 5: unnamed optional button
// Channels of port-expander can be read cyclic or interrupt-driven. It's strongly recommended to use the interrupt-way!
// Infos: https://forum.espuino.de/t/einsatz-des-port-expanders-pca9555/306
#ifdef PORT_EXPANDER_ENABLE
// Not supported
#endif
// I2C-configuration (necessary for RC522 [only via i2c - not spi!] or port-expander)
#if defined(RFID_READER_TYPE_MFRC522_I2C) || defined(PORT_EXPANDER_ENABLE)
// Not supported
#endif
// Wake-up button => this also is the interrupt-pin if port-expander is enabled!
// Please note: only RTC-GPIOs (0, 4, 12, 13, 14, 15, 25, 26, 27, 32, 33, 34, 35, 36, 39, 99) can be used! Set to 99 to DISABLE.
#define WAKEUP_BUTTON ROTARYENCODER_BUTTON // Defines the button that is used to wake up ESPuino from deepsleep.
// (optional) Power-control
#define POWER 17 // GPIO used to drive transistor-circuit, that switches off peripheral devices while ESP32-deepsleep
// (optional) Neopixel
#define LED_PIN 12 // GPIO for Neopixel-signaling
// (optinal) Headphone-detection
#ifdef HEADPHONE_ADJUST_ENABLE
//#define DETECT_HP_ON_HIGH // Per default headphones are supposed to be connected if HT_DETECT is LOW. DETECT_HP_ON_HIGH will change this behaviour to HIGH.
#define HP_DETECT 13 // GPIO that detects, if there's a plug in the headphone jack or not
#endif
// (optional) Monitoring of battery-voltage via ADC
#ifdef MEASURE_BATTERY_VOLTAGE
// not supported
#endif
// (Optional) remote control via infrared
#ifdef IR_CONTROL_ENABLE
#define IRLED_PIN 33 // GPIO where IR-receiver is connected (only tested with VS1838B)
#define IR_DEBOUNCE 200 // Interval in ms to wait at least for next signal (not used for actions volume up/down)
// Actions available. Use your own remote control and have a look at the console for "Command=0x??". E.g. "Protocol=NEC Address=0x17F Command=0x68 Repeat gap=39750us"
// Make sure to define a hex-code not more than once as this will lead to a compile-error
// https://forum.espuino.de/t/neues-feature-fernsteuerung-per-infrarot-fernbedienung/265
#define RC_PLAY 0x68 // command for play
#define RC_PAUSE 0x67 // command for pause
#define RC_NEXT 0x6b // command for next track of playlist
#define RC_PREVIOUS 0x6a // command for previous track of playlist
#define RC_FIRST 0x6c // command for first track of playlist
#define RC_LAST 0x6d // command for last track of playlist
#define RC_VOL_UP 0x1a // Command for volume up (one step)
#define RC_VOL_DOWN 0x1b // Command for volume down (one step)
#define RC_MUTE 0x1c // Command to mute ESPuino
#define RC_SHUTDOWN 0x2a // Command for deepsleep
#define RC_BLUETOOTH 0x72 // Command to enable/disable bluetooth
#define RC_FTP 0x65 // Command to enable FTP-server
#endif
#endif

18
src/settings.h

@ -9,13 +9,15 @@
//################## HARDWARE-PLATFORM ############################### //################## HARDWARE-PLATFORM ###############################
/* Make sure to also edit the configfile, that is specific for your platform. /* Make sure to also edit the configfile, that is specific for your platform.
If in doubts (your develboard is not listed) use HAL 1 If in doubts (your develboard is not listed) use HAL 1
1: Wemos Lolin32 => settings-lolin32.h
2: ESP32-A1S Audiokit => settings-espa1s.h
3: Wemos Lolin D32 => settings-lolin_D32.h
4: Wemos Lolin D32 pro => settings-lolin_D32_pro.h
5: Lilygo T8 (V1.7) => settings-ttgo_t8.h
6: ESPuino complete => settings-complete.h
99: custom => settings-custom.h
1: Wemos Lolin32 => settings-lolin32.h
2: ESP32-A1S Audiokit => settings-espa1s.h
3: Wemos Lolin D32 => settings-lolin_D32.h
4: Wemos Lolin D32 pro => settings-lolin_D32_pro.h
5: Lilygo T8 (V1.7) => settings-ttgo_t8.h
6: ESPuino complete => settings-complete.h
7: Lolin D32 pro SDMMC Port-Expander => settings-lolin_d32_pro_sdmmc_pe.h
8: AZDelivery ESP32 NodeMCU => settings-azdelivery_sdmmc.h
99: custom => settings-custom.h
more to come... more to come...
*/ */
#ifndef HAL // Will be set by platformio.ini. If using Arduini-IDE you have to set HAL according your needs! #ifndef HAL // Will be set by platformio.ini. If using Arduini-IDE you have to set HAL according your needs!
@ -236,6 +238,8 @@
#include "settings-complete.h" // Contains all user-relevant settings for ESPuino complete #include "settings-complete.h" // Contains all user-relevant settings for ESPuino complete
#elif (HAL == 7) #elif (HAL == 7)
#include "settings-lolin_d32_pro_sdmmc_pe.h" // Pre-configured settings for ESPuino Lolin D32 pro with SDMMC + port-expander (https://forum.espuino.de/t/lolin-d32-pro-mit-sd-mmc-pn5180-max-fuenf-buttons-und-port-expander-smd/638) #include "settings-lolin_d32_pro_sdmmc_pe.h" // Pre-configured settings for ESPuino Lolin D32 pro with SDMMC + port-expander (https://forum.espuino.de/t/lolin-d32-pro-mit-sd-mmc-pn5180-max-fuenf-buttons-und-port-expander-smd/638)
#elif (HAL == 8)
#include "settings-azdelivery_sdmmc.h" // Pre-configured settings for AZ Delivery ESP32 NodeMCU / Devkit C (https://forum.espuino.de/t/az-delivery-esp32-nodemcu-devkit-c-mit-sd-mmc-und-pn5180-als-rfid-leser/634)
#elif (HAL == 99) #elif (HAL == 99)
#include "settings-custom.h" // Contains all user-relevant settings custom-board #include "settings-custom.h" // Contains all user-relevant settings custom-board
#endif #endif

Loading…
Cancel
Save