Go Down

Topic: Using a photo resistor with an ATtiny85 (Read 1 time) previous topic - next topic


The items that are on the battery side of the power switch are causing the problem. You will have more that enough tome for the Arduino to wake up.. If Not then rewire those inputs so that they pull down a processor pin that is powered up when the Arduino is. The bias path for the Arduino IS the stuff that isn't switched off when the Arduino is.

Doc


so, if I understand you right, the arduino is discharging through my chips when disconnected?

Coding Badly


When the processor is not correctly powered, electricity can "leak through".  In addition to causing the problem you are having, there is a high probability that it will damage the processor.  Move SW1.

Runaway Pancake

Move SW1 (see attached.)
"Hello, I must be going..."
"You gotta fight -- for your right -- to party!"
Don't react - Read.
"Who is like unto the beast? who is able to make war with him?"

OH MY GOODNESS

that is as plain as day. duh. big duh. I will test ASAP (i'm swamped with other homework at the moment)

but thank-you everyone. I cannot believe I didn't catch that.

will post back tomorrow!

Docedison

Quote
The items that are on the battery side of the power switch are causing the problem.


The simple solution is to move them to the other switch connection point so they are also operated by the power switch.
--> WA7EMS <--
"The solution of every problem is another problem." -Johann Wolfgang von Goethe
I do answer technical questions PM'd to me with whatever is in my clipboard

couldn't wait... it worked!

My actual project is using a signal from ANOTHER chip where SW1 is, so I'm just going to use a NPN2904 transistor where SW1 is. Perfection! for now lol

Runaway Pancake

#21
Apr 26, 2013, 05:22 am Last Edit: Apr 26, 2013, 02:50 pm by Runaway Pancake Reason: 1
Karma ponits points... they're almost like getting paid for this.
"Hello, I must be going..."
"You gotta fight -- for your right -- to party!"
Don't react - Read.
"Who is like unto the beast? who is able to make war with him?"

Go Up