The ZX Distance and Gesture Sensor is a touchless sensor that is capable of looking for simple gestures.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.

SparkFun ZX Distance and Gesture Sensor

ZX Gesture Sensor

ZX Gesture Sensor (13162)

The ZX Sensor works by bouncing infrared (IR) beams of light from the two LEDs on either side off of an object above the sensor. The bounced light returns to the receiver in the center of the sensor, and a microcontroller on the back of the sensor interprets the data. We can read the results using an I2C or UART connection.

Repository Contents

  • /Hardware - Eagle design files (.brd, .sch)
  • /Libraries - Arduino library and example code. For the most recent updates, make sure to check out the GitHub repo for the Arduino library linked below.
  • /Production - Production panel files (.brd)


  • Library - Arduino library for the ZX Distance and Gesture Sensor.
  • Hookup Guide - Basic hookup guide for the ZX Gesture Sensor.

License Information

This product is open source!

Please review the file for license information.

If you have any questions or concerns on licensing, please contact

Distributed as-is; no warranty is given.

  • Your friends at SparkFun.

In Collaboration in XYZ Interactive