Wiring the Bluetooth HC06 / 4 Channel Relay Switching with Android
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.
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…..
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?
Pressing the reset button is not related to the code. reset button is just to reset the micro-controller return the setup & loop state, the same like your going 2 remove the power and put-it back. yes you can reprogram your MCU using bootloader see this link. > https://www.arduino.cc/en/Hacking/Bootloader
We use cookie to provide you the best possible experience, this site uses cookies and by continuing to use the site you agree that we can save them on your device. Cookies are small text files which are placed on your computer and which remember your preference / some details of your visit. Our cookies don’t collect any personal information. For information, please read our Privacy Statement and Cookie Policy , which also explains how to disable this option in your browser. Cookie SettingsACCEPT
Privacy & Cookies Policy
Privacy Overview
This website uses cookies to improve your experience while you navigate through the website. Out of these cookies, the cookies that are categorized as necessary are stored on your browser as they are as essential for the working of basic functionalit...
Necessary cookies are absolutely essential for the website to function properly. This category only includes cookies that ensures basic functionalities and security features of the website. These cookies do not store any personal information.
Any cookies that may not be particularly necessary for the website to function and is used specifically to collect user personal data via analytics, ads, other embedded contents are termed as non-necessary cookies. It is mandatory to procure user consent prior to running these cookies on your website.
there is an error on the code.
Missing If Statement and void loop()
fix.
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.
Please give me soluition. I’m waiting for your reply.
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…..
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?
Is this code and MCU case sensitive??
I’m using HC06 bluetooth module for serial communication.
Can i reset my MCU and reprogram again?
Pressing the reset button is not related to the code. reset button is just to reset the micro-controller return the setup & loop state, the same like your going 2 remove the power and put-it back. yes you can reprogram your MCU using bootloader see this link. > https://www.arduino.cc/en/Hacking/Bootloader
Thank you .
It is working very nice. Thank you so much.