https://github.com/robotical/vcnl4200-arduino
Arduino Library for the VCNL Distance Sensor and Breakout Board
https://github.com/robotical/vcnl4200-arduino
ardunio breakout-board distance-sensor sensor
Last synced: about 1 year ago
JSON representation
Arduino Library for the VCNL Distance Sensor and Breakout Board
- Host: GitHub
- URL: https://github.com/robotical/vcnl4200-arduino
- Owner: robotical
- Created: 2017-09-26T10:11:35.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2018-01-25T11:51:11.000Z (over 8 years ago)
- Last Synced: 2025-04-19T19:09:41.650Z (over 1 year ago)
- Topics: ardunio, breakout-board, distance-sensor, sensor
- Language: Arduino
- Homepage:
- Size: 1.95 KB
- Stars: 3
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# IR-Sensor-Arduino
Simple code to setup and read data from the VCNL4200 IR Sensor (http://www.mouser.com/ds/2/427/vcnl4200-1115021.pdf)
The code sets up some basic registers in the sensors then continuously requests the distance reading from the sensor (register 0x08). The sensors returns the reading in the form of two bytes, which are then combined and displayed as one number, over the serial monitor.