Short Range Personal Radar
Laser Range Finder
First off, thanks for the project. This setup is pretty sweet. I was just curious to know if it was possible to use a laser range finder? Like out of a laser tape measure. I was thinking of increasing the range to 100'+. This would be an excellent tool for anyone driving a long vehicle, like a 1 ton truck and horse trailer.
I'd also like to know if anyone has gotten this to display on a computer. It'd be pretty sweet to have an old school sweep screen mounted on the dash.
I'd also like to know if anyone has gotten this to display on a computer. It'd be pretty sweet to have an old school sweep screen mounted on the dash.
Question for Sharp IR range finder
I'm interested in using Sharp IR range finder sensor in my robot. Is there any C programming example as reference?
Because i'm new in writting ADC in C programming for my microcontroller PIC18F452. Meanwhile, i'm not very understand the code's comment admin post in range finder tutorial.
If there has any simple ADC C programming code in interfacing SHARP IR range finder sensor with microcontroller PIC18F452 as reference, i would very appreciate it.
Because i'm new in writting ADC in C programming for my microcontroller PIC18F452. Meanwhile, i'm not very understand the code's comment admin post in range finder tutorial.
If there has any simple ADC C programming code in interfacing SHARP IR range finder sensor with microcontroller PIC18F452 as reference, i would very appreciate it.

-
- PyroElectro Admin
- Posts: 1181
- Joined: Mon Nov 12, 2007 9:24 pm
- Location: Earth
- Contact:
Simulators are only so good....things work differently in the real world. Haha, sorry it's just I have no experience with ISIS so I'm not sure how to reply.
I would say, try to program the PIC with your code and slowly build the project until it all works. Simulators are only so helpful, especially with a small project like this.
I would say, try to program the PIC with your code and slowly build the project until it all works. Simulators are only so helpful, especially with a small project like this.
-
- PyroElectro Admin
- Posts: 1181
- Joined: Mon Nov 12, 2007 9:24 pm
- Location: Earth
- Contact:
The datasheet for the GP2D120 or whatever IR proximity sensor you are using tells you how it operates.
Since the sensor detects reflected Infrared Light, you will only need to calibrate the sensor when you are using it where other sources of infrared light are present (like from the sun). If you connect the V_output from the sensor to a DMM voltmeter and test the sensor in different places and conditions you will see when calibration is necessary (usually if operating outdoors or around bright incandescent light).
Since the sensor detects reflected Infrared Light, you will only need to calibrate the sensor when you are using it where other sources of infrared light are present (like from the sun). If you connect the V_output from the sensor to a DMM voltmeter and test the sensor in different places and conditions you will see when calibration is necessary (usually if operating outdoors or around bright incandescent light).
-
- PyroElectro Admin
- Posts: 1181
- Joined: Mon Nov 12, 2007 9:24 pm
- Location: Earth
- Contact:
@solidus I'll upload the .hex file for the ir radar project however I have a concern that if you can't even compile the project on your own having the hex file may not be very helpful to you as you'll run into other problems.
IR Hex Download:
http://www.pyroelectro.com/files/ir.hex
It sounds like either (a) you're going to need to go through the code and change something so that your setup works or (b) the led drivers (74_373) are not wired up correctly, and never change their output state.
It really just sounds like the PIC isn't doing anything, some leds should be turning off and on. I would look around the PIC's pins (look for state changes) as well, and make sure it is on and executing instructions.
-
- Newbie Pyro
- Posts: 2
- Joined: Thu Dec 30, 2010 9:43 am
-
- PyroElectro Admin
- Posts: 1181
- Joined: Mon Nov 12, 2007 9:24 pm
- Location: Earth
- Contact:
The hex file can be found here:
http://forums.pyroelectro.com/viewtopic.php?t=42&postdays=0&postorder=asc&start=41
As I've warned other users. Simply programming the PIC without getting everything to compile yourself through MPLAB is a recipe for disaster if you eventually have to debug the project. I strongly urge you to try to get the project to compile inside MPLAB and use the hex file from there to program the pic.
Best of luck.
http://forums.pyroelectro.com/viewtopic.php?t=42&postdays=0&postorder=asc&start=41
As I've warned other users. Simply programming the PIC without getting everything to compile yourself through MPLAB is a recipe for disaster if you eventually have to debug the project. I strongly urge you to try to get the project to compile inside MPLAB and use the hex file from there to program the pic.
Best of luck.
-
- Newbie Pyro
- Posts: 2
- Joined: Thu Dec 30, 2010 9:43 am
-
- PyroElectro Admin
- Posts: 1181
- Joined: Mon Nov 12, 2007 9:24 pm
- Location: Earth
- Contact:
-
- PyroElectro Admin
- Posts: 1181
- Joined: Mon Nov 12, 2007 9:24 pm
- Location: Earth
- Contact:
Hi com.st,
A stepper motor can do 360 if you want, hobby servo motors are typically limited to 90 degrees.
I'm not sure what you mean by 5cm beam-width. The beam-width is narrow for these sensors because they are trying for pin-point accuracy for proximity, that's why you have to move the sensor back and forth across a field of view. Check the data sheet for the various GP2D sensors for those specifics.
A stepper motor can do 360 if you want, hobby servo motors are typically limited to 90 degrees.
I'm not sure what you mean by 5cm beam-width. The beam-width is narrow for these sensors because they are trying for pin-point accuracy for proximity, that's why you have to move the sensor back and forth across a field of view. Check the data sheet for the various GP2D sensors for those specifics.
Hi,
Thank you PyroElectro; stepper motor I think it will need abrush to rotate with 360 and this will make the connection more comlex .
About beam-width it just as you please in fact sonar can be used for longer range ( more than 80 cm ) but it less accuracy than IR , if you don't mind I will need your help when it comes time to work thank you very much again.
Thank you PyroElectro; stepper motor I think it will need abrush to rotate with 360 and this will make the connection more comlex .
About beam-width it just as you please in fact sonar can be used for longer range ( more than 80 cm ) but it less accuracy than IR , if you don't mind I will need your help when it comes time to work thank you very much again.
Who is online
Users browsing this forum: No registered users and 5 guests