Hi all.
I put together a couple of little off the shelf boards.
I have a 5v supply for these. (USB)
I want the first light sensor board to switch a relay board.
Light sensor: Light Sensor Photoresisor LDR Module For Arduino Raspberry Pi ESP
https://www.ebay.co.uk/itm/314932843191
Relay board: 5V 1-Channel Low Level Trigger Relay Module With Optocoupler. To switch a slightly heavier load than the LDR could handle.
https://www.switchelectronics.co.uk/products/5v-1-channel-low-level-trigger-relay-module-with-optocoupler?currency=GBP&variant=45339594162485&utm_medium=cpc&utm_source=google&utm_campaign=Google Shopping&stkn=bbf1d20e1ed7&gclid=EAIaIQobChMIsNvAz8mygwMVlYBQBh0EYAz7EAQYAiABEgIxh_D_BwE
The problem I'm having is, when the photoresistor is hovering on it's trigger level, but not over it. It has the relay trying to switch. This causes a buzzing in the relay.
My question is: Would using a capacitor across the DO stop this, or is ther another solution?
The reason I don't just try it, is that the access to the boards is now so difficult.
I put together a couple of little off the shelf boards.
I have a 5v supply for these. (USB)
I want the first light sensor board to switch a relay board.
Light sensor: Light Sensor Photoresisor LDR Module For Arduino Raspberry Pi ESP
https://www.ebay.co.uk/itm/314932843191
Relay board: 5V 1-Channel Low Level Trigger Relay Module With Optocoupler. To switch a slightly heavier load than the LDR could handle.
https://www.switchelectronics.co.uk/products/5v-1-channel-low-level-trigger-relay-module-with-optocoupler?currency=GBP&variant=45339594162485&utm_medium=cpc&utm_source=google&utm_campaign=Google Shopping&stkn=bbf1d20e1ed7&gclid=EAIaIQobChMIsNvAz8mygwMVlYBQBh0EYAz7EAQYAiABEgIxh_D_BwE
The problem I'm having is, when the photoresistor is hovering on it's trigger level, but not over it. It has the relay trying to switch. This causes a buzzing in the relay.
My question is: Would using a capacitor across the DO stop this, or is ther another solution?
The reason I don't just try it, is that the access to the boards is now so difficult.
Last edited by a moderator:
