Microcontroller GPIO status when switched off ? Can current flow from internally in microcontroller from one gpio to other gpios when switched off ?

I am using arduino nano GPIOs to switch multiple devices (16 devices) using MOSFET (IRF540N). I have configured my switching circuit in such a way that my device will remain ON even if even if high signal is not given to but to switch off those devices nano needs to give LOW signal (I have implemented this circuit using resistor divider). My requirement is to keep the devices on even if nano is not powered which is been achieved only when o[![enter image description here][1]][1]ne device is connected but 2 or more devices are connected then devices are switched off. I am also isolating the GNDs of nano and devices using relay. Still my devices are getting Off when multiple devices are connected? Is it because of even if both the GNDs are isolated some amount of current flowing via nano controller internally? Is there any other solution to achieve the same?

by akshayijantkar
February 22, 2018

I could perhaps help if you were to provide a circuit diagram including potential dividers, all supply switching and your relay.

by mikerogerswsm
February 24, 2018

No Answers

No answers yet. Contribute your answer below!


Your Answer

You must log in or create an account (free!) to answer a question.

Log in Create an account


Go Ad-Free. Activate your CircuitLab membership. No more ads. Save unlimited circuits. Run unlimited simulations.

Search Questions & Answers


Ask a Question

Anyone can ask a question.

Did you already search (see above) to see if a similar question has already been answered? If you can't find the answer, you may ask a question.


About This Site

CircuitLab's Q&A site is a FREE questions and answers forum for electronics and electrical engineering students, hobbyists, and professionals.

We encourage you to use our built-in schematic & simulation software to add more detail to your questions and answers.

Acceptable Questions:

  • Concept or theory questions
  • Practical engineering questions
  • “Homework” questions
  • Software/hardware intersection
  • Best practices
  • Design choices & component selection
  • Troubleshooting

Unacceptable Questions:

  • Non-English language content
  • Non-question discussion
  • Non-electronics questions
  • Vendor-specific topics
  • Pure software questions
  • CircuitLab software support

Please respect that there are both seasoned experts and total newbies here: please be nice, be constructive, and be specific!

About CircuitLab

CircuitLab is an in-browser schematic capture and circuit simulation software tool to help you rapidly design and analyze analog and digital electronics systems.