To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.roboticsOpen lugnet.robotics in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / 23161
23160  |  23162
Subject: 
Question about Lego Mindstorms Infrared Protocol.
Newsgroups: 
lugnet.robotics
Date: 
Mon, 13 Dec 2004 16:29:22 GMT
Original-From: 
Jeeninga, J. (Jesper) <J.Jeeninga@ewi.utwente.(spamless)nl>
Viewed: 
970 times
  
Hello,

From http://graphics.stanford.edu/~kekoa/rcx/protocol.html site I got
the description of the RCX infrared protocol.
Now I tried to send the opcode for a double beep, I calculated the
following:

Opcode: 5901 (beep beep)

binary = 01010101 11111111 00000000 01011001 10100110 00000001 11111110
01011010 10100101
hex = 55 ff 00 59 a6 01 fe 5a a5

Pulse scheme:
417 417 417 417 417 417
3753 3753 417 417 834 834
834 417 417 834 834 3336
3336 834 417 417 834 417
417 417 417 417 417 834
417 417

This didn't have any effect. But When I used the following pulse scheme:
    417 417 417 417 417 417
    417 417 417 834 417 4170
    3753 834 417 1251 417 1668
    417 417 1668 417 2085 417
    834 417 2919 417 417 417
    417 2502 417 417 417 417
    834 2919 834 834 2085

(recorded from the remote control) I do get a 'receiving infrared'
signal on the RCX
This scheme translated gives:
01010101 01011011 11111111 00000000 01101110 11110100 00100000 10010000
00010101 1111101 01001111 11100110 0000

55 5B FF 00 6E F4 20 90 15 7D 4F E6 0

Which makes no sence to me... Although I do recognize the 55 and FF of
the header.

Where did I go wrong? I think it's the pulsescheme. I think I did not
use the right conversion from hex->pulses
Any suggestions anyone?

Thanks in advance

Jesper Jeeninga



1 Message in This Thread:

Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR