26 March 2010

Task 28 - photocell-triggered LED switch: Serial Monitor output


As can be seen, it is fairly obvious from

the SM output when the trigger threshold is reached - i have
made the ON-message much more noticeable
.

The actual threshold was set at 100, &
there's a reading of 105 just before the
reading of 80 that results in the LED turning on.

The only problem i see is my buffer resistor for the LED - it's too high, since the LED isn't very bright. That's probably due to the LED's duty cycle; it's mostly off, & stays on for only 0.5 sec, so it is rather dim..

..but it DOES work!

No comments:

Post a Comment