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.
Thank you Pete. I didn’t scroll down far enough to find the instructions… I thought it was just a folder of files of which I had no idea what they were. Ill do this after my tea. Thank you.
I’m getting on quite well. One thing though, when I tried to use the above pins as you suggested, my Blynk app will only let me select D1 through D10, nothing higher??
I have done some testing and pins D1, D2, D5 and D6 seem to work for basic HIGH/LOW output. Is this ok or not?
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.