I have an arduino mega. I am trying to interface a 433MHz RF receiver and a 5v relay with my arduino but when I connect both at the same time, arduino is not able to deliver that much power. So I thought of powering the relay externally using a wall charger which is 5v 1A regulated.
When i try to power the relay using my wall charger it doesnt power up. I tried to power up an led circuit, it work well. So I dont understand what am i missing. Is it some resistor or something that i missed?
Are you saying the charger doesn't power-up or that the relay doesn't switch?
The relay is not getting the power so its not switching. When i power it from the 5 volts of the arduino it works fine, but from charger it doesnt.
A relay shouldn't need anything near 1 Amp
Yeah its a 1A charger which means 1A is the max current that it can give. So if the relay needs 100mA then it will draw only 100mA. so I guess thats not a problem
maybe it's not a 5V relay
Its a 5V relay module, I have tested it on the same arduino board by powering it with the on-board 5V supply and it works. its just not working with the wall charger.
I hope it is not directly to the Arduino output pins
I m sry I forgot to mention it before, its a relay module. image below.
I have attached the circuits. The first one in which the relay module is being powered by the arduino's 5V work perfectly fine. But in the second one, when its being powered by the wall charger, its not powering up and so its not switching.
Yeay... What have you learned about electricity? It flows in a circle! Can you complete the circle from the Arduino pin 7 and back? I can't, so just connect the GND of the charger to the GND of the Arduino