Itsy bitsy and phototransistors

Please tell us which board you are 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
lesvaden3
 
Posts: 33
Joined: Sat Feb 01, 2020 3:38 pm

Itsy bitsy and phototransistors

Post by lesvaden3 »

Hey guys. Is there any example code out there for how to use a phototransistor with this board? I’m just getting random numbers and I’m not sure what I did wrong.

User avatar
dastels
 
Posts: 15662
Joined: Tue Oct 20, 2015 3:22 pm

Re: Itsy bitsy and phototransistors

Post by dastels »

How is the phototransistor connected?

It should provide a voltage that you can read with an analog read of the pin.

Dave

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

Return to “Itsy Bitsy Boards”