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 / 9517
  how does a bar code reader work?
 
Hi, Can someone explain me how the bar code reader of the codepilot works. I figured out the basics, but I can not get to the clocking stuff. You can move either slow or fast over the bar codes to program the codepilot. I want to use the rcx to (...) (25 years ago, 30-Dec-99, to lugnet.robotics, lugnet.trains)
 
  Re: how does a bar code reader work?
 
This is going to be tricky without real arrays. LegOS may be the only option. You'll be looking for a start symbol (maybe just one framing bit, sometimes a legal character in the barcode set and sometimes just a pattern). Once you identify it you (...) (25 years ago, 30-Dec-99, to lugnet.robotics, lugnet.trains)
 
  Re: how does a bar code reader work?
 
(...) Well I don't have the code pilot but at my previous job I worked on Warehouse Control systems that were Bar Code intensive. As I am sure you know a bar code is just a simple representation of letters and/or numbers that are readable by a (...) (25 years ago, 30-Dec-99, to lugnet.robotics, lugnet.trains)
 
  Re: how does a bar code reader work?
 
(...) I just realized that I answered your barcode question without considering what you were trying to do! For your application you can use (or invent!) any barcode system you like. In fact, something simple like POSTNET (used in the US to add a (...) (25 years ago, 30-Dec-99, to lugnet.robotics, lugnet.trains)
 
  RE: how does a bar code reader work?
 
(...) Hmmm, this might be another practical pbForth application. I don't have time right now... <snipped excellent barcode type description> (...) I'm not sure about the clock thing. Any single sensor is sampled at about 333 Hz. If you write some (...) (25 years ago, 30-Dec-99, to lugnet.robotics, lugnet.trains)
 
  Re: how does a bar code reader work?
 
(...) track (...) Well, I have for the time being a lot of 12V track, with automatic points and stop signals. I am not going to buy 9V points before they are automatic. I hope that TLG gets into train-mindstorms (computer controlled track e.g. (...) (25 years ago, 30-Dec-99, to lugnet.robotics, lugnet.trains)
 
  Re: how does a bar code reader work?
 
(...) track (...) Simple...it takes time :) I have @500 straights, and probably 200 curves, plus 16 points of 9v, plus some 4.5V stuff on my current layout. A lot of the track is in the ramp up, with about 225 pieces between the ground and the 2nd (...) (25 years ago, 30-Dec-99, to lugnet.robotics, lugnet.trains)
 
  Re: how does a bar code reader work?
 
(...) It's 2D, not 3D. It is pretty cool looking but more susceptible to damage than the 1D codes because the 1D codes are wide in the second dimension for redundancy. /Eric McCarthy/ (25 years ago, 30-Dec-99, to lugnet.robotics, lugnet.trains)
 
  barcode reader for RCX (was: how does a bar code reader work?)
 
(...) Well, I tried this, and it's hopeless. The RCX can't poll the sensor nearly fast enough, and even if it could you'd need a lens to focus the sensor better. (...) Instead of using my idea, I took the suggestion of someone else and just used a (...) (25 years ago, 30-Dec-99, to lugnet.robotics, lugnet.trains, lugnet.robotics.rcx)
 
  Re: how does a bar code reader work?
 
On the lego website they have RIS 1.5 programming hints. I just saw that there is a card reader that scans slips of paper with lines on it. I was thinking that the same idea could be used for these trains, since lego already has the basic (...) (25 years ago, 1-Jan-00, to lugnet.robotics)
 
  Re: how does a bar code reader work?
 
The Code pilot is not fit for this job. Unfortunately you can't program the CP to distuiguish between bar codes during run. It can only sense the speed of a passing light pattern, which may or may not be a bar code picture. Eric Brok -------- Visit (...) (25 years ago, 10-Jan-00, to lugnet.robotics, lugnet.trains)

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