• Jump directly to: content
  • Jump directly to: search
  • Jump directly to: main navigation

Show search form
  • To start page
  • English: Alternative page languages
    • Deutsch
Logo of the University of KasselLogo of the University of Kassel
  • University
  • FB 16 Electrical Engineering/C...
  • Technology / Technics
  • Tutorial with Arduino Nano
  • 2.5 Ultrasonic

Tutorial with Arduino Nano RoboCup

  • Latest news
  • Registration
  • International competitions
  • German Championship 2023
  • Greeting
  • Picture gallery
  • Disciplines
  • Technology / Technics
    • New board with Arduino IDE
    • New board for Arduino Nano
    • Fischertechnik
    • Tutorial with Arduino Nano
      • 1.0 Latest program versions
      • 1.1 Mounting
      • 1.2 Microchip Studio
      • 2.0 & 2.1 Hello World
      • 2.2 Interrupt
      • 2.3 Data Visualizer
      • 2.4 Black and White
      • 2.5 Ultrasonic
      • 2.6 Motor
      • 2.7 Line follower
    • Tutorial with Elegoo Car Kit
    • Motherboard
    • Letter sensor
    • Tutorial
    • Building a maze
    • BB-8
  • Media
  • Contact us
  • Sponsor
  • In addition
  • Links

2.5 Ultrasonic

The content on this page was translated automatically.

If you use the ultrasonic sensor you may use a library downloaded from the Net.

But I haven't found anyone that was supported by an interrupt. So often you will have to wait a long time, until you will get a new value. Sometimes about 40ms. If your robot drive with a velocity of 30cm per second (our is able to do it) then it will last nearly 2cm before you get a new value.

Oh sh... where is the line?

  • Video (opens in a new window)
  • Program - ZIP 46,88 KB (opens in a new window)
  • Sheets - PDF 1,73 MB (opens in a new window)
  • Text (opens in a new window)

Share page:

  • Share page via email
  • Share page via WhatsApp (external link, opens in a new window)
  • Share page via Facebook (external link, opens in a new window)
  • Copy page address to clipboard
    Copied to clipboard


  • Contact and approach
  • Search for Institutions
  • Job Vacancies
  • Search for Lectures
  • Library
  • Moodle
  • Panopto
  • Data privacy
  • Accessibility
  • Legal notice
  • External link: University of Kassel on Facebook (opens in new window)
  • External link: University of Kassel on Youtube (opens in new window)
  • External link: University of Kassel on Instagram (opens in new window)
To top

Cookie Notice

This website uses only technically necessary cookies. We do not use cookies for usage analysis with the Matomo software. The analysis is anonymous and does not allow any conclusions to be drawn about individual visitors. Third-party cookies are only set with your express consent. For more information, please see our privacy policy.