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..

5 Replies

steveastrouk (author)2012-12-04

What program, what sensor, what processor ?

Select as Best AnswerUndo Best Answer

iceng (author)2012-12-03
  • 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..

Select as Best AnswerUndo Best Answer

vpuato (author)iceng2012-12-04

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

Select as Best AnswerUndo Best Answer

astroboy907 (author)2012-12-03

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

Select as Best AnswerUndo Best Answer

vpuato (author)astroboy9072012-12-03

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

Select as Best AnswerUndo Best Answer