![]() The two joystick modules are used to move the 3 axes of the platform and to rotate the slide support. * PROGRAM NAME: ROTAforMI CONTROLLER DESCRIPTION : This program is written for the Arduino Nano microcontroller and it is used to control the ROTAforMI. The max and min values of the variables are set as: int maxpx = 175 // max steps x int maxpy = 175 // max steps y int maxpz = 175 // max steps z int maxpr = 175 // max rot step int minpx = 30 // max steps x int minpy = 30 // max steps y int minpz = 110 // max steps z int minpr = 30 // max rot stepīefore compiling, you also need to install the library for controlling the servo motors (Servo), and the ICS-controlled LCD (iquidCrystal_I2C). The variables set the initial positions of the servos: int xpos = 90 // n. In the program, The step of rotation and translation can be changed using the two variables: // set the translation and rotation steps int rstep = 3 // rotation steps int tstep = 5 // translation step First, upload the program on Arduino nano and insert it into the expansion board. NOTE: Do not power ROTAforMI using the USB of your laptop, but use an external power supply. For this project, you need to print a second joystick module support. The construction of the metallic support and the 3D models of the electronic boards and module components are described in our previous Magic SandSlicer project. In addition, we have mounted the electronic board of the prototype on support. The connections are shown in the diagram, and the code for the microcontroller is given below. The ROTAforMI microcontroller is based on one Arduino Nano connected to 5 servos, two joystick modules and an LCD. Four servos are used for the translation and rotation of the slide support, and one is for controlling a Bluetooth remote that can be used to activate a camera for taking pictures. We have used the Prusa Slicer for this project. The files in STL format of all parts are provided as supporting files. A Bluetooth shutter. A simple one-button shutter to control the camera on the camera smartphone.See the one in our previous The Sand slicer project. Two joystick modules: For manual control of the ROTAforMI positions.We used it as we wanted to try this shield as it t has a convenient keypad integrated with the LCD. Four are used for moving the platforms, and one is to press the Bluetooth remote button to take pictures from the smartphone. An Arduino nano with the expansion board and LCD as in our previous project (e.g. We have used Creality Ender 5 Pro for this project. We have used a resolution of up to 0.3 mm to speed up the printing of the main body and the microscope table support. All the parts have been printed using PLA filaments. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |