Cirkit Designer Logo
Cirkit Designer
Your all-in-one circuit design IDE
Home / 
Component Documentation

How to Use LFS16-A ANALOG 16 IR SENSOR ARRAY: Examples, Pinouts, and Specs

Image of LFS16-A ANALOG 16 IR SENSOR ARRAY
Cirkit Designer LogoDesign with LFS16-A ANALOG 16 IR SENSOR ARRAY in Cirkit Designer

Introduction

The LFS16-A is an analog infrared sensor array manufactured by Robojunkies (Part ID: LFS16A). It consists of 16 individual IR sensors arranged in a linear configuration. Each sensor detects reflected infrared light, making the array ideal for applications requiring precise obstacle detection, line following, or distance measurement.

This component is widely used in robotics, automation, and industrial systems for tasks such as:

  • Line-following robots
  • Obstacle detection and avoidance
  • Edge detection
  • Surface mapping and proximity sensing

Its compact design and analog output make it easy to integrate into a variety of projects.


Explore Projects Built with LFS16-A ANALOG 16 IR SENSOR ARRAY

Use Cirkit Designer to design, explore, and prototype these projects online. Some projects support real-time simulation. Click "Open Project" to start designing instantly!
Battery-Powered Sumo Robot with IR Sensors and DC Motors
Image of MASSIVE SUMO AUTO BOARD: A project utilizing LFS16-A ANALOG 16 IR SENSOR ARRAY in a practical application
This circuit is designed for a robotic system, featuring a Massive Sumo Board as the central controller. It integrates multiple FS-80NK diffuse IR sensors and IR line sensors for obstacle detection and line following, respectively, and controls two GM25 DC motors via MD13s motor drivers for movement. Power is supplied by an 11.1V LiPo battery.
Cirkit Designer LogoOpen Project in Cirkit Designer
ESP8266-Based IR Sensor Array with Analog Multiplexing
Image of v2: A project utilizing LFS16-A ANALOG 16 IR SENSOR ARRAY in a practical application
This circuit features two Sharp IR Sensors connected to a 16-channel analog multiplexer, which allows for multiple analog inputs to be read sequentially by a single analog pin on the WeMOS ESP8266 microcontroller. The ESP8266 controls the multiplexer selection via its digital pins (D0-D3) and reads the sensor outputs through its analog pin (A0). The 2x 18650 battery pack provides power to the entire circuit, with all components sharing a common ground and voltage supply.
Cirkit Designer LogoOpen Project in Cirkit Designer
Arduino-Controlled Line Following Robot with Dual DC Motors and IR Array
Image of ONE: A project utilizing LFS16-A ANALOG 16 IR SENSOR ARRAY in a practical application
This circuit features an Arduino UNO microcontroller interfaced with a 5-channel IR array for sensor input, and two DC Mini Metal Gear Motors for actuation, controlled via an L298N DC motor driver. The motors are powered by a series connection of two 3.7V batteries, with a rocker switch to control power delivery. The Arduino is programmed to process the IR array signals and control the motor driver, which in turn drives the motors based on the sensor inputs.
Cirkit Designer LogoOpen Project in Cirkit Designer
Arduino UNO-Based IR Sensor System with LCD Display and Buzzer
Image of child bus: A project utilizing LFS16-A ANALOG 16 IR SENSOR ARRAY in a practical application
This circuit is a sensor-based monitoring system using an Arduino UNO, which reads inputs from four IR sensors and displays the data on a 16x2 I2C LCD. It also includes a buzzer and an LED for alerting purposes, powered by a 12V battery and controlled via a rocker switch.
Cirkit Designer LogoOpen Project in Cirkit Designer

Explore Projects Built with LFS16-A ANALOG 16 IR SENSOR ARRAY

Use Cirkit Designer to design, explore, and prototype these projects online. Some projects support real-time simulation. Click "Open Project" to start designing instantly!
Image of MASSIVE SUMO AUTO BOARD: A project utilizing LFS16-A ANALOG 16 IR SENSOR ARRAY in a practical application
Battery-Powered Sumo Robot with IR Sensors and DC Motors
This circuit is designed for a robotic system, featuring a Massive Sumo Board as the central controller. It integrates multiple FS-80NK diffuse IR sensors and IR line sensors for obstacle detection and line following, respectively, and controls two GM25 DC motors via MD13s motor drivers for movement. Power is supplied by an 11.1V LiPo battery.
Cirkit Designer LogoOpen Project in Cirkit Designer
Image of v2: A project utilizing LFS16-A ANALOG 16 IR SENSOR ARRAY in a practical application
ESP8266-Based IR Sensor Array with Analog Multiplexing
This circuit features two Sharp IR Sensors connected to a 16-channel analog multiplexer, which allows for multiple analog inputs to be read sequentially by a single analog pin on the WeMOS ESP8266 microcontroller. The ESP8266 controls the multiplexer selection via its digital pins (D0-D3) and reads the sensor outputs through its analog pin (A0). The 2x 18650 battery pack provides power to the entire circuit, with all components sharing a common ground and voltage supply.
Cirkit Designer LogoOpen Project in Cirkit Designer
Image of ONE: A project utilizing LFS16-A ANALOG 16 IR SENSOR ARRAY in a practical application
Arduino-Controlled Line Following Robot with Dual DC Motors and IR Array
This circuit features an Arduino UNO microcontroller interfaced with a 5-channel IR array for sensor input, and two DC Mini Metal Gear Motors for actuation, controlled via an L298N DC motor driver. The motors are powered by a series connection of two 3.7V batteries, with a rocker switch to control power delivery. The Arduino is programmed to process the IR array signals and control the motor driver, which in turn drives the motors based on the sensor inputs.
Cirkit Designer LogoOpen Project in Cirkit Designer
Image of child bus: A project utilizing LFS16-A ANALOG 16 IR SENSOR ARRAY in a practical application
Arduino UNO-Based IR Sensor System with LCD Display and Buzzer
This circuit is a sensor-based monitoring system using an Arduino UNO, which reads inputs from four IR sensors and displays the data on a 16x2 I2C LCD. It also includes a buzzer and an LED for alerting purposes, powered by a 12V battery and controlled via a rocker switch.
Cirkit Designer LogoOpen Project in Cirkit Designer

