Arduino

RGB Led Control using Bluetooth

February 11, 2019




Bluetooth Module HC05 RGB Color Control

Bluetooth Module HC05 :

HC-05 module is straightforward to use Bluetooth SPP (Serial Port Protocol) module, designed for clear wireless serial association setup. interface Bluetooth module is absolutely qualified Bluetooth V2.0+EDR (Enhanced information Rate) 3Mbps Modulation with complete two.4GHz radio transceiver and baseband. A Bluetooth transceiver, associated an Arduino. HC 05/06 works on serial communication. The automaton app is intended to send serial information to the Arduino Bluetooth module once a button is ironed on the app. you’ll open the serial monitor and watch the received information whereas connecting.

 

Working Principle :

HC05-Bluetooth-Controller-Lamp

It uses CSR Bluecore 04-External single chip Bluetooth system with CMOS technology and with AFH(Adaptive Frequency Hopping Feature). it’s the footprint as tiny as twelve.7mmx27mm. The STATE pin on the HC-05 zs050 board is connected to the LED two pin on the tiny Bluetooth module and also the LED two pin is employed to point once there’s a full of life association. this implies the Arduino will hook up with the STATE pin and verify once we have an association.

 

Required Parts :

Bluetooth-Module-HC05-RGB-Color-Control-Parts

 

Purchase Link



Pin Connection :

  • Connect VCC with 3.3V of Arduino, please do not connect it with 5V as that can cook the module.
  • Connect GND with any GND of Arduino.
  • Connect Rx pin with Tx of Arduino.
  • Connect Tx pin with Rx of Arduino.

 

Connection Diagram :

First, let’s examine the light-emitting diode strip input. it’s four wires. the primary one, sometimes white, is that the positive 5V input. the opposite three wires are the red, inexperienced and blue signal wires. so as to make a broad sort of colors, we must always offer a lot of or less brightness to every one of those three basic colors. to try and do that we must always apply a PWM signal to the current color pins. If the white pin is already connected to a positive 5V voltage, so as to shut the circuit, the RGB output pins ought to be modulated toward the bottom.

Bluetooth-Module-HC05-RGB-Color-Control-Diagram-Circuit

The problem is that Arduino digital outputs cannot offer quite 200mA and this strip at full brightness might draw quite 1A. For that, we’ve got to place one thing between the Arduino PWM signal and also the light-emitting diode strip. to try and do this we’ve got 2 choices. Use associate NPN semiconductor unit electronic transistor semiconductor device semiconductor unit semiconductor with the electrode pin connected to ground for a PNP transistor with the electrode pin connected to the RGB output pins.




Source  Code

You can watch the following video the written tutorial below

You Might Also Like

No Comments

Leave a Reply