micropython
IoT switch using relay operated by micropython based NodeMCU
IoT is gaining market rapidly. In recent years, many appliance, automobile manufactures have started adding “connected” features in their product line. Most basic IoT implementation you can think of is, switching on|off an appliance over internet. Let us see how this works and how you can build a IoT switch under 7 USD. You need […]
Air quality monitor using GP2Y1010AU0F sensor on micropython based NodeMCU
I had purchased GP2Y1010AU0F sensor about 6 months back. Finally, found time to hook it with NodeMCU controller. Firstly, let me list things you need. NodeMCU (ESP8266) controller (~300₹). GP2Y1010AU0F dust/smoke sensor(~450₹). 150k ohm resistor. 220 µF capacitor. breadboard with some connecting wires. Here is the connection schema of circuit. Since solution is based on […]
Transmit weather stats from DHT22 using MQTT on micropython
In my previous article about DHT22 sensor, I had used arduino based programming to collect and transmit weather stats over MQTT. But that time I was wondering, how can I make it flexible by having WiFi, sensor and MQTT parameters configurable. Now, with micropython, I can prepare a simple json config file having all parameters […]
Publish IoT messages from micropython based client
Micropython is quite capable firmware to build prototypes and do experiments. Paired with ESP8266 micro controller board, it builds a perfect IoT client, which can be further interfaced with variety of sensors, motors, relays etc. Fundamental of IoT is data collection from sensors and connected IoT nodes. You can also establish machine to machine communication […]
micropython – an exciting firmware for microcontrollers
Arduino based controller boards have been all time favorite for developing prototypes and small projects.Arduino uses C++ style of coding. For many new starters it may not be the best programming language with start with. A promising alternate to Arduino is micropython firmware. This is available for variety of boards.In this article, I will cover […]
Programming nodemcu on micropython firmware
NodeMCU board is based on ESP8266 wifi chip. It is an affordable board for IoT, robotics and other embedded programming projects. So far I have used NodeMCU with Arduino to build IoT relays, IoT doorbell and program a number of sensors. NodeMCU and micropython together make embedded programming really simple and easy. To start with, […]