​ ​ ​ ​ MicroBot (BOT120) asynchronous RC control using interrupt on IR receiver input
Results 1 to 1 of 1

Thread: MicroBot (BOT120) asynchronous RC control using interrupt on IR receiver input

  1. #1
    Senior Member
    Join Date
    Jan 1970
    Location
    Groningen, The Netherlands
    Posts
    467

    Default MicroBot (BOT120) asynchronous RC control using interrupt on IR receiver input

    Hello,

    Here is a small change suggestion regarding the mounting of the IR receiver extension to the MicroBot (BOT120), which may make the use of IR remote control of this bot much more flexible. By changing the mounting position from the rear right position on Port C.0 (as recommended in the accompanying documentation) to the rear left position on Port C.4 it becomes possible to implement real asynchronous remote control by using a polled interrupt (active low) on this input (the 20X2 does not allow for polled interrupts on the original port C.0, only on pins C.1 to C.5, furthermore the hardware interrupt pins are not freely available on the BOT120). As a result the Microbot does not have to wait for input from the RC but can in its main body program do all kinds of useful things continuously and will at the same time act immediately whenever a RC key is pressed.

    The included example program is a vey simple implementation of this concept with an empty body and leds flashing in the interrupt routine whenever any RC key is pressed. Note that this async RC approach is feasible for other applications as well.

    Best regards,
    /Jurjen
    http://www.kranenborg.org/electronics
    Attached Files Attached Files
    Last edited by kranenborg; 29-07-2014 at 13:15.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •