Line Sensor

The Line sensor reference design can be used for line following, edge detection, gesture control, or any number of other applications that can utilize a reflective infrared sensor. We want to share these files with you so you can create your own!


  • I2C communication
  • Green Power LED
  • Mini PIC programming port
  • 3 x Refective optical sensors 18mm apart for Line sensing
  • Alternatively use this reference design for Gesture sensing as sensor values are variable
  • Voltage requirement: 3.2-3.4V (3.3V typical)
  • Current draw: 35.3mA
  • Dimensions: 43(W) x 43.5(L) x 10.3(H) (mm)
  • Weight: 6g

  • Major Components

  • PIC16F1704-I/ST PIC Microcontroller (custom firmware provided)
  • 3 x TCRT5000L Reflective Optical Sensor with Transistor Output

  • Manufacturing Notes

  • Supplier: programs custom firmware into the PIC16F1704-I/ST at their facility before sending to manufacturer
  • Manufacturer: Single side placement and soldering of SMT components
  • Manufacturer: Single Side soldering of THT components

  • Resources

    Documentation: Schematic PDF, Datasheet PDF, BOM

    Hardware: Altium PCB design File, Altium SCH Design File

    Altium Libraries are also available here