Photoresistor how-to

Hi Spark Fans!

Just wanted to ask how do you connect the kit’s photoresistor ( with the spark core?

I would like to measure the light with the spark core and return it to the serial port, my only problem is that i don’t know how to wire the photoresistor with the spark core.

Any help would be appreciated.

Thank you,

1 Like

This might be somewhat useful:

Since the Core doesn’t have a 0 pin, you should connect it to one of the analog pins, and edit the code accordingly. Never tried it, but it seems rather straight forward. If you run into any problems, feel free to ask, there are more than enough people here willing to help :slight_smile:

Good luck!

1 Like


Did you mean :spark: Fans! ? haha! kidding.

@Moors7 gave a good example and you can try it out. :wink:

1 Like

Thank you guys!



What pin should replace Arduino’s 5v?


What are you trying to hook up to the core?

The kit’s photoresistor! I used this schema using 3V3’ pin instead of Arduino’s 5v.

As I’m just learning about electronics now, hope that’s fine :smiley:

1 Like

I would recommend you to simply change the 5V to the 3.3V pin on the :spark: core :wink:

1 Like

Hi there,
I just started to learn Spark Core.
this question and answers were really helpful. Thank you all.

I summarized what I did for photo resistor at
I hope it will help!