Assembly

From the hardware point of view, an ethoscope is rapsberry pi powered machine that tracks flies using a raspberry pi camera. In principle, all you need is a way to keep the camera at the focal distance from the flies and given that tracking needs to happen during night too so you will also need a way to keep infrared illumination. We normally print ethoscopes using a filament extruder 3D printer. We have three Ultimaker 2+ in the lab and we are happy with those. If you are not on a tight budget you may want to consider an Ultimaker 3 (amazon ~£7k) or you may want to go with an inexpensive model like the Creality 3D (amazon £250). I have no experience with cheaper models but my understanding is that the technology has improved a lot and I am pretty confident everything you will want to print can be printed on a Creality printer.

A typical 3D printed ethoscope in all its beauty

A typical 3D printed ethoscope in all its beauty

Files to print and other resources

The node platform provides the most up-to-date list of files to be printed and I recommend you start from there. Click the "Resources" page and you will see a list like the one below:

https://s3-us-west-2.amazonaws.com/secure.notion-static.com/a9cb7853-d9a7-4673-9e2c-339323f9dcfe/Untitled.png

If you do not have a node installed yet, you can access the very same links from this page too.

In this manual, I will provide instructions on how to build an ethoscope using the files versioned 1.7 and while I am confident update will roll out quickly enough, I do not expect them to change dramatically.

Name Vendor (link) Cat No Price per ethoscope (£)
Raspberry Pi 3 B+ https://uk.farnell.com/raspberry-pi/rpi3-modbp/sbc-board-raspberry-pi-3-model/dp/2842228 2842228 33
https://www.amazon.co.uk/Raspberry-Pi-3-Model-B/dp/B07BDR5PDW/ref=sr_1_3?crid=3HZYSR6KI9W8J&keywords=raspberry+pi+3+b%2B&qid=1692798116&s=computers&sprefix=raspberru+pi+3+b%2B%2Ccomputers%2C75&sr=1-3 60
Raspberry Pi Camera PiNOir V2 https://uk.farnell.com/raspberry-pi/rpi-noir-camera-board/raspberry-pi-noir-camera-board/dp/3677846?MER=TARG-MER-PLP-RECO-STM71233-2 3677846 14
https://www.amazon.co.uk/gp/product/B01ER2SMHY/ref=as_li_qf_asin_il_tl?ie=UTF8&tag=giorgiogile0c-21&creative=6738&linkCode=as2&creativeASIN=B01ER2SMHY&linkId=098287b268beb9da95d175cf279fd7ef 29
32GB Class 10 MicroSDHC https://uk.farnell.com/samsung/mb-mc32ga-eu/32gb-microsdhc-evo-plus-r95-w20/dp/3498612?st=32gb micro sdhc 3410189 7
https://www.amazon.co.uk/gp/product/B06XFSZGCC/ref=as_li_qf_asin_il_tl?ie=UTF8&tag=giorgiogile0c-21&creative=6738&linkCode=as2&creativeASIN=B06XFSZGCC&linkId=c68ce59a45b12a701df780990afa4ea3 7
12V Infrared LED strip https://ledlightsworld.com/products/dc12v-smd5050-150-ir-infrared-850nm-940nm-tri-chip-flexible-led-strips-30leds-7-2w-per-meter?_pos=5&_sid=01c4f41fd&_ss=r HK-8MM-F5050-850-15-NW-IR-12 1
Female 2x40 IDC socket (fits the GPIO) https://uk.rs-online.com/web/p/idc-connectors/6257303/ 625-7303 2.5
Female 2x3 IDC socket https://uk.rs-online.com/web/p/idc-connectors/8323613/ 832-3613 1
Male 2x3 IDC socket https://uk.rs-online.com/web/p/pcb-headers/8323496/ 832-3496 1
2 core DC cable https://uk.rs-online.com/web/p/speaker-cable/7140313/ 714-0313 0.01
Tactile Switch https://uk.rs-online.com/web/p/tactile-switches/1359601/ 135-9601 0.05
60W USB Power supply https://amzn.to/3eTtvPt
Sticky tack https://amzn.to/2D4wIgX 0.001
PI Heatsinks https://amzn.to/2NQtAY5 1
3mm opal acrylic sheet https://www.sheetplastics.co.uk/3mm-opal-acrylic-sheet-cut-to-size.html 1
https://amzn.to/3eVjlxE 1
Heatshrink tubing (1.6mm) https://uk.farnell.com/pro-power/13633/heatshrink-1-6mm-black-100m/dp/1008428 1008428
Heatshrinktubing (12mm) https://uk.farnell.com/raychem-te-connectivity/hft5000-12-6-0-fec-10m/heatshrink-fabric-12mm-blk-10m/dp/4967239 4967239
Mirror reflective A4 paper https://amzn.to/3dVMjfm
6-way Ribbon cable RS Components 693-7699 0.15
Total ~£65

The PI case

You will not need any glue or screws to assemble the ethoscope because most parts will snap together. You will, however, need to make some soldiering on the wires. Some sticky tack is also useful to secure components and to darkened LEDs.

  1. Place the heat sinks on the PI. You should cover the two chips facing up (as in the picture below), but not the one facing down. If absolute darkness is an important aspect of your experiments, you may also want to place a little fragment of sticky tack to cover the two LEDs (one red and one green) which are located near the USB power supply socket.

https://s3-us-west-2.amazonaws.com/secure.notion-static.com/bb673458-621e-4d41-bd80-49d1005d7c15/Untitled.png

  1. Prepare the piNoir Camera inserting the ribbon cable making sure it is inserted in the right orientation (text up) - double-check that you bought the right camera, i.e. the piNoir that does not have an embedded infrared filter and has a black PCB.

https://s3-us-west-2.amazonaws.com/secure.notion-static.com/6a6388a1-1926-40be-ae03-b0858330c8f8/Untitled.png

  1. Insert the camera into the camera slot, fitting the four pins inside the four appropriate holes. Make sure the camera is well positioned then secure it down by pushing the camera cover lid. The lid will click into place making sure the camera will not move during experiments

  2. Place the raspberry PI on top of the camera, positioned on its four pillars and secure the other end of the ribbon cable into the PI. It's easier to insert the PI into the case without the SD card in. You can then insert the SD card once the PI is fastened inside. Use some sticky tack on the PI pillars to secure the base in place, then close the lid of the case.