Electronics
Electronics for the Pipettin Bot¶
Tip
Ask for help on the Discord: Pipettin Bot Electronics
Overview¶
This section aims to provide comprehensive guidance on installing and configuring electronics to control the actuators on the robot.
The backpanel is where all the electronics will be mounted. This version is meant to have a RPi model B (left side) and two Arduino UNO with their respective CNC shields mounted on top of them (center and right side), and has mounting holes for a Duet2 WiFi as well.
The sides are slotted for M3/M4 screws, used to secure it to the 2020 profiles of the frame, using matching drop-in nuts.
Expected result:
How different versions look like
The images show possible layouts for either the Duet2 WiFi, or a pair of CNC-shield V3.0 controllers. There may be additional electronics mounted on the robot's tools, axes, or baseplate.
Electronics mounted on the backpanel: Arduino UNO + CNC shield operate the XYZ and tool-changer remote axis of the CNC machine. Another Arduino UNO + CNC shield with controls up to 4 tools.
These Arduinos are controled directly from the Pi's USB ports. A step-down module powers the RPi through it's GPIO header. The main power supply can provide 10A at 24V.
Usage¶
The electronics are meant to be operated through graphical user interfaces, enabling users to send commands, configure parameters, and monitor the robot's operation.
At the core of this interaction is the Raspberry Pi, serving as the robot's main computer. It serves the user interfaces and translates its commands into executable GCODE. These commands are then relayed to the CNC boards, which are dedicated to driving the stepper motors.
The CNC boards are responsible for the precise transmission of signals to the stepper motors, which are integral for the accurate and controlled movement of the robot.
Caveats and Limitations¶
Incorporating additional tools or accessories beyond the standard pipette, such as a hot bed, laser module, or similar devices, may necessitate modifications to other system components to ensure optimal functionality and maintain system integrity. One critical aspect to consider may be the power supply unit, for example.
The cheaper stepper motor drivers are more prone to stop functioning. Such issues might arise when the "Vref" (reference voltage) isn't adequately set to supply the required power for the stepper motor. You'll find instructions for this below. Even if respecting their maximum ratings, these drivers are a hit or miss: some of them will be good, and some of them will fail too soon.
The Duet2 WiFi can only control 5 motors. This means that a Duet-only setup will be able to use a single micropipette tool. There is an expansion board which we have not tested with Klipper (which does not recommend using the "multiplexed" IO pins to drive steppers or sense endstops). Consider adding a CNC shield to drive more tools.
Assembly¶
Disclaimer
Instructions below may involve mains power, which is extremely dangerous.
We assume no responsibility and are not liable for any equipment damage or physical harm produced by the use of these instructions, which are given as-is, and with no guarantee.
This documentation provides step-by-step instructions to facilitate the understanding and replication of the robot's electronics, ensuring an open and accessible platform for users to replicate and modify the system according to their specific requirements.
Briefly, throughout this stage you will:
- Make a case for the main PSU.
- Install all electronics on the backpanel.
- Mount endstops, wire motors, and cooling fans.
- Connect the Rapsberry Pi to the CNC boards.
- Manage cables.
The assembly instructions for the electronics is split into a few StepWiseDocs guides:
Interactions¶
The electronic section of the pippetin interacts directly with the backpanel from which it is attached, but more importantly it interacts with all stepper motors, endstops, pipettes and tools. As indicated in the assembly section, they are connected to all the parts through cables to control and regulate the operation.
Maintenance¶
In all cases, disconnect power before doing any maintenance on the electronics.
Dust will accumulate on the electronics, which may cause issues if unattended. Check for accumulation of dust and signs of corrosion regularly.
It may also be a good idea to snif around the electronics too, looking for any strange smell coming out of it.
If a particular stepper seems to be malfunctioning, try replacing the stepper driver.
Design¶
The electronic components were not designed by us, but we chose them according to their openness and ubiquity.
For example, the Raspberry Pi, Arduino UNO, CNC-Shield v3.0, and Duet boards are all open source hardware designs.
Most of these are also ubiquitous, except for the RPi and the Duet, which are easily replaced by a Linux PC and Arduinos, respectively.
Models¶
The only models used for the electronics are those corresponding to the "backpanel" in charge of supporting the electronics. You can find them by clicking here
Software¶
Find everything you need to know about pipettin software at Software Setup Guide
Development¶
The Backpanel was designed in FreeCAD 2.1 and 2.0, then cutted in a laser CNC (cutting program: LightBurn Beta 0.8.07).
To learn more about these file formats visit here.
Congrats!¶
By completing these steps you have wired and cable-managed the electronics of the robot.
You may return to the assembly guide to continue: Assembly Guide