• 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

ESP32 Web Server – Control Outputs (Relay)

Q&A Forum › Category: ESP32 › ESP32 Web Server – Control Outputs (Relay)
0 Vote Up Vote Down
SALAH ALHADDABI asked 6 years ago

Dear,

I have 5V relay where I tried to control a door lock that requires 12V instead of the lamp example you provided. I wired everything as described in your video but I was only able to turn on the green LED on the relay but it is not clicking!!

Looks like the 3.3v was not enough for the relay to click.

Also, VIN pin did not not even turn the LED on the relay so I had to use the 3.3V pin on the ESP32 instead.

Do I need to get a 3V relay instead or can you please help me with a simple workaround?

Question Tags: ESP32 5V Relay
3 Answers
0 Vote Up Vote Down
Rui Santos Staff answered 6 years ago

Can you send me a link to where you bought the relay, so I know exactly which relay module you’re using?

With most 5V relays, you can power them with 5V (ESP Vin pin) and control them with a 3.3V signal.

0 Vote Up Vote Down
SALAH ALHADDABI answered 6 years ago

You are right dear. The relay that I was using (Chinese) was not working.

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

I hope it’s working now!

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.