Short Range Personal Radar

Questions and Comments on All Projects
criantl
Newbie Pyro
Posts: 2
Joined: Thu Jun 04, 2009 6:03 am

PIC to Z8

Postby criantl » Thu Jun 04, 2009 6:17 am

Good day.. I am not using PIC Programming. Instead, in our school, we are using Z8 Microcontroller Unit. Can this project "Personalized Short Range Radar System" be programmed in Z8?.. if it is possible.. can anyone give me an idea or the tutorial???tnx

W3d4r
Newbie Pyro
Posts: 2
Joined: Sat Jun 06, 2009 8:43 am

short range finder

Postby W3d4r » Sat Jun 06, 2009 12:03 pm

hi... can i make this project with other microcontrollers like avr

criantl
Newbie Pyro
Posts: 2
Joined: Thu Jun 04, 2009 6:03 am

Postby criantl » Mon Jun 08, 2009 9:35 am

good.. can anyone do the program of this in Zilog.. plz.. tnx

toni108
Newbie Pyro
Posts: 1
Joined: Tue Jun 16, 2009 5:42 pm
Contact:

Hello

Postby toni108 » Wed Jun 17, 2009 10:52 am

Hello ! I am new here and also new in the PIC area and I would really need your help... I built this short range personal radar, with an 8MHz crystal, I compiled the code, and I programmed the PIC onboard, using MPLab and the pickit2 programmer. The programming was succesfull but the project does not work properly.There RD0-RD4 are ok but RD5-RD7 stay low and also RB0-RB4 stay low. The servo is working properly.Please help me, what can the problem be? Thank you

erick31
Newbie Pyro
Posts: 1
Joined: Mon Jun 29, 2009 11:06 pm

Postby erick31 » Wed Jul 29, 2009 5:02 am

Hi there! I tried to build this project but I changed PIC18F452 to PIC18F4620 microcontroller and used SHARP GP2Y0A02YK to have 20cm to 150cm detection range. i just want to ask if i need to change anything on the software aside from changing the #include <p18f452.h> to <p16f4620.h>.

I wanted to ask these questions because I strictly followed the schematic diagram as it is and also loaded the software just changing #include <p18f452.h> to <p16f877.h> but unfortunately its not working. Could you please give me some help regarding this? i hope to hear from you soon sir.

Thanks in advance!

solidus
Newbie Pyro
Posts: 7
Joined: Mon Sep 07, 2009 7:08 pm

Postby solidus » Mon Sep 07, 2009 7:44 pm

hi to all. I'm new on this forum. I read all. I want to make this project with 16f877. I changed the p18f452 to p16f877. I cant compile it. Can someone pls help me about the hex. files of 18f452 and 16f877 ?

irbaaz
Newbie Pyro
Posts: 1
Joined: Tue Sep 08, 2009 3:14 am

Postby irbaaz » Tue Sep 08, 2009 3:17 am

Can i use 8051 microcontroller in this project? what will be the changes in schematic and program then?

solidus
Newbie Pyro
Posts: 7
Joined: Mon Sep 07, 2009 7:08 pm

Postby solidus » Wed Sep 09, 2009 5:16 pm

is this radar really working ? I'm sorry but This site and this circuit look dead.

ThePyroElectro
PyroElectro Admin
Posts: 1181
Joined: Mon Nov 12, 2007 9:24 pm
Location: Earth
Contact:

Postby ThePyroElectro » Wed Sep 23, 2009 5:04 am

@irbaaz Any microcontroller can be used with this project as long as it has an ADC to get input from the IR sensor.

@solidus The circuit works just fine, but as the write-up says you will have to calibrate for your specific sensor and enviornment. IR is not the most stable method for proximity sense for all enviornments, this is why you see it in limited commercial applications that have many known variables, like in bathrooms as an example.

solidus
Newbie Pyro
Posts: 7
Joined: Mon Sep 07, 2009 7:08 pm

Postby solidus » Mon Oct 05, 2009 9:56 pm

@solidus The circuit works just fine, but as the write-up says you will have to calibrate for your specific sensor and enviornment. IR is not the most stable method for proximity sense for all enviornments, this is why you see it in limited commercial applications that have many known variables, like in bathrooms as an example.


Can you please help us about the hex codes ? I'm using the latest versions of Compiler. I'm sorry but I can't compile the source code. if you share the compiled code, I'll have a chance to see how it works. Thanks.

bigass77
Newbie Pyro
Posts: 2
Joined: Sat Oct 10, 2009 5:35 am

Postby bigass77 » Sat Oct 10, 2009 5:45 am

can i use pic18f4520 with thais project?

ThePyroElectro
PyroElectro Admin
Posts: 1181
Joined: Mon Nov 12, 2007 9:24 pm
Location: Earth
Contact:

Postby ThePyroElectro » Sun Oct 11, 2009 12:50 am

@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

@bigass77 This project can be run on the 18f4520 you just need to change the header file and some of the A/D conversion routines.

bigass77
Newbie Pyro
Posts: 2
Joined: Sat Oct 10, 2009 5:35 am

Postby bigass77 » Sun Oct 11, 2009 9:01 am

i try to simulate with Proteus7.5 but servo doesn't working and can you send some of change A/D conversion plz

ductdt09
Newbie Pyro
Posts: 1
Joined: Sun Jan 10, 2010 8:42 am

how to calculator value ADC?

Postby ductdt09 » Sun Jan 10, 2010 8:58 am

can u show me more detail how to calculator value ADC convert?i do not really understand it?
IF Vref=5V, convert ADC 10bit, so we have 5/1024=4.9mv/bit
and valueADC=Vref/1024*Vinput

ThePyroElectro
PyroElectro Admin
Posts: 1181
Joined: Mon Nov 12, 2007 9:24 pm
Location: Earth
Contact:

Postby ThePyroElectro » Thu Jan 14, 2010 8:03 am

For 10bit ADC and Vref = 5v

if the ADC input is 5.0v the 10bit ADC value result is 1024
if the ADC input is 4.0v the 10bit ADC value result is 819
if the ADC input is 2.5v the 10bit ADC value result is 512
if the ADC input is 1.0v the 10bit ADC value result is 102

The resultant value is proportional to the Vref....

Vref = 5v
Vin = 3.5v

ADC Value = (Vref / Vin) * 1024
(3.5v/5v) * 1024 = 716.8


Return to “Projects”

Who is online

Users browsing this forum: No registered users and 3 guests