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
 
Thread Tools Display Modes
Old 7th June 2008, 12:15 PM   (permalink)
Default Ultrasonic Range Finder (95% done,need your 5%.;ref. inside)

Hi guys, im currently doing a displayed ultrasonic range finder,i got my diagram from here,

http://www.best-microcontroller-proj.../pic-sonar.pdf

A PIC sonar (ultrasonic) range finding project. (the main site)

I've finished breadboarding everything (triple checked it)
alas, nothig turned out on my display. (pic. attached)

I program my PIC with a generic PIC kit (pic. attached) with a given code from the site. But i think that i may have done something wrong in the programming part ( i just directly inputted the hex. file ) and im very bad at programming..If someone could tell me how should i 'properly' input the .hex file, i would be really happy.


i really apreciate your guys help.
Attached Images
File Type: jpg DSC01442.JPG (489.9 KB, 20 views)
File Type: jpg DSC01443.JPG (462.0 KB, 17 views)
Attached Files
File Type: zip 16F88_Ultrasonic_ranger.zip (2.7 KB, 8 views)
di@ne is offline   Reply With Quote
Old 7th June 2008, 12:28 PM   (permalink)
Default

oh yeah, il send u guys a postcard from malaysia if i get my stuff working
di@ne is offline   Reply With Quote
Old 7th June 2008, 12:58 PM   (permalink)
Default

Did you set the configuration bits correctly when you programmed it ?

If you haven't set the oscillator type/watchdog/etc etc in the config bits then it won't work properly (if at all).
picbits is online now   Reply With Quote
Old 7th June 2008, 01:01 PM   (permalink)
Default

Also, how are you powering it ? I see you have at least 4 cells. If you are driving the PIC with those without a voltage regulator and they are fresh cells then you are going to have more than 6 volts going into the PIC. This is out of spec and could damage the PIC.

If you are using a voltage regulator in the circuit then you might find that unless its a very low dropout regulator, you won't be getting 5 volts out of it unless you use at least 7-8 volts at its input.
picbits is online now   Reply With Quote
Old 7th June 2008, 01:03 PM   (permalink)
Default

And finally - are you sure your PIC is in the right place in that programming socket and the right orientation ?
picbits is online now   Reply With Quote
Old 7th June 2008, 06:41 PM   (permalink)
Default

1. Dear Picbits, i am not sure how to set the configuration bits, is it possible to tell me more or send me a link where i can study more about it?

For the oscillator, i believe it has been set in 4Mhz the stock source code given where i just "simply" programmed it.
2.
A direct reading from my cell is going 4.78+- volts but from your suggestion i am going to fix a 5 V voltage regulator soon to prevent any complication.
I am not that experience,but i guess that my PIC is still
functioning properly since i still can erase and reprogrammed any given .hex

3. for the programming sockets, i followed the instruction from the data sheets given for an 18 pin (attached)..Is it any difference to programmed it with my socket model then a direct ICSP type programming from the diagram? and for the wiring orientation from my PIC to the display and others,i checked everything and it seems to be correct, i checked every pin from 1 to 18.


4. and for my ultrasonic (attached) im not sure how i connect it but i guess it is correct, is there any polarity where + - goes to?

thanks.

-------------------------------------------------------------
on something else that is not related, for all of this problem i would ussually have an assistance from my course coordinator, but as you can see ( www.shienandy.com - Welcome ) ; i haven't have the chance to have a proper communication with him for a month since his gettting married and all other things his going thru...and basically i am doing most of the things with the help of people around me and the net.
Attached Images
File Type: jpg DSC01444.JPG (429.8 KB, 7 views)
Attached Files
File Type: pdf UIC00A & UIC-S V1.6 Downloaded Online.pdf (1.48 MB, 1 views)
di@ne is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Latest
Ultrasonic Range Finder AtomSoft Electronic Projects Design/Ideas/Reviews 5 12th February 2008 04:36 AM
Ultrasonic Range Finder admin2far Electronic Projects Design/Ideas/Reviews 1 13th July 2007 03:14 AM
Ultrasonic Range Finder admin2far Robotics Chat 0 9th July 2007 09:11 PM
Ultrasonic range finder epilot Electronic Projects Design/Ideas/Reviews 8 12th August 2006 10:46 PM
Ultrasonic Range Finder HELP! demokesola Electronic Projects Design/Ideas/Reviews 6 19th August 2005 09:05 PM



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


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