How to make an als pt19 light sensor circuit

Hi I am very new to arduino and live in Australia, which means I don't have immediate access to a photocell, and the only light sensor I have for my first every project is the adafruit als pt19 which looks like this: Adafruit ALS-PT19 Analog Light Sensor Breakout : ID 2748 : Adafruit Industries, Unique & fun DIY electronics and kits

If there is anyone willing to help, I am looking for a light sensor circuit which appears something similar to https://www.instructables.com/Telepresence-Robot-Edge-Detection/

But instead of a photocell, I have to use an adafruit als pt19. It would be nice if someone gave me some code and a diagram to wire the circuit.

Welcome to the forum

From its description it appears that the board that you linked to has an analogue output. If so, then connect it to an analogue pin on the Arduino and use analogRead() to get the value that it returns

A search of the forum for pt19 may also provide more details

1 Like

Your first link has a link to the ALSPT19 datasheet, which has a schematic of the sensor (page 6 of 11). You can also do a search on "adafruit als-pt19 datasheet" (or any hardware) and with a little sifting, you will have your answer.

This link is to the ALS-PT19 datasheet.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.