ESP8266/ARDUINO Bluetooth Led Control

14K115

Intro: 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

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

3 Comments

Totally agree with DougL56, it has nothing to do with BT. More, the title is very confusing, it gives the impression ESP8266 is able to communicate "Bluetooth".

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.

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.