Hi Arduino Devs and engineers,I need your help for wiring,I have 15 meters of ws2812b activated by 2 PIR sensors,one upstairs and one downstairs.To power all of them I have a 5V 60A power supply but how I can wire both of the PIR sensors to power supply and Arduino for turning on and off the power supply when motion detected to save electricity.Please I need desperate help for this
Consider only turning on and off the logic pin.
Turning off and on the MCU or enabling/disabling the light show?
As post#3 posts use the Pir to detect when to do the light show instead of energize/deenergize.
The light could be supplied power through a relay contact and throwing the relay under set conditions can power on/off the lights.
The lights could be set to off, or light show disabled when pir is enabled.
The Arduino will be always on ,just to turn on and off the Power supply when motion is detected (The fan is very loud + to reduce energy consumption)
You can use a relay to energize and deenergize the power supply according to the PIR signal level.
or can I use the arduino to do it?
Of course a MCU would be doing it.
A MCU can read the pir sensor signal. A MCU can energize or deenergize a relay based upon the pir signal.
Can you give me some examples of that type of relays?I will code a script that when the Pir detects motion,will turn on ws2812b and powersupply(via the relay) for 20seconds,
Are you waiting for someone to do the research for you? It would be better for you if you were to figure out what type of relay you need for a 5V 60A power supply.
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.