Loading...
Pages: 1 [2]   Go Down
Author Topic: Using a photo resistor with an ATtiny85  (Read 450 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: 118
Posts: 10167
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: 23
Posts: 1378
Now, More Than Ever
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Move SW1 (see attached.)
Logged

Don't Be Upset By The Results You Didn't Get With The Work You Didn't Do

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
Edison Member
*
Karma: 31
Posts: 2310
Experienced old Whitebeard with a Full head of Hair...
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

“The solution of every problem is another problem.” -Johann Wolfgang von Goethe

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: 23
Posts: 1378
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

Don't Be Upset By The Results You Didn't Get With The Work You Didn't Do

Pages: 1 [2]   Go Up
Print
 
Jump to: