Here you'll find some of my Lego creations with the mindstorm and a lot of other Lego pieces I own or won...
I'm sorry for my bad English... (-:
You are encouraged to mail me if you have any comment or any questions or whatsoever, even if you simply want the nqc sources...
1. The Printer
To do list : better NQC program, with all the chars, detection of the motor position, improved paper tension system...
Download the NQC sources : printer3.nqc (2kb)
2. The Real Time Scanner
So, you said real-time ? In fact, this scanner uses NQC on the client RCX, which is IR.-mastered by a Delphi 3.0 soft running on the 'server' PC.
a. The NQC soft is made of some different task, each of them being called by the PC.
b. PC side software does all the decoding stuff, such as adapting the raw value of the sensor to a 16 colors picture, which is then printed in real-time on the screen. By modifying some numbers, you can set white and black levels for a particular picture, and ambient lightning. You simply place the picture under the scanner, press StartScan on the PC, and the picture appear on the screen, pixel by pixel, line by line. The IR. speed limits the resolution, but you can scan at at least 60*60 pixels, with a scanning time of 15 min per picture (woops, very slow, but hey, it's Lego...)
Construction : 2 motors, one light sensor and one switch, using mindstorm parts + some others... See bellow for pictures. I mat post a lcad file, if not too lazy to build it.
To do list : the Delphi soft is buggy, and can only be used with *this* setup... Also no error handling, so if you turn off your RCX, you'll get a system error <O-:
Download the NQC sources and the Delphi soft (current version) for the real time scanner : scan.zip (173Kb) (binaries included)
3. What's next ?
I'd like to create a 'fake' picture taker, with the Nipkow disk system, but well, it's not very easy... Have a look at "Nipkow disk page" to learn more.
I'll try to complete the lab challenge I've invented, but it still need lot of work...
I would like to create a pong player, which could make a ball bounce against a wall, and detect where to go to hit the ball again...
Je vous propose dès maintenant un
service de création de pages Internet à très bon prix. Visitez le site "Clair et Net" pour
vous en convaincre.
This site has been created by Philippe Jadin. Contact me for any information
Cette page a été créée par Philippe Jadin. Contactez-moi pour toute information complémentaire