CrazyEngineers
  • Problem with ultrasonic sensor HC-SR04

    dossdss

    Member

    Updated: Oct 26, 2024
    Views: 1.2K
    i have one new HC SR04, i have few serious doubts about it...
    1. how can i test it.
    2. i tried watcing its echo on DSO but it was not observed, so how can i do that ?
    3. i am trying to interface it with ATMEGA16 MCU with a trigger from controller by giving a high pulse of 15us and then waiting for the echo but did not get anything..

    so can you pleaz guide.thanks.
    0
    Replies
Howdy guest!
Dear guest, you must be logged-in to participate on CrazyEngineers. We would love to have you as a member of our community. Consider creating an account or login.
Replies
  • piyushh

    MemberMar 16, 2013

    Not sure but still my suggestion is to go through the data sheet of the interfacing device and the micro controller thoroughly because:

    1. Trans-receiver/micro-controller you are using might have crystal oscillator frequencies incompatible
    2. Different IO trigger voltage levels.
    3. As I can see the module(Ultrasonic Ranging Module HC - SR04) you are using is TTL triggered input, so there can be some issues due to noise margin range

    There can be multiple reason for failure apart from the above but my advice is to please carefully analyse the timing diagrams of both the modules before actually implementing it
    Are you sure? This action cannot be undone.
    Cancel
  • dossdss

    MemberMar 16, 2013

    piyushh
    Not sure but still my suggestion is to go through the data sheet of the interfacing device and the micro controller thoroughly because:

    1. Trans-receiver/micro-controller you are using might have crystal oscillator frequencies incompatible
    2. Different IO trigger voltage levels.
    3. As I can see the module(Ultrasonic Ranging Module HC - SR04) you are using is TTL triggered input, so there can be some issues due to noise margin range

    There can be multiple reason for failure apart from the above but my advice is to please carefully analyse the timing diagrams of both the modules before actually implementing it

    thanks.
    i went through the datasheets... and i am trying to do accordingly. but i am not getting how to test that module at least once.
    as you said that there can be noise margin problem, so how can i find that and avoid it ?
    Are you sure? This action cannot be undone.
    Cancel
Home Channels Search Login Register