Electronic Projects, forums and more.

Go Back   Electronic Circuits Projects Diagrams Free > Electronics Forums > Electronic Projects Design/Ideas/Reviews


Electronic Projects Design/Ideas/Reviews Are you building an electronic project or want to? Maybe you need some assistance? Come and submit your electronic questions here and let our experienced members find a solution.

Reply
 
LinkBack Thread Tools Display Modes
Old 11th February 2008, 10:49 PM   (permalink)
Default Ultrasonic Range Finder

URF = Ultrasonic Range Finder

Ok i want to make a small mobile type car. But just with a URF, small motor and maybe a power led with a led on/off and a power on/off

The goal i have it basically when the user gets close to the vehicle it moves away. Sort of like a guy trying to catch a chicken. I want to play a little prank on my wife. I want to embed this into a pack of cigarettes and have it move away from her every time she tries to get one.

Ultrasonic Range Finder - Maxbotix LV-EZ1
Features:

* 42kHz Ultrasonic sensor
* Operates from 2.5-5.5V
* Low 2mA supply current
* 20Hz reading rate
* RS232 Serial Output - 9600bps
* Analog Output - 10mV/inch
* PWM Output - 147uS/inch
* Small, light weight module

My question is how is everything done ? More or less. I know the distance is measured by Analog /PWM output. What PIC would i use to get the input and then send the output? I know there are alot of i/o pins in some pics.

Ok i assume i get the input and have stages set up depending on input like:

if Analog Output = 50mv move forward slow ' 5 inches away
if Analog Output = 40mv move forward a bit faster than before ' 4 inches way
if Analog Output = 30mv move forward faster' 3 inches away
etv..

i basically want to measeure from 6 inches and closer. What PIC can i use to measure mV's and general info on how to program it or a code sample or link to such info would be awsome.
AtomSoft is offline  
Old 11th February 2008, 11:37 PM   (permalink)
Default

I suggest to convince your wife to change smoking habits towards huge cigars, such as a 10$ Havannas. With that box you get all the necessary electronic stuff into it.
Boncuk is offline  
Old 12th February 2008, 12:23 AM   (permalink)
Default

lol size of electronics dont matter i can always use a carton box or maybe a teddy bear and put the URF in 1 eye and there we have it
AtomSoft is offline  
Old 12th February 2008, 03:12 AM   (permalink)
Default

Doing this with ultrasonic is more difficult than it need be. You could ring the "pack" with LDRs and use the approaching shadow of the person as something to run away from. Maybe just sense the change in light level and run away from that. Could get interesting.
You could also use IR proximity detectors, but she might get too close before the "cigs" see her. Either way, it's going to take some creative coding.
__________________
--- The days of the digital watch are numbered. ---
kchriste is offline  
Old 12th February 2008, 03:35 AM   (permalink)
Default

lol thx will look into LDRs (Light Dependent Resistors)

Last edited by AtomSoft; 12th February 2008 at 03:51 AM.
AtomSoft is offline  
Old 12th February 2008, 05:37 AM   (permalink)
Default

Quote:
Originally Posted by Boncuk
I suggest to convince your wife to change smoking habits towards huge cigars, such as a 10$ Havannas. With that box you get all the necessary electronic stuff into it.
We think alike.
I was reading AtomSoft's first post, and I had the same thought. Then I read your post and cracked up.
__________________
Ron

Roff is offline  
Reply

Bookmarks

Thread Tools
Display Modes



Similar Threads
Title Starter Forum Replies Latest
Ultrasonic Range Finder admin2far Electronic Projects Design/Ideas/Reviews 1 13th July 2007 04:15 AM
Ultrasonic Range Finder admin2far Robotics Chat 0 9th July 2007 10:12 PM
Ultrasonic Range Finder (SRF08) elaine84 Micro Controllers 3 30th August 2005 05:32 AM
Ultrasonic Range Finder HELP! demokesola Electronic Projects Design/Ideas/Reviews 6 19th August 2005 10:06 PM
Massive ERRORS in program. URGENT HELP NEEDED. davepusey Micro Controllers 8 18th May 2004 05:13 AM



All times are GMT. The time now is 06:52 AM.


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

eXTReMe Tracker