Digital Tinkering – Sensor Time

This week I have introduced a analog output (tric-oloured LED) and photoresistors (changes its resistance depending on the amount of light that hits them.)

Project 03

Using a tri-coloured LED and three photoresistors, I’ll create something that will change colour smoothly depending upon external lighting conditions.

P3
Connecting components; tri-colour LED, 220 OHM resistor, 10 KILOHM resistor and photoresistor.
Screen Shot 2018-02-09 at 13.25.46
Using the serial monitor to ensure the sensors and code is working correctly.

p3_2

This project didn’t quite turn out as I expected, although it worked as it was supposed to (colours fade in and out depending on external light conditions) I thought the change would be very obvious and it was not. The colour green was non-existent and the dominating colour never disappeared. I know that the sensors were work as the serial monitor displayed the changing values as my hands moved across.

References

Fitzgerald, S., Shiloh, M. (2015). The Arduino Projects Book.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

Blog at WordPress.com.

Up ↑

%d bloggers like this: