How To – DIY ultrasonic rangefinder

Technology
How To – DIY ultrasonic rangefinder

diy_ultrasonicsensor.jpg

Here’s a nice recipe for building your own ultrasonic distance sensor – similar to the Parallax Ping, though it requires a bit of software coding to handle timing and measurement –

Everybody knows the speed of the sound in the dry air is around 340 m/s. Send a short ultrasonic pulse at 40 Khz in the air, and try to listen to the echo. Of course you won’t hear anything, but with an ultrasonic sensor the back pulse can be detected. If you know the time of the forth & back travel of the ultrasonic wave, you know the distance, divide the distance by two and you know the range from the ultrasonic sensor to the first obstacle in front of it.

Here we use an ultrasonic piezzo transmitter with its receiver, they are very efficient, easy to find and quite cheap.

Schematic and PIC source code are available on the project’s page. [via Ladyada’s Ranting]

78 thoughts on “How To – DIY ultrasonic rangefinder

  1. wildstar gold guide says:

    wildstar gold guide

    Free for each playlists are very horrible on top of that, As they have a tendency to take a strong unusually established properly.If feels like that they use these monthly deficiencies just eighteen, you are visitors to keep being combat online video m…

  2. replica designer celine handbags says:

    replica designer celine handbags

    A+++ Thanks!

  3. wildstar platinum says:

    wildstar platinum

    Really put wherethe fact that upon golf gaming programs: Complete together with comment shutdown. Those third a period, I played heart technical staffing, also to nevada, To the business we were getting too hot. This item installed returning, Though pc…

  4. safest wow gold says:

    safest wow gold

    i Obtained safest wow gold in Chestnut. Honestly. These are super cute, i have gotten PLENTY of compliments, These are generally my 4th a person, but up to now the top types. They are tremendous nice.

  5. YSL Replica Bags UK says:

    YSL Replica Bags UK

    Beautiful Tote shoe – perfect condition. thanks.

  6. imitation sac ysl says:

    imitation sac ysl

    Aimer! Expédition rapide merci!

  7. http://www.bamboodownunder.com.au/files/ says:

    http://www.bamboodownunder.com.au/files/

    Extremely durable and well constructed material. This handbag gives you the option of a long strap to sling over shoulder or perhaps you can hold it by the hand strap. The canvas material is very durable and with the multi color pallet the wife loves i…

  8. cheap louis vuitton says:

    cheap louis vuitton

    Extremely durable and well constructed material. This handbag gives you the option of a long strap to sling over shoulder or perhaps you can hold it by the hand strap. The canvas material is very durable along with the multi color pallet the wife loves…

  9. http://www.vanitynightclub.com.au/files/ says:

    http://www.vanitynightclub.com.au/files/

    Extremely durable and well constructed material. This handbag gives you the option of a long strap to sling over shoulder or perhaps you can carry it by the hand strap. The canvas material is extremely durable along with the multi color pallet the wife…

  10. Louis Vuitton Outlet says:

    Louis Vuitton Outlet

    Extremely durable and well constructed material. This handbag gives you the option of a long strap to sling over shoulder or you can carry it by the hand strap. The canvas material is extremely durable and with the multi color pallet the wife loves it…

  11. http://www.peepaltreepress.com/lulu.asp says:

    http://www.peepaltreepress.com/lulu.asp

    The mother conveyed in which she loved all bracelet, though clothes Close mother’s evening present. Although, on her wear things got also bagslengthy in order to appear, therefore arrived after the holiday. We have never viewed yet.

  12. http://www.aetrecycler.com says:

    http://www.aetrecycler.com

    The mother conveyed that will she loved your bracelet, even though clothes Ideal mother’s evening gift. Nevertheless, ones this girl use that it took besides bagslengthy and appear, therefore arrived following the holiday. I’ve maybe not spotted stil…

  13. http://www.croftonline.co.uk/view.asp says:

    http://www.croftonline.co.uk/view.asp

    My personal mom shown that she loved your bracelet, yet clothes Right mother’s day gift. Although, the actual the lady put on this took besides bagsvery long and appear, and it appeared after the holiday. I have maybe not spotted however.

  14. http://www.whatsupmuskoka.com/sitepages/pollnews.asp says:

    http://www.whatsupmuskoka.com/sitepages/pollnews.asp

    The mom expressed you already know she loved some sort of bracelet, even though clothes Right mother’s day gift. Then again, the the lady don things got too bagslengthy towards arrive, therefore arrived following the holiday. I have never observed yet…

  15. Lululemon Outlet says:

    Lululemon Outlet

    Extremely durable and well constructed material.I am currently using it for my first year in college This handbag gives you the option of a long strap to sling over shoulder or you can carry it by the hand strap. The canvas material is extremely durabl…

  16. Christian Louboutin Replica says:

    Christian Louboutin Replica

    My personal mom indicated which is she loved the actual bracelet, though clothes Right mother’s evening present. Then again, your this girl use things got quite bagslonger on appear, therefore appeared following the holiday. I have not really noticed…

  17. http://www.waeco.com.au/files/ says:

    http://www.waeco.com.au/files/

    Our mom expressed your she liked the particular bracelet, although clothes Close mother’s evening gifts. However, ones this girl put on this took besides bagsvery long on show up, and it came following the vacation. We have not really seen yet.

  18. asics kayano 20 says:

    asics kayano 20

    Thank you a lot for sharing this with all people you actually know what you are speaking about! Bookmarked. Kindly also discuss with my web site =). We may have a hyperlink exchange contract among us! http://www.immobiliaremazzola.com/public/mas2adce/t…

  19. asics gt 2170 says:

    asics gt 2170

    hi!,I love your writing so a lot! percentage we keep up a correspondence more approximately your post on AOL? I need an expert in this house to unravel my problem. May be that is you! Having a look forward to peer you. http://sms2.yaojuwang.com/UserFil…

  20. asics gt 2170 says:

    asics gt 2170

    You really make it appear so easy with your presentation but I in finding this topic to be actually something which I believe I would by no means understand. It kind of feels too complex and extremely wide for me. I’m looking forward on your subsequen…

  21. asics onitsuka tiger says:

    asics onitsuka tiger

    You really make it seem really easy with your presentation but I find this topic to be actually something which I believe I might never understand. It seems too complex and very extensive for me. I am having a look ahead for your next submit, I will at…

  22. asics noosa tri 9 says:

    asics noosa tri 9

    You really make it seem really easy with your presentation however I to find this topic to be actually one thing which I think I would never understand. It sort of feels too complex and extremely extensive for me. I am having a look forward in your sub…

  23. http://www.overtures.in says:

    http://www.overtures.in

    Extremely durable and well constructed material. This handbag gives you the option of a long strap to sling over shoulder or perhaps you can carry it by the hand strap. The canvas material is extremely durable and with the multi color pallet the wife l…

  24. asics kinsei 4 says:

    asics kinsei 4

    I simply could not go away your web site before suggesting that I really enjoyed the usual information a person provide in your guests? Is gonna be again regularly to investigate cross-check new posts http://bbs.ztenkj.com/upload/nas2aeab/custom_runnin…

  25. asics onitsuka tiger says:

    asics onitsuka tiger

    Somebody necessarily help to make seriously articles I’d state. This is the very first time I frequented your website page and so far? I surprised with the analysis you made to create this particular post extraordinary. Magnificent job! http://www.sro…

  26. Lululemon Outlet Online says:

    Lululemon Outlet Online

    The mother shown you already know she loved the bracelet, even though clothes Good mother’s day gift. But, that her wear this got also bagsprolonged on come, therefore arrived following the vacation. I’ve never observed yet.

  27. Cheap Christian Louboutin says:

    Cheap Christian Louboutin

    Extremely durable and well constructed material. This handbag gives you the option of a long strap to sling over shoulder or perhaps you can hold it by the hand strap. The canvas material is very durable along with the multi color pallet the wife loves…

  28. asics gel nimbus 14 says:

    asics gel nimbus 14

    You really make it appear really easy with your presentation but I in finding this matter to be really something that I think I would never understand. It seems too complex and very extensive for me. I am looking forward to your subsequent put up, I wi…

  29. asics gt 2170 says:

    asics gt 2170

    You actually make it appear really easy along with your presentation however I in finding this topic to be actually one thing that I feel I might by no means understand. It kind of feels too complicated and extremely extensive for me. I’m looking forw…

  30. asics onitsuka tiger says:

    asics onitsuka tiger

    You actually make it seem really easy along with your presentation however I in finding this topic to be really something which I believe I would never understand. It sort of feels too complicated and extremely large for me. I’m taking a look ahead to…

  31. asics gel nimbus 14 says:

    asics gel nimbus 14

    You really make it seem so easy with your presentation however I in finding this matter to be actually something that I think I would by no means understand. It kind of feels too complicated and extremely large for me. I am taking a look ahead on your…

  32. nike air max 90 vt classic oscuro amarillo says:

    nike air max 90 vt classic oscuro amarillo

    wedding dresses jasmine collection nike air jordan 4 mujer rosa purpura hogan interactive marrone 1312 wedding dresses jasmine couture nike air jordan 4 negro blanco hogan interactive donna scarpe luminoso nero 2014 wedding dresses jenny lee nike air j…

  33. asics nimbus womens says:

    asics nimbus womens

    Thanks , I’ve recently been looking for information about this topic for a while and yours is the greatest I have came upon till now. However, what concerning the conclusion? Are you positive about the supply? asics kayano 19 asics t054n asics gel nim…

  34. black asics says:

    black asics

    Whats Going down i’m new to this, I stumbled upon this I have found It positively useful and it has helped me out loads. I am hoping to contribute & aid different users like its helped me. Great job. womens asics gel nimbus 12 asics kinsei 4 where can…

  35. asics noosa tri 9 says:

    asics noosa tri 9

    I just couldn’t depart your website prior to suggesting that I really loved the usual info a person provide on your guests? Is gonna be again often in order to investigate cross-check new posts asics noosa tri 9 mens asics asics hyperspeed mens asics…

  36. lululemon yoga pants says:

    lululemon yoga pants

    My personal mom shown that she loved ones bracelet, although clothes Really mother’s time present. Conversely, their her don this took quite bagslengthy on come, therefore appeared following the getaway. I have not spotted yet.

  37. louis vuitton outlet says:

    louis vuitton outlet

    I am currently using it for my first year in college. I am nearing the end of my second week and I am really glad that I found this! This is well made and I also love the color material regarding the bag. It is sturdy and has now 4 pockets, not such as…

  38. Cheap Nike Roshe Run says:

    Cheap Nike Roshe Run

    Extremely durable and well constructed material. This handbag gives you the option of a long strap to sling over shoulder or you can carry it by the hand strap. The canvas material is very durable and with the multi color pallet the wife loves it becau…

  39. lululemon factory outlet online says:

    lululemon factory outlet online

    I am currently using it for my first year in college. I am nearing the end of my second week and I also am really glad that I found this! That is well made and I love the color material for the bag. It is sturdy and has now 4 pockets, not including the…

  40. Cheap Beats Sole HD says:

    Cheap Beats Sole HD

    I am currently using it for my first year in college. I am nearing the end of my second week and I am really glad that I found this! This is well made and I also love the color material associated with bag. It is sturdy and has now 4 pockets, not inclu…

  41. Lululemon Outlet Online says:

    Lululemon Outlet Online

    Extremely durable and well constructed material.I am currently using it for my first year in college This handbag gives you the option of a long strap to sling over shoulder or perhaps you can hold it by the hand strap. The canvas material is extremely…

  42. Coach Outlet Online says:

    Coach Outlet Online

    I am currently using it for my first year in college. I am nearing the end of my second week and I also am really glad that I discovered this! That is well made and I love the color material associated with the bag. It is sturdy and has 4 pockets, not…

  43. Cheap Christian Louboutin says:

    Cheap Christian Louboutin

    Extremely durable and well constructed material. This handbag gives you the option of a long strap to sling over shoulder or perhaps you can hold it by the hand strap. The canvas material is extremely durable and with the multi color pallet the wife lo…

  44. lululemon canada says:

    lululemon canada

    Our mother expressed that will she liked some sort of bracelet, though clothes Good mother’s day present. But, their the lady wear they got besides bagsextended to come, and it arrived following the getaway. We have not really observed still. :-)

  45. Lululemon Outlet Online says:

    Lululemon Outlet Online

    Extremely durable and well constructed material. This handbag gives you the option of a long strap to sling over shoulder or perhaps you can hold it by the hand strap. The canvas material is very durable along with the multi color pallet the wife loves…

  46. http://www.corcon.org says:

    http://www.corcon.org

    The mom expressed which is she loved their bracelet, though clothes Ideal mother’s day present. Still, ones her don that it got besides bagsextended towards show up, and it appeared following the vacation. I have not viewed still. :-)

  47. http://www.j-shiner.co.uk/views.asp says:

    http://www.j-shiner.co.uk/views.asp

    My personal mom indicated just that she liked the bracelet, however clothes Close mother’s time present. Then again, the actual her put on they took too bagsextended on show up, therefore appeared following the vacation. I’ve not really viewed howeve…

  48. lululemon canada says:

    lululemon canada

    Extremely durable and well constructed material. This handbag gives you the option of a long strap to sling over shoulder or perhaps you can hold it by the hand strap. The canvas material is extremely durable and with the multi color pallet the wife lo…

  49. Cheap Beats By Dre says:

    Cheap Beats By Dre

    My mom conveyed in which she loved your bracelet, although clothes Good mother’s evening present. But, your this girl use this got besides bagslengthy on come, therefore appeared after the vacation. I’ve not really observed still. :-)

  50. asics gt 2170 says:

    asics gt 2170

    You really make it seem really easy with your presentation however I to find this matter to be actually something that I feel I would never understand. It kind of feels too complicated and very huge for me. I’m taking a look forward for your subsequen…

  51. asics kayano 20 says:

    asics kayano 20

    Thank you, I have just been searching for information approximately this subject for a while and yours is the best I have came upon so far. However, what concerning the bottom line? Are you positive concerning the supply? http://vla.vn/userfiles/las2ae…

  52. Christian Louboutin Outlet says:

    Christian Louboutin Outlet

    My mom indicated your she loved their bracelet, even though clothes Really mother’s time gifts. Then again, the actual her don that got as well bagslonger in order to arrive, therefore arrived after the getaway. We have not really viewed yet. :-)

  53. Lululemon Outlet says:

    Lululemon Outlet

    I am currently using it for my first year in college. I am nearing the end of my second week and I also am really glad that I found this! This might be well made and I love the color material regarding the bag. It is sturdy and has now 4 pockets, not s…

  54. Christian Louboutin Replica says:

    Christian Louboutin Replica

    Extremely durable and well constructed material. This handbag gives you the option of a long strap to sling over shoulder or perhaps you can carry it by the hand strap. The canvas material is extremely durable along with the multi color pallet the wife…

  55. lululemon factory outlet says:

    lululemon factory outlet

    My personal mother expressed which is she liked all bracelet, however clothes Really mother’s evening gift. Nevertheless, the actual this girl use they got besides bagslonger towards arrive, therefore came after the vacation. I have not really observe…

  56. Lululemon Outlet Online says:

    Lululemon Outlet Online

    I am currently using it for my first year in college. I am nearing the end of my second week and I also am really glad that I found this! This might be well made and I also love the color material regarding the bag. It is sturdy and has 4 pockets, not…

  57. Cheap Christian Louboutin says:

    Cheap Christian Louboutin

    I am currently using it for my first year in college. I am nearing the end of my second week and I also am really glad that I discovered this! This is well made and I also love the color material of this bag. It is sturdy and has 4 pockets, not such as…

  58. Cheap Beats Headphones says:

    Cheap Beats Headphones

    The mom shown you already know she liked ones bracelet, yet clothes Close mother’s evening gifts. Conversely, some sort of this girl use things took quite bagslengthy in order to arrive, therefore appeared following the vacation. I’ve never seen stil…

  59. Cheap Beats solo says:

    Cheap Beats solo

    Extremely durable and well constructed material. This handbag gives you the option of a long strap to sling over shoulder or perhaps you can hold it by the hand strap. The canvas material is very durable and with the multi color pallet the wife loves i…

  60. http://www.pacificlongboarder.com/files/ says:

    http://www.pacificlongboarder.com/files/

    I am currently using it for my first year in college. I am nearing the end of my second week and I also am really glad that I found this! This is well made and I also love the color material of the bag. It is sturdy and has 4 pockets, not such as the m…

  61. asics noosa tri 9 says:

    asics noosa tri 9

    You really make it seem really easy along with your presentation however I in finding this topic to be actually something that I believe I might by no means understand. It kind of feels too complicated and very vast for me. I am looking ahead on your s…

  62. asics onitsuka tiger says:

    asics onitsuka tiger

    you are truly a excellent webmaster. The web site loading speed is incredible. It sort of feels that you’re doing any distinctive trick. Moreover, The contents are masterwork. you’ve performed a excellent activity in this subject! http://www.photoemo…

  63. asics gel nimbus 14 says:

    asics gel nimbus 14

    You actually make it appear so easy together with your presentation however I find this matter to be really one thing that I think I’d by no means understand. It sort of feels too complex and extremely huge for me. I’m taking a look forward to your s…

  64. safest wow gold says:

    safest wow gold

    Irrrm a sucker for now this safest wow gold that much. It is quite relaxing, it could be very stylist. Totally really money!

  65. Cheap Beats Headphones says:

    Cheap Beats Headphones

    The mom conveyed that will she loved their bracelet, yet clothes Really mother’s time gift. But, that the lady don they took also bagslengthy in order to come, and it arrived after the vacation. I have not viewed but. :-)

  66. Lululemon Outlet Online says:

    Lululemon Outlet Online

    I am currently using it for my first year in college. I am nearing the end of my second week and I am really glad that I found this! This really is well made and I also love the color material for the bag. It is sturdy and has 4 pockets, not including…

  67. cheap ray ban sunglasses says:

    cheap ray ban sunglasses

    Our mother indicated just that she liked their bracelet, even though clothes Well mother’s day gifts. Conversely, some sort of the lady use it took quite bagsextended at appear, therefore appeared after the vacation. I have never seen though. :-)

  68. asics kayano 20 says:

    asics kayano 20

    you are really a good webmaster. The site loading pace is amazing. It sort of feels that you are doing any distinctive trick. In addition, The contents are masterpiece. you have done a magnificent activity on this topic! http://www.tecnaco.com.br/UserF…

  69. asics gel nimbus 14 says:

    asics gel nimbus 14

    You really make it appear so easy with your presentation however I to find this topic to be really something which I feel I might never understand. It seems too complicated and extremely wide for me. I’m having a look ahead on your subsequent publish,…

  70. asics kinsei 4 says:

    asics kinsei 4

    You really make it appear so easy with your presentation however I in finding this matter to be really something which I feel I would by no means understand. It kind of feels too complicated and very vast for me. I am looking ahead in your next put up,…

  71. cheap asics says:

    cheap asics

    You really make it seem so easy along with your presentation however I find this matter to be really something that I believe I’d never understand. It seems too complex and very vast for me. I’m looking forward in your subsequent put up, I will attem…

  72. asics kayano 20 says:

    asics kayano 20

    You really make it seem really easy along with your presentation but I in finding this matter to be actually one thing that I feel I’d by no means understand. It sort of feels too complex and extremely vast for me. I am taking a look forward to your n…

  73. cheap asics says:

    cheap asics

    Whats Happening i am new to this, I stumbled upon this I have found It absolutely helpful and it has aided me out loads. I hope to contribute & assist other customers like its helped me. Good job. http://www.ristorantealmaniero.it/public/las2aecc/asics…

  74. asics kayano 19 says:

    asics kayano 19

    You actually make it appear so easy together with your presentation but I in finding this matter to be actually something which I believe I would never understand. It kind of feels too complicated and very large for me. I am having a look forward in yo…

  75. asics onitsuka tiger says:

    asics onitsuka tiger

    You really make it seem so easy along with your presentation but I find this topic to be really one thing which I think I would by no means understand. It seems too complicated and very wide for me. I’m looking forward to your next submit, I will atte…

  76. asics kinsei 4 says:

    asics kinsei 4

    You really make it appear really easy with your presentation however I to find this topic to be actually something which I feel I might never understand. It kind of feels too complex and very large for me. I’m looking forward on your next submit, Iˇll…

  77. asics gel kinsei 5 says:

    asics gel kinsei 5

    You really make it appear so easy together with your presentation but I to find this topic to be actually one thing which I feel I might never understand. It kind of feels too complicated and extremely vast for me. I’m taking a look ahead for your sub…

  78. asics gel scram says:

    asics gel scram

    You actually make it seem really easy with your presentation but I find this topic to be really something that I think I might never understand. It kind of feels too complex and very vast for me. I am looking forward in your subsequent publish, Iˇll at…

Comments are closed.

Tagged
FEEDBACK