Tasmota,Relay Module,RS485,ESP8266 Контроллер Умного Дома BIG 1.0

USB

U2 GPIO15/GPIO13 = GPIO13 TASMOTA

backlog sensor29 0,2,1; sensor29 1,2,1; sensor29 2,2,1; sensor29 3,2,1
backlog sensor29 4,2,1; sensor29 5,2,1; sensor29 6,2,1; sensor29 7,2,1
backlog SetOption36 0;SetOption65 1;wificonfig 4; SetOption59 1; timezone +3

PZEM-016 RS485
PZEM-016 RS485

Схема: DipTrace Schematic – BIG-Tasmota-V1.0

Немного фоток сборки.

ESP32 Development Board WiFi & bluetooth CP2102 18650 Battery 0.96 inch OLED

Использование OLED Дисплея.

https://github.com/elfnor/micropython-blog-examples/tree/master/oled

import ssd1306,machine
import lcd_gfx

i2c = machine.I2C(scl=machine.Pin(4), sda=machine.Pin(5))
oled = ssd1306.SSD1306_I2C(128, 64, i2c)
oled.text(‘MicroPython on’, 0, 0)
oled.show()

lcd_gfx.drawCircle(35, 50, 10, oled, 1)
lcd_gfx.drawFillCircle(91, 50, 10, oled, 1)
lcd_gfx.drawLine(40, 20, 63, 5, oled, 1)
lcd_gfx.drawLine(63, 5, 85, 5, oled, 1)
lcd_gfx.drawFillTrie(63, 50, 63, 20, 50, 20, oled, 1)
lcd_gfx.drawTrie(63, 50, 63, 20, 78, 20, oled, 1)
lcd_gfx.drawRect(0, 0, 5, 5, oled, 1)
lcd_gfx.drawFillRect(122, 58, 5, 5, oled, 1)
oled.show()