I have a power supply that is being used to control a Electronic Magnet. Basically a magnetic switch goes to the Arduino, I read that signal to determine if the switch has been flipped. When it has been flipped, I want to turn the Power Supply offer. Typically there is just "Push" where I thought I would be able to put a High signal into, to make the Power Supply turn off but no luck. I have the Arduino PWM pin 2 connected to the "Push" on the power supply, I have it at LOW before switch is detected and High After. I tried connected the Ground of the power supply to the Ground of the arduino but it still didn't work. Any suggestions?
Please follow the advice given in the link below when posting code, in particular the section entitled 'Posting code and common code problems'
Use code tags (the </> icon above the compose window) to make it easier to read and copy for examination
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.
