Author Options:

How do i connect my created device into my program? Answered

I am creating an ultrasonic device which i want to interface into my program, how is it possible? please help me anyone..



6 years ago

What program, what sensor, what processor ?


6 years ago

  • Your uP micro-processor has a start pin connected to the sonic-Module.
  • Your software then pulses the start pin HIGH
  • The same uP has a single serial input pin from the sonic-Module.
  • The smart sonic-Module pulses a complicated frequency chirp sound
  • The sonic-Module listens for an echo return indication
  • The Smart sonic-Module raises its ear gain with time because a longer echo return comes from farther away and the echo return sound is weaker.
  • The sound-Module then sends a 3 digit Hex number to your uP on the single input pin
  • The uP collects the 3 Hex digits and changes them to inches and uses a 3d pin to send a distance of the target to a 16 character LCD.
  • This method repeats every 2 sec as long as there is power.
  • The uP can be asked to sound an alarm if the target gets closer the 3 inches using another pin for a beeper and can flash the LCD too.
  • You have to supply the 5 VDC
  • You will have to load a short set of text instructions (program) into the uP.
  • Don't worry about mistakes, you get to load changed (programs) over and over until it works the way you want it to.
  • I bet some people are selling all you will need, as a Kit.
  • go have FUN..

Answer 6 years ago

Well thanks.. ill try those.. please bear with me.. i still need some few more guidelines ahead.. :)


6 years ago

What is your project based off of? A ping))) ultrasonic sensor is compatible with arduino (and I believe, PIC also)


Answer 6 years ago

well.. honestly i still don't have any idea what am i going to use.. :)