External Light Sensor for CPB

Play with it! Please tell us which board you're using.
For CircuitPython issues, ask in the Adafruit CircuitPython forum.

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
gwilcox123
 
Posts: 3
Joined: Wed Mar 29, 2023 3:53 pm

External Light Sensor for CPB

Post by gwilcox123 »

Hi - you sell many external light sensors, so I'm not sure which one to choose that will be compatible with the CPB. I just need it to measure ambient light.

Thanks!

glenn

User avatar
adafruit_support_carter
 
Posts: 29151
Joined: Tue Nov 29, 2016 2:45 pm

Re: External Light Sensor for CPB

Post by adafruit_support_carter »

There is already a light sensor on the CPB itself:
https://learn.adafruit.com/adafruit-cir ... rs-3039274
that can be used for ambient light measurement.

Are you also looking for a secondary / external one?

User avatar
gwilcox123
 
Posts: 3
Joined: Wed Mar 29, 2023 3:53 pm

Re: External Light Sensor for CPB

Post by gwilcox123 »

yes, we are looking for a way to place a light sensor some distance from the board. So would need an external unit that could be wired back to the board.

thx!

g.

User avatar
adafruit_support_carter
 
Posts: 29151
Joined: Tue Nov 29, 2016 2:45 pm

Re: External Light Sensor for CPB

Post by adafruit_support_carter »

In general, you could probably interface with any of these boards:
https://www.adafruit.com/category/61

What kind of distance will there be between the CPB and the sensor location?

Do you have any special requirement for type of light? Like UV, etc?

User avatar
gwilcox123
 
Posts: 3
Joined: Wed Mar 29, 2023 3:53 pm

Re: External Light Sensor for CPB

Post by gwilcox123 »

Thanks for your reply! We will place the sensor only a foot or two from the board. Something that would work in a general interior ambient light. It doesn't necessarily have to read UV light.

thx!

g.

User avatar
adafruit_support_carter
 
Posts: 29151
Joined: Tue Nov 29, 2016 2:45 pm

Re: External Light Sensor for CPB

Post by adafruit_support_carter »

For that distance, any of the I2C based option should work:
https://www.adafruit.com/product/5610
https://www.adafruit.com/product/5591
https://www.adafruit.com/product/4681
https://www.adafruit.com/product/4162

There is a STEMMA QT cable available with alligator clips that would allow connecting to the CPB without any soldering:
https://www.adafruit.com/product/4398

Another option would be to use any of those STEMMA QT cables and strip the wires on one end and attach to the CPB using bolts:
https://www.adafruit.com/product/4103

User avatar
petespaco
 
Posts: 128
Joined: Thu Apr 19, 2012 7:53 pm

Re: External Light Sensor for CPB

Post by petespaco »

What not simply use product 161, a CdS photo cell? (USD $0.95)

User avatar
adafruit_support_carter
 
Posts: 29151
Joined: Tue Nov 29, 2016 2:45 pm

Re: External Light Sensor for CPB

Post by adafruit_support_carter »

That's another option:
https://www.adafruit.com/product/161

It's a purely analog sensor. But the CPB has analog inputs that could be used to read it. There's a general guide here that shows basic usage:
https://learn.adafruit.com/photocells/using-a-photocell

Locked
Please be positive and constructive with your questions and comments.

Return to “Circuit Playground Classic, Circuit Playground Express, Circuit Playground Bluefruit”