Technical Specifications

Key Specifications

Parameter Value
Manufacturer Robojunkies
Part ID LFS16A
Number of Sensors 16
Sensor Type Infrared (IR)
Output Type Analog (0-5V per sensor)
Operating Voltage 5V DC
Operating Current ~50mA
Detection Range 2mm to 30mm (optimal: 10mm)
Dimensions 100mm x 15mm x 10mm
Weight 20g
Connector Type 16-pin header
Operating Temperature -10°C to 50°C

Pin Configuration

The LFS16-A features a 16-pin header, with each pin corresponding to the analog output of one IR sensor. The pinout is as follows:

Pin Number Description
1 Analog output of Sensor 1
2 Analog output of Sensor 2
3 Analog output of Sensor 3
4 Analog output of Sensor 4
5 Analog output of Sensor 5
6 Analog output of Sensor 6
7 Analog output of Sensor 7
8 Analog output of Sensor 8
9 Analog output of Sensor 9
10 Analog output of Sensor 10
11 Analog output of Sensor 11
12 Analog output of Sensor 12
13 Analog output of Sensor 13
14 Analog output of Sensor 14
15 Analog output of Sensor 15
16 Analog output of Sensor 16

Usage Instructions

How to Use the LFS16-A in a Circuit

  1. Power the Sensor Array: Connect the LFS16-A to a regulated 5V DC power supply. Ensure the ground (GND) of the sensor array is connected to the ground of your circuit.
  2. Read Analog Outputs: Each of the 16 pins outputs an analog voltage (0-5V) proportional to the intensity of reflected IR light. Use an ADC (Analog-to-Digital Converter) to read these values.
  3. Connect to a Microcontroller: The LFS16-A can be directly interfaced with microcontrollers like the Arduino UNO. Use the analog input pins of the microcontroller to read the sensor outputs.

Important Considerations

  • Optimal Distance: For best results, maintain a distance of 10mm between the sensor array and the surface being detected.
  • Ambient Light: Avoid using the sensor in environments with strong ambient IR light, as it may interfere with readings.
  • Calibration: Calibrate the sensor outputs for your specific application to account for variations in surface reflectivity.
  • Power Supply: Use a stable 5V power source to ensure consistent performance.

Example: Connecting to an Arduino UNO

Below is an example of how to connect the LFS16-A to an Arduino UNO and read the analog values from the first 8 sensors.

Circuit Diagram

  • Connect the LFS16-A's power pins to the Arduino's 5V and GND.
  • Connect the first 8 sensor output pins to the Arduino's analog input pins (A0 to A7).

Arduino Code

// LFS16-A Sensor Array Example Code
// Reads analog values from the first 8 sensors and prints them to the Serial Monitor

// Define the analog input pins for the first 8 sensors
const int sensorPins[8] = {A0, A1, A2, A3, A4, A5, A6, A7};

// Array to store sensor readings
int sensorValues[8];

void setup() {
  // Initialize Serial Monitor for debugging
  Serial.begin(9600);
}

void loop() {
  // Read values from each sensor
  for (int i = 0; i < 8; i++) {
    sensorValues[i] = analogRead(sensorPins[i]);
  }

  // Print sensor values to the Serial Monitor
  Serial.print("Sensor Values: ");
  for (int i = 0; i < 8; i++) {
    Serial.print(sensorValues[i]);
    Serial.print(" ");
  }
  Serial.println();

  // Add a small delay for stability
  delay(100);
}

Troubleshooting and FAQs

Common Issues and Solutions

  1. No Output from Sensors

    • Cause: Power supply not connected or insufficient voltage.
    • Solution: Ensure the sensor array is connected to a stable 5V power source.
  2. Inconsistent Readings

    • Cause: Ambient IR interference or unstable power supply.
    • Solution: Use the sensor in a controlled environment and ensure a stable 5V supply.
  3. Low Sensitivity

    • Cause: Sensor array is too far from the surface.
    • Solution: Adjust the distance to within the optimal range (10mm).
  4. All Sensors Output Maximum Voltage

    • Cause: Highly reflective surface or strong ambient IR light.
    • Solution: Use a less reflective surface or shield the sensor from ambient IR light.

FAQs

Q: Can the LFS16-A detect colors?
A: No, the LFS16-A is designed to detect the intensity of reflected IR light, not colors.

Q: Can I use all 16 sensors with an Arduino UNO?
A: The Arduino UNO has only 6 analog input pins. To use all 16 sensors, you will need an external ADC or a microcontroller with more analog inputs.

Q: What is the maximum detection range?
A: The maximum detection range is 30mm, but the sensor performs best at 10mm.

Q: Can I use the LFS16-A with a 3.3V system?
A: No, the LFS16-A requires a 5V power supply for proper operation.


This documentation provides a comprehensive guide to using the LFS16-A Analog 16 IR Sensor Array. For further assistance, refer to the manufacturer's datasheet or contact Robojunkies support.