| tREADME - lego_film_processor - software for rotary photographic film processor… | |
| git clone git://src.adamsgaard.dk/lego_film_processor | |
| Log | |
| Files | |
| Refs | |
| README | |
| LICENSE | |
| --- | |
| tREADME (1028B) | |
| --- | |
| 1 lego_film_processor | |
| 2 =================== | |
| 3 | |
| 4 Software for rotary photographic film processor with Lego Mindstorms RCX… | |
| 5 Written in NQC (Not Quite C) for deployment with a Linux host. | |
| 6 | |
| 7 Author: Anders Damsgaard https://src.adamsgaard.dk/lego_film_processor | |
| 8 License: See LICENSE for details. | |
| 9 | |
| 10 Usage | |
| 11 ----- | |
| 12 1. Make sure that the linux kernel has the following options enabled: | |
| 13 | |
| 14 CONFIG_USB_SERIAL_CONSOLE=y | |
| 15 CONFIG_USB_SERIAL_GENERIC=y | |
| 16 | |
| 17 2. Connect the IR-tower via a serial-to-usb adapter. Check that the | |
| 18 tower has a working 9V battery. | |
| 19 | |
| 20 3. Install nqc (in AUR, may need manual build) | |
| 21 | |
| 22 4. Find a Lego RCX, turn it on, and upload the firmware, which will take | |
| 23 a few minutes while the RCX counts up to high numbers. The IR tower | |
| 24 will light a green LED while sending data: | |
| 25 | |
| 26 $ make upload_firmware | |
| 27 | |
| 28 It is possible to specify alternatives to sudo(1): | |
| 29 | |
| 30 $ make upload_firmware SUDO=doas | |
| 31 | |
| 32 5. Upload the program: | |
| 33 | |
| 34 $ make upload | |
| 35 | |
| 36 Note: The RCX will not remember the program and forget the firmware if | |
| 37 powered off and without batteries. |