---
+ Post New Thread
Results 1 to 20 of 20
  1. #1
    Full Member level 3
    Points: 3,254, Level: 13
    xjackal's Avatar
    Join Date
    Jan 2004
    Posts
    150
    Helped
    18 / 18
    Points
    3,254
    Level
    13

    c code for ultrasonic range finder

    do you have programmes written in any language especially for pic 16f84a,16f628a,16f877a with the circuit?

  2. #2
    Advanced Member level 5
    Points: 27,934, Level: 40
    pranam77's Avatar
    Join Date
    Apr 2008
    Location
    Mangalore (INDIA)
    Posts
    2,749
    Helped
    601 / 601
    Points
    27,934
    Level
    40

    ultrasonic coding in c

    Hai Xjackal
    Here is the schematic and codes for the Ultrasonic range finder with PIC16F877. Hope thiis will HELP you. Goodluck


    1 members found this post helpful.

    •   Alt27th November 2008, 07:38

      advertising

        
       

  3. #3
    Full Member level 3
    Points: 3,254, Level: 13
    xjackal's Avatar
    Join Date
    Jan 2004
    Posts
    150
    Helped
    18 / 18
    Points
    3,254
    Level
    13

    mikroc for ultrasonic range finder

    i need the code also can you post it?



  4. #4
    Advanced Member level 5
    Points: 27,934, Level: 40
    pranam77's Avatar
    Join Date
    Apr 2008
    Location
    Mangalore (INDIA)
    Posts
    2,749
    Helped
    601 / 601
    Points
    27,934
    Level
    40

    ultrasonic range finder

    Quote Originally Posted by xjackal
    i need the code also can you post it?
    The code "C" and "Hex" is also included in the .rar file. Please check again.



  5. #5
    Full Member level 1
    Points: 2,149, Level: 10
    Khabree's Avatar
    Join Date
    Dec 2007
    Posts
    105
    Helped
    20 / 20
    Points
    2,149
    Level
    10

    Re: ultrasonic range finder programme needed

    pranam77, thanks for sharing but 'xjackal' is right that there is no Code in 'C' in the rar file. It has two Hex file but no C code

    Kindly upload.

    Regards



  6. #6
    Full Member level 3
    Points: 3,254, Level: 13
    xjackal's Avatar
    Join Date
    Jan 2004
    Posts
    150
    Helped
    18 / 18
    Points
    3,254
    Level
    13

    Re: ultrasonic range finder programme needed

    nope.both files are .hex format can u check it again pls..
    or post the c file again
    thank you



  7. #7
    Advanced Member level 5
    Points: 27,934, Level: 40
    pranam77's Avatar
    Join Date
    Apr 2008
    Location
    Mangalore (INDIA)
    Posts
    2,749
    Helped
    601 / 601
    Points
    27,934
    Level
    40

    Re: ultrasonic range finder programme needed

    Oh... really sory for the mistake. Actually there were 2 files. One was for the PIC and the other was for the EEprom. I thought one is C and other is the Hex. Here are the C codes for the Project. Enjoy..but do not forget to click the "helped me" button.


    3 members found this post helpful.

  8. #8
    Full Member level 3
    Points: 3,254, Level: 13
    xjackal's Avatar
    Join Date
    Jan 2004
    Posts
    150
    Helped
    18 / 18
    Points
    3,254
    Level
    13

    Re: ultrasonic range finder programme needed

    did you write these codes?



  9. #9
    Advanced Member level 5
    Points: 27,934, Level: 40
    pranam77's Avatar
    Join Date
    Apr 2008
    Location
    Mangalore (INDIA)
    Posts
    2,749
    Helped
    601 / 601
    Points
    27,934
    Level
    40

    Re: ultrasonic range finder programme needed

    No friend, I got it from my friend who did this as a part of his final year project. I have see it working at his place but personally i have not tested it. Guess it is without errors. good luck



    •   Alt29th November 2008, 06:53

      advertising

        
       

  10. #10
    Full Member level 6
    Points: 6,374, Level: 19
    hugo's Avatar
    Join Date
    Dec 1999
    Location
    canada
    Posts
    323
    Helped
    55 / 55
    Points
    6,374
    Level
    19

    Re: ultrasonic range finder programme needed

    Hi xjackal,

    Check this out :

    This is a basic ultrasonic range finder, from 30 to 200 centimeters, it uses PIC16F877A with 8 Mhz crystal, an ultrasonic piezzo transmitter with its receiver, mikro c code:

    http://www.micro-examples.com/public...ic-ranger.html



  11. #11
    Full Member level 3
    Points: 3,254, Level: 13
    xjackal's Avatar
    Join Date
    Jan 2004
    Posts
    150
    Helped
    18 / 18
    Points
    3,254
    Level
    13

    Re: ultrasonic range finder programme needed

    @hugo
    i dont have micro c compiler.where to get it?



  12. #12
    Full Member level 6
    Points: 6,374, Level: 19
    hugo's Avatar
    Join Date
    Dec 1999
    Location
    canada
    Posts
    323
    Helped
    55 / 55
    Points
    6,374
    Level
    19

    Re: ultrasonic range finder programme needed

    There you go:



    http://www.mikroe.com/en/compilers/m...c/download.htm


    Note: in Demo version, hex output is limited to 2k of program words.


    1 members found this post helpful.

  13. #13
    Advanced Member level 1
    Points: 7,503, Level: 20
    Awarapunshee's Avatar
    Join Date
    Jul 2007
    Location
    Some Where In Heaven
    Posts
    415
    Helped
    95 / 95
    Points
    7,503
    Level
    20

    Re: ultrasonic range finder programme needed

    Quote Originally Posted by xjackal
    @hugo
    i dont have micro c compiler.where to get it?
    MPLAB from Microchip website is another option



  14. #14
    Newbie level 4
    Points: 539, Level: 4

    Join Date
    Feb 2010
    Location
    lebanon
    Posts
    5
    Helped
    0 / 0
    Points
    539
    Level
    4

    ultrasonic range finder programme needed

    hey man i want the code of ultrasonic range finder but not on c language on assembly language plz help me



  15. #15
    Newbie level 3
    Points: 508, Level: 4

    Join Date
    Mar 2011
    Posts
    3
    Helped
    0 / 0
    Points
    508
    Level
    4

    Re: ultrasonic range finder programme needed

    plz i need full circuit for ultrasonic radar T/x and R/x .i m using pic 19f877a



  16. #16
    Advanced Member level 5
    Points: 27,934, Level: 40
    pranam77's Avatar
    Join Date
    Apr 2008
    Location
    Mangalore (INDIA)
    Posts
    2,749
    Helped
    601 / 601
    Points
    27,934
    Level
    40

    Re: ultrasonic range finder programme needed

    Quote Originally Posted by gullboys View Post
    i m using pic 19f877a
    Are u sure you are using 19F877a?
    Cheers



  17. #17
    Newbie level 3
    Points: 508, Level: 4

    Join Date
    Mar 2011
    Posts
    3
    Helped
    0 / 0
    Points
    508
    Level
    4

    ultrasonic radar

    i did this project last year. we used pic16f788 microcontroller and i will look.send me ur email address i will send the thesis and programming



  18. #18
    Advanced Member level 5
    Points: 54,409, Level: 56
    tpetar's Avatar
    Join Date
    Sep 2010
    Location
    Pancevo, Serbia
    Posts
    6,448
    Helped
    1710 / 1710
    Points
    54,409
    Level
    56

    Re: ultrasonic range finder programme needed

    A Cheap Ultrasonic Range Finder
    http://www.micro-examples.com/public...ic-ranger.html

    In MikroC.



  19. #19
    Junior Member level 2
    Points: 291, Level: 3

    Join Date
    Apr 2012
    Posts
    20
    Helped
    0 / 0
    Points
    291
    Level
    3

    Re: ultrasonic range finder programme needed

    anyone know the analog circuit for range finder ?. i need the circuit by the transducers. i checked several from the internet. i failed



  20. #20
    Newbie level 2
    Points: 17, Level: 1

    Join Date
    Mar 2013
    Posts
    2
    Helped
    0 / 0
    Points
    17
    Level
    1

    Re: ultrasonic radar

    hello, i need the programming of ultrasonic range finder.. my address is wartyaditya@gmail.com..



+ Post New Thread
Please login