I want to know which Digital pins of Wemos D1 R1 sullpy 5V as output.
I am using a 5V relay which is not reponding on wemos digital pins but on arduion Uno and i got to know that 5V is nessecery for relay INPUT pin also.
I want to know which Digital pins of Wemos D1 R1 sullpy 5V as output.
I am using a 5V relay which is not reponding on wemos digital pins but on arduion Uno and i got to know that 5V is nessecery for relay INPUT pin also.
I don' think any of them will. If it is not driving the relay, try connecting a transistor as a switch to it. Google:
Transistor as a switch
To get a circuit diagram. Good luck!
Can i use 3.3 volt?
Yes, a 3.3v signal will be sufficient to drive a transistor hooked up as a switch. Are you using a relay module or a straight relay?
relay module
can i power relay module from 3.3 volt
Ok. What are you trying to drive with your relay? Is it isolated?
There should be no problem powering it with a 3.3v power supply, but I do not think the current the 3.3v pin of the wemos will give enough current to drive it so you will.need an external power supply.
i am trying to control a bulb using the relay
My relay module light is working but the circuit is not opening and closing.
And also not producing the sound of electromagnet.
But when i am using this program everything is working perfectly fine:
void setup() {
pinMode(12, OUTPUT);
}
void loop() {
digitalWrite(12, HIGH);
delay(1000);
digitalWrite(12, LOW);
delay(1000);
}
Please past your code in code tags to make it easier to read. To do that, click on the </> tags on the top window or type:
'''
Your code here
'''
Can you please send a circuit diagram with your wiring?
As @roshan-baig correctly said no pins provide 5V.
If you look at the left hand side of this diagram, you will see a transistor being used to drive a relay. Any NPN transistor will do as long as it can handle the current needed by the relay.
The right hand part of the diagram shows how the contacts of the relay can drive a motor in one direction of the other. So you can ignore that.
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.