Electronic Projects, forums and more.

Go Back   Electronic Circuits Projects Diagrams Free > Electronics Categories > Micro Controllers


Micro Controllers Discuss all aspects of micro controllers - building them, coding them, etc. All controllers are welcome - PIC, BASIC, Z8 Encore!, etc.

Reply
 
Thread Tools Display Modes
Old 12th June 2007, 06:32 PM   (permalink)
Default IR obstacle detection using TSOP1738 with PIC16F628

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.
__________________
Its not the Practice that makes a man perfect. Its the Man who makes the practice perfect
----- Pradeep K. Shima -----
pkshima is offline  
Reply With Quote
Old 12th June 2007, 07:30 PM   (permalink)
Souper man
Default

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.
 
Reply With Quote
Old 13th June 2007, 12:08 AM   (permalink)
Default

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:
http://www.electro-tech-online.com/a...g?d=1179150183

Here's the code:
Attached Files
File Type: asm Infrared Proximity Detector3.asm (4.8 KB, 18 views)

Last edited by jpanhalt; 13th June 2007 at 03:53 AM.
jpanhalt is offline  
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Latest
gas(methane-CH4) detection circuit mohente Electronic Projects Design/Ideas/Reviews 9 29th May 2006 07:59 PM
Help with a 1.5 vdc light detection switch lordun Electronic Projects Design/Ideas/Reviews 6 22nd August 2005 01:21 AM
PIC16F628 to PIC16F84 kasamiko Micro Controllers 2 5th May 2005 04:26 PM
Robotic obstacle detection infinity Robotics Chat 11 29th September 2004 05:22 PM
i need info about obstacle detection bortoukala Micro Controllers 1 20th May 2004 03:09 PM



All times are GMT. The time now is 07:41 AM.


Electronic Circuits  |  Electronics Wiki
Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.