Lego Dacta Control Lab
Description
This project is an Etoys interface to the old Lego Dacta Control Lab.
NOTE: This project is a part of Physical Etoys.
Download
- ControlLab.13.pem (Windows only)
To install this file you’ll need Physical Etoys (version 2.1 or higher) installed in your computer. Then, simply copy the *.pem file in your Physical Etoys folder. The next time you open Physical Etoys, it will automatically install the new module (if it asks to overwrite some files say “Yes” to everything).
Source code
To get the source code, you should check the ControlLab repository.
This project has been developed in Smalltalk, a dynamic object oriented programming language. If you’re new to Smalltalk we strongly recommend you to give it a try. One of the best ways to learn Smalltalk is to download one of the versions of Smalltalk (we recommend you to start either with Squeak or Pharo), install it, and grab a copy of one of the many free online Smalltalk books.
If you’re already familiar with Smalltalk we encourage you to take a look at the project’s source code and, if you feel like it, contribute some of your own code to the project. We would highly appreciate your contributions.
License
This project is being developed under the MIT license.

#1 by Sana on Junio 13th, 2013
Hello
Thank you for your work.
Could you help me please to program CLI. I have found Control Lab object, but I couldn’t find objects for motors or sensors in object’s catalog. I tried to click on CLI ports, but there were no pop-up menu.
What do I have to do?
#2 by Richi on Junio 14th, 2013
Hi Sana, unlike the Arduino or Lego Nxt objects you won’t find any motor or sensor to attach to the Control Lab object because currently there isn’t any. I’m afraid the Control Lab object needs a little more love. However, you should still be able to control the ports directly by changing the corresponding slots in Control Lab’s viewer.
Try the following steps:
1) Open the halo by right-clicking the Control lab object.
2) Open the viewer by clicking the halo button that looks like an eye.
3) Choose the port name in which you connected the Control Lab to your computer (unless you’re using an usb-to-serial adapter it should be “COM1″).
4) Click the exclamation button on “connect”. The “is connected” slot should change its value to “true”.
5) Find the “control lab - input” category on the viewer to see the input from the sensors.
6) Find the “control lab - output” category on the viewer to control the motors by changing any of the slots value.
I hope this helps, if you have any problem please let me know.
Cheers,
Richo