Skip to main content
Browse Subject Areas

Click through the PLOS taxonomy to find articles in your field.

For more information about PLOS Subject Areas, click here.

  • Loading metrics

Exploiting open source 3D printer architecture for laboratory robotics to automate high-throughput time-lapse imaging for analytical microbiology

  • Sarah H. Needs ,

    Roles Data curation, Formal analysis, Investigation, Methodology, Project administration, Software, Visualization, Writing – original draft, Writing – review & editing

    Affiliation Reading School of Pharmacy, University of Reading, Whiteknights, Reading, United Kingdom

  • Tai The Diep,

    Roles Investigation, Methodology, Writing – review & editing

    Affiliation Reading School of Pharmacy, University of Reading, Whiteknights, Reading, United Kingdom

  • Stephanie P. Bull,

    Roles Writing – original draft, Writing – review & editing

    Affiliation Reading School of Pharmacy, University of Reading, Whiteknights, Reading, United Kingdom

  • Anton Lindley-Decaire,

    Roles Formal analysis, Methodology, Writing – review & editing

    Affiliation Centre for Electronic Imaging, The Open University, Milton Keynes, United Kingdom

  • Partha Ray,

    Roles Conceptualization, Methodology, Writing – review & editing

    Affiliation Department of Animal Sciences, School of Agriculture, Policy and Development, University of Reading, Reading, United Kingdom

  • Alexander D. Edwards

    Roles Conceptualization, Funding acquisition, Methodology, Project administration, Supervision, Writing – original draft, Writing – review & editing

    Affiliation Reading School of Pharmacy, University of Reading, Whiteknights, Reading, United Kingdom


Growth in open-source hardware designs combined with the low-cost of high performance optoelectronic and robotics components has supported a resurgence of in-house custom lab equipment development. We describe a low cost (below $700), open-source, fully customizable high-throughput imaging system for analytical microbiology applications. The system comprises a Raspberry Pi camera mounted on an aluminium extrusion frame with 3D-printed joints controlled by an Arduino microcontroller running open-source Repetier Host Firmware. The camera position is controlled by simple G-code scripts supplied from a Raspberry Pi singleboard computer and allow customized time-lapse imaging of microdevices over a large imaging area. Open-source OctoPrint software allows remote access and control. This simple yet effective design allows high-throughput microbiology testing in multiple formats including formats for bacterial motility, colony growth, microtitre plates and microfluidic devices termed ‘lab-on-a-comb’ to screen the effects of different culture media components and antibiotics on bacterial growth. The open-source robot design allows customization of the size of the imaging area; the current design has an imaging area of ~420 × 300mm, which allows 29 ‘lab-on-a-comb’ devices to be imaged which is equivalent 3480 individual 1μl samples. The system can also be modified for fluorescence detection using LED and emission filters embedded on the PiCam for more sensitive detection of bacterial growth using fluorescent dyes.


Traditional methods of microbiological screening are time consuming, laborious, resulting in high costs for time and labour. Even within clinical microbiology labs, where a large number of samples are processed, automation remains low [1, 2]. The use of high-throughput automated systems allows increased sample processing, cost saving, and more flexibility in testing, for example screening against exogenous agents such as antibiotics for antimicrobial resistance (AMR) [1, 3]. Microbiological experiments deal with a high variety of sample formats such as soil samples and medical samples, including sputum and urine, and the protocols for analyses can be varied: from microtitre plates and agar plates, to microscopy and bacterial identification strips such as API strips. For this reason, platforms for measuring microbiological experiments tend to be highly specialised for a specific experiment, such as Biolog’s microbial identification system, or of limited use, as flexibility is difficult to achieve. While automation and partial automation of microbiological techniques may improve sample processing time, the techniques used for many experiments remain unchanged, using classic agar plate growth to culture bacteria and phenotypically study aspects such as antimicrobial resistance. Antimicrobial resistance has been identified as a global threat to human health and existing techniques to identify antimicrobial resistance remain too slow and costly to warrant a test before treatment of a patient begins. This can have a broader negative impact, through the build-up of antimicrobial resistance through over-use of antibiotics and incorrect selection leading to treatment failure and driving maintenance of resistance [46].

To combat this issue, improved techniques are required which provide a higher throughput and more flexible scope of analysis than traditional methods. Microfluidic techniques have been used to study bacteria phenotypes, to detect pathogenic species, and measure antimicrobial resistance at speeds approaching those required for a point of care device [711]. We have described a simple, low-cost microfluidic device that can be used to measure multiple antimicrobial resistance profiles of bacteria using the metabolic sensitive dye, resazurin [12] that detects bacterial growth by colour change from blue to pink. This test allows high throughput microfluidic devices, termed ‘lab-on-a-comb’ that are compatible with existing laboratory equipment, 96 well microtitre plates. These devices are made from a melt-extruded highly transparent fluorinated ethylene propylene co-polymer (FEP-Teflon®) microcapillary film (MCF) and comprises a ribbon containing an array of 10 capillaries along its length with an average diameter of 206 ± 12.6 μm. Test strips consist of a 33 mm length of MCF with each capillary internally coated with a different antibiotic of choice to test [13]. Therefore, a single well of a microtitre plate can be expanded to test for up to 10 antibiotics or 10 concentrations of a single antibiotic. While the test relies on a simple colour change and images can be analysed taking colorimetric or fluorescent images, no such reader analogous to a plate reader exists. Furthermore, to aid in the development of new technology to measure bacterial phenotypes, detailed information on bacterial growth, morphology and kinetic effects of substances is beneficial. To collect this data manually is time consuming and labour-intensive (i.e. manually taking images every hour), and therefore systems are needed that increase the automation of the analysis of microfluidic devices, and that increase sample throughput.

