the ultrasonic SRF04 with pic16f88


Closed Thread
Results 1 to 16 of 16

Hybrid View

  1. #1
    Join Date
    Mar 2008
    Location
    london
    Posts
    15


    Did you find this post helpful? Yes | No

    Red face how ??

    good idea but how can I do it???
    how can I disable the ADC and comparators in a 16f88???

  2. #2
    Join Date
    Oct 2003
    Location
    holland
    Posts
    251


    Did you find this post helpful? Yes | No

    Default

    There could be a possibility to find that kind of information in the datasheet.

    I did that for all types I use and it worked !!

  3. #3
    Join Date
    Mar 2008
    Location
    london
    Posts
    15


    Did you find this post helpful? Yes | No

    Default datasheet

    hi
    i just tested my port with few led and they work fine, inputing and outputting.
    but the srf04 is still not working.
    I have no idea of what is going on.

    anybody with an idea????

  4. #4
    Join Date
    May 2004
    Location
    NW France
    Posts
    3,653


    Did you find this post helpful? Yes | No

    Default

    - Try External clock !!! ( internal Osc is "not so accurate" ...)

    - Place "Low trigger" just before "Pulsout"

    Alain
    ************************************************** ***********************
    Why insist on using 32 Bits when you're not even able to deal with the first 8 ones ??? ehhhhhh ...
    ************************************************** ***********************
    IF there is the word "Problem" in your question ...
    certainly the answer is " RTFM " or " RTFDataSheet " !!!
    *****************************************

  5. #5
    Join Date
    Mar 2008
    Location
    london
    Posts
    15


    Did you find this post helpful? Yes | No

    Unhappy still not working

    i just tryied to use the external clock again.
    but it is still not working.

    any one with an idea, please ??????

  6. #6
    skimask's Avatar
    skimask Guest


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by tur_bot View Post
    i just tryied to use the external clock again.
    but it is still not working.
    any one with an idea, please ??????
    Re-read post #2 and post #4...
    Look at your program...
    Take a good look at PortA.0
    Compare PortA.0's function from the datasheet to what you are trying to do with it...

    Get back to us with the results...

  7. #7
    Join Date
    Mar 2008
    Location
    london
    Posts
    15


    Did you find this post helpful? Yes | No

    Default what do you mean

    what do you mean by check porta.0 , read post2 and 4 ????? do you mean that the porta.0 is analog and I shouldn't use it for digital signals input????

    anyway , I moved the echo signal to differents port.b's and port.a's and nothing changed.

    I tested few portB input pins with infrared detectors ( which worked fine) but when the echo input signal, is connected to the same portb that i just tested , and the trigger signal output (connected to portb output pins that i tested with LEDs) of my srf04 are connected , nothing is working

    can you tell me clearly what do you have in mind please???

Similar Threads

  1. RX TX modules - intermitent communication
    By ruijc in forum mel PIC BASIC Pro
    Replies: 13
    Last Post: - 11th June 2009, 00:13
  2. Replies: 8
    Last Post: - 7th December 2006, 15:42
  3. PIC16F88 problem with TOGGLE command?
    By russman613 in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 17th September 2006, 23:31
  4. sensor ultrasonic 8051&PIC
    By hd_uni_pro in forum Schematics
    Replies: 1
    Last Post: - 13th September 2006, 12:58
  5. SRF04 Range Finder 16F628 R18iXL Board
    By Spindle in forum mel PIC BASIC Pro
    Replies: 0
    Last Post: - 20th June 2005, 02:08

Members who have read this thread : 0

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts