Skip to content
This repository has been archived by the owner on Dec 28, 2021. It is now read-only.

qitianshi/IR-proximity

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Infrared proximity sensor

Simple infrared proximity sensor with dynamic adjustment for ambient lighting.

Intro

This repo contains the source code, raw data, plots, and report for my final project for the NUS EE1111B module, done in June 2021.

It's a simple proximity sensor that works by emitting pulses of infrared radiation and measuring the reflected intensity. The basic idea of measuring reflected light intensity works in theory, but requires tedious tuning to account for ambient infrared light.

This project expands upon the general concept by applying a simple theoretical model based on the inverse-square law to dynamically adjust for ambient lighting conditions, hence only requiring one set of calibration.

See the full report.

In this repo

  • IRProximity: Arduino source code
  • data: Raw data, and generated data based on the inverse-square law model
  • docs/Report.pdf: Full final report
  • plots: Plots of raw and generated data

License

© 2021 Qi Tianshi.

Source code is licensed under GNU GPLv3.

Project report is licensed under CC BY-NC-ND 4.0.

📏

About

Simple infrared proximity sensor with dynamic adjustment for ambient lighting.

Topics

Resources

License

Stars

Watchers

Forks