Newbie - Do not succeed to start
-
Dear All,
I'm a newbie at this forum and I'm struggling already a few day's with the following;
I did read this MySensor project and get very enthusiast to build my own sensors for my Domoticz project.
I read everything and ordered some new hardware as recommended.
Now I want to start and my struggle begins.On OSX I installed the arduino IDE. I followed the instructions on https://www.letscontrolit.com/wiki/index.php/Tutorial_Arduino_Firmware_Upload
So far so good.
I think I need first a gateway so I followed the instruction at
(https://www.mysensors.org/build/esp8266_gateway)Now I want to flash the sketch to my ESP-01 module bought at aliexpress, I have the black one.
(https://nl.aliexpress.com/item/Free-Shipping-10pcs-lot-ESP8266-remote-serial-Port-WIFI-wireless-module-through-walls-Wang/2038015501.html?isOrigTitle=true)This ESP-01 I have connected to a FT232RL-FTDI-USB-to-TTL-Serial-Adapter-Module-for-Arduino-Mini-Port-3-3V-5V (put it on 3,3V)
I have connected these 2 components in the following way:
Now the questions comes:
What board and other settings do I have to choose here?
More or less the same question is what programmer do I have to choose;
Compiling the sketch for the Generic ESP8266 gives errors but for NodeMCU 1.0 it is going OK, but I can't get it flashed.
I know this are all newbie questions but I hope for some answers so I can come on my way
If possible I also would like to have some guidance what steps I can do the best, i'm thinking to do the following:
1 - make a gateway
2 - set up a MQTT gateway
3 - build my first temperature sensor
4 - connect the temperature sensor to the domoticz over the gatewayPlease comment or give suggestions what to do and where to find information. At the moment I'm quite confused
Thanks for any help, best regards
Bert
-
I think the generic board does not work because the default settings are not sufficient for ms. Be sure the settings match your actual esp8266 module.
Did you pull down gpio0 when you powered on the module? This activates the programming mode.
If you want to go the easy way just get a node mcu compatible board like wemos d1 mini. It has an onboard USB port and you don't have to manually put it in programming mode.
Mqtt adds complexity. If you don't need it you should choose plain ms.