Pages: [1]   Go Down
Author Topic: Project 4 - Color Mixing Lamp  (Read 1566 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

Hallo everybody,

just a brief question about the project 4.

I've setup all the components correctly on the breadboard, or at least I think so (see picture attached).
After writing the software for the project and uploading it to Arduino,
I can't manage to let the LED work.

The problem I think is somehow related to the photoresistors, which always report in the serial monitor "0" as read for all of the 3 photoresistors.

I've tried to upload the original sketch wrote by Arduino's contributors, but still I get the same read from the sensors.

Anyone could help me in solving this issue?
I really would like to understand the reason of this behaviour

Many thanks!


* IMG_20140311_000205.jpg (101.59 KB, 1024x768 - viewed 41 times.)

* IMG_20140311_000234.jpg (83.03 KB, 1024x768 - viewed 30 times.)
Logged

Manchester (England England)
Online Online
Brattain Member
*****
Karma: 509
Posts: 31450
Solder is electric glue
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

The red wire that links the two positave rails on the bread board is actually going to the negitave rail on the lower one. This means that there is no positave voltage going to the photo resistor's and they will always read zero.
Logged

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

I see.

That's actually strange, cause I've checked many times the wiring scheme on the book but I didn't find anything wrong.

I don't have the book here with me now,
but maybe someone can check..
Logged

Manchester (England England)
Online Online
Brattain Member
*****
Karma: 509
Posts: 31450
Solder is electric glue
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

If the book says different then the book is wrong, just flip the wire.
Logged

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

I'll try later and then let you know.

For the moment,
thanks a lot for your help
Logged

Manchester (England England)
Online Online
Brattain Member
*****
Karma: 509
Posts: 31450
Solder is electric glue
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Fine.  Good luck. smiley

This illustrates what I have always said about physical layout diagrams, although they are a good way to get something to work, they are not much good at getting you to think what you are doing.

When you wire one up the dialogue in your head is something like:-
"The top horizontal line of this bread board goes to the bottom horizontal line"

Where as if you are following a schematic and having to make up the layout you are saying to yourself:-
"Connect the positive rail at the top to the positive rail at the bottom."
Logged

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

Fine.  Good luck. smiley

This illustrates what I have always said about physical layout diagrams, although they are a good way to get something to work, they are not much good at getting you to think what you are doing.

When you wire one up the dialogue in your head is something like:-
"The top horizontal line of this bread board goes to the bottom horizontal line"

Where as if you are following a schematic and having to make up the layout you are saying to yourself:-
"Connect the positive rail at the top to the positive rail at the bottom."

Yes you are right,
expecially for newbies like I am.
Logged

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

So,
my mistake.

Even in the booklet was indicated to plug the cable to the positive rail...

Apologize and thanks for the help
Logged

Pages: [1]   Go Up
Jump to: