Skip to content

Commit

Permalink
Add new board Shelly dimmer 2
Browse files Browse the repository at this point in the history
The shelly dimmer 2 [0] board is tiny LIVE AC powered board used as a dimmer
by Shelly.

It features a 16M (2mb) quad IO flash chip and already has support in
tasmota [1] (and home-assistant).

Dimming functionality is provided by a secondary STM32 microcontroller,
which is driven via UART0, which means that when using the
microcontroller (and pulling it out of reset), UART0 cannot be used for
debugging. Flashing works just fine, as the STM32 is in reset and
ignores the serial messages. Runtime debugging is provided by the
exposed UART1_TX pin (labeled ESP_DBG_TX by shelly).

[0]: https://us.shelly.com/products/shelly-dimmer2
[1]: https://templates.blakadder.com/shelly_Dimmer_2.html

Signed-off-by: Olliver Schinagl <[email protected]>
  • Loading branch information
oliv3r committed Jan 13, 2025
1 parent 87fdc0f commit 016c100
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions boards/shelly_dimmer_2.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
{
"build": {
"arduino": {
"ldscript": "eagle.flash.2m64.ld"
},
"core": "esp8266",
"extra_flags": "-DESP8266 -DARDUINO_ARCH_ESP8266 -DARDUINO_ESP8266_ESP01",
"f_cpu": "80000000L",
"f_flash": "40000000L",
"flash_mode": "qio",
"mcu": "esp8266",
"variant": "shelly_dimmer_2"
},
"connectivity": [
"wifi"
],
"frameworks": [
"arduino",
"esp8266-rtos-sdk",
"esp8266-nonos-sdk"
],
"name": "WeMos D1 ESP-WROOM-02",
"upload": {
"maximum_ram_size": 81920,
"maximum_size": 2097152,
"require_upload_port": true,
"resetmethod": "ck",
"speed": 115200
},
"url": "https://kb.shelly.cloud/knowledge-base/shelly-dimmer-2",
"vendor": "Shelly"
}

0 comments on commit 016c100

Please sign in to comment.