📖Light Sensor - Phototransistor

Detect light level using photo transistor.
 
 

 

Program Code

 

' Reading Analogue Devices
' Potentiometer.txt
' Kic8 

  ' Our example assumes your device is conncted to ADC1
  SYMBOL MyDevice = 1

DO

  ' Read Analogue into Variable W0
  ' at the end of the reading, the variable W0 
  ' will have a value in the range 0..1024 (decimal)

  A2D MyDevice , W0

LOOP

Related Circuits:


Related Components:


Electrical References:


Related Commands:


Shop

£ 0.17 per unit for buying at least 5 Sensor Light - Phototransistor

Product Overview 

The PT480E00000F is a Single Phototransistor mounted in a transparent epoxy resin package.
  • Side view detection type
  • Plastic mould with resin lens
  • Narrow directivity angle
  • General purpose

Applications

Sensing & Instrumentation, Automation & Process Control, Audio, Consumer Electronics, Communications & Networking, Test & Measurement, Maintenance & Repair, Computers & Computer Peripherals

phototransistor.pdf

+
Add to cart