I'm a newbie, having trouble with some electrical noise when I added a ac adapter to my circuit.
Previously I had my Arduino project powered by my laptop. But I wanted to add a strip of led's to the project and I need the project to be powered over night and connected to my head. For both these reasons I added an ac adapter/wall plug to my project in order to power it.
I'm using a mosfet so my Arduino can control the led strip ala these instructions: : https://www.makeuseof.com/tag/connect-led-light-strips-arduino/
I'm only powering the reds though, if that makes a difference.
My Arduino has a "backyard brains heart and brain spiker shield", which is this Arduino shield that allows you to sense eye movements through electrodes on your face. My eye movements tell the Arduino when to turn the led strip on.
The ac adapter is causing an issue. When I plug it in, the Arduino electrode shield starts picking up electric noise from the adapter. It makes my signals unreadable; the program on my Arduino can no longer detect when my eyes move right or left.
I'm sort of new to electrical circuits. I'm not sure where to turn. How can I approach this problem? Is this something I need to filter? Is it better (or even possible) to switch to battery power? Someone suggested this would be safer too.
Previously I had my Arduino project powered by my laptop. But I wanted to add a strip of led's to the project and I need the project to be powered over night and connected to my head. For both these reasons I added an ac adapter/wall plug to my project in order to power it.
I'm using a mosfet so my Arduino can control the led strip ala these instructions: : https://www.makeuseof.com/tag/connect-led-light-strips-arduino/
I'm only powering the reds though, if that makes a difference.
My Arduino has a "backyard brains heart and brain spiker shield", which is this Arduino shield that allows you to sense eye movements through electrodes on your face. My eye movements tell the Arduino when to turn the led strip on.
The ac adapter is causing an issue. When I plug it in, the Arduino electrode shield starts picking up electric noise from the adapter. It makes my signals unreadable; the program on my Arduino can no longer detect when my eyes move right or left.
I'm sort of new to electrical circuits. I'm not sure where to turn. How can I approach this problem? Is this something I need to filter? Is it better (or even possible) to switch to battery power? Someone suggested this would be safer too.
Attachments
-
157.6 KB Views: 20
-
153.3 KB Views: 20
-
150.8 KB Views: 19