Posts

Showing posts from January, 2019

Life of a NodeMCU with Python!

Image
The inception of IOT in an engineer's life is probably with the word ESP8266 or NodeMCU or terrible and incomprehensible AT commands or just the word HARD! I have seen so many people including myself wanting to learn IOT with a wifi device like ESP8266 or nodeMCU but struggling after the first code! Frankly because the AT commands doesn't make any sense to me! (didn't at that time) When I wanted to start, I was given a bunch of codes in Arduino and a serial circuit connection from Arduino Uno to nodeMCU board and not surprisingly most of the code didn’t even make sense! Seeing this beautiful little piece with me always made me think, wouldn’t it be awesome if I can code it in Arduino or c++ or python and just upload it like Arduino? I mean it has GPIO pins, Serial, I2C and SPI pins and a micro usb port and on top of that it has flash just like Arduino(s). Well it turns out that I was right and there are many methods to program a nodeMCU board excep