Skip to main content

Posts

Showing posts from March, 2017

Color changing LED Strip with BLYNK app

Hello Sailors! Have you ever thought to own a color changing LED strip, so you could change it's color based on your mood, yes I am taking about Mood Light. Today,  we are back with one more interesting IOT project where are going to create a mood light(LED strip) with BLYNK app. Sounds Romantic, hmm!

Let's Rock' n Roll.
Overview: BLYNK app will send message to your NodeMCU over Wifi, these signals will be translated by NodeMCU and LED strip will change color as received in the message.
Things we need:Hardware:SMD 5050 Led Strip (Color changing LED strip)Jumper WiresTIP 120/122 NPN transistor Buying this from local shops would be a better option12V & 3.3V SupplySoftware:Arduino IDEBLYNK AppCircuit: Connections:D5 pin is connected to TIP 120 NPN(U1) transistor's Base pin.D6 pin to Base pin of U2.D7 pin to Base pin of U3.U1, U2 and U3's Collector pins are connected to respective LED color pinU1, U2 and U3's Emitter pins are grounded. Grounded, That's sad!No…

Internet controlled switch using NodeMCU and MQTT

Hello Sailors! Today we are going to build an internet controlled switch. Woah! Internet controlled Switch, sounds cool! With this switch we will be able to switch ON/OFF our appliances from anywhere in the world like a BOSS.
What's NodeMCU? NodeMCU is an open-source IOT module which is based on ESP-12 module, we can create WIFI Access point with this or connect this to our wifi router and then control relays, servos etc. over internet or wifi.
What's MQTT? MQTT is a light weight messaging protocol for small sensors and mobile devices. It consists of a broker(can be on cloud or local network) which routes the messages from publisher to subscriber.

In this project, we will be sending message to NodeMCU which is connected to the internet. The NodeMCU then switches the relay ON/OFF based on the message received. Sounds genius!
How this works? We are going to create an MQTT topic and make our NodeMCU it's subscriber and MQTT dash, the publisher. MQTT  dash will publish the comma…