Description
Component specifications:
Tutorial: How to use TEPT4400 IC
The TEPT4400 is an infrared phototransistor used to detect infrared light. It is ideal for long-range sensor projects such as people counters or home security systems.
What you need
- Arduino Uno
- 5V DC power supply
- resistor
- LED
- infrared sensors
Steps
- Check the required power supply voltage from the TEPT4400 datasheet and ensure your circuit can provide it.
- Connect a resistor between the output of the TEPT4400 and a digital pin on the Arduino to limit the current.
- Connect the other end of the resistor to one of the digital pins on the Arduino.
- Connect the output pin of the TEPT4400 to a digital pin on the Arduino.
- Check the electrical connections with a multimeter.
- Write the Arduino sketch to read values from the phototransistor.
- Test the setup by connecting an infrared light source to the TEPT4400.
- Optimize the code and connections based on the obtained results.
Example code
// Collegamento del TEPT4400 a un pin digitale dell'Arduino
int fototransistorPin = 2;
void setup() {
pinMode(fototransistorPin, INPUT);
Serial.begin(9600);
}
void loop() {
digitalWrite(fototransistorPin, HIGH);
int valoreLettura = digitalRead(fototransistorPin);
Serial.println(valoreLettura);
delay(1000);}
Mini project
Create a people counting system in front of a door. Connect the TEPT4400 and use an Arduino sketch to count state changes.
Common mistakes
- Do not verify the required power supply voltage as stated in the datasheet.
- Incorrect connection between phototransistor and Arduino.
- Ignore the importance of the limiting resistor.
- Assume that the TEPT4400 works without preliminary testing.
Recommended accessories
- Arduino Uno
- Variable resistors 10kΩ
- Digital multimeter
- Infrared sensors
Frequently asked questions
Can the TEPT4400 be used with microcontrollers other than Arduino?
Yes, but make sure to adapt the connections and code based on the chosen microcontroller.
What is the maximum detection distance of the TEPT4400?
Check the datasheet to obtain this specific information.







Reviews
There are no reviews yet.