Posts
INSTALLATION OF MICROPYTHON ON NODEMCU esp8266
- Get link
- X
- Other Apps
I've explained in detail on how to install micropython on nodemcu esp8266. you can refer this and install it. We'll use this in future projects. Step 1: Erash flash memory from nodemcu esp8266 incase it was used in previous projects. Enter the following command in your command prompt or windows powershell. Hold the flash button in your nodemcu while you do this step and relase it when the erasing starts. python -m esptool --chip esp8266 erase_flash Note: Make sure that your nodemcu esp8266 is plugged in one of the ports of the device. If this command fails, do these steps: 1. Install python onto your pc or laptop. https://www.python.org/downloads 2. Install esptool packages by entering this in your command prompt. P ython -m pip install esptool Bonus: If you have already installed this package update it using this command. P ython.exe -m pip install --upgrade pip 3. Check if it got installed correctly using this command. python -m esptool If you get some...
Control led light remotely using Nodemcu esp8266
- Get link
- X
- Other Apps
In this project, we are going to turn a led on or off and talk about the protocol involved. First let's set up our project. COMPONENTS REQUIRED: NodeMCU esp8266, 9 V battery, IC7805 Voltage Regulator, 330 ohm resistor, led, connecting wires. PROJECT SETUP: Step 1: Setup the arduino IDE to upload the code to NodeMCU esp8266 (I've given another post on how to setup your ide to upload your code in detail) Step 2: Copy this code and paste it in your IDE and upload it to your NodeMCU esp8266 #include <ESP8266WiFi.h> #include <ESP8266WebServer.h> // Replace with your network credentials const char* ssid = "xxxxx"; const char* password = "xxxxxx"; ESP8266WebServer server(80); const int ledPin = D0; // Define the pin connected to the LED void handleRoot() { String status; if (server.hasArg("on")) { digitalWrite(ledPin, HIGH); status = "LED is ON"; } else if (server.hasArg("...
Hello! It's me!
- Get link
- X
- Other Apps
Oct 25 2023: Warm greetings to all who have stumbled here! I'm Ancy Riga, a 3rd year junior engineer who's passionate about electronics and reading books-fictional, of course. I want to connect with all of you guys out there who shares my interest and to discuss, learn and grow along the way. Learning is a lifelong process so I wish all of us to be kind towards one another-no matter how trivial you think the mistake is. And it goes without saying that I wish this to be safe space catered to anyone who wants to talk about electronics and books. This blog will be purely about electronics and about all the cool projects that you can build using Nodemcu esp8266! I'll try to delve deep into the protocols and what exactly is happening behind the scene. But if I am wrong please do correct me or if you want to add any points, feel free to do so in the comments. I'll talk about books in my other blog and you can sneak in there if you wish! Anyways, that's all from me! Cheer...