To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.robotics.rcxOpen lugnet.robotics.rcx in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / RCX / 2145 (-20)
  Re: light sensor question
 
(...) The Analog to Digital converter of the h8/300 (the brains of the lego mindstorms) is 10 bits, so it has a range of 0-1023. I'm not sure how it converts that to the 0-100, it may do it by just dividing by 10 and rounding. If you want to see (...) (21 years ago, 24-Jul-03, to lugnet.robotics.rcx)
 
  Re: light sensor question
 
(...) What I'm looking for is really the latter of the topics. It seems to me that it must have some sort of units, because I've never seen it hit zero even with alterations (as Ralph Hempel has described on his site). It seems like it should be (...) (21 years ago, 23-Jul-03, to lugnet.robotics.rcx)
 
  Re: light sensor question
 
(...) Is this what your looking for? (URL) terms of what units it mesures it in I don't think it really has any. it is just a relative reading from 0-100. (21 years ago, 23-Jul-03, to lugnet.robotics.rcx)
 
  light sensor question
 
I am writing a research paper about work I have done with Mindstorms this summer. One thing that I used a lot was the light sensor, but I am having a hard time finding what exactly the sensor measures. I was wondering if anyone could give me any (...) (21 years ago, 23-Jul-03, to lugnet.robotics.rcx)
 
  Zooming in robolab, printing in RCX
 
Is there any way to zoom into the icons in robolab, they are a bit tiny and I wanted to know if I could make them look bigger so its easier to see. Also does the RCX Code (or RIS program that comes with the mindstorms kit) have the capability to (...) (21 years ago, 18-Jul-03, to lugnet.edu, lugnet.faq, lugnet.general, lugnet.robotics, lugnet.robotics.edu, lugnet.robotics.rcx, lugnet.robotics.rcx.legos, lugnet.robotics.rcx.robolab)
 
  USB/Serial Converter
 
Hi, folks. I've tried to connect to my RCX 1.0 (firmware 0328) from my laptop. Since I have only a serial IR tower, it works fine on my desktop PC, but communications won't work when I use a USB/serial converter to connect it to my laptop (there (...) (21 years ago, 18-Jul-03, to lugnet.robotics.rcx, lugnet.robotics.rcx.legos)
 
  Re: Programming in Assembly
 
(...) (how the manual says to do data)? That's because I don't like to type more than is necessary! :-) Take this line for example: mov.b #0x02:8,r0h This line is doubly redundant. The destination operand is an 8-bit register so the other qualifiers (...) (21 years ago, 18-Jul-03, to lugnet.robotics.rcx, lugnet.robotics.rcx.legos)
 
  Re: Programming in Assembly
 
Ok, the motor stuff makes sense, I got a little confused with the shift thing. I looked at the proggamming manual some more and it explaned the @ (Register inderect) but I don't see why it is needed, also in you example you specify the data as (...) (21 years ago, 18-Jul-03, to lugnet.robotics.rcx, lugnet.robotics.rcx.legos)
 
  Re: Programming in Assembly
 
(...) You should look at Kekoa Proudfoots documentation of RCX internals ((URL) and his librcx library to understand the calling convention for the ROM. Then get yourself the H8300 tools (gcc et al) somewhere, this includes assembler and (...) (21 years ago, 16-Jul-03, to lugnet.robotics.rcx, lugnet.robotics.rcx.legos)
 
  Re: Programming in Assembly
 
(...) mentioned previously) that describes the on chip I/O features of the H8 if you plan on doing any work with the sensors. (...) to (...) that (...) To turn on motor C forward you would do this: mov #0x02,r0h mov r0h,@0x80:8 The second (...) (21 years ago, 17-Jul-03, to lugnet.robotics.rcx, lugnet.robotics.rcx.legos)
 
  Re: Programming in Assembly
 
Cool, thanks I was able to find the doc here: (URL) post about the motor seems helpful, so if I understand right the way to run motor A forward would be "mov 0x030003,r0h mov 0x80,r0h" and for the motor C the same except 0x06? How does the (...) (21 years ago, 17-Jul-03, to lugnet.robotics.rcx, lugnet.robotics.rcx.legos)
 
  Re: Programming in Assembly
 
Here's a more direct link for the H8 docs: (URL) down to the literature section and download the two PDFs. For assembly, I would recommend starting off with an installation of BrickOS and perusing the various source code files for the kernel. You'll (...) (21 years ago, 16-Jul-03, to lugnet.robotics.rcx, lugnet.robotics.rcx.legos)
 
  Programming in Assembly
 
I was interested in writing some assembly code for the lego mindstorm, I don't plan on writing an incredibly complex program though. I am learning asm for the z80 chip so I have a little experience. I only want a single threaded application with one (...) (21 years ago, 16-Jul-03, to lugnet.robotics.rcx, lugnet.robotics.rcx.legos)
 
  Re: Touch Switch 2974
 
"Philippe Hurbain" <philohome@free.fr> wrote in message news:HH8tDw.B8I@lugnet.com... (...) metallic (...) with (...) No capacitor as far as I can tell. I looked at it on the scope and the transitions were no different than if I just used a 2.2K (...) (21 years ago, 1-Jul-03, to lugnet.robotics.rcx)
 
  RE: Port 5 Bit 2
 
Mark, Good information. I was wondering what else got powered down by that bit. Once again, I think we need to take a moment to think about what life would be like without LUGNET. Just having those old archives to look through can help save a large (...) (21 years ago, 30-Jun-03, to lugnet.robotics.rcx)
 
  Re: Touch Switch 2974
 
(...) Did you try to test contact bounce ? since there is a rather high value resistor, perhaps Lego added a small capacitor too to debounce it? Philo www.philohome.com (21 years ago, 29-Jun-03, to lugnet.robotics.rcx)
 
  Touch Switch 2974
 
(...) metallic (...) with (...) I was fortunate enough to find one of these on BrickLink and it just came in today. It turns out the resistance is 2.2K and I suspect the contacts are metal since the resistance doesn't seem to vary with pressure. (...) (21 years ago, 28-Jun-03, to lugnet.robotics.rcx)
 
  Port 5 Bit 2
 
Hi, While delving into the nitty gritty details of the RCX's power off routine, which was discussed a *long* time ago in these threads: (URL) the very low message numbers... :) I noticed that in addition to putting the RAM into low power mode, port (...) (21 years ago, 27-Jun-03, to lugnet.robotics.rcx)
 
  Send/Receive messages under linux
 
Hi, I've writen a program to send messages to an RCX, depending on programable key strokes. My idea was to drive the robot "blindly", relying on standard firmware messages and replies. I've used Mr. Kekoa Proudfoot's code for packet assembly (files (...) (21 years ago, 19-Jun-03, to lugnet.robotics.rcx)
 
  2 Questions
 
Is it possible to reserve a particular RCX variable using NQC and then access it from within the program? And is using SetVar() the correct/best way to send a variable to the rcx using VB/spirit.ocx? I'd also like to know if their are any online (...) (21 years ago, 25-Jun-03, to lugnet.robotics.rcx)


Next Page:  5 more | 10 more | 20 more

Redisplay Messages:  All | Compact

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