Shop OBEX P1 Docs P2 Docs Learn Events
Boe-Bot IR Frequency Dectection — Parallax Forums

Boe-Bot IR Frequency Dectection

obnauticusobnauticus Posts: 2
edited 2008-04-10 19:19 in Robotics
Does anyone here have a program for the boe-bot to dectect or "lookup" any frequency on IR·and store it into a variable for later use, or any feasible· method way of dectecting·an IR frequency and storing it into a variable?


Thanks in advance [noparse]:)[/noparse]

Comments

  • Mike GreenMike Green Posts: 23,101
    edited 2008-04-08 22:54
    Look at the description of the COUNT statement in the Basic Stamp Manual. This can count the number of pulses that occur in a specified time frame. You'd need an IR phototransistor to provide the pulses.
  • allanlane5allanlane5 Posts: 3,815
    edited 2008-04-09 17:47
    Why do you need this? Most IR remotes deal with from 38 Khz to 42 Khz, but are not particularly picky about it.

    Meaning, even a 38Khz IR Detector will react to 42 Khz signals, usually.
  • obnauticusobnauticus Posts: 2
    edited 2008-04-09 21:11
    We are trying to take advantage of other bots that are using IR for navigation (i.e. send them the frequency that they are sending out). An other idea is to just generate power over the spectrum that creates so much noise that they cannot see their IR anymore.
  • allanlane5allanlane5 Posts: 3,815
    edited 2008-04-10 19:19
    First of all, that sounds like a 'rude' thing to do. Second of all, 'jamming' another robot's IR is not hard at all, if they're using an off-the-shelf IR-Detector -- just use FREQOUT IRLED 38500 -- oh, except outputting that constantly can't be done with a BS2, if you want to do anything else like drive your robot.

    It's interesting that the first or second thing some people think of when they get a robot is "Now, what can we crash into?"
Sign In or Register to comment.