acd99b7386f2d5648531a13dcc8378dc3102a318
Board-new/ESP32-ISO-dat/ESP32-ISO-dat.md
| ... | ... | @@ -1,52 +1,53 @@ |
| 1 | +## ESP32 ISO board |
|
| 1 | 2 | |
| 2 | - |
|
| 3 | - |
|
| 4 | -## ESP32 ISO board |
|
| 5 | - |
|
| 6 | -## Board Pin Definitions |
|
| 3 | +## Board Pin Definitions |
|
| 7 | 4 | |
| 8 | 5 |  |
| 9 | 6 | |
| 10 | - |
|
| 11 | -## Occupied Pins |
|
| 12 | - |
|
| 13 | - #define IN1 32 |
|
| 14 | - #define IN2 33 |
|
| 15 | - #define IN3 25 |
|
| 16 | - #define IN4 26 |
|
| 17 | - |
|
| 18 | - #define OUT1 27 |
|
| 19 | - #define OUT2 14 |
|
| 20 | - #define OUT3 13 |
|
| 21 | - #define OUT4 15 |
|
| 22 | - |
|
| 23 | - #define debugLED 0 |
|
| 24 | - |
|
| 25 | - #define RS232_RX 23 |
|
| 26 | - #define RS232_TX 22 |
|
| 27 | - #define RS485_RX 18 |
|
| 28 | - #define RS485_TX 19 |
|
| 29 | - |
|
| 30 | - SoftwareSerial RS232; |
|
| 31 | - SoftwareSerial RS485; |
|
| 32 | - |
|
| 33 | - |
|
| 34 | -## breakout daughter board |
|
| 7 | +## Pin Definitions Template |
|
| 8 | + |
|
| 9 | +| Pin | Prerequisite | Used for | |
|
| 10 | +| --- | ------------ | -------- | |
|
| 11 | +| 36 | input_only | | |
|
| 12 | +| 39 | input_only | | |
|
| 13 | +| 34 | input_only | | |
|
| 14 | +| 35 | input_only | | |
|
| 15 | +| 32 | | IN1 | |
|
| 16 | +| 33 | | IN2 | |
|
| 17 | +| 25 | DAC | IN3 | |
|
| 18 | +| 26 | DAC | IN4 | |
|
| 19 | +| 27 | | OUT1 | |
|
| 20 | +| 14 | | OUT2 | |
|
| 21 | +| 12 | | | |
|
| 22 | +| 13 | | I2C | |
|
| 23 | +| 15 | strapping | I2C | |
|
| 24 | +| 2 | strapping | | |
|
| 25 | +| 0 | strapping | | |
|
| 26 | +| 4 | | OUT4 | |
|
| 27 | +| 16 | | U2 | |
|
| 28 | +| 17 | | U2 | |
|
| 29 | +| 5 | strapping | VSPI | |
|
| 30 | +| 18 | | VSPI | |
|
| 31 | +| 19 | | VSPI | |
|
| 32 | +| 20 | | OUT3 | |
|
| 33 | +| 21 | | U1 | |
|
| 34 | +| 3 | U0R | U0 | |
|
| 35 | +| 1 | U0T | U0 | |
|
| 36 | +| 22 | | U1 | |
|
| 37 | +| 23 | | VSPI | |
|
| 38 | + |
|
| 39 | +## breakout daughter board |
|
| 35 | 40 | |
| 36 | 41 | - [[DPR1084-dat]] - [[rs485-autoboard-1]] - [[OPM1153-dat]] |
| 37 | 42 | |
| 43 | +## Use Guide |
|
| 38 | 44 | |
| 45 | +- connect IO0 to GND to enter into programming mode |
|
| 39 | 46 | |
| 40 | -## Use Guide |
|
| 41 | -- connect IO0 to GND to enter into programming mode |
|
| 42 | - |
|
| 43 | - |
|
| 44 | - |
|
| 45 | - |
|
| 46 | -## ref |
|
| 47 | +## ref |
|
| 47 | 48 | |
| 48 | -- [[inductive-load-dat]] |
|
| 49 | +- [[inductive-load-dat]] |
|
| 49 | 50 | |
| 50 | 51 | - [[ESP32-dat]] |
| 51 | 52 | |
| 52 | -- [[ESP32-ISO]] |
|
| ... | ... | \ No newline at end of file |
| 0 | +- [[ESP32-ISO]] |
SDK/ESP-SDK-dat/ESP32-Functions/ESP32-SPI-dat.md
| ... | ... | @@ -1,56 +0,0 @@ |
| 1 | - |
|
| 2 | -# ESP32 SPI |
|
| 3 | - |
|
| 4 | -| Pin | VSPI | HSPI | |
|
| 5 | -| ---- | ----- | ------- | |
|
| 6 | -| 3V3 | 3.3V | | |
|
| 7 | -| CS | io 5 | 15 / 27 | |
|
| 8 | -| CLK | io 18 | 14 | |
|
| 9 | -| MISO | io 19 | 12 | |
|
| 10 | -| MOSI | io 23 | 13 | |
|
| 11 | -| GND | GND | | |
|
| 12 | - |
|
| 13 | - |
|
| 14 | - |
|
| 15 | -SPI arduino define |
|
| 16 | - |
|
| 17 | - #define VSPI_MISO MISO |
|
| 18 | - #define VSPI_MOSI MOSI |
|
| 19 | - #define VSPI_SCLK SCK |
|
| 20 | - #define VSPI_SS SS |
|
| 21 | - |
|
| 22 | - #define HSPI_MISO 12 |
|
| 23 | - #define HSPI_MOSI 13 |
|
| 24 | - #define HSPI_SCLK 14 |
|
| 25 | - #define HSPI_SS 15 |
|
| 26 | - |
|
| 27 | -## sketch refer to here: |
|
| 28 | - |
|
| 29 | - |
|
| 30 | -hspi.begin(HSPI_CLK, HSPI_MISO, HSPI_MOSI, HSPI_SS); |
|
| 31 | - |
|
| 32 | - |
|
| 33 | - #include "FS.h" |
|
| 34 | - #include "SD.h" |
|
| 35 | - #include "SPI.h" |
|
| 36 | - |
|
| 37 | - SPIClass spiSD(HSPI); |
|
| 38 | - #define SD_CS 15 |
|
| 39 | - |
|
| 40 | - void setup() { |
|
| 41 | - Serial.begin(115200); |
|
| 42 | - spiSD.begin(14, 12, 13, SD_CS ); //SCK, MISO, MOSI, SS //HSPI1 // hspi.begin(HSPI_CLK, HSPI_MISO, HSPI_MOSI, HSPI_SS); |
|
| 43 | - |
|
| 44 | - if (!SD.begin( SD_CS, spiSD )) { |
|
| 45 | - // if(!SD.begin()){ |
|
| 46 | - Serial.println("Card Mount Failed"); |
|
| 47 | - return; |
|
| 48 | - } |
|
| 49 | - } |
|
| 50 | - |
|
| 51 | - void loop() { |
|
| 52 | - } |
|
| 53 | - |
|
| 54 | - |
|
| 55 | - |
|
| 56 | -- [[RA-01]] |
|
| ... | ... | \ No newline at end of file |
SDK/ESP-SDK-dat/ESP32-Functions/ESP32-USB-dat.md
| ... | ... | @@ -1,26 +0,0 @@ |
| 1 | - |
|
| 2 | - |
|
| 3 | -# ESP32 USB |
|
| 4 | - |
|
| 5 | -## USB pins |
|
| 6 | - |
|
| 7 | - |
|
| 8 | - |
|
| 9 | - |
|
| 10 | -## Arduino Code tested with [[ESP32-C3-WROOM-2-DAT]] |
|
| 11 | -- not working |
|
| 12 | -- maybe hardware problem, or code problem, or need further test |
|
| 13 | -- consider it is not working if you buy. |
|
| 14 | - |
|
| 15 | - |
|
| 16 | - |
|
| 17 | -## Arduino Code tested with [[ESP32-S2]] |
|
| 18 | -- working |
|
| 19 | - |
|
| 20 | - |
|
| 21 | -## Boards |
|
| 22 | - |
|
| 23 | -- [[NWI1119-DAT]] |
|
| 24 | -- [[NWI1126-DAT]] |
|
| 25 | -- [[NWI1235-DAT]] - [[ESP32-S2]] |
|
| 26 | - |
chip-cn/Espressif/ESP32-dev-board-dat/ESP32-dev-board-dat.md
| ... | ... | @@ -1,6 +0,0 @@ |
| 1 | - |
|
| 2 | -# ESP32 dev board dat |
|
| 3 | - |
|
| 4 | -- [[NWI1100-dat]] - [[NWI1206-dat]] |
|
| 5 | - |
|
| 6 | -Module - [[ESP32-WROOM-dat]] |
|
| ... | ... | \ No newline at end of file |
chip-cn/Espressif/ESP32/ESP32-HDK-dat/ESP32-GPIOs-dat.md
| ... | ... | @@ -0,0 +1,25 @@ |
| 1 | +# ESP32-GPIOs-dat |
|
| 2 | + |
|
| 3 | +## Sub Functions |
|
| 4 | + |
|
| 5 | +### DAC |
|
| 6 | + |
|
| 7 | +- IO25 IO26 |
|
| 8 | + |
|
| 9 | +## Note |
|
| 10 | + |
|
| 11 | +### Input only |
|
| 12 | + |
|
| 13 | +- 36/39/34/35 |
|
| 14 | + |
|
| 15 | +### Strapping |
|
| 16 | + |
|
| 17 | +ESP32 共有 5 个 Strapping 管脚,可参考章节 6 电路原理图: |
|
| 18 | + |
|
| 19 | +| Func. | IO | default | |
|
| 20 | +| ----- | --- | --------- | |
|
| 21 | +| MTDI | 12 | pull-down | |
|
| 22 | +| GPIO | 0 | pull-up | |
|
| 23 | +| GPIO | 2 | pull-down | |
|
| 24 | +| MTDO | 15 | | |
|
| 25 | +| GPIO | 5 | | |
chip-cn/Espressif/ESP32/ESP32-HDK-dat/ESP32-HDK-dat.md
| ... | ... | @@ -1,7 +1,7 @@ |
| 1 | 1 | |
| 2 | 2 | # ESP32 HDK dat |
| 3 | 3 | |
| 4 | - |
|
| 4 | +- [[ESP32-WROOM-dat]] |
|
| 5 | 5 | |
| 6 | 6 | ## pins |
| 7 | 7 | |
| ... | ... | @@ -25,7 +25,7 @@ |
| 25 | 25 | |
| 26 | 26 | ### SPI |
| 27 | 27 | |
| 28 | -- [[ESP32-SPI-dat]] |
|
| 28 | +- [[ESP32-SPI-dat]] - [[ESP32-GPIOs-dat]] - [[ESP32-USB-dat]] |
|
| 29 | 29 | |
| 30 | 30 | ## Modules |
| 31 | 31 |
chip-cn/Espressif/ESP32/ESP32-HDK-dat/ESP32-SPI-dat.md
| ... | ... | @@ -0,0 +1,56 @@ |
| 1 | + |
|
| 2 | +# ESP32 SPI |
|
| 3 | + |
|
| 4 | +| Pin | VSPI | HSPI | |
|
| 5 | +| ---- | ----- | ------- | |
|
| 6 | +| 3V3 | 3.3V | | |
|
| 7 | +| CS | io 5 | 15 / 27 | |
|
| 8 | +| CLK | io 18 | 14 | |
|
| 9 | +| MISO | io 19 | 12 | |
|
| 10 | +| MOSI | io 23 | 13 | |
|
| 11 | +| GND | GND | | |
|
| 12 | + |
|
| 13 | + |
|
| 14 | + |
|
| 15 | +SPI arduino define |
|
| 16 | + |
|
| 17 | + #define VSPI_MISO MISO |
|
| 18 | + #define VSPI_MOSI MOSI |
|
| 19 | + #define VSPI_SCLK SCK |
|
| 20 | + #define VSPI_SS SS |
|
| 21 | + |
|
| 22 | + #define HSPI_MISO 12 |
|
| 23 | + #define HSPI_MOSI 13 |
|
| 24 | + #define HSPI_SCLK 14 |
|
| 25 | + #define HSPI_SS 15 |
|
| 26 | + |
|
| 27 | +## sketch refer to here: |
|
| 28 | + |
|
| 29 | + |
|
| 30 | +hspi.begin(HSPI_CLK, HSPI_MISO, HSPI_MOSI, HSPI_SS); |
|
| 31 | + |
|
| 32 | + |
|
| 33 | + #include "FS.h" |
|
| 34 | + #include "SD.h" |
|
| 35 | + #include "SPI.h" |
|
| 36 | + |
|
| 37 | + SPIClass spiSD(HSPI); |
|
| 38 | + #define SD_CS 15 |
|
| 39 | + |
|
| 40 | + void setup() { |
|
| 41 | + Serial.begin(115200); |
|
| 42 | + spiSD.begin(14, 12, 13, SD_CS ); //SCK, MISO, MOSI, SS //HSPI1 // hspi.begin(HSPI_CLK, HSPI_MISO, HSPI_MOSI, HSPI_SS); |
|
| 43 | + |
|
| 44 | + if (!SD.begin( SD_CS, spiSD )) { |
|
| 45 | + // if(!SD.begin()){ |
|
| 46 | + Serial.println("Card Mount Failed"); |
|
| 47 | + return; |
|
| 48 | + } |
|
| 49 | + } |
|
| 50 | + |
|
| 51 | + void loop() { |
|
| 52 | + } |
|
| 53 | + |
|
| 54 | + |
|
| 55 | + |
|
| 56 | +- [[RA-01]] |
|
| ... | ... | \ No newline at end of file |
chip-cn/Espressif/ESP32/ESP32-HDK-dat/ESP32-USB-dat.md
| ... | ... | @@ -0,0 +1,26 @@ |
| 1 | + |
|
| 2 | + |
|
| 3 | +# ESP32 USB |
|
| 4 | + |
|
| 5 | +## USB pins |
|
| 6 | + |
|
| 7 | + |
|
| 8 | + |
|
| 9 | + |
|
| 10 | +## Arduino Code tested with [[ESP32-C3-WROOM-2-DAT]] |
|
| 11 | +- not working |
|
| 12 | +- maybe hardware problem, or code problem, or need further test |
|
| 13 | +- consider it is not working if you buy. |
|
| 14 | + |
|
| 15 | + |
|
| 16 | + |
|
| 17 | +## Arduino Code tested with [[ESP32-S2]] |
|
| 18 | +- working |
|
| 19 | + |
|
| 20 | + |
|
| 21 | +## Boards |
|
| 22 | + |
|
| 23 | +- [[NWI1119-DAT]] |
|
| 24 | +- [[NWI1126-DAT]] |
|
| 25 | +- [[NWI1235-DAT]] - [[ESP32-S2]] |
|
| 26 | + |
chip-cn/Espressif/ESP32/ESP32-WROOM-DAT/ESP32-WROOM-DAT.md
| ... | ... | @@ -33,6 +33,7 @@ Module interfaces |
| 33 | 33 | ## Pin Definitions |
| 34 | 34 | |
| 35 | 35 |  |
| 36 | + |
|
| 36 | 37 | ## Legacy Wiki Pages |
| 37 | 38 | |
| 38 | 39 | - https://w.electrodragon.com/w/Category:ESP32 |
| ... | ... | @@ -40,11 +41,12 @@ Module interfaces |
| 40 | 41 | |
| 41 | 42 | - [[ESP32-DAT]] |
| 42 | 43 | |
| 44 | +## Datasheet |
|
| 43 | 45 | |
| 44 | -## ESP32-WROOM-32E DAT |
|
| 45 | - |
|
| 46 | -https://www.espressif.com/sites/default/files/documentation/esp32-wroom-32e_esp32-wroom-32ue_datasheet_en.pdf |
|
| 46 | +- [ESP32-WROOM-32E DAT EN](https://www.espressif.com/sites/default/files/documentation/esp32-wroom-32e_esp32-wroom-32ue_datasheet_en.pdf) |
|
| 47 | 47 | |
| 48 | +- [ESP32-WROOM-32D DAT CN](https://www.espressif.com/sites/default/files/documentation/esp32-wroom-32d_esp32-wroom-32u_datasheet_cn.pdf) |
|
| 49 | +- |
|
| 48 | 50 | 6 Peripheral Schematics |
| 49 | 51 | |
| 50 | 52 | ### updates |
| ... | ... | @@ -53,10 +55,6 @@ https://www.espressif.com/sites/default/files/documentation/esp32-wroom-32e_esp3 |
| 53 | 55 | |
| 54 | 56 | |
| 55 | 57 | |
| 56 | -## ESP32-WROOM-32D DAT |
|
| 57 | - |
|
| 58 | -https://www.espressif.com/sites/default/files/documentation/esp32-wroom-32d_esp32-wroom-32u_datasheet_cn.pdf |
|
| 59 | - |
|
| 60 | 58 | |
| 61 | 59 | |
| 62 | 60 | ## ref |
chip-cn/Espressif/ESP32/ESP32-dev-board-dat/ESP32-dev-board-dat.md
| ... | ... | @@ -0,0 +1,6 @@ |
| 1 | + |
|
| 2 | +# ESP32 dev board dat |
|
| 3 | + |
|
| 4 | +- [[NWI1100-dat]] - [[NWI1206-dat]] |
|
| 5 | + |
|
| 6 | +Module - [[ESP32-WROOM-dat]] |
|
| ... | ... | \ No newline at end of file |