gvi70000
Member level 5

Hello all,
I need some help with the following issue: i am trying to control the power state of an arduino by using a BSS138 transistor connected between the GND and AGND of the ATMega328 and the main ground. By applyng a 3.3V to the gate of the transistor i should have the MCU power switched On/Off.
Unfortunately this doesn't work, the 328 cip works even if the transistor gate is connected to GND.
I have noticed that this works only if i disconnect the AGND from the circuit, but because i need to do analog reads i guess that this is not an option.
Can anyone help me to solve this issue? I have attached a screen shot of the schematic.
I need some help with the following issue: i am trying to control the power state of an arduino by using a BSS138 transistor connected between the GND and AGND of the ATMega328 and the main ground. By applyng a 3.3V to the gate of the transistor i should have the MCU power switched On/Off.
Unfortunately this doesn't work, the 328 cip works even if the transistor gate is connected to GND.
I have noticed that this works only if i disconnect the AGND from the circuit, but because i need to do analog reads i guess that this is not an option.
Can anyone help me to solve this issue? I have attached a screen shot of the schematic.