Hardware
Hardware
Preface: What our project does is to sensitively detect the presence of pathogens in sewage for regionalized epidemic warning. We sincerely expect that our project will bring a healthy and safe life to human beings.Based on this project, we designed a hardware device and expected this device to be installed near sewage treatment pipes in residential areas to detect virus.

Name:Kang Tae-kung2.0
Top cover: The top cover is the location of our bacteria enrichment and is fixed with 6 self-tapping screws, water is fed from the lateral side and it integrates 3 normally closed solenoid valves. A central solenoid valve for blocking wastewater and bacteria-rich liquid, and two small solenoid valves for wastewater discharge with controlled reaction intervals. According to the tendency of bacteria to light, the top is made of transparent glass laminated with led light strips to attract the movement of bacteria for the purpose of enrichment. An opening is made on the side for the connection of the solenoid valve lines.

The middle body: the reaction position is located in the middle of the 6 cylindrical holes. Detecting independently and constantly for multiple times is what we are pursuing. To realize this assumption, we designed a rotating scheme that the motor at the bottom drives the whole reaction device to rotate, which cooperating with the solenoid valve in the top cover to deliver the liquid to the reaction vessel hole, with the reaction stock solution placed inside the hole in advance. In order to avoid the device too heavy, opening is made on reaction vessel to reduce the weight in order to reduce the load of the motor and ensure the accuracy. The Below the reaction device is the observation room, the liquid after the reaction is finished flows from the reaction tank to the observation room, the top of the observation room adopts inclined openings and covered with glass, so that the reaction results can be seen clearly and intuitively.


Bottom: The bottom layer is fixed with 4 screws and the middle body. Waterproof treatment is done in the middle of the two layers to prevent water leakage which will burn the circuit board and battery at the bottom.
Product Parameters: |
Overall size radius 85mm, height 235mm |
Top Cover: height 80mm, radius 85mm; volume of enrichment zone: 80mm3 |
Rotating reaction area: height 55mm radius 70mm; reaction cell height:45mm radius 15.5mm volume 46mm3 |
Middle body: Height 140 Radius 85 Thickness 4mm |
Bottom: Height 15 Radius 85 |

(the physical image printed out by 3D modeling)
Development Boards

The Arduino Uno is a development board based on the microcontroller ATmega328P. It has 14 digital input/output pins (6 of these pins can be used as PWM output pins), 6 analogue input pins, a 16 MHz quartz crystal, a USB interface, a power supply interface, support for in-line serial programming and a reset button. All we need is to connect the development board to the PC via the USB interface and it is ready to use. Here are its main parameters.
Number | Amount (RMB) | |
5 inch cartridge box | 2 | 26 |
5 inch PP filter element | 2 | 10 |
2 minutes quick connection straight (outer wire) | 3 | 12 |
2-point quick bend (external wire) | 4 | 16 |
50 g self-priming pump | 1 | 128 |
DC12v90 degree solenoid water valve | 9 | 97 |
DC12V straight solenoid water valve | 1 | 36 |
Custom size glass 2mm | 5 | 50 |
Miniature stepping motor | 1 | 71 |
LED light strip 1 meter | 1 | 10 |
2 minutes PE water pipe 5 meters | 1 | 5 |
ST3.5*30 self tapping screw | 6 | 5 |
ST3.5*19 self-tapping screw | 4 | 5 |
ST3.5*13 self tapping screw | 4 | 4 |
ST3.5*9.5 self-tapping screws | 4 | 4 |
ST2.2*6.6 self tapping screw | 12 | 4 |
Thrust ball bearing 51103 | 1 | 3 |
3D printed shell | 1 | 200 |
Circuit board | 1 | 300 |
Total: | 986 |

Stepper motor
Our sampling module is a six-hole, equally divided disc. After each sampling is complete, a stepper motor drives the disc to rotate by 60°. This allows the next sampling hole to be aligned with the valve


Drive Boards
The DRV8825 is an integrated motor driver chip designed by Texas Instruments. The chip has two H-bridges and a 1/32 microstepping indexer to drive one bipolar motor or two DC brushed motors. The input voltage range is from 8.2 to 45V, providing a drive current of 1.75A and a peak current of 2.5A at 24V 25°C. The on-state resistance of 0.2 ohms ensures good thermal stability. The chip also has integrated short circuit, overheat, undervoltage and cross-conduction protection circuits to detect fault conditions and quickly cut off the H-bridge, thus protecting the motor and driver chip.

DRV8825driver module pinout diagram

The pin connections of the DRV8824/8825 and even the common A4988 motor driver modules are not very different. In the diagram above, M0, M1 and M2 are not connected then they are high and the operating mode of the driver board is 32 subdivision. M0, M1 and M2 can be connected to ground separately or all together to achieve different working modes. The following is the subdivision setting table for our DRV8825 driver module.

Arduino CNC
Arduino CNC motor expansion boards are commonly used to drive NEMA17 motors (42 stepper motors) in 3D printers, robotic arms or robotic systems. We use the AFMotor motor expansion board to drive the 28BYJ-48 stepper motor. The CNC expansion board can support stepper motor driver boards such as the A4988 and DRV8825. We have paired it with a 12V external power supply.







