RobotDynOfficial / Lib-RBD-Dimmer-for-Mega-UNO-Leonardo

Here you can find sketches or libraries of our products.
https://www.robotdyn.com
21 stars 7 forks source link

Question: Support for ESP8266 Dev Board? #1

Open petonic opened 5 years ago

petonic commented 5 years ago

Hi -- I was wondering if this library might be able to support an ESP8266 Dev board? I've got the dimmer working using the interrupt approach and a tight loop. I just wanted to use this library for a higher level of abstraction. Thoughts?

carhifitrier commented 5 years ago

I'd like to use esp8266 too! Would be great if you can implement it!

alxnovo commented 5 years ago

I support the above, it is possible to create a similar library for the ESP8266, because basically you need a remote control for which Arduino is not the best solution and the ESP8266 is better in this capacity The ideal option is to integrate support into universal firmware for ESP8266 such as ESPEasy and / or Tasmota

Поддерживаю топикстартера. Очень не хватает библиотеки этого диммера для ESP8266, ведь этот диммер в основном нужно для дистанционного управления и тут чистая Arduino не подходит. А ещё лучше интегрировать поддержку диммера в популярные универсальные прошивки ESPEasy и/или Tasmota. Популярность платы тогда бы поднялась в разы.

https://github.com/letscontrolit/ESPEasy https://github.com/arendst/Sonoff-Tasmota

zCrin commented 5 years ago

Or maybe with the Wimos D1 Mini (esp based board)

carhifitrier commented 5 years ago

If Esp8266 in general is supported, the boards built with it (e.g. D1 mini) would be supported. Best way in my opinion would be to use a software timer, so one is not bound to a specific microcontroller. Pins could be defined in header and so on..

fabianoriccardi commented 5 years ago

Some months ago I developed a similar library for esp8266 (D1 mini in particular). Hoping it could be helpful to someone, I pushed it here on github.

petonic commented 5 years ago

Awesome work, @fabiuz7 ! Thanks for sharing. This conversation and contribution epitomizes all that is great in open source software (and hardware).