Level B: Using a Phototransistor to Control an LED

Update: Level B is now available! Click here to learn more.

One of the types of sensors you will learn to work with in Level B is a phototransistor. A phototransistor is a tiny device that responds to light (photoreactive).

When used in a project, the flow of current increases as the light increases. So it’s a good choice for projects where you need an action to be taken based on the amount of light that is being detected.

In this project, the phototransistor is connected to an analog-to-digital converter. The analog value of the sensor is being monitored using Python programming including the if/else statements you learned to use in Level A. When the analog value of the sensor goes above a set value, the LED turns on.

Ready to learn more? Level B is releasing soon! In the meantime, get started now with Level A.

Older Post
Newer Post

Leave a comment

Please note, comments must be approved before they are published

Close (esc)


Use this popup to embed a mailing list sign up form. Alternatively use it as a simple call to action with a link to a product or a page.

Age verification

By clicking enter you are verifying that you are old enough to consume alcohol.


Your cart is currently empty.
Shop now