Continue to Site

Welcome to our site!

Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

  • Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

IR obstacle detection using TSOP1738 with PIC16F628

Status
Not open for further replies.

pkshima

Member
All I want is an LED that goes on when I put my finger in front of the detector.

I thought I had seen several of such circuits and code on the net but they all seem to have dissapeared.

Now I can just find stuff where either the PIC is different or the language is basic not asm. or the IR detection is a small part of the whole project. This PIC learning curve keeps becoming steeper and steeper.

So could someone please point me to where I can get my hands on a circuit + assembly code for plain vanilla IR detection using PIC16F628 and TSOP1738 and misc? I can then build on top of it to control my bot.
 
I am also looking for this technology. I want to build a object detection rig for my upcoming robot, lasagna 1.0 It is a microcontrolled robot using a 16f628, which will attack people! (joking, its for sumo-bot wrestling). Diddnt mean to take over post, but simply asking same question. Also want to when it detects it follows it. will run on 2 seprate sensor pairs.
 
Check out this link: http://users.frii.com/dlc/robotics/projects/botproj.htm

Scroll to the 12C508 project. There are also useful links therein to the Dallas group.

The best part of the project is the error correction concept. The code is for a 12C/F series PIC, but is easily adapted to other versions.

I have been using a modified version to detect movement of a 3/16 inch wire that is about an inch or two from the detector. The application has been outdoors in bright sunlight and flawless. It will also work withyour finger.

John

Edit: Here's a link to the previously posted schematic:
https://www.electro-tech-online.com/attachments/12f509_irtxrx-png.12845/

Here's the code:
 

Attachments

  • Infrared Proximity Detector3.asm
    4.8 KB · Views: 783
Last edited:
Status
Not open for further replies.

Latest threads

New Articles From Microcontroller Tips

Back
Top