Another guide how to wire the HCo6 and 4 Channel Relay for switching,  The HC06 modules uses BlueCore is a single chip radio and baseband IC for Bluetooth 2.4GHz system including enhance data rates (EDR) to 3Mbps. for more details please refer the the CSRBC417 Datasheet.

The BC417143B interfaces to 8Mbit of external flash memory. When used with the CSR Bluetooth software stack, it provides a fully compliant Bluetooth system to version 2.0 of the specification for data and voice communication.

The chip BlueCore has been designed to reduce the number of external components required. The device incorporates auto-calibration and built in self-test BIST routine to simplify the development. All hardware and device firmware is fully complaints with the Bluetooth version 2.0 plus EDR specification.

Configuration and customization settings using AT Command please refer to this link.

Required Components

  • Arduino Nano, UNO, MEGA, DUE, LEO
  • HC06 Bluetooth Module
  • 4 Channel Relay Module
  • Solder Less Breadboard
  • Jumper Wires / DuPont Wire

Android App.

https://play.google.com/store/apps/details?id=com.a14core.relay

Wiring Diagram

Sketch Code

Downloads

Download CSRBC417 Datasheet | PDF
Download AT-Command Reference | PDF

Wiring the Bluetooth HC06 / 4 Channel Relay Switching with Android
Facebooktwitterredditpinterestmail
Tagged on:                                 

JLCPCBPCBgogoPCBway4pcb

10 thoughts on “Wiring the Bluetooth HC06 / 4 Channel Relay Switching with Android

  • at
    Permalink

    I’m upload your program but nothing happend. Relay stays on, when I’m connect my phone and using your app but doesn’t off the relay.

    Reply
  • at
    Permalink

    Please give me soluition. I’m waiting for your reply.

    Reply
    • at
      Permalink

      1. if your using MCU without serial communication it will not work.
      2. if your wiring to a different Digital Pins will not also work.
      try to change the char data start from 1 to 8
      if (data == ‘1’){digitalWrite(R1, HIGH)}
      if (data == ‘2’){digitalWrite(R2, HIGH)}
      and so on…..

      Reply
      • at
        Permalink

        I’m following your steps one by one. I’m using my smart phone for programming arduino nano. But i mistakenly press reset button.
        Is this code case sensitive??
        Can i reprogramme my mcu?

        Reply
  • at
    Permalink

    Is this code and MCU case sensitive??
    I’m using HC06 bluetooth module for serial communication.
    Can i reset my MCU and reprogram again?

    Reply
  • at
    Permalink

    It is working very nice. Thank you so much.

    Reply

Leave a Reply to Prabhat Ranjan Sharma Cancel reply

Your email address will not be published. Required fields are marked *