Pump + Relais + Decoupling
-
Hi,
Picked up the hobby again :-)
I would like to build an irregation system with a pump, 4 valves and a sensor to easure the total amount of water in a tank.
I have found some sketches to help me with the problem. So I hope this would not be the problem.
I now have tried the relais sketch on my doormagnet (other project), and after a while it will fail (probably noise causes the problem)
My system is:
Arduino nano
radio NRF2401 PA/LNA
NRF24L01+ Socket Adapter Board
relais board
All of this are connected with jumper wires and the arduino + radio are fed seperatly with a charger.Before I try to build the irregation system I would like to know if there is a good method to calcuate the size of the decoupling capacitor. And where do I have to put it. Do I have to put it on the 230V side, or also on the 5V (on the relais board)
Hope too get some aswers here, thanks in advance
-
Hi,
Picked up the hobby again :-)
I would like to build an irregation system with a pump, 4 valves and a sensor to easure the total amount of water in a tank.
I have found some sketches to help me with the problem. So I hope this would not be the problem.
I now have tried the relais sketch on my doormagnet (other project), and after a while it will fail (probably noise causes the problem)
My system is:
Arduino nano
radio NRF2401 PA/LNA
NRF24L01+ Socket Adapter Board
relais board
All of this are connected with jumper wires and the arduino + radio are fed seperatly with a charger.Before I try to build the irregation system I would like to know if there is a good method to calcuate the size of the decoupling capacitor. And where do I have to put it. Do I have to put it on the 230V side, or also on the 5V (on the relais board)
Hope too get some aswers here, thanks in advance
@Naitsirhc Since you are using the amplified Radio (PA/LNA) with the socket adapter board he decoupling for the radio should be fine. There are a few discussions on the forum on what kind of problems you can encounter.
First suggestion I have is lowering the transmission energy#define RF24_PA_LEVEL RF24_PA_LOWand make sure you have a sufficient supply (not the on-board ldo of the nano or an FTDI adapter). -
Hi,
Picked up the hobby again :-)
I would like to build an irregation system with a pump, 4 valves and a sensor to easure the total amount of water in a tank.
I have found some sketches to help me with the problem. So I hope this would not be the problem.
I now have tried the relais sketch on my doormagnet (other project), and after a while it will fail (probably noise causes the problem)
My system is:
Arduino nano
radio NRF2401 PA/LNA
NRF24L01+ Socket Adapter Board
relais board
All of this are connected with jumper wires and the arduino + radio are fed seperatly with a charger.Before I try to build the irregation system I would like to know if there is a good method to calcuate the size of the decoupling capacitor. And where do I have to put it. Do I have to put it on the 230V side, or also on the 5V (on the relais board)
Hope too get some aswers here, thanks in advance
-
Hi,
I promised to keep in touch.... :-)
I have disconnected the radio from the Arduino, so the radio is fed through a seperate stable 5V.
And also the relais board is fed seperately.
It runs for a cuple of days and it seems to work well. Time to move on.
To see if the magnet is working or not, I decided to connect a RGB led. When I connect the led, the board is going bonkers. The led is connected on D5 and D6 and the other side to ground (via a resistor)Anybody a clue?
-
Hi,
I promised to keep in touch.... :-)
I have disconnected the radio from the Arduino, so the radio is fed through a seperate stable 5V.
And also the relais board is fed seperately.
It runs for a cuple of days and it seems to work well. Time to move on.
To see if the magnet is working or not, I decided to connect a RGB led. When I connect the led, the board is going bonkers. The led is connected on D5 and D6 and the other side to ground (via a resistor)Anybody a clue?
-
Going bonkers is probably not the right word. I actually meant that the owner, and especialy his wife, are going bonkers :-)
What I meant is:
When I connect the led: (red = D5, Green = D6 and the ground is connected through a resistor of 1K.) When I turn on the relay it's answering for aprox. 5 minutes and than it crashes.
I can only reanimate it by turning off the power -
Going bonkers is probably not the right word. I actually meant that the owner, and especialy his wife, are going bonkers :-)
What I meant is:
When I connect the led: (red = D5, Green = D6 and the ground is connected through a resistor of 1K.) When I turn on the relay it's answering for aprox. 5 minutes and than it crashes.
I can only reanimate it by turning off the power
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login