Hey guys.
I bought an a cheap chinese Arduino nano to automate the button on my air purifier since the button on it broke anyway. I popped open the unit and there was a PCB controller which looked to gate (what I'm guessing is 5v) to another ground wire. I had seen a video on youtube of someone repairing one of these exact units mentioning this.
To prep my controller, I made a simple script that'd turn a pin on and off every second, testing it ahead of time on a cheap LED light. Everything was OK ahead of time.
When I connected the micro controller to the purifier, it powered on (which it will only do if these connections are bridged), but the executing code did not trigger it on or off.
I did not have a battery to power the micro controller, so instead I used a very shitty laptop I did not care about to power the nano via mini-usb bus power. I noticed that even while UNPLUGGED, the nano still powered the Air Purifier on whenever the connections were inserted to the nano pins.
This kind of confuses me. Does that mean that this connection is greater than 5v? Do you think it's forcing something like 12 volts into the micro controller, causing the connections to bridge while unplugged somehow? They shouldn't be making contact incidentally-- I used shielded female wires to connect them to the frayed wires.
When inverted, it doesn't power on whatsoever since they negate each other. So the connected wires are definitely correct (+ -)
A disclaimer: Other than following a few different series of online tutorials, this is my first home hack I am attempting without guidance. I took an extended break for a month or two on learning electronics enthusiast stuff while I focused on programming in Python for another big robotics project.
btw, digital pin 2 and the ground pin are connected to the positive and negative on the unit. I think that goes without saying. I tried other digital pins as well, thinking the PWM or something else might be conflicting but nah, same thing.