The development of new scientific equipment is costly and time consuming, and is repeated by laboratories all over the world, in order to achieve suitable capabilities without the high costs of proprietary scientific equipment. The time spent independently developing and re-developing these techniques hinders scientific progress globally and limits the ability of many facilities to participate in some areas of research [14]. The open-source hardware movement aims to aid rapid scientific progress by increasing the accessibility of laboratory hardware designs globally, and allowing scientists to share, utilise and improve upon hardware designs. This allows flexibility in design for specific technical requirements, giving scientists the ability to tailor their laboratory to their needs, and enables low-cost innovation in scientific methods. Growth in open source hardware designs combined with the low cost of high performance optoelectronic and robotics components has allowed a resurgence in in-house custom lab equipment development [1519]. The use of open-source hardware in biological imaging has been successfully implemented in the use of microscopes to overcome the alternative costly and inflexible laboratory equipment, such as the use of a Raspberry Pi computer and camera alongside Arduino-based optical and thermal control circuits for microscopic monitoring of model organisms [20]. The Raspberry Pi camera has likewise been combined with an elegant x-y-z micron precision stage that exploits the flexibility of a 3D printed polylactic acid plastic frame to deliver a versatile, compact, 3D printed open source digital microscope [21].

The concept of an open-source, low cost 3D printer capable of printing the majority of its own components was proposed by Adrian Bowyer [22], and is known as the RepRap movement (replicating rapid prototype). The RepRap movement led to a massive expansion of accessible, low-cost high-performance 3D printers. This open-source hardware has been utilised as an affordable method of 3D printing laboratory equipment by scientists in various fields [2325]. We have exploited RepRap 3D printer architecture to develop a low cost (below $700), open-source, fully customizable robotic high-throughput imaging system for analytical microbiology applications called POLIR (raspberry Pi camera Open-source Laboratory Imaging Robot). The frame and x-y-z motion is designed around simple v-slot aluminium extrusion widely available across the world and allowing simple customisation. This system is capable of taking time-resolved images of large panels of samples of different microbiological based assays that use petri dishes, microtitre plates and microfluidic devices, with time intervals of as little as seconds, and total experimental times of up to days. Using existing open-source 3D printer designs published under creative commons licences, the frame was adapted to hold a Raspberry Pi camera attached to a z-linked actuator to adjust z-height, replacing the extrusion head. All resources developed are available under open-source licenses and are deposited in GitLab.

While several instruments already exist for use in specific microbiological experiments they are usually designed for a single purpose, i.e. they can only study one petri dish at a time [17] or microtitre (MTP) plates of a certain size but not both [26]. Furthermore, these may only be used for endpoint experiments and not suitable for using in experiments that aim to determine kinetic parameters. The POLIR system is designed to take images over an area of 300 × 420 mm, with larger frames possible by simply using a longer aluminium extrusion frame. Due to the simple design, many different microbiological assays using colorimetric or visible detection can be measured in a single experiment. The simple adaptation by addition of high-power single-wavelength coloured LEDs and emission filters permits fluorescent imaging. The z-axis allows images of samples at different heights to be collected without modifying zoom or camera focus, simplifying experiments where different culture formats are run in parallel (e.g. agar plate plus microfluidic device). This system sits in a walk-in 37°C incubator room to maintain temperature, however, it is possible to add a heated enclosure around the imaging area if an incubator room is not available.

While other equipment exist for monitoring bacterial growth over time such as heated plate readers that take measurements over time, these systems can only measure one plate at a time, a total of 96 samples. Other analytical microbiology systems, such as Biolog and the Omnilog reader, support bacterial cell phenotyping using preloaded 96 well plates and a reader that allows kinetic analysis of single plates or up to 50 MTPs (4800 samples), monitored every 15 minutes and includes software for data analysis [26]. While these systems already exist and prove the value of kinetic microbial growth analysis, the instrumentation is not widely available to all labs and are restricted to specific proprietary plates and experimental formats. The POLIR platform can monitor 10 plates (960 samples), and a larger frame would easily permit more plates to be monitored for only the cost of longer aluminium extrusion.

A key application for flexible time-resolved automated imaging is for optimising microbial detection and antimicrobial resistance measurement, important for a wide range of applications including healthcare (e.g. infection, pharmaceutical manufacturing) and environmental (e.g. antimicrobial resistance spread from agricultural use of antibiotics). Development of rapid AMR tests would ideally measure bacterial resistance to antibiotics directly from the sample. In many cases a change in sample matrix can affect both microbial detection and antibiotic activity. For example, for use in the dairy industry it would be ideal to analyse milk samples from dairy cows with mastitis for antibiotic resistance; however, milk powerfully scatters light and is therefore likely to strongly affect colour-based or fluorescent growth detection. Furthermore, milk components may potentially absorb antibiotics (reducing activity) but conversely may in some cases increase microbial sensitivity to antibiotic action, if antimicrobial components are present within milk. It consequently becomes important to study the effect of sample matrix on microbial growth. We therefore used this example to explore whether high throughput analytical microbiology with POLIR can accelerate the analysis of sample matrix interference on antimicrobial susceptibility testing in both conventional and microfluidic test formats.

Materials and methods

Imaging robot design concept and assembly

We assembled a Core X-Y RepRap 3D printed frame with a moving distance of 300 × 300 × 130 mm adapting the D-bot 3D printer design [6]. The system is controlled by the open-source software OctoPi running an OctoPrint server. OctoPrint is commonly used to connect remotely to 3D printers and often utilises a webcam or PiCam to monitor printing progress. The 3D printing extruder was replaced by a Raspberry Pi singleboard computer and PiCam module mounted on a vertical linear actuator (built to an OpenBuilds design [27]) to adjust the z-height, allowing camera focus. The PiCam lens was rotated anticlockwise to focus closer than the supplied infinity focus, allowing a range of fields of view and working distances. We selected a working distance of 80 mm that gave a field of view of 96.5 × 72.5 mm. OctoPrint controls the position of the camera using custom G-code, by supplying G-code from the Raspberry Pi to the Arduino mega board used to control the x-y-z stepper motors. The Arduino board firmware was open-source Repetier software that interprets the G-code driving stepper motors via a RepRap RAMPS 1.4 shield. To take images a Python script configured to acquire the required PiCam image settings (e.g. image exposure, resolution, time) is triggered as an executable shell script via serial command embedded within the G-code and executed by the OctoPrint G-code system command plugin. The images are then stored onboard the Raspberry Pi SD card and can be accessed remotely by file transfer protocol (FTP).

The positional accuracy of the POLIR was tested using G-code to replicate an experiment moving over thirteen overlapping areas of the white LED. An USAF 1951 resolution target was included in one of the areas, and the image sequence repeated every 10 minutes, with each cycle moving over the thirteen areas again over 4–16 hours. The robot was either homed or not between each run of thirteen moves. The depth of focus was determined by sequentially imaging the USAF 1951 resolution target at multiple z heights, either on the surface of the LED light box, or on the surface of an agar petri dish (approximately 4 mm deep agar medium). In all cases, the location of a target line was recorded to determine positional accuracy, and the smallest line pairs that could be resolved clearly was recorded to indicate the image resolution.

The designs, hardware links and software links for the POLIR have been deposited in GitLAB ( [28]. The design for the POLIR was based on open-source designs for 3D printers that can be found at [29] along with the design for the linear actuator from OpenBuilds [27].

Microbiology methods

A soft agar motility assay was performed to determine phenotypes of bacteria. Reference strains of E. coli ATCC 25922 and Staphylococcus aureus ATCC 12600 were used (LGC group, Middlesex, UK). The bacterial strains were routinely cultivated on lysogeny broth (LB) agar (Sigma-Aldrich) at 37°C. Agar at 0.8% in LB broth was autoclaved and, once cooled to 50°C, supplemented with a final concentration of 0.1 mg/mL Triphenyltetrazolium chloride (TTC, Sigma Aldrich) and 1 mL poured in each well of a 12 well sterile plate. Bacteria was grown overnight in LB broth and normalised to 0.5 McFarland standard and diluted to 1 in 10 000. A 1 μL loop was used to stab the agar to three quarters its depth and the bacteria was incubated overnight at 37°C and images collected every hour.

To study colony growth on agar plates, bacteria were grown overnight in LB media and normalised to 0.5 McFarland standard. The samples were further diluted to give 107, 106, 105, and 104 CFU/mL and 10 μL was spread over LB agar (Sigma Aldrich) plate supplemented with 0.1 mg/mL TTC (Sigma Aldrich) followed by overnight incubation and colony counting to determine CFU/mL.

For microfluidic assays in microcapillary film (MCF), each comb consisted of a custom 3D printed MCF holder containing a row of 33 mm long Lab-on-a-Stick [30] test strips at 9 mm pitch to match microtiter plates (S1 Fig). The fluorinated ethylene propylene MCF was manufactured by melt-extrusion by Lamina Dielectrics Ltd (Billingshurst, West Sussex, UK) from a highly transparent fluorinated ethylene propylene co-polymer (FEP-Teflon®) and comprises a ribbon containing an array of 10 capillaries along its length with an average diameter of 206 ± 12.6 μm and external dimensions of 4.5 ± 0.10 mm wide by 0.6 ± 0.05 mm thick. For each batch, 1 m MCF lengths were internally coated by incubation with a 5 mg/mL solution of polyvinyl alcohol (PVOH) in water (MW 146,000–186,000, >99% hydrolysed, Sigma-Aldrich, UK) at room temperature for a minimum of 2h [31]. Coated strips were washed with 5 ml of PBS with 0.5% Tween 20 (Sigma-Aldrich, UK) to remove residual PVOH, and dried with compressed air at 2 bar pressure for 20 minutes. For antimicrobial resistance tests 1 m lengths of MCF were loaded with duplicate capillaries of gentamicin or ampicillin (both at 10 mg/mL dissolved in water). The antibiotic was removed using a vacuum pump leaving behind a thin film of reagent[13].

Bacterial inoculums were prepared according to British Society for Antimicrobial Chemotherapy (BSAC) standard for antimicrobial susceptibility tests[32, 33]. Briefly, an overnight culture was adjusted to a 0.5 McFarland, diluted to the indicated CFU/mL concentration in Mueller-Hinton broth (Sigma Aldrich) supplemented with 0.25 mg/mL resazurin sodium salt powder (Sigma-Aldrich, UK). MCF was cut into 33 mm test strips that were dipped using a custom 3D printed holder into the bacterial inoculum in a microtiter plate (S1 Fig) and incubated overnight at 37°C. Test strips were imaged by the POLIR in an incubator room at 37°C, with a white background illumination to record colour change of the resazurin dye indicator; a change from blue to pink indicating resazurin conversion following bacterial growth. To study the effect of milk on bacterial growth, sterile milk (Tesco, UK) was added at the indicated concentration and diluted with Mueller-Hinton Broth such that the Mueller-Hinton was always at 1X. To determine if POLIR could be used to measure growth kinetics in MTP, parallel bacterial growth kinetics through colour change was prepared, and recorded in MTP alongside MCF. For fluorescence measurements, resazurin was used at a final concentration of 60 μg/mL.

Mastitis milk samples were collected from the University of Reading Farm. Serial ten-fold dilutions in peptone water (Sigma) were directly streaked on gram-positive and gram-negative chromagar plates (CHROMagar™ Mastitis). Plates were incubated at 37°C overnight and bacteria were identified based on the colony colour. Isolates were grown overnight in LB media and diluted 1:200 followed by 10-fold dilutions and growth was monitored fluorescently by the POLIR for 12 h in the presence and absence of gentamicin and ampicillin (loaded at 5 mg/mL in water).

The ends of the MCF were sealed using a custom 3D printed cap filled with silicone grease to avoid sample evaporation. Analysis of MCF microfluidic devices was performed in MatLab and analysis of microtiter plates used ImageJ.


The POLIR was based on a 3D printer configuration known as CoreXY [34]. This open-source 3-axis robot was developed to maximise positional accuracy whilst minimizing cost for rapid and programmable x-y-z positioning of an extruder for fused filament deposition 3D printing, following the RepRap principles of 3D printed components allowing self-replication. To address the microbiology laboratory's need for cost-effective, open-source, programmable x-y-z positioning of a lab imaging camera, we selected this design as a basis for developing an open-source laboratory imaging robot.

This robot was designed to be able to take detailed time-lapse images and record kinetic data for large number of samples whilst decreasing the amount of hands on time for the experimenter, who would otherwise need to make repeated measurements (e.g. in a plate reader or with camera). To be able to cope with large number of samples a moveable camera is beneficial. Using 18 ‘lab-on-a-comb’ devices and a 96 well microtiter plate, images of the whole experimental area were taken using a Canon EOS 1300D with ES-F f/2.8 Macro Lens costing approximately $700, which is the entire cost for the POLIR system. Using a fixed camera for the entire imaging area of the POLIR does not allow for high resolution images. Using the Canon system, each capillary width of our microfluidic device only accounts for 1.5 pixels (Fig 1A). Using a moveable camera allows a shorter focus with each capillary made up of 6 pixels (Fig 1B). Static cameras would also be a problem for imaging multiple formats of different heights. Microtitre plates need to be imaged from above each well or the sides of the well begin to obscure the sample to be measured (Fig 1A and 1B).

Fig 1. POLIR architecture, positional accuracy, and resolution.

A3 imaging size of POLIR filled with 2160 individual capillaries and a 96 well plate. The area was imaged using a Canon EOS 1300D with ES-F f/2.8 Macro Lens (a) or individual images using the POLIR (b). Scale bar indicates 48 pixels. Histogram of the deviation of repeated measurements from the mean for the x-axis (a) and y-axis (b). Scatter diagrams showing the x and y positions in relation to the mean when there is no homing (c) and with homing every 13 image acquisitions (d). (e) line pairs/mm in relation to the z-height of the camera axis for objects flat on the white light LED board and on agar plates. (f) Image of POLIR from front view and top view. All files needed to build the POLIR have been deposited on GitLAb licenced under the MIT license. (g) Number of line pairs/mm from USAF 1915 resolution target seen at increasing z-height. (h) Photograph showing the front and top view of the POLIR.

A key aspect of increasing the information obtained per experiment with decreased hands on time for the experimenter relies on automated image analysis. Simple image analysis automation such as MatLab scripts are made easier when each image is in the same place every time-point, especially with microfluidic devices with a small measurement region of interest. To determine the suitability of POLIR for automated microfluidic device image analysis, positional accuracy was measured. The POLIR was run through a full experimental setup for 4–16 h imaging every 10 minutes including a USAF 1915 resolution target. For experiments that were homed in the x, y and z axis once at the beginning of the experiments we found that the average distance in movement frame to frame from the mean for x and y-axis is 20 ± 1.36 and 26 ± 1.76 μm respectively. The majority (98%) of data points fell within 100 μm of the mean (Fig 1C–1E), therefore allowing MCF with a capillary diameter of 200 μm to be imaged successfully and followed by automated image analysis. Experiments that were homed at the beginning of each image (every 10 minutes) had a greater degree of movement (Fig 1F). Homing at the start of each image acquisition resulted in an average movement of 35 and 29 μm from the mean. Finally, to confirm resolution and depth of focus, the USAF 1951 resolution target was used to identify z-height for maximal resolution (Fig 1G). These experiments used a working distance of 80 mm and field of view of 90 mm, which gave over 10 mm depth of focus with maximal resolution of 8 line pairs per mm corresponding to 62 μm line width, 4× smaller than the 200 μm capillaries within MCF. All subsequent experiments presented here used this optical setup, however the PiCam is versatile and simple adjustment of the stock lens allows closer working distance with higher magnification and resolution, since the camera is attached to a z-linked actuator it is also possible to image experimental setups with different heights to maintain focus (Fig 1H).

Having established the positional accuracy of POLIR, we wished to test the system for recording microbial movement by imaging motility assays. Motility assays can be used to determine phenotypes of bacteria [35]. Conventional motility assays are interpreted as an endpoint after overnight incubation. The POLIR allows detailed measurement of kinetic motility analysis (S1 and S2 Files), with the difference between motile E. coli and non-motile S. aureus being clear as early as 7.5 h (Fig 2A). Time-lapse imaging increases the quantity and quality of bacterial motility data and would permit detailed analysis of the effect of exogenous stimuli on growth and motility, i.e. delayed or increased speed of motility. This experiment was performed in a single 12-well plate; if the full imaging area of the POLIR was used, this would allow 10 × 12 well plates giving a total of 120 conditions that could be screened simultaneously. The POLIR can monitor colony growth to determine speed of growth and colony morphology. E. coli 25922 was grown on LB agar supplemented with the insoluble formazan dye, TTC, used to increase bacterial colony contrast against the white light brightfield format (Fig 2B and S3 File). Simple image manipulation to make the images binary aids in morphology mapping and allows colonies to be detected earlier and much smaller giving more detailed information on size, shape and growth over time.

Fig 2. Demonstration of different experimental formats performed using POLIR using agar plates, microtitre plates and microcapillary film.

(a) Motility assay using motile E. coli 25922 and non-motile S. aureus 12600. (b) Detection of E. coli colonies on LB agar supplemented with 0.1 mg/mL TTC showing both the raw and binary images. (c) Effect of milk concentration on E. coli growth and detection within MCF, error bars indicate ± SD of 3 replicate wells for MTP or 10 capillaries for MCF. (d) Images of MTP wells at start and endpoint of data shown in Fig 2C. (e) Images of MCF at start and endpoint of data shown in Fig 2C.

The rise in antimicrobial resistance has been partly exacerbated by the injudicious of antibiotics. This can be attributed to traditional techniques proving too slow to provide a diagnosis before treatment is prescribed [6].The possibility of a direct POC antimicrobial test is therefore appealing [3638]. One such test that could be used to improve selection of the right antibiotic and minimise excessive use of antibiotics is against bovine mastitis. Mastitis is the infection of the mammary gland and treatment involves antibiotics. However, due to the spread of antibiotic resistance many infections are not simple to treat [39]. Microfluidic devices are well-placed for use in diagnostic testing due to their small size making them more portable than other techniques. We have explored the use of MCF as a diagnostic for antimicrobial resistance in dairy cow mastitis. One of the major pathogens that causes mastitis in dairy cattle is E. coli [40]. To be able to directly test AMR in milk samples the effect of milk as a matrix for bacterial growth was needed. Bacterial growth was measured using the metabolic sensitive dye, resazurin. By using the POLIR we can test side by side the MCF device MTP with kinetic data of E. coli 25922 growth in increasing concentrations of milk.

This gives valuable information, if only the beginning and endpoint results were taken it would be unclear whether concentrations of milk higher than 50% have differences dependent on bacterial count concentration as the no bacterial control still converted the resazurin but at a much slower rate (Fig 2C). Milk concentration also affects the absorbance measurements in MCF to a greater degree than in MTP indicating samples would have to be diluted to determine bacterial growth in MCF. This is due to the decreased pathlength in the MCF compared to the MTP which decreases the colour intensity. At the same time, milk contains more light scattering particles making the sample appear opaque [41]. This decreases the range between the starting blue and endpoint pink. There is also a general decrease in absorbance in MCF with no bacteria which is exacerbated by increasing milk concentrations. While a small amount of resazurin may be converted to resorufin in high milk concentrations, this is not seen in MTP due to the longer pathlength, the overall colour remains blue as it has more intensity than in the MCF.

Previous experiments using MCF microfluidic devices have been restricted to manually taking images, due to its non-standard format, restricting the number of data points and time of monitoring from around 7 data points over 7 h. The POLIR allows for monitoring over much longer time periods and depending on the need, imaging as often as every 10 s in a static position or every 15 minutes using the entire imaging area. This allows increased accuracy when modelling growth kinetics.

Different sample matrixes can affect antibiotic function as well as dye conversion. The effect of increasing concentration of milk on bacterial (E. coli) resistance a single concentration of gentamicin milk was tested using the POLIR in microtitre plate. While there was no visible effect on resistance profile in 10% milk when compared to Mueller-Hinton broth, concentrations higher than 50% showed colour change in conditions even in the presence of gentamicin. This was reflected in MCF indicting that any direct testing of AMR in milk would have to be diluted to a minimum of 1 in 10 before testing (Fig 3).

Fig 3. POLIR can be used to screen antibiotic resistance of bacteria.

Growth curves of E.coli 25922 grown in MH broth or 10, 50 and 90% sterilised milk diluted in MH broth without and with 5 μg/mL gentamicin in MTP. Error bars indicate ± SD of triplicate wells in microtitre plate.

To increase the applications of the POLIR the system can be modified for fluorescence detection using low-cost LEDs and coloured glass emission filters embedded on the PiCam for more sensitive detection of bacterial growth using fluorescent dyes (Fig 4). Metabolism of resazurin changes colour from blur to pink but also from non-fluorescent to highly red fluorescence compound, resorufin. Fluorescent detection of resazurin also allows a smaller amount of dye to be used in the microcapillary film going from 250 μg/mL to 60 μg/mL while still being visible (S2 Fig). Fluorescence detection of resazurin conversion is more sensitive than absorbance measurements and increases speed in detection of E. coli 25922 by approximately 2 h. The current design only allows a single fluorescence wavelength to be measured at one time, but the system is flexible enough to change the LEDs and filters to the desired wavelength of choice.

Fig 4. Adaptation of POLIR for fluorescence measurements.

Growth curves of E. coli 25922 detected by fluorescence increase in resazurin metabolism measured in microtitre plates (a) and micro capillary film (b) Error bars indicate ± SD of duplicate wells in microtitre plates or 10 capillaries in microcapillary film. (c) Images captured from POLIR of microtitre plate and (d) microcapillary film.

The POLIR was used to screen 24 bovine mastitis samples against gentamicin and ampicillin. Ampicillin and gentamicin were loaded into duplicate capillaries and tested against four dilutions of bacteria and growth was detected by fluorescent intensity of resorufin. Isolates were tested with duplicate strips with four ten-fold dilutions. Three of the isolates were tested using overnight liquid culture or resuspension of colonies from a fresh agar plate. A total of 216 test strips corresponding to 2160 individual capillaries were measured every 30 minutes for 12 h (S3 Fig). Collecting kinetic data of multiple dilutions allowed the doubling times of the isolates to be calculated while simultaneously measuring susceptibility to ampicillin and gentamicin (Table 1). The different isolates had different effects on resazurin metabolism (S3 Fig). Resazurin has been proposed for high-throughput screening for antimicrobial assays due to it’s metabolism into the highly fluorescent resorufin [4244], however, resorufin can be further metabolised into the non-fluorescent dihydroresourfin [42] leading to a transient fluorescent signal in some systems. Transient fluorescent signals can be seen in a number of the mastitis isolates (S3 Fig) and is not-related to generation time. Using end-point measurements would lead to misinterpretation of results.

Table 1. Doubling time and resistance/susceptibility profile of bacteria isolated from bovine mastitis samples.


Open-source laboratory hardware has recently drawn a large community of researchers, with new designs for different applications frequently emerging.

A significant advantage of the POLIR over traditional methods of imaging, is the remote access of the system, which can be monitored and controlled via a computer or smartphone device, giving the researcher flexibility in when they can run experiments and check the progress of an experiment in real time, reducing the need for hands-on time imaging the experiment. Compared to relatively common automated plate readers, the POLIR allows kinetic data collection for multiple plates simultaneously as well as other microbiology-based formats, giving high-throughput, flexible analysis (Table 2). The precise movements of the POLIR results in uniform images over time. Experimental analysis is often one of the bottlenecks in research labs dealing with image analysis. One important aspect of analysis automation is to keep images in the same location every time. When taking images manually using a camera it is nearly impossible to get the frame exactly right. However, using the POLIR most images are within 50 μm of the mean and when looking at peak heights a small variation control is an easy addition in analysis programmes. This is especially important when imaging small devices, such as MCF where each capillary is only 200 μm wide. Automation allows large number of images to be analysed in the time it takes to analyse a single image manually.

Table 2. Summary of POLIR benefits over microplate reader or static camera.

This locational accuracy allows for rapid image analysis as positional inputs for colorimetric of fluorescent data do not need to be manually assigned for each image, even laboratories not using programming for image analysis such as MatLab or Python can take advantage of ImageJ region of interest manager which is routinely used in life sciences laboratories.

The main limitations of POLIR are the need for specific laboratory conditions. The current design for the POLIR does not include in a built-in incubator and experiments are performed in a walk-in incubator room which is not available to all laboratories. Incubators can be easily adapted to work alongside POLIR, either within the frame using heating elements and a clear lid, or by placing POLIR inside an incubator.

The open-source robot design allows customization of the size of the imaging area; with the current design, with an imaging area of ~300 × 420 mm, if custom MCF holders with a 6 mm pitch are used a total of 432 MCF strips can be imaged giving a total of 4320 individual 1 μl samples. The current configuration 3280 × 2464 pixel image has a field of view of 96.5 × 72.5 mm with 29 μm/pixel, providing a total imaging resolution exceeding 14,000 × 9800 pixels over an A3 light box. This level of magnification is useful as it provides enough resolution to see individual microcapillaries of MCF with a diameter of 200 μm while allowing at least 4 strips to be in view, decreasing the number of total images need to be taken per experiment. It also allows multiple wells to be viewed when imaging microtitre plates. Higher magnification imaging can be easily achieved by simple modification of the PiCam optics that allows closer focusing. While the size of POLIR can be adjusted for any experimental area, the time taken to image each location will increase with experimental area, and therefore the image frequency interval for each location will increase.

In conclusion, the POLIR is a low-cost imaging tool that allows the recording of colorimetric and fluorescent based microbiology experiments. The POLIR increases throughput and data density of experiments with no increased hands-on time of the experimenter. The simplicity of the design makes the POLIR amenable to adaptation for different experimental needs and the open-source nature allows it to be easily accessed and customized by other researchers.

Supporting information

S1 Fig. Microcapillary film experimental setup.

Custom 3D printed holders with 9 mm pitch hold the 33 mm microcapillary film (a). The holders are compatible with 96 well microtitre plates allowing each well to be expanded into 10 capillary tests (b). The ends of the microcapillary film are sealed with a 3D printed cap filled with silicone grease to stop evaporation (c). Multiple test strips in holders are placed on the POLIR to measure either absorbance or fluorescence (d).


S2 Fig. Effect of resazurin dye concentration on speed of detection.

E.coli 25922 was grown in Mueller-Hinton broth supplemented with the indicated concentration of resazurin. Fluorescence intensity is normalised to the starting intensity. Mean indicates average of 10 microcapillaries. Error bars indicate ± SEM.


S3 Fig. Fluorescence conversion of resazurin by isolates form dairy cattle mastitis samples with and without gentamicin and ampicillin.

Negative indicates no antibiotic, ampicillin and gentamicin (loaded at 10 mg/mL). Isolates were grown overnight and diluted 1:200 diluted in Mueller-Hinton Broth with 0.06 mg/mL resazurin followed by 10-fold dilutions. Images were taken every 30 minutes. Negative indicates average of 6 capillaries, ampicillin and gentamicin are the average of 2 capillaries.


S1 File. Timelapse video of E. coli motility test presented in Fig 2A.


S2 File. Timelapse video of S. aureus motility test presented in Fig 2A.


S3 File. Timelapse video of data presented in Fig 2B.


S4 File. Timelapse video of data presented in Fig 4B.



This project was funded by Engineering and Physical Sciences Research Council (EPSRC) grants EP/R022410/1.


  1. 1. Bourbeau PP, Ledeboer NA. Automation in Clinical Microbiology. Journal of Clinical Microbiology. 2013;51(6):1658. pmid:23515547
  2. 2. Burckhardt I. Laboratory Automation in Clinical Microbiology. Bioengineering (Basel, Switzerland). 2018;5(4):102.
  3. 3. Tillich UM, Wolter N, Schulze K, Kramer D, Brödel O, Frohme M. High-throughput cultivation and screening platform for unicellular phototrophs. BMC Microbiology. 2014;14(1):239.
  4. 4. Li B, Webster TJ. Bacteria antibiotic resistance: New challenges and opportunities for implant-associated orthopedic infections. Journal of orthopaedic research: official publication of the Orthopaedic Research Society. 2018;36(1):22–32.
  5. 5. Machowska A, Stålsby Lundborg C. Drivers of Irrational Use of Antibiotics in Europe. International journal of environmental research and public health. 2018;16(1):27.
  6. 6. Ab Rahman N, Teng CL, Sivasampu S. Antibiotic prescribing in public and private practice: a cross-sectional study in primary care clinics in Malaysia. BMC infectious diseases. 2016;16:208-. pmid:27188538
  7. 7. Darboe F, Mbandi SK, Naidoo K, Yende-Zuma N, Lewis L, Thompson EG, et al. Detection of Tuberculosis Recurrence, Diagnosis and Treatment Response by a Blood Transcriptomic Risk Signature in HIV-Infected Persons on Antiretroviral Therapy. 2019(1664-302X (Print)).
  8. 8. Trotter AJ, Aydin A, Strinden MJ, O'Grady J. Recent and emerging technologies for the rapid diagnosis of infection and antimicrobial resistance. 2019(1879–0364 (Electronic)).
  9. 9. Kang WA-Ohoo, Sarkar S, Lin ZS, McKenney S, Konry T. Ultrafast Parallelized Microfluidic Platform for Antimicrobial Susceptibility Testing of Gram Positive and Negative Bacteria. 2019(1520–6882 (Electronic)).
  10. 10. Gao J, Li H, Torab P, Mach KE, Craft DW, Thomas NJ, et al. Nanotube assisted microwave electroporation for single cell pathogen identification and antimicrobial susceptibility testing. Nanomedicine: Nanotechnology, Biology and Medicine. 2019;17:246–53.
  11. 11. Kim SA-O, Lee SA-O, Kim JA-O, Chung Hj Auid- Orcid: —902X Fau—Jeon JS, Jeon JA-O. Microfluidic-based observation of local bacterial density under antimicrobial concentration gradient for rapid antibiotic susceptibility testing. 2019(1932–1058 (Print)).
  12. 12. Reis NM, Pivetal J Fau—Loo-Zazueta AL, Loo-Zazueta Al Fau—Barros JMS, Barros Jm Fau—Edwards AD, Edwards AD. Lab on a stick: multi-analyte cellular assays in a microfluidic dipstick. Lab On a Chip. 2016(1473–0189 (Electronic)).
  13. 13. Reis NM, Pivetal J, Loo-Zazueta AL, Barros JMS, Edwards AD. Lab on a stick: multi-analyte cellular assays in a microfluidic dipstick. Lab on a Chip. 2016;16(15):2891–9. pmid:27374435
  14. 14. Pearce JM. Impacts of Open Source Hardware in Science and Engineering. The Bridge. 2017;47(3).
  15. 15. Kim K, Kim HK, Lim H, Myung H. A Low Cost/Low Power Open Source Sensor System for Automated Tuberculosis Drug Susceptibility Testing. Sensors (Basel, Switzerland). 2016;16(6):942.
  16. 16. Nejatimoharrami F, Faina A, Stoy K. New Capabilities of EvoBot: A Modular, Open-Source Liquid-Handling Robot. 2017(2472–6311 (Electronic)).
  17. 17. Nunez I, Matute T, Herrera R, Keymer J, Marzullo T, Rudge T, et al. Low cost and open source multi-fluorescence imaging system for teaching and research in biology and bioengineering. 2017(1932–6203 (Electronic)).
  18. 18. Steffens S, Nüßer L, Seiler T-B, Ruchter N, Schumann M, Döring R, et al. A versatile and low-cost open source pipetting robot for automation of toxicological and ecotoxicological bioassays. PLOS ONE. 2017;12(6):e0179636. pmid:28622373
  19. 19. Lu Q, Liu G, Xiao C, Hu C, Zhang S, Xu RX, et al. A modular, open-source, slide-scanning microscope for diagnostic applications in resource-constrained settings. PLOS ONE. 2018;13(3):e0194063. pmid:29543835
  20. 20. Maia Chagas A, Prieto-Godino LL, Arrenberg AB, Baden T. The €100 lab: A 3D-printable open-source platform for fluorescence microscopy, optogenetics, and accurate temperature control during behaviour of zebrafish, Drosophila, and Caenorhabditis elegans. PLoS biology. 2017;15(7):e2002702–e. pmid:28719603
  21. 21. James P. Sharkey DCWF, Kabla Alexandre, Baumberg Jeremy J., Richard W. Bowman. A one-piece 3D printed flexure translation stage for open-source microscopy. Review of Sceintific Instruments 2016;87(2).
  22. 22. Jones R, Haufe P, Sells E, Iravani P, Olliver V, Palmer C, et al. RepRap–the replicating rapid prototyper. Robotica. 2011;29(1):177–91.
  23. 23. Solanki R, Gosling R, Rammohan V, Hose R, Lawford P, Gunn J, et al. 16 Assessing the accuracy of a novel in silico imaging tool for the 3D reconstruction of coronary vasculature in the context of virtual fractional flow reserve. Heart. 2019;105(Suppl 6):A14.
  24. 24. Aw YY, Yeoh CK, Idris MA, Teh PL, Elyne WN, Hamzah KA, et al. Influence of Filler Precoating and Printing Parameter on Mechanical Properties of 3D Printed Acrylonitrile Butadiene Styrene/Zinc Oxide Composite. Polymer-Plastics Technology and Materials. 2019;58(1):1–13.
  25. 25. Pereira VR, Hosker BS. Low-cost (<€5), open-source, potential alternative to commercial spectrophotometers. PLOS Biology. 2019;17(6):e3000321. pmid:31188818
  26. 26. Biolog U. 2019 [Available from:
  27. 27. OpenBuilds. [Internet]
  28. 28. GitLab. [Internet]
  29. 29. Thingiverse. [Internet]
  30. 30. Reis NM, Pivetal J, Loo-Zazueta AL, Barros JM, Edwards AD. Lab on a stick: multi-analyte cellular assays in a microfluidic dipstick. Lab Chip. 2016;16(15):2891–9. pmid:27374435
  31. 31. Pivetal J, Pereira F, Barbosa AI, Castanheira AP, Reis NM, Edwards AD. Covalent immobilisation of antibodies in Teflon-FEP microfluidic devices for sensitive quantification of clinically relevant protein biomarkers. Analyst. 2017.
  32. 32. Andrews J. BSAC standardized disc susceptibility testing method (version 4). Journal of Antimicrobial Chemotherapy. 2005;56(1):60–76. pmid:15911553
  33. 33. Jorgensen JH, Turnidge JD. Susceptibility test methods: dilution and disk diffusion methods. Manual of Clinical Microbiology, Eleventh Edition: American Society of Microbiology; 2015. p. 1253–73.
  34. 34. RepRap. [Internet]
  35. 35. Roncarati D, Danielli A Fau—Spohn G, Spohn G Fau—Delany I, Delany I Fau—Scarlato V, Scarlato V. Transcriptional regulation of stress response and motility functions in Helicobacter pylori is mediated by HspR and HrcA. 2007(0021–9193 (Print)).
  36. 36. Butler CC, Francis NA, Thomas-Jones E, Longo M, Wootton M, Llor C, et al. Point-of-care urine culture for managing urinary tract infection in primary care: a randomised controlled trial of clinical and cost-effectiveness. The British journal of general practice: the journal of the Royal College of General Practitioners. 2018;68(669):e268–e78.
  37. 37. Yodoshi T, Matsushima M, Taniguchi T, Kinjo S. Utility of point-of-care Gram stain by physicians for urinary tract infection in children ≤36 months. Medicine. 2019;98(14):e15101–e. pmid:30946373
  38. 38. Davenport M, Mach KE, Shortliffe LMD, Banaei N, Wang T-H, Liao JC. New and developing diagnostic technologies for urinary tract infections. Nature reviews Urology. 2017;14(5):296–310. pmid:28248946
  39. 39. Kromker V, Leimbach S. Mastitis treatment-Reduction in antibiotic usage in dairy cows. Reproduction in domestic animals = Zuchthygiene. 2017;52 Suppl 3:21–9.
  40. 40. Kempf F, Slugocki C, Blum SE, Leitner G, Germon P. Genomic Comparative Study of Bovine Mastitis Escherichia coli. PloS one. 2016;11(1):e0147954–e. pmid:26809117
  41. 41. Dahm DJ. Explaining Some Light Scattering Properties of Milk Using Representative Layer Theory. J Near Infrared Spectrosc. 2013;21(5):323–39.
  42. 42. Natto MJ, Savioli F, Quashie NB, Dardonville C, Rodenko B, de Koning HP. Validation of novel fluorescence assays for the routine screening of drug susceptibilities of Trichomonas vaginalis. The Journal of antimicrobial chemotherapy. 2012;67(4):933–43. pmid:22258922
  43. 43. Mishra P, Singh D, Mishra KP, Kaur G, Dhull N, Tomar M, et al. Rapid antibiotic susceptibility testing by resazurin using thin film platinum as a bio-electrode. Journal of microbiological methods. 2019;162:69–76. pmid:31103460
  44. 44. Germ J, Poirel L, Kisek TC, Spik VC, Seme K, Premru MM, et al. Evaluation of resazurin-based rapid test to detect colistin resistance in Acinetobacter baumannii isolates. European journal of clinical microbiology & infectious diseases: official publication of the European Society of Clinical Microbiology. 2019.