• Skip to main content
  • Skip to primary sidebar

RNTLab.com

The Ultimate Shortcut to Learn Electronics and Programming with Open Source Hardware and Software

  • Courses
  • Forum
    • Forum
    • Ask Question
  • Shop
  • Account
  • Blog
  • Login

Project with ESP8266 Esp-01 and HC-05 Bluetooth

Q&A Forum › Category: ESP8266 › Project with ESP8266 Esp-01 and HC-05 Bluetooth
0 Vote Up Vote Down
amitbakhle asked 6 years ago

Hi,
Your tutorials and the ebook on Home automation is excellent! It gives step by step guidance which is a must for people who are new. Thanks for the excellent tutorials.
I am building a project with ESP8266 for switching off and on a bulb or any device over Wifi. In some parts I have fund that many times there is no wifi which makes it difficult to use this wifi switch. As a result I want to add either bluetooth or IR or any other suitable mode as a backup in case the wifi fails. Is it possible to do?
What would be a simple solution? Thought of manual override. However if the Wifi switch is at aheight not many people are tall enough to access it. Thats’ why I am thinking of Bluetooth or IR or any other.
Can you suggest?
Thanks in advance .
Regards
Amit 

Question Tags: ESP8266, home automation
4 Answers
0 Vote Up Vote Down
Best Answer
Sara Santos Staff answered 6 years ago

Hi.
Those are alternative methods that you can use. 
In the Home Automation using ESP8266 course, there is a project that uses IR to control a lamp (with IR receiver). You can take a look at that project and see how the IR works and if it is suitable for your project.

Infrared RGB LED Lamp Controller with ESP8266


I haven’t tried using the HC-05 with the ESP8266. But it should be simple to use. Connect RXD and TXD of ESP8266 with TXD and RXD of HC05 and it communicates via serial. The ESP8266 needs to be programmed using the serial port, you need to upload the code before connecting the bluetooth module.
I think you should be able to use commands such as: Serial.available(), Serial.read(), Serial.print(), etc.
I hope this helps
Regards,
Sara

0 Vote Up Vote Down
amitbakhle answered 6 years ago

Hi Sara,
Thanks for your reply.
Thanks for sharing the link. Can i use the same with ESP-01 alongwith the Relay control?

Thanks

Best

Amit

0 Vote Up Vote Down
Sara Santos Staff answered 6 years ago

Yes.
I think you should be able to do that.
RX and TX connected to the Bluetooth module, and one GPIO to control the relay.
Regards,
Sara

0 Vote Up Vote Down
amitbakhle answered 6 years ago

Thanks Sara. Will check 
regards
Amit

Primary Sidebar

Login to Ask or Answer Questions

This Forum is private and it’s only available for members enrolled in our Courses.

Login »

Latest Course Updates

  • [New Edition] Build ESP32-CAM Projects eBook – 2nd Edition April 16, 2025
  • [eBook Updated] Learn ESP32 with Arduino IDE eBook – Version 3.2 April 16, 2025

You must be logged in to view this content.

Contact Support - Refunds - Privacy - Terms - MakerAdvisor.com - Member Login

Copyright © 2013-2025 · RandomNerdTutorials.com · All Rights Reserved

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.