SlipperyPenguin
I’m just wondering how hard it would be to write custom code for the 

STM8S003F3 micro as to port the ESP code as a foundation?


I’m asking since Amazon has some garage door opener devices that are wifi enabled and has a dry contact input and a dry contact output and figured it made for a low cost project device of $25. 

Reply 1 0
thiagoralves
A quick google search showed me that stm8s is arduino compatible, so this could be as easy as loading the esp8266 sketch and compiling it for the stm8s. Adjustments might need to be made in IO mapping and perhaps around the WiFi library, but the bulk of the code should work just fine
Reply 0 0
Josef Bernhardt
For a garage door opener, I could recommend a board with the ESP8266,
it doesn't cost more than € 25 and offers more options than the board from Amazon!

The board has 24V digital inputs and outputs and 0 to 10V for the analog lines.
The voltage supply may be in a range from 9 to 30 V. At 24V the current
consumption is 25mA which corresponds to a power consumption of 0.576 watts.
This means that you have energy costs for a controller of just a few euros in one year !

A connection for a DHT11 / 22 or DS18B20 sensor is also available.
It is programmed via the Arduino IDE.
A Modbus TCP Software is available vom openplcproject !


FotoBoard1_5.jpg 
Reply 1 0
Reply