-->
Page 1 of 2

upgrade firmware esp8266 from arduino ide

PostPosted: Mon May 27, 2019 2:48 am
by bircastri
Hi all, I have purchased this device that have a ESP8266 integrated. THis device, have just a firmware to control the 4 relays, but I want to know if it is possibile to change the firmware with my personal firmware from Arduino IDE.

If it is possibile do it, in which mode it is possibile do it ?

This is the link of all detail of shield : https://www.banggood.com/it/DC12V-ESP8266-Four-Channel-Wifi-Relay-IOT-Smart-Home-Phone-APP-Remote-Control-Switch-p-1317255.html?gmcCountry=IT&currency=EUR&createTmp=1&utm_source=googleshopping&utm_medium=cpc_union&utm_content=2zou&utm_campaign=ssc-it-all-0508&ad_id=347257067887&gclid=EAIaIQobChMIr4ve95u74gIVjpztCh3jYghJEAQYBSABEgJBdfD_BwE&cur_warehouse=CN

Image



regards.

Re: upgrade firmware esp8266 from arduino ide

PostPosted: Mon May 27, 2019 7:45 am
by rudy
You can change the firmware on the ESP8266 module. But understand that the module does not have direct control of the relays. The relays are controlled by a different chip. And when you replace the code on the ESP module, that new code will need to communicate to the bottom board to the chip that directly controls the relays.

Re: upgrade firmware esp8266 from arduino ide

PostPosted: Mon May 27, 2019 8:26 am
by bircastri
ok, and this is the question because my new firmware should to comunicate directly with relay. There is a way to do this ?

Re: upgrade firmware esp8266 from arduino ide

PostPosted: Mon May 27, 2019 9:06 am
by QuickFix
bircastri wrote:There is a way to do this ?

No, the ESP-01 (the ESP8266 module on your shield) only has 2 (sort of) "Usable" I/O's for relays.

You can get yourself a Sonoff 4CH and program that: it should be the fastest way to get things working.
Some hints about how to put the 4CH into programming mode can be found on the Tasmota Github-page. :idea: