f86f9f1b13b822abd326fc55cee209dfdd51e86a
Board-dat/NWI/NWI1118-dat/NWI1118-DAT.md
| ... | ... | @@ -52,7 +52,7 @@ |
| 52 | 52 | |
| 53 | 53 | - [[esp-relay-board-dat]] |
| 54 | 54 | |
| 55 | -- [[ESP-12F-DAT]] - [[ESP32-C3-WROOM-02-DAT]] - [[ESP8266-dat]] |
|
| 55 | +- [[ESP-12F-DAT]] - [[ESP32-C3-WROOM-2-DAT]] - [[ESP8266-dat]] |
|
| 56 | 56 | |
| 57 | 57 | - [[ACDC-SM]] - [[voltage-divider-dat]] |
| 58 | 58 |
Board-dat/NWI/NWI1126-DAT/NWI1126-DAT.md
| ... | ... | @@ -1,5 +1,18 @@ |
| 1 | 1 | # NWI1126-DAT |
| 2 | 2 | |
| 3 | + |
|
| 4 | + |
|
| 5 | +## tech |
|
| 6 | + |
|
| 7 | +- [[ESP32-C3-dat]] - [[ESP32-C3-SDK-dat]] |
|
| 8 | + |
|
| 9 | +- [[dcdc-down-dat]] - [[mosfet-dat]] - [[mosfet-dimming-dat]] |
|
| 10 | + |
|
| 11 | +- [[led-driver-dat]] |
|
| 12 | + |
|
| 13 | + |
|
| 14 | + |
|
| 15 | + |
|
| 3 | 16 | ## Pin Definitions |
| 4 | 17 | |
| 5 | 18 | #define OM_LED 10 // on module led |
| ... | ... | @@ -157,7 +170,7 @@ Default firmware, right bottom LED blink, drive common 4ch RGBW LED strip to bli |
| 157 | 170 | |
| 158 | 171 | - a few common mosfet driver issues can be found in the review and causes here: [[mosfet-dat]] |
| 159 | 172 | |
| 160 | -- read more information regarding how to use the chip here [[ESP32-C3-dat]] - [[ESP32-C3-WROOM-02-DAT]] |
|
| 173 | +- read more information regarding how to use the chip here [[ESP32-C3-dat]] - [[ESP32-C3-WROOM-2-DAT]] |
|
| 161 | 174 | |
| 162 | 175 | - [[NWI1124-DAT]] |
| 163 | 176 | - [[NWI1125-DAT]] |
Board-dat/NWI/NWI1254-dat/NWI1254-dat.md
| ... | ... | @@ -5,6 +5,11 @@ |
| 5 | 5 | |
| 6 | 6 | - [[RS485-dat]] |
| 7 | 7 | |
| 8 | +- [[ESP32-C3-dat]] - [[ESP32-C3-SDK-dat]] |
|
| 9 | + |
|
| 10 | + |
|
| 11 | + |
|
| 12 | + |
|
| 8 | 13 | ## Info |
| 9 | 14 | |
| 10 | 15 | product url - [[NWI1252-dat]] |
| ... | ... | @@ -74,12 +79,30 @@ main controller part SCH |
| 74 | 79 | |
| 75 | 80 | note the [[RS232-dat]] interface should be twisted, wire as TX-RX and RX-TX |
| 76 | 81 | |
| 82 | + |
|
| 83 | +## default flash data |
|
| 84 | + |
|
| 85 | +[[esptool-dat]] |
|
| 86 | + |
|
| 87 | + "C:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\tools\esptool_py\5.1.0/esptool.exe" --chip esp32c3 --port "COM15" --baud 921600 --before default-reset --after hard-reset write-flash -z --flash-mode keep --flash-freq keep --flash-size keep 0x0 "C:\Users\Administrator\AppData\Local\arduino\sketches\45267CD3CF422CD163E590AF8B86E223/NWI1254-3.ino.bootloader.bin" 0x8000 "C:\Users\Administrator\AppData\Local\arduino\sketches\45267CD3CF422CD163E590AF8B86E223/NWI1254-3.ino.partitions.bin" 0xe000 "C:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\3.3.1/tools/partitions/boot_app0.bin" 0x10000 "C:\Users\Administrator\AppData\Local\arduino\sketches\45267CD3CF422CD163E590AF8B86E223/NWI1254-3.ino.bin" |
|
| 88 | + |
|
| 89 | + |
|
| 90 | + |
|
| 91 | + |
|
| 77 | 92 | ## update logs and issues |
| 78 | 93 | |
| 79 | 94 | - [[CONN-USB-micro-vertical-dat]] |
| 80 | 95 | |
| 96 | + |
|
| 97 | + |
|
| 98 | + |
|
| 99 | + |
|
| 100 | + |
|
| 101 | + |
|
| 81 | 102 | ## ref |
| 82 | 103 | |
| 104 | +- [[NWI1254-fab]] |
|
| 105 | + |
|
| 83 | 106 | - [[NWI1254]] - [[NWI1252]] |
| 84 | 107 | |
| 85 | 108 | - legacy wiki page |
Chip-cn-dat/Espressif-dat/ESP32-C3-dat/ESP32-C3-DAT.md
| ... | ... | @@ -1,17 +1,32 @@ |
| 1 | 1 | |
| 2 | 2 | |
| 3 | 3 | |
| 4 | -# ESP32-C3 DAT |
|
| 4 | +# ESP32-C3-DAT |
|
| 5 | + |
|
| 6 | + |
|
| 5 | 7 | - RISC-V |
| 6 | 8 | - 160MHz |
| 7 | 9 | - RAM:400KB |
| 8 | 10 | - QFN32_5x5 |
| 9 | 11 | |
| 12 | + |
|
| 13 | + |
|
| 14 | +## tech |
|
| 15 | + |
|
| 16 | +- [[RISC-V-dat]] - [[zigbee-dat]] - [[wifi-dat]] |
|
| 17 | + |
|
| 18 | +- [[USB-dat]] - [[USB-CDC-dat]] |
|
| 19 | + |
|
| 20 | +- [[jtag-dat]] |
|
| 21 | + |
|
| 22 | + |
|
| 23 | + |
|
| 24 | + |
|
| 10 | 25 | ## Chip |
| 11 | 26 | |
| 12 | 27 | - ESP32-C3FH4 QFN-32 |
| 13 | 28 | |
| 14 | -- [[ESP32-C3-WROOM-02-DAT]] |
|
| 29 | +- [[ESP32-C3-WROOM-02-DAT]] |
|
| 15 | 30 | |
| 16 | 31 | |
| 17 | 32 | ## IPEX Antenna Version |
| ... | ... | @@ -44,6 +59,9 @@ |
| 44 | 59 | |
| 45 | 60 | - ESP32 C3 super mini ? |
| 46 | 61 | |
| 62 | +- [[NWI1254-dat]] |
|
| 63 | + |
|
| 64 | + |
|
| 47 | 65 | ## modules |
| 48 | 66 | |
| 49 | 67 | - [[ESP32-C3-Mini-1-DAT]] - [[ESP-C3-32S-dat]] - [[ESP-C3-12F-dat]] - [[ESP32-C3-WROOM-02-DAT]] |
| ... | ... | @@ -55,7 +73,7 @@ |
| 55 | 73 | |
| 56 | 74 | ## C2 / C3 |
| 57 | 75 | |
| 58 | -- [[ESP32-C3-WROOM-02-DAT]] |
|
| 76 | +- [[ESP32-C3-WROOM-2-DAT]] |
|
| 59 | 77 | |
| 60 | 78 | obselete - [[ESP-C3-32S-dat]] - [[ESP-C3-12F-DAT]] |
| 61 | 79 |
Chip-cn-dat/Espressif-dat/ESP32-C3-dat/ESP32-C3-SDK-dat/ESP32-C3-SDK-dat.md
| ... | ... | @@ -0,0 +1,45 @@ |
| 1 | + |
|
| 2 | +# ESP32-C3-SDK-dat |
|
| 3 | + |
|
| 4 | + |
|
| 5 | +- [[ESP-SDK-dat]] - [[ESP32-SDK-dat]] - [[ESP32-C3-SDK-dat]] - [[ESP32-S3-SDK-dat]] |
|
| 6 | + |
|
| 7 | +- [[SPIFFS-dat]] - [[OTA-dat]] |
|
| 8 | + |
|
| 9 | +- [[rainmaker-dat]] |
|
| 10 | + |
|
| 11 | +- [[bluetooth-dat]] - [[wifi-dat]] - [[zigbee-dat]] - [[USB-dat]] - [[ESP32-C3-USB-dat]] |
|
| 12 | + |
|
| 13 | + |
|
| 14 | + |
|
| 15 | +Arduino-ESP32 core version (2.x vs 3.x) |
|
| 16 | + |
|
| 17 | +## ledcSetup |
|
| 18 | + |
|
| 19 | +ledcSetup() is not available in ESP32 Arduino core v3.x (it was the old LEDC API in 2.x). On ESP32‑C3 with core 3.x you must use the new LEDC API: ledcAttach(...) + ledcWrite(...) (no ledcSetup, no ledcAttachPin). |
|
| 20 | + |
|
| 21 | +Fix (ESP32‑C3 / Arduino-ESP32 v3.x) |
|
| 22 | +In your setup() replace the whole “configure PWM channels” block with this: |
|
| 23 | + |
|
| 24 | + // configure PWM channels for RGBW (Arduino-ESP32 core 3.x) |
|
| 25 | + ledcAttach(R_LED, LEDC_BASE_FREQ, LEDC_TIMER_BIT); |
|
| 26 | + ledcAttach(G_LED, LEDC_BASE_FREQ, LEDC_TIMER_BIT); |
|
| 27 | + ledcAttach(B_LED, LEDC_BASE_FREQ, LEDC_TIMER_BIT); |
|
| 28 | + ledcAttach(W_LED, LEDC_BASE_FREQ, LEDC_TIMER_BIT); |
|
| 29 | + |
|
| 30 | +And in test_LED() change all writes from channel-based to pin-based: |
|
| 31 | + |
|
| 32 | +Replace: |
|
| 33 | + |
|
| 34 | + ledcWrite(LEDC_CHANNEL_R, v) → ledcWrite(R_LED, v) |
|
| 35 | + ledcWrite(LEDC_CHANNEL_G, v) → ledcWrite(G_LED, v) |
|
| 36 | + ledcWrite(LEDC_CHANNEL_B, v) → ledcWrite(B_LED, v) |
|
| 37 | + ledcWrite(LEDC_CHANNEL_W, v) → ledcWrite(W_LED, v) |
|
| 38 | + |
|
| 39 | + |
|
| 40 | + |
|
| 41 | +## ref |
|
| 42 | + |
|
| 43 | +- [[ESP32-C3-dat]] - [[ESP32-S3-dat]] |
|
| 44 | + |
|
| 45 | +- [[AI]] |
|
| ... | ... | \ No newline at end of file |
Chip-cn-dat/Espressif-dat/ESP32-C3-dat/ESP32-C3-USB-dat/ESP32-C3-USB-dat.md
| ... | ... | @@ -1,6 +1,7 @@ |
| 1 | 1 | |
| 2 | 2 | # ESP32-C3-USB-dat |
| 3 | 3 | |
| 4 | +- [[USB-dat]] |
|
| 4 | 5 | |
| 5 | 6 | https://stackoverflow.com/questions/77141547/serial-monitoring-esp32c3 |
| 6 | 7 |
Chip-cn-dat/Espressif-dat/ESP32-C3-dat/ESP32-\302\255C3-\302\255WROOM\302\255-02-DAT/ESP32-\302\255C3-\302\255WROOM-\302\25502-DAT.md
| ... | ... | @@ -2,6 +2,14 @@ |
| 2 | 2 | |
| 3 | 3 | # ESP32-C3-WROOM-02-dat |
| 4 | 4 | |
| 5 | + |
|
| 6 | +- 2.4 GHz Wi-Fi (802.11b/g/n) and Bluetooth® 5 module |
|
| 7 | +- Built around ESP32-C3 series of SoCs, RISC-V single-core microprocessor |
|
| 8 | +- Flash up to 16 MB |
|
| 9 | +- 15 GPIOs |
|
| 10 | +- On-board PCB antenna or external antenna connector |
|
| 11 | + |
|
| 12 | + |
|
| 5 | 13 | 2x9 pins |
| 6 | 14 | |
| 7 | 15 | - GPIO == 13 |
| ... | ... | @@ -18,6 +26,7 @@ |
| 18 | 26 | |
| 19 | 27 | |
| 20 | 28 | ## Dimensions |
| 29 | + |
|
| 21 | 30 |  |
| 22 | 31 | |
| 23 | 32 | ## Pin Definitions |
| ... | ... | @@ -25,6 +34,8 @@ |
| 25 | 34 | |
| 26 | 35 | |
| 27 | 36 | ## datasheet |
| 37 | + |
|
| 38 | +https://www.espressif.com/sites/default/files/documentation/esp32-c3-wroom-02_datasheet_en.pdf |
|
| 28 | 39 | https://www.espressif.com.cn/sites/default/files/documentation/esp32-c3-wroom-02_datasheet_cn.pdf |
| 29 | 40 | |
| 30 | 41 |
Chip-cn-dat/Espressif-dat/ESP32-S3-DAT/ESP32-S3-SDK-dat/ESP32-S3-SDK-dat.md
| ... | ... | @@ -3,7 +3,17 @@ |
| 3 | 3 | |
| 4 | 4 | - [[ESP32-S3-dat]] |
| 5 | 5 | |
| 6 | -- [[ESP-SDK-dat]] - [[ESP32-SDK-dat]] |
|
| 6 | + |
|
| 7 | +- [[ESP-SDK-dat]] - [[ESP32-SDK-dat]] - [[ESP32-C3-SDK-dat]] - [[ESP32-S3-SDK-dat]] |
|
| 8 | + |
|
| 9 | +- [[SPIFFS-dat]] - [[OTA-dat]] |
|
| 10 | + |
|
| 11 | +- [[rainmaker-dat]] |
|
| 12 | + |
|
| 13 | +- [[bluetooth-dat]] - [[wifi-dat]] - [[zigbee-dat]] - [[USB-dat]] - [[ESP32-C3-USB-dat]] |
|
| 14 | + |
|
| 15 | + |
|
| 16 | + |
|
| 7 | 17 | |
| 8 | 18 | - [[circuitpython-ESP32-s3-dat]] |
| 9 | 19 |
Chip-cn-dat/Espressif-dat/ESP32-dat/ESP32-HDK-dat/ESP32-USB-dat/ESP32-USB-dat.md
| ... | ... | @@ -9,7 +9,7 @@ |
| 9 | 9 |  |
| 10 | 10 | |
| 11 | 11 | |
| 12 | -## Arduino Code tested with [[ESP32-C3-WROOM-02-DAT]] |
|
| 12 | +## Arduino Code tested with [[ESP32-C3-WROOM-2-DAT]] |
|
| 13 | 13 | |
| 14 | 14 | - not working |
| 15 | 15 | - maybe hardware problem, or code problem, or need further test |
SDK-dat/ESP-SDK-dat/ESP-SDK-dat.md
| ... | ... | @@ -8,6 +8,21 @@ |
| 8 | 8 | |
| 9 | 9 | - [[ESP-dat]] |
| 10 | 10 | |
| 11 | + |
|
| 12 | + |
|
| 13 | +## ESP32 x3 |
|
| 14 | + |
|
| 15 | +- [[ESP-SDK-dat]] - [[ESP32-SDK-dat]] - [[ESP32-C3-SDK-dat]] - [[ESP32-S3-SDK-dat]] |
|
| 16 | + |
|
| 17 | +- [[SPIFFS-dat]] - [[OTA-dat]] |
|
| 18 | + |
|
| 19 | +- [[rainmaker-dat]] |
|
| 20 | + |
|
| 21 | +- [[bluetooth-dat]] - [[wifi-dat]] - [[zigbee-dat]] - [[USB-dat]] - [[ESP32-C3-USB-dat]] |
|
| 22 | + |
|
| 23 | + |
|
| 24 | + |
|
| 25 | + |
|
| 11 | 26 | ## IDE |
| 12 | 27 | |
| 13 | 28 | - [[arduino-ide-dat]] - [[platformio-dat]] - [[arduino-esp32-dat]] - [[arduino-esp8266-dat]] |
SDK-dat/ESP-SDK-dat/esptool-dat/esptool-dat.md
| ... | ... | @@ -16,6 +16,32 @@ or python2 == pip install esptool |
| 16 | 16 | |
| 17 | 17 | |
| 18 | 18 | |
| 19 | + |
|
| 20 | +## arduino demo to esptool batch flashing |
|
| 21 | + |
|
| 22 | +get the raw command like [[NWI1254-dat]] |
|
| 23 | + |
|
| 24 | + "C:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\tools\esptool_py\5.1.0/esptool.exe" --chip esp32c3 --port "COM15" --baud 921600 --before default-reset --after hard-reset write-flash -z --flash-mode keep --flash-freq keep --flash-size keep 0x0 "C:\Users\Administrator\AppData\Local\arduino\sketches\45267CD3CF422CD163E590AF8B86E223/NWI1254-3.ino.bootloader.bin" 0x8000 "C:\Users\Administrator\AppData\Local\arduino\sketches\45267CD3CF422CD163E590AF8B86E223/NWI1254-3.ino.partitions.bin" 0xe000 "C:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\3.3.1/tools/partitions/boot_app0.bin" 0x10000 "C:\Users\Administrator\AppData\Local\arduino\sketches\45267CD3CF422CD163E590AF8B86E223/NWI1254-3.ino.bin" |
|
| 25 | + |
|
| 26 | +find out the temperory folder like, call it sub folder |
|
| 27 | + |
|
| 28 | + C:\Users\Administrator\AppData\Local\arduino\sketches\45267CD3CF422CD163E590AF8B86E223 |
|
| 29 | + |
|
| 30 | +copy and replace |
|
| 31 | + |
|
| 32 | + .\NWI1254-3.bootloader.bin |
|
| 33 | + .\NWI1254-3.partitions.bin |
|
| 34 | + .\NWI1254-3.ino.bin |
|
| 35 | + |
|
| 36 | +now the full commands to |
|
| 37 | + |
|
| 38 | + "C:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\tools\esptool_py\5.1.0/esptool.exe" --chip esp32c3 --port "COM15" --baud 921600 --before default-reset --after hard-reset write-flash -z --flash-mode keep --flash-freq keep --flash-size keep 0x0 ".\NWI1254-3.ino.bootloader.bin" 0x8000 "C:\Users\Administrator\AppData\Local\arduino\sketches\45267CD3CF422CD163E590AF8B86E223/NWI1254-3.ino.partitions.bin" 0xe000 ".\boot_app0.bin" 0x10000 ".\NWI1254-3.ino.bin" |
|
| 39 | + |
|
| 40 | + |
|
| 41 | + |
|
| 42 | + |
|
| 43 | + |
|
| 44 | + |
|
| 19 | 45 | ## command errors |
| 20 | 46 | |
| 21 | 47 | - Wrong option names: you used hyphens in option values (default-reset, hard-reset) and in flash options (--flash-mode, --flash-freq, --flash-size). esptool expects underscores (default_reset, hard_reset, --flash_mode, --flash_freq, --flash_size). |
Tech-dat/Interface-dat/USB-dat/usb-dat.md
| ... | ... | @@ -7,7 +7,6 @@ |
| 7 | 7 | |
| 8 | 8 | - [[CONN-USB-dat]] - [[conn-dat]] |
| 9 | 9 | |
| 10 | -- [[USB-STM32-dat]] |
|
| 11 | 10 | |
| 12 | 11 | - [[USB-OTG-dat]] - [[USB-CDC-dat]] - [[USB-HID-dat]] - [[USB-MSC-dat]] - [[USB-DFU-dat]] - [[WebSerial-dat]] |
| 13 | 12 | |
| ... | ... | @@ -33,6 +32,9 @@ |
| 33 | 32 | - [[lightning-dat]] |
| 34 | 33 | |
| 35 | 34 | |
| 35 | + |
|
| 36 | + |
|
| 37 | + |
|
| 36 | 38 | ## signal conversion |
| 37 | 39 | |
| 38 | 40 | - [[USB-SPI-dat]] |
| ... | ... | @@ -43,6 +45,8 @@ |
| 43 | 45 | |
| 44 | 46 |  |
| 45 | 47 | |
| 48 | +- [[ESP32-C3-USB-dat]] - [[USB-STM32-dat]] |
|
| 49 | + |
|
| 46 | 50 | |
| 47 | 51 | ## Schematic |
| 48 | 52 |
Tech-dat/interactive-dat/LED-dat/led-driver-dat/led-driver-dat.md
| ... | ... | @@ -14,6 +14,17 @@ https://w.electrodragon.com/w/LED_Drive |
| 14 | 14 | - [[XL4015-dat]] |
| 15 | 15 | - [[CN5711-dat]] |
| 16 | 16 | |
| 17 | + |
|
| 18 | + |
|
| 19 | +## tech |
|
| 20 | + |
|
| 21 | +- [[mosfet-dat]] |
|
| 22 | + |
|
| 23 | +- [[constant-current-dat]] |
|
| 24 | + |
|
| 25 | + |
|
| 26 | + |
|
| 27 | + |
|
| 17 | 28 | ## Common questions |
| 18 | 29 | |
| 19 | 30 | This is a buck (step-down) constant-current LED driver. Input: 5–32 V. |