Search found 14 matches

by straga
Wed Jul 28, 2021 12:51 pm
Forum: General Discussion and Questions
Topic: AC Dimmer it possible.
Replies: 5
Views: 2866

Re: AC Dimmer it possible.

Now I use:
esp32 as main board (wifi, webUI, Mqtt, Websocket and other) <- (uart communications) -> stm32 (weAct board) .
STM32: Triac Control: CrosZero + Puls Triac Open
stm32_triac control.jpg
stm32_triac control.jpg (48.09 KiB) Viewed 2714 times
by straga
Tue Jul 27, 2021 5:21 pm
Forum: General Discussion and Questions
Topic: AC Dimmer it possible.
Replies: 5
Views: 2866

Re: AC Dimmer it possible.

micropython + stm32 f411: works, need add i2c_slave https://github.com/straga/hardware_probe/blob/master/AC_dimmer/micropython/dimmer_stm32.py esp8266+i2cslave: https://github.com/straga/hardware_probe/blob/master/AC_dimmer/arduino/code/i2c_esp8266.ino control from micropython: https://github.com/st...
by straga
Mon Jul 26, 2021 10:17 am
Forum: General Discussion and Questions
Topic: AC Dimmer it possible.
Replies: 5
Views: 2866

Re: AC Dimmer it possible.

https://stackoverflow.com/questions/557 ... icropython

I get Robodyn AC dimmer.
Try from example always zero-crosse detect drift.
by straga
Sun Jul 25, 2021 1:47 pm
Forum: General Discussion and Questions
Topic: AC Dimmer it possible.
Replies: 5
Views: 2866

AC Dimmer it possible.

AC Dimmer with Zero Cross. Micropython can control that (esp32, stm32)?
From native code or Arduino it is possible. But from micropython ?
by straga
Sat Mar 21, 2020 1:18 pm
Forum: ESP32 boards
Topic: ESP32 using OTA updates
Replies: 7
Views: 16143

Re: ESP32 using OTA updates

Get some info form work with esp-idfv4. https://github.com/straga/uiot_control_board/blob/master/esp32_dev/mod/ota_updater/ota.py - main https://github.com/straga/uiot_control_board/blob/master/esp32_dev/mod/http/route_flash.py - http route https://github.com/straga/uiot_control_board/blob/master/pc...
by straga
Sat Mar 21, 2020 12:56 pm
Forum: ESP32 boards
Topic: ESP32 Camera (ESP32 Cam) Library
Replies: 12
Views: 44383

Re: ESP32 Camera (ESP32 Cam) Library

Some info if esp_idf v4 and latest esp32-camera.

https://github.com/straga/micropython_c ... 20c3bd865f
by straga
Sun Oct 28, 2018 12:25 pm
Forum: ESP32 boards
Topic: OTA
Replies: 7
Views: 9472

Re: OTA

I tried put together all. All modules work with asyncio in separate thread. upy_ota : https://github.com/straga/upy_ota Server OTA: use aiohttp with StreamResponse Firmware with OTA: upy_app : https://github.com/straga/upy_app/tree/master/ota_template Example how it can be use: All use asyncio (ftps...
by straga
Fri Oct 26, 2018 12:35 pm
Forum: ESP32 boards
Topic: OTA
Replies: 7
Views: 9472

Re: OTA

Tried with Own OTA server with some improves in ota_updater.
https://www.youtube.com/watch?v=_ywJw2I ... e=youtu.be
by straga
Tue Oct 23, 2018 1:25 pm
Forum: ESP32 boards
Topic: OTA
Replies: 7
Views: 9472

Re: OTA

We have pull request.
https://github.com/micropython/micropython/pull/3576

I am try it, it works.
https://youtu.be/fImFlty40GY

Why not approve yet ?
by straga
Wed Oct 04, 2017 8:57 am
Forum: ESP32 boards
Topic: PIN 26 pull up
Replies: 1
Views: 2258

PIN 26 pull up

but_26_pin = 26
butto26 = machine.Pin(but_26_pin, mode=Pin.IN, pull=Pin.PULL_UP)

but pin have 1.5v ?
If make pull_down it have 3.3v ?

what right ?