Pages: 1 [2]   Go Down
Author Topic: Using a photo resistor with an ATtiny85  (Read 1419 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 11
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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?
Logged

Global Moderator
Dallas
Offline Offline
Shannon Member
*****
Karma: 199
Posts: 12768
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset


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.
Logged

Offline Offline
Edison Member
*
Karma: 64
Posts: 2464
Now, More Than Ever
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Move SW1 (see attached.)


* roomcontrol.JPG (22.22 KB, 712x361 - viewed 27 times.)
Logged

"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?"

Offline Offline
Newbie
*
Karma: 0
Posts: 11
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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!
Logged

Anaheim CA.
Offline Offline
Faraday Member
**
Karma: 46
Posts: 2865
...
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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.
Logged

--> 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

Offline Offline
Newbie
*
Karma: 0
Posts: 11
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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
Logged

Offline Offline
Edison Member
*
Karma: 64
Posts: 2464
Now, More Than Ever
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Karma ponits points... they're almost like getting paid for this.
« Last Edit: April 26, 2013, 07:50:21 am by Runaway Pancake » Logged

"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?"

Pages: 1 [2]   Go Up
Jump to: