Hi all,
I am working on a way to get my minidsp 2x4HD to turn off when the raspberry pi to which it is connected turns off.
The minidsp is powered by a 12V DC wallwart and uses 2.5W according to minidsp specs.
Because of safety/insurance reasons, i don't want to do anything on the mains level, so i aim to add my switch to the 12V DC line between the wallwart and the minidsp. Also, i want to do it the simplest way possible, and i believe the easiest and fastest (fastest from the operational point of view) way to do it, that does not even require to write a line of code, is by using switches/relays:
To start with, I plan to use a 5V relay connected to the 5V pins of the pi (for power) and to one of the 3.3V pins for signal. When the pi turns off, the 3.3V signal will be lost and the relay will open the circuit -> the minidsp will power off. The relay i am going to use is this:
All good there (I hope). If i understand it well, electromechanical relays will not affect the voltage, the module has a optocoupler isolator and should be more capable than enough to bear this very small load and i cannot think on anything going wrong. Please tell me if i am missing something!
However, i don't like the idea of the relay being powered all the time my system is on, and the clicks, etc, and for the long term i would prefer to find a more elegant solid state solution, and there is when i stomped into mosfets. I have absolutely no idea about electronics but as a science driven person i have done my due diligence and watched all the related Great Scott youtube videos and others
Searching Ali i came accross these modules:
In particular, the one with the LR7843 mosfet has a resistance of 3.3mOhm at 10V/15A and 4mOhm at 4.5V/12A per datasheet. I don't know how to calculate the resistance at 12V/0,2A that the minidsp will use but i am assuming it will be negligible and won't lower the voltage too much.
I plan to connect the signal to the constant 3.3V gpio pin of the pi as explained above for the relay and ground to ground, and on the other side, the 12V from the wallwart to the mosfet module, on one side and the minidsp to the other. The ground of both wallwart and minidsp go to the ground pin of the module.
As there are many knowledgeable guys here, that know about electronics and at the same time know what a minidsp processor is, i thought this would be a good place to ask for advice. The questions for you guys:
- All the info and examples i find in the internet are to power simple devices as lights and motors and stuff like that, but not complex electronics. Do you think this can work safely or am i risking blowing the minidsp?
- Any advice on how to do it better?
- Do i need any additional components in my circuit?
Thanks a lot for your help guys!
I am working on a way to get my minidsp 2x4HD to turn off when the raspberry pi to which it is connected turns off.
The minidsp is powered by a 12V DC wallwart and uses 2.5W according to minidsp specs.
Because of safety/insurance reasons, i don't want to do anything on the mains level, so i aim to add my switch to the 12V DC line between the wallwart and the minidsp. Also, i want to do it the simplest way possible, and i believe the easiest and fastest (fastest from the operational point of view) way to do it, that does not even require to write a line of code, is by using switches/relays:
To start with, I plan to use a 5V relay connected to the 5V pins of the pi (for power) and to one of the 3.3V pins for signal. When the pi turns off, the 3.3V signal will be lost and the relay will open the circuit -> the minidsp will power off. The relay i am going to use is this:
All good there (I hope). If i understand it well, electromechanical relays will not affect the voltage, the module has a optocoupler isolator and should be more capable than enough to bear this very small load and i cannot think on anything going wrong. Please tell me if i am missing something!
However, i don't like the idea of the relay being powered all the time my system is on, and the clicks, etc, and for the long term i would prefer to find a more elegant solid state solution, and there is when i stomped into mosfets. I have absolutely no idea about electronics but as a science driven person i have done my due diligence and watched all the related Great Scott youtube videos and others
Searching Ali i came accross these modules:
In particular, the one with the LR7843 mosfet has a resistance of 3.3mOhm at 10V/15A and 4mOhm at 4.5V/12A per datasheet. I don't know how to calculate the resistance at 12V/0,2A that the minidsp will use but i am assuming it will be negligible and won't lower the voltage too much.
I plan to connect the signal to the constant 3.3V gpio pin of the pi as explained above for the relay and ground to ground, and on the other side, the 12V from the wallwart to the mosfet module, on one side and the minidsp to the other. The ground of both wallwart and minidsp go to the ground pin of the module.
As there are many knowledgeable guys here, that know about electronics and at the same time know what a minidsp processor is, i thought this would be a good place to ask for advice. The questions for you guys:
- All the info and examples i find in the internet are to power simple devices as lights and motors and stuff like that, but not complex electronics. Do you think this can work safely or am i risking blowing the minidsp?
- Any advice on how to do it better?
- Do i need any additional components in my circuit?
Thanks a lot for your help guys!