Zugehörige Institution(en) am KIT | Institut für Mikrostrukturtechnik (IMT) Lichttechnisches Institut (LTI) |
Publikationstyp | Forschungsdaten |
Publikationsdatum | 12.12.2023 |
Erstellungsdatum | 01.01.2022 - 01.12.2023 |
Identifikator | DOI: 10.35097/1839 KITopen-ID: 1000165426 |
HGF-Programm | 38.01.02 (POF IV, LK 01) Materials and Interfaces |
Lizenz | GPLv3 - GNU General Public License or (at your option) any later version |
Externe Relationen | Forschungsdaten/Software Forschungsdaten/Software |
Schlagwörter | RSE, hardware, modular, optical setup, mechanical setup, lab equipment |
Liesmich | Modular linear experiment stageThis files contain the design of an modular linear stage for optoelectronic measurements as well as example software for measurements. It is build from open hardware parts (uStepperS and C-Beam Linear Actuator), commercial available parts, a designed shield for the hardware control as well as custom made laser-cut parts. The composition, the designed hardware and software is licenced under a free GPLv3 licence (see bottom of this page). Licences of the used components:
Controle software for the 'uStepper S'This module is used with the 'uStepper S' and the custom made shield for distance measuring with angle dependancy. UsageYou can use the setup via the manual rotary encoder switch or via the serial commant (use arduino-GUI and serial window or see python example)
Somehow there is a bug with my board/software and setting the speed via stepper.setRPM(rpm) inside the code does not work properly. So do not expect the speed to be exact. InstallationuStepper SThe uStepper is programmed like an arduino bord with the Arduino IDE: https://www.arduino.cc/en/Main.Software To install the uStepper into the arduino IDE follow: https://github.com/uStepper/uStepperS Rotary encoder for angle motorTo make the rotary encoder working, you may need to fix the Encoder.h (\Arduino\libraries\Encoder\utility\interrupt_pins) library by adding the PB version of the microcontroller
InterruptsAlso on the uStepperS board the interrupts do not work. A workaround is to use Pin Change Interrupts. They are different than normal Interrupts ("might be a tiny bit slower and not that reliable because of that detection overhead (talking about micro seconds)") but there is an arduino library. DistplayTo get the display running with the uStepperS, we need to change its lib rgb_lcd.h: There is some wired behavior when using the serial of the uStepperS (ATmega328PB). Plugging the Grove-LCD RGB Backlight display in pins A1 (SDA0) and A2 (!!! this pin is changed [from A0 → A2 on my bord] but SCL0 is still there) the example code works. But pin D7 (SCL1) and D8 (SDA1) are somehow always HIGH which causes problems (not enough pins, strange behavior when uploading code with INX from ULN2003 driver on D7 &D8 ).
Design shield for µStepperSIn order to also control a 28BYJ-48 stepper motor (e.g. for angle dependent reflectance measurements) or custom components that need high currents (e.g. high-power LEDs) a large part of the project was to design a shield. Software: https://www.kicad.org/ Further reading:
💌️ LicenseCopyright (C) 2022-2023 Mervin Seiberlich and Konstantinos Falis Authors - Mervin Seiberlich, Konstantinos Falis The Modular linear experiment stage is free hardware and software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. experiment_evaluation is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with experiment_evaluation. If not, see https://www.gnu.org/licenses/. |
Art der Forschungsdaten | Software |