Introduction: ESP8266/ARDUINO Bluetooth Led Control

Picture of ESP8266/ARDUINO Bluetooth Led Control

hi,

this is a fun project for controlling an led on nodemcu using the music player on your mobile phone through bluetooth.

click here to watch on YouTube.

follow the next steps for the arduino code and the connections

Step 1: The Connections

Picture of The Connections

The ADC pin is the top most pin on the left side of nodemcu module. The positive signal / wire from the bluetooth speaker is connected to this pin.

I have connected the positive lead on the LED to the GPIO5 on NodeMcu (second pin from the top on right side),

and the negative lead is connected to the ground pin on the NodeMcu.

Step 2: The Arduino Sketch

you can use an Arduino board instead of the NodeMcu.
the sketch will be same for the arduino board (except you dont need the #include <ESP8266WiFi.h> statement.)

the code is in the text format..

SO, that's it guys.. Enjoy the Embedded Systems

Comments

DougL56 (author)2017-09-26

This is a nice little project demonstrating how to control a digital output with an analog input. But it really isn't a bluetooth project because it doesn't use any bluetooth components. The speaker just provides an analog input signal; the fact that it's a bluetooth speaker is incidental.

Curiositydrive (author)DougL562017-09-26

Yeah, but there is a significant difference between using a wired earphone jack to give the "analog" input and using a wireless "bluetooth" speaker. And this is not about just "controlling digital output with an analog input", it's about putting useless things into "use". Hope you get the point.

About This Instructable

5,337views

11favorites

License:

More by Curiositydrive:Running Mobile Phone With 18650 BatteryESP8266/ARDUINO Bluetooth Led ControlDIY: Pocket USB
Add instructable to: