Hi all. So My ESP8266 board has just arrived. Now I can link to Blynk via wifi… hopefully.
I’m trying to work out and have looked but can’t find a definitive answer with regards to powering it.
It says it’s a 3.3v input (which I didn’t know from the start as previously used Arduinos) my dosing pump takes 12v which I was hoping to run into the enclosure and use a 12v-5v reducer which I have to run the board. But can I run it with 5v at all??
Yes, this is a NodeMCU, which has an ESP8266 processor on it.
This is actually more powerful than your Arduino, and could replace it entirely, provided you don’t need more than one analogue input and around half a dozen digital pins.
If you want to use it as a WiFi modem for your Arduino then you must not upload a sketch to it, as this will overwrite the factory firmware.
You should connect it to your PC using a USB cable, select the port and set your serial monitor to 74880 then press the RST button. Hopefully you’ll see some data that mentions “AT” firmware. If you do then you should be able to use it as a WiFi modem.
The “Vin” pin (bottom left) accepts 5v to power the board.
The ESP core bit is easy, just follow the instructions about adding the url into preferences then downloading the latest version in boards manager.
This just tells the IDE how to compile code for the ESP boards.
Also, I used to use EEPROM on my Arduino to store all the data that I input in case of a power cut etc. Is it safe to assume (as I do not know how to use it on the NodeMCU) that adding the following will call all data from the cloud and reload it into the Arduino in case of a power cut?
Great, ill do some reading on SPIFFS and Little FS whatever they are. lol
I chose NodeMCU and WiFi.
Basically for my dosing pump (a pump unit that supplies chemicals into a fish tank) I need to ‘prime’ the tubes with the liquid so I have a push button on the app that just turns the pin HIGH/turns the pump on so that it primes the tube. I will rarely use it so thought that using a simple digital pin on/off would suffice.