Back to Parent

Outcome


Process

I first get the photoresistor and LED circuit workd and then add the potentiometer in. The circuit I built is a bit complex with many wires since I got each item connect to + and - seperately.

The first problem I encountered is forgetting to use 10k resistor with photoresistor. This makes my first circuit not function.

The second problem is about the code. I excluded the lines to control lightness with potentiometer out of the if statement at the start. This makes these lines cover the if statement since our outputs are all read to the same ledPin. 

Reflection

Other sensors and inputs can be further tried when we learn other outputs like sound. 

Show Advanced Options
Show Advanced Options
Drop files here or click to select

You can upload files of up to 20MB using this form.