Navigation

    Robolink logo
    • Register
    • Login
    • Search
    • [[global:header.categories]]
    • [[global:header.recent]]
    • [[global:header.tags]]
    • [[global:header.popular]]
    • [[global:header.users]]
    • [[global:header.groups]]
    As of September 2021, we have moved technical support to Robolink Help

    Welcome to the Robolink Community forum!

    You can post here to interact with others in the Robolink community. We're checking it weekly, and we'll respond to some messages. If you're looking for technical support, head over to Robolink Help.

    IR Sensors Not Working

    CoDrone Troubleshooting
    2
    2
    2301
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • R
      rhavlick last edited by

      Hello,

      We got a CoDrone with the remote and unfortunately the IR sensors on the sides of the remote don't seem to be working when you tap on it. The blue lights just keep flashing horizontally across the top. Are there any other things I need to do to make the IR sensors work?

      Thanks

      1 Reply Last reply Reply Quote 0
      • robolink_leila
        robolink_leila last edited by

        Hi @rhavlick ,
        Take a look at this diagram and make sure you are using a digitalRead() from the bottom IR sensors. I've included a link to the lesson here so you can take a look. If you still want to use the ones on the side you will need to write some different code because those are analog pins, which means they return a value from 0-1023. The code would look similar to this but replacing the motor commands with CoDrone commands. Hope this helps!

        1 Reply Last reply Reply Quote 0
        • First post
          Last post