Air/Odors Delivery System

The IDOC Air/Odors Delivery System is in charge of delivering controlled air and odor stimuli to Drosophila during behavioral experiments. The system consists of a custom-built manifold, solenoid valves, and an Arduino microcontroller.

Table of Contents

  1. Overview
  2. Map
  3. Installation of flow meters
  4. Installation of the 2-port Main Valve
  5. Installation of the 3-port solenoid valve
  6. Powering cables to the mounting board
  7. Installation of the Exhaust release Valves
  8. Installation of the Vacuum Suction system
  9. Parts index
  10. 3D printed parts

Overview

  1. Solenoid valves, which regulate the flow of air and odor stimuli through the manifold.
  2. The manifold, which consists of a series of ports for delivering air and odor stimuli to the IDOC chamber.
  3. The vacuum suction system, which regulates and balances the outflow of air and odor stimuli from IDOC chamber.
  4. The Arduino microcontroller, which determines which stimuli are delivered when stimuli by operating the solenoid valves.

Map

NOTE: This map shows the connections needed to run a 1-odor conditioning experment. If you wish to run 2-odor conditioning, you need to add one more valve on each side (to switch between either of the odors)

Flow_system.PNG

  1. Air is provided from a controlled constant pressure source.
  2. The air is passed through an activated carbon capsule (Fisher, 10526921) to be filtered and dried.

  3. The dry filtered air is tube is connected to a solenoid valve with 2 ports, the 2-port Main Valve (NC, 12 VDC, RS 840-7020). This valve is by default close (Normal Close or NC). Arduino controls a relay unit switch that when turned on, provides the needed 12 V of DC for it to open. Only then can the experiment start.

  4. When the 2-port Main Valve is open, the air is passed through air washing-bottles* for controlled re-humidification. The humidification process involve two steps:

    1. The first one is to heat up a glass bottle of water to 50°C (~600ml of water in 1L glass bottle), immersed in a 2L water bath (VWR, 462-0554) to get vaporized air.

    2. The hot moist air is then passed through a larger 5L bottle filled with 4L of water (VWR, 215-0057 ) at room temperature to regulate the moisture air temperature.


    • One-way no return valves are introduced between each part to prevent water flowback (RS, 367-0624).

    • GL 45 Cap Connection System, 2 Hose Barb Connectors (Fisher, 15363647) was used to connect the air inlet and outlet in each bottle

  5. The moist air is passed through a 4-outlet manifold (RS, 431-7194). This is how each port is connected:

    1. Connected to an inflow regulator, threaded flow regulator (RS, 197-5337) used to provide only the required volume of air.

    2. Connected to a glass bottle used to collect water which may condensate throughout the tubing.

    3. Left open to release any extra pressure and stabilize the output of the inflow regulators.

    4. Plugged (RS, 367-6098).

  6. The threaded flow regulator output is split into two streams that provide the ability to deliver different stimuli in the left and right side of the chambers. Everything component from here onwards is thus duplicated, once for each side. Each stream (left and right) is passed through a flowmeter (0.4 L/min → 5 L/min, RS, 198-2919). The flowmeters could be used to adjust the flow, but they are left fully open because the flow is controlled by the threaded flow regulator. They are however useful to measure the actual flow going through each stream independently, because this information can help diagnose problems affecting one of the streams but not the other.

  7. The output flowmeter is connected to a 3-port solenoid valve, therefore providing 2 outputs: Normal Open (NO) and Normal Close (NC) ( 12 V dc, M5, RS, 838-8660). One 3-port solenoid valve allows us to switch between air and odor on one side.

    1. The NO outlet is connected to the solvent (Mineral oil) bottle.
    2. The NC outlet is connected to the odor A (odor diluted in mineral oil at desired concentration) bottle.

      • One-way check valves were used between connections to prevent mineral oil backflow (WPI, 14039-10 , Fisher, 11909638). ​
  8. The clean, humidified air/odor is now delivered to the recording chambers via 2 20-port 3D printed manifold. Each manifold provides the stimuli to all 20 chambers, but only on one side.

    TODO chemical resistant silicon tubing or Tygon tubing then collected from the tubing-wiring box and a male luer is connected to the other end which is connected to recording chambers female Luer.

  9. After the odor valves are closed, there can be an undesired residual flow of diluted odor arriving to the animals. To ensure that this never happens, and the stimuli are delivered with high time precision, each input is first passed through a 3-port exhaust valve (Solenoid release exhaust valve S 3-way (Aliexpress/Miniyard, 32881849871 (12V)) that only opens when getting a 12V DC signal. This way, when stopping the odor valves, the residual odor is diverted to the NO port of the exhaust valve, which collects to a waste bottle. We found that a residual current was present (via visible bubbling) in the waste bottle for about 7 seconds after stopping the 3-port solenoid valve.

​ If you need only air flow to your chambers, if you only perform an optogenetics experiments for example, you just need a 2-port solenoid valve and a water bottle, one for each side

Installation of flow meters

The installation of in and out flow meters has the same procedure. Use fork ring wrench or spanner #13 (amazon.de, M19652 ; B001ILAFRI) to connect straight threaded adaptor, G 1/8 Male to Push In 6 mm, Threaded-to-Tube Connection Style (RS Components, 121-6009) to the Variable Area Flow Meter, 0.05 L/min → 0.5 L/min, (RS Components, 198-2896). Then use screws provided with the flowmeters to fix them to the 3D printed holders. Connect a 10-cm optical post to each holder to be fixed at the mounting base of the breadboard.

Flow-regulators.PNG

Tip: Backlighting of the flow helps to precisely adjust the meters to the same level. Just add a white LED in the back hole of each flow regulators, and then connect all LEDs in series with a switch so they only illuminate when needed (especially important when recording in a dark room).

Installation of the 2-port Main Valve

Use fork ring wrench or spanner #12 (amazon.de, M19652 ; B001ILAFRI) to connect the Straight Threaded-to-Tube Adapter, Uni 1/8 Male, Push In 6 mm (RS Components, 771-5100) to the 2 ports of the 2-port Main Valve, NC, 12 V dc, 1/8in (RS Components, 840-7020). Then use 2 M3x10mm screws to fix the 2-port Main Valve to the 3D printed holders.

Main-valve.PNG

Installation of the 3-port solenoid valve

Use fork ring wrench or spanner #12 (amazon.de, M19652 ; B001ILAFRI) to connect Elbow Threaded Adaptor, M5 Male to Push In 6 mm, Threaded-to-Tube Connection Style (RS Components, 121-6024) to the top outlet of the 3-port solenoid valve, NO/NC, 12 V dc, M5 (RS Components, 838-8660). Then connect the Straight Threaded Adaptor, M5 Male to Push In 6 mm, Threaded-to-Tube Connection Style (RS Components, 121-6039 ) to the other ports of the 3-port solenoid valve. Then use 2 M3x10mm screws to fix the base of each valve to the 3D printed holder. Attach a 10-cm optic post to each holder to be fixed at the mounting base of the breadboard. In total, four 3-port solenoid valves are needed to switch a two odor system.

Solenoid-valves.PNG


Powering Cables to the mounting board

To power the valves through the connection with the Arduino control relay switch unit, connect a 20-way ribbon cable with an IDC connector to the control board, while the other end is open and connected to the power station. The power station contains a screw terminal block (12 Circuit - Terminal Strip Connector Screws (Digi-Key, 277-15432-ND)), that enable easy and robust connection between the valves and the Arduino. This is the white plastic piece on the mounting board.

Fix the terminal strip connector with M3 10mm screws to the 3D printed powering station holder. Then with M6 screws fix the holder to the breadboard.

With the use of a wire stripper, remove at least 1 cm casing to expose the cut wires and then flip the breadboard to the back and insert the wires through the back holes, to be connected to the screw terminal from the top of the breadboard.

Powering-valves.PNG

Here is the pinout mapping of the cable connections:

Ribbon-cable-mapping.PNG

Installation of the Exhaust release Valves

To ensure that the odors are precisely delivered at only the time of the applications, each input is first passed through an exhaust valve (Solenoid release exhaust valve S 3-way (Aliexpress/Miniyard, 32881849871 (12V)) that only opens when getting a 12VDC signal. This way, upon stopping the odor valves, the air flow delivered to the chambers/flies will stop and be diverted to the NO port of the exhaust valves. In turn, this is connected to a water receiver to avoid spreading in the room. We consistently found an undesired flow of air up to 7 seconds after stopping the odor (because there is bubbling in the water bottle for as much time). Hard this stream not been released, the fly would get some diluted concentration of the odors at the end of each treatment.

to install this unit you will need the following items:

  • Female Luer Bulkhead Fitting (Aliexpress/MicroFluidics Store, RH-C-M024) Q:12x

  • 3D-print exhaust valves holder Q:1x

  • DC 12V Solenoid Air Gas valve Release exhaust Valve Switch 2-position 3-way (Aliexpress/Miniyard, 32881849871 (12V)) Q: 6x

  • Straight PCB Header, 2.54mm Pitch, 6 Way, 2 Row, Through Hole (RS Components, 832-3496) Q:2x

  • 6-Way ribbon cable with one IDC Connector Socket at one side (Farnell, T812106A101CEU; RS Components, 832-3648), while the other side is open.

  • Resistor Kit, 10ohm to 1Mohm Resistors (Farnell, MF0W4FFE006KIT)

You also will need

  • Soldering Station (RS Components, 122-7917; for Hot Air Amazon.de, 8786D)

  • Lead Free Solder (RS Componentss, 756-8884 ; 625-8233)

  • Side Cutters (Amazon.de, M10997)

  • Heat shrink tubing (amazon.de, ET1002)

  • Wire Stripper (RS Components, 613-044)

Procedure:

  • Attach 12 female luer fittings at each circle of the holder, screw them with the included plastic nut and fixers.

  • Insert solenoid valves in the recessed area in the 3D printed holder. Press all of them in place so that the NO outlet faces the bottom while the two u-shaped ports appear from the top face of the holder.

  • Attach two 6-Way, 2-Row, boxes to the recessed areas.

  • Connect and solder each solenoid valve to two pins of the 6-way box.

  • Connect a LED parallel of your preferred color to each valve pins (5 mm LED amazon.de, 110040_SML) as marker when ON. Preferably use the right resistors (Farnell, MF0W4FFE006KIT) to establish the connection to the 12VDC. However you can use 1K Ohm resistor for all of the LEDs.

  • Source.Voltage: 12 VDC

  • Forward Voltage: white: 3.2-3.4 V; green: 3.0-3.2 V; yellow: 2.0-2.2 V; blue: 3.2-3.4 V; red: 2-2.2 V
  • Forward Current: 20 mA
  • Resistor: $$\frac{Source Voltage - Forward Voltage}{Forward Current}$$

e.g. red color LED = (12-2)/0.020 = 500 Ohm

Go to this website to calculate the resistor according the above values for each color

  • Connect two IDC 6-Way ribbon cables to the 6-way box. The opposite side must be connected to the corresponding 3-port solenoid valve connection at the powering station to be synchronized and prevent extra odor air to be delivered after stopping the odor valves.

Installation of the Vacuum Suction system

Each chamber has two outputs in the middle. Each output allows the air to flow out of the chamber. To provide clear decision zones we connected each outlet port to an active vacuum. It is important that the out flow equals the inflow, which can be challenging to achieve. To make sure the systme is balanced, we connect each outlet individually via a luer fitting male-female connection. Then all tubes are bundled together to be embedded into a vacuum receiver for each side. A 3D-designed and printed GL45 threaded cap with 20 holes were used to gather all of the tubes of one side. Glue and/or silicon paste was used to completely fix the tubing to the holes of the each cap. Each cap has an outlet port that connects to a threaded adaptor, G 1/8 Male to Push In 6 mm, Threaded-to-Tube Connection Style (RS Components, 121-6009), which is connected to the manifold of the vacuum system.

Vacuum-suction-tubing.PNG

Vacuum manifold:

Vacuum-manifold.PNG

Parts index

Article Description Qty Supplier Item # & link Supplier Image
Carbon-Cap Disposable Activated Carbon Capsules (Fisher) 1 Fisher 10526921
Solenoid Valve 3-port(s) , NO/NC, 12 V dc, M5 (RS Components) 2 RS 838-8660
Solenoid Valve 2 port(s) , NC, 12 V dc, 1/8in (RS Components) 1 RS 840-7020
DC 12V Solenoid Air Gas valve Release exhaust Valve Switch 2-position 3-way (Aliexpress/Miniyard) 6 AliExpress 32881849871 (12V)
Laboratory bottles, 100 ML (VWR) 6 VWR LENZ07105037
Laboratory bottles, 5000 ML (VWR) 1 VWR 215-0057
Laboratory bottles, 1000 ML (VWR) 1 VWR 215-1595
GL 45 Cap Connection System, 2 Hose Barb Connectors (Fisher) 8 Fisher 15363647
Water bath, 2 L (VWR) 1 VWR 462-0554
Luer fitting check valves (WPI, Fisher) 10 14039-10, 11909638
Non Return Valve, 6mm Tube Inlet, 6mm Tube Outlet (RS Components) 2 RS 367-0624
4 Outlet Pneumatic Manifold Threaded Fitting, G 1/4 G 1/8 (RS Components) 1 RS 431-7194
G 1/8 Brass Corrosion Resistant Plug (RS Components) 1 RS 367-6098
G 1/4 Brass Corrosion Resistant Plug (RS Components) 1 RS 367-6105
Straight Threaded Adaptor, G 1/4 Male to Push In 6 mm, Threaded-to-Tube Connection Style (RS Components) 1 RS 125-9600
Straight Threaded-to-Tube Adapter, Uni 1/8 Male, Push In 6 mm (RS Components) 2 RS 771-5100
Threaded Flow Regulator 6mm Tube Outlet Port (RS Components) 3 RS 197-5337
Elbow Threaded Adaptor, M5 Male to Push In 6 mm, Threaded-to-Tube Connection Style (RS Components) 2 RS 121-6024
Straight Threaded Adaptor, M5 Male to Push In 6 mm, Threaded-to-Tube Connection Style (RS Components) 4 RS 121-6039
Variable Area Flow Meter, 0.05 L/min → 0.5 L/min, (RS Components) 2 RS 198-2896
Straight Threaded Adaptor, G 1/8 Male to Push In 6 mm, Threaded-to-Tube Connection Style 4 RS 121-6009
12 Circuit - Terminal Strip Connector Screws 1 Digi-Key 277-15432-ND)
IDC ribbon cable , one IDC connector in one end while the other end is opened. 1

Other parts

Article Description Qty Supplier Item # & link Supplier Image
Fork ring wrench 1 Amazon.de M19652 or B001ILAFRI
Ø12.7 mm Optical Post, SS, M4 Setscrew, M6 Tap, L = 100 mm, 5 Pack 10 Thorlabs TR100/M-P5

3D-printed parts

  • 2 port Main Valve holder Q:1x
  • Manifold holder Q:1x
  • Exhaust valves holder Q:1x
  • 3-port solenoid valve holder Q:4x
  • Flowmeter holder double Q:1x
  • Powering station holder Q:1x