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 / 15138
15137  |  15139
Subject: 
Re: Receiving IR data
Newsgroups: 
lugnet.robotics
Date: 
Sat, 14 Apr 2001 16:13:53 GMT
Viewed: 
695 times
  
hi James,


James Matthews wrote:

Hi there,

I'm new to the group, so I'm not too sure what's on and off topic: if this
is off-topic, sorry in advance.

I was looking at using the IR tower that comes with Mindstorms for my own
use, but I also wanted to experiment using it to communicate with the RCX
manually. I'm using C++ and VC++ 6.0 to develop the application. In the
application I'm using PJ Naughter's CSerialPort class to access the serial
port and send data to the RCX. Now, I can successfully *send* data but I
can't seem to receive it...when I try and read from the serial port it just
echos what was sent.

That's a trick Lego uses to test the quality of the battery in the IR-tower, according to the spirit.ocx documentatie (see TowerAlive method).
I'll think you have to wait a little longer to receive something or maybe wait between every byte ??
(thanks for the information on your site, I'll you know if I find more information or have experiences)



Does anybody have any experience with C++ and IR communication with the RCX
(or IR in general).

Thanks,

James.

- James Matthews
Generation5: http://www.generation5.org/
"...At the forefront of Artificial Intelligence..."

--

met vriendelijke groet,

Stef Mientki

email: s.mientki@ids.kun.nl
tel:  024 361 3905
fax:  024 354 1211

Postadres:
KUN / fmw
171 Instrumentele Dienst
Postbus 9101
6500 HB Nijmegen

Bezoekadres:
F.C.Donderslaan 2
6525 GJ Nijmegen

homepage: http://baserv.uci.kun.nl/~smientki/



Message has 1 Reply:
  RE: Receiving IR data
 
Hi there, Thanks Stef for that *very useful* piece of information, I've now cracked it and wrote up a little article on it: (URL) is only preliminary, but I thought people might like to see it. There is some C++ code snippets and the protocol (...) (23 years ago, 15-Apr-01, to lugnet.robotics)

Message is in Reply To:
  Receiving IR data
 
Hi there, I'm new to the group, so I'm not too sure what's on and off topic: if this is off-topic, sorry in advance. I was looking at using the IR tower that comes with Mindstorms for my own use, but I also wanted to experiment using it to (...) (23 years ago, 13-Apr-01, to lugnet.robotics)

7 Messages in This Thread:


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

This Message and its Replies on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

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