• 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

Node-Red +MQTT + ESP32 + Relay Module

Q&A Forum › Category: Home Automation › Node-Red +MQTT + ESP32 + Relay Module
0 Vote Up Vote Down
Uche Mbanaso asked 1 year ago

I have completed the unit for multiple digital outputs using Node-red MQTT and ESP32. I then decided to let it trigger a relay for the AC bulb. The relay module VCC is connected to 5v, and the digital signal input is connected to the digital output of ESP 32 PIN 26. when the switch is ON, the relay LED turns ON, meaning it receives the signal but the relay isn’t triggered. I have used both digital HIGH and LOW to activate the relay without success. Meanwhile, these relays worked well with the same ESP 32 on a standalone project with ESP32. Wondering, what is going on. Any help will be appreciated.

Question Tags: #Node_RedESP32Relay
4 Answers
0 Vote Up Vote Down
Ronald Petty answered 1 year ago

what is the part number of the relay you are using? Does the relay need VCC, a signal, and a ground? 

0 Vote Up Vote Down
Uche Mbanaso answered 1 year ago

Yes, the relay has VCC, GND and Signal. However, I have resolved it. The 5V from the computer was unable to power the relays. Once I wired with an external 5v, the relays operated.

I have another practical question but let open another thread. Thanks for your support

0 Vote Up Vote Down
Ronald Petty answered 1 year ago

You’re welcome.

0 Vote Up Vote Down
Sara Santos Staff answered 1 year ago

Hi.
I’m glad the issue is solved.
I’ll mark this issue as resolved. If you need further help, you just need to open a new question in our forum.
Regards,
Sara

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.