Description: This project is inspired by the DPRG IRPROX project, which features an excellent PCB layout and concept. Appreciation is extended to them for sharing their project, which has significantly accelerated the learning process in PIC programming. The board's pinout supports either a five-wire or a four-wire connection, with the former option allowing for a disable line if desired. A resistor or a trimpot can be incorporated to adjust the detection range, with trimpot locations designed to accommodate various potentiometers; caution is advised against setting the pot to 0 ohms. The IR proximity detector performs effectively, even in brightly lit and noisy environments. Instead of modulating the IR LED for 600 microseconds and subsequently searching for a detection, the method now involves checking for detections after each on/off cycle of the IR LED, counting the number of valid detections. Additionally, during the off cycle when the IR LEDs are inactive, the system counts the number of false detections. A true detection is confirmed when the number of valid hits exceeds the number of false hits. A counter acts as a timer, and upon reaching a specific threshold, a detection notification is issued, contingent upon achieving a minimum number of valid hits. Simultaneously, another timeout counter monitors noise hits; if this counter surpasses its threshold, any established detection is invalidated. Extensive adjustments were made to the various threshold values for valid hits, timeout values, and update divisors for false hit counts, ultimately resulting in a satisfactory configuration. The source code for the DLC IR proximity detector is available for download, along with PDF documentation for the kit. The complete kit is now offered for sale, as high shipping costs from certain distributors have highlighted the value of a full kit. The kit includes the board, PIC, LEDs, IR components, resistors, and instructions. Two frequency models, 38 kHz and 56.7 kHz, are available. Contact is encouraged for those interested, with discounts provided for bulk purchases of ten or more or for robotics clubs.
The project incorporates an IR proximity detection system designed to operate in various environmental conditions. The use of a five-wire or four-wire connection enhances versatility in setup. The adjustable resistor or trimpot allows for fine-tuning of the detection range, accommodating a wide array of user requirements. The IR proximity detector utilizes a robust detection algorithm that improves reliability by differentiating between valid and false detections based on the frequency of hits during the active and inactive cycles of the IR LED.
The implementation of a dual counter system allows for dynamic monitoring of detection validity, with specific thresholds ensuring that only significant detections are acknowledged. This design choice mitigates the influence of ambient noise, which is particularly crucial in environments with fluctuating light conditions. The ability to modify the sensitivity and response thresholds provides users with the flexibility to adapt the system to specific applications, ranging from simple proximity sensing to more complex robotic navigation tasks.
The availability of both 38 kHz and 56.7 kHz models caters to different application needs, allowing users to select a frequency that best suits their operational environment. The comprehensive kit, including all necessary components and clear documentation, facilitates ease of assembly and deployment. This project not only serves as an educational tool for those new to PIC programming and electronics but also as a practical solution for implementing proximity sensing in various robotics and automation projects.This project is inspired by the DPRG IRPROX project. They have a pretty good PCB layout and idea. I would like to thank them for posting their project for all of us to see and learn from, I wouldn`t have started PIC programming without them, or at least not nearly as quickly come up to speed! The pinout on my board allows either a five-wire or a f our-wire connection to be made the former uses a disable line if desired. You can also put in a resistor or use a trimpot to adjust range. The trimpot locations are very generic, most pots will fit. Be careful not to adjust pot to 0 ohms! The IR proximity detector works very well, even in a brightly lit noisy environment. Instead of modulating the IR LED for 600us and then looking for a detection, I now look for a detection after every on/off cycle of an IR LED and count the number of hits that I get. I also look during the off` cycle when none of the IR LEDs are on and count the number of false hits that I get there.
If I get more good hits than false hits then I say its a true detection. I then increment a counter as a sort of timer, when it passes a certain threshold, I notify a hit. At this time I check to make sure that a minimum number of good hits has been attained. At the same time I keep track via another time-out counter of noise hits. When this counter passes a certain threshold it then removes any detection that has been set. I fiddled a lot with the various threshold values for minimum number of good hits, time-out values and divisors for updating the false hit counts, and finally settled on the ones that currently used. I`m calling it a success and moving on to other projects! The source code for the, uhm, DLC IR proximity detector can be downloaded below as well as the PDF documentation for this kit.
I am now selling the complete kit, it was brought up to me that the exorbitant shipping costs from some distributors makes a full kit a real value added. So, here it is. The board, PIC, LEDs IR components and resistors as well as instructions are for sale. . I will make this in either 38KHz or 56. 7KHz models. [url=mailto:dlc@verinet. com]Contact me[/url] if you areinterested. Bulk buys of 10 or more or robotics clubs get discounts!
The 4 Channel Infrared (IR) Remote is a straightforward kit that utilizes the well-known HT12A and HT12D encoder/decoder chips from Holtek.
The 4 Channel Infrared Remote system is designed for wireless communication, enabling remote control applications in various electronic devices. The...
The two basic parts for working with IR are the emitter and the detector. The emitter is typically an LED that emits near-infrared light. A typical wavelength is 880nm, which is just beyond the human eye's ability to see. Many...
The circuit utilizes a tuned circuit for frequency selection, designed to operate at approximately 51 kHz. The 2N3565 transistor amplifies the output generated by the tuned circuit.
The described circuit operates on the principle of resonance, where the tuned circuit is...
This circuit enables the control of any equipment operating at 115 volts AC. It utilizes the Radio Shack infrared receiver module (MOD), part number 276-137, which can also be sourced from other suppliers listed on the Links page. The MOD...
The power switch with an infrared proximity sensor is designed to detect obstructions at distances ranging from a few millimeters to several centimeters.
The power switch utilizing an infrared proximity sensor operates on the principle of emitting infrared light and detecting...
The human eye is highly sensitive to visible light but cannot detect infrared (IR) radiation. This limitation can make it challenging to test or verify equipment that emits infrared radiation. An IR detector circuit has been developed to address this...
This document presents an infrared remote control tester circuit that can be constructed at a low cost. The circuit is built around the infrared receiver module TSOP1738. The state of the remote control can be observed through the sound emitted...
The objective of this project was to develop a front-end for Commodore 64 emulation utilizing VICE. A significant challenge with emulators, particularly for devices from the 1980s, is the absence of a standardized keyboard layout. In this project, a malfunctioning...
This is an infrared gate with two sensors planned to use in the wall in the way behind a door. It can be applied in a toilet to keep track of that someone is inside exceeding a certain amount of...
We use cookies to enhance your experience, analyze traffic, and (if you allow) serve personalized ads.
By clicking Accept All, you agree to our use of cookies.
Learn more