Drosophila Optical Stimulator - software files

Listed in Datasets publication by group The Weake lab

This publication contains the software required to build an optical stimulator for fruit flies. The stimulator uses red and blue light-emitting diodes (LEDs) and an embedded computer to generate light at different power density levels.

Version 1.0 - published on 23 Jun 2017 doi:10.4231/R7222RS4 - cite this Archived on 24 Jul 2017

Licensed under BSD-3-Clause

Fig-flow.png Fig-software.png


The following files are provided in this publication:

1) code.zip: this zip file contains the Python code that will run on a Linux embedded computer and will control the operation of the stimulator.

A programmable optical stimulator for Drosophila eyes is presented. The target application of the stimulator is to induce retinal degeneration in fly photoreceptor cells by exposing them to light in a controlled manner. The goal of this work is to obtain a reproducible system for studying age-related changes in susceptibility to environmental ocular stress. The stimulator uses light emitting diodes and an embedded computer to control illuminance, color (blue or red) and duration in two independent chambers. Further, the stimulator is equipped with per-chamber light and temperature sensors and a fan to monitor light intensity and to control temperature. An ON/OFF temperature control implemented on the embedded computer keeps the temperature from reaching levels that will induce the heat shock stress response in the flies. A custom enclosure was fabricated to house the electronic components of the stimulator. The enclosure provides a light-impermeable environment that allows air flow and lets users easily load and unload fly vials. Characterization results show that the fabricated stimulator can produce light at illuminances ranging from 0 to 16000 lux and power density levels from 0 to 7.2 mW/cm2 for blue light. For red light the maximum illuminance is 8000 lux which corresponds to a power density of 3.54 mW/cm2. The fans and the ON/OFF temperature control are able to keep the temperature inside the chambers below 28.17 C. Experiments with white-eye male flies were performed to assess the ability of the fabricated simulator to induce blue light-dependent retinal degeneration. Retinal degeneration is observed in flies exposed to 8 hours of blue light at 7949 lux. Flies in a control experiment with no light exposure show no retinal degeneration. Flies exposed to red light for the similar duration and light intensity (8 hours and 7994 lux) do not show retinal degeneration either. Hence, the fabricated stimulator can be used to create environmental ocular stress using blue light.

This publication is part of the series Drosophila Optical Stimulator.

Cite this work

Researchers should cite this work as follows:



version 1

The Weake lab

The Weake lab group image

The Purdue University Research Repository (PURR) is a university core research facility provided by the Purdue University Libraries, the Office of the Executive Vice President for Research and Partnerships, and Information Technology at Purdue (ITaP).