LED Zappelin': An open source LED controller for arbitrary spectrum visual stimulation and optogenetics during 2-photon imaging

HardwareX. 2020 Jul 22:8:e00127. doi: 10.1016/j.ohx.2020.e00127. eCollection 2020 Oct.

Abstract

Two-photon (2P) microscopy is a cornerstone technique in neuroscience research. However, combining 2P imaging with spectrally arbitrary light stimulation can be challenging due to crosstalk between stimulation light and fluorescence detection. To overcome this limitation, we present a simple and low-cost electronic solution based on an ESP32 microcontroller and a TLC5947 LED driver to rapidly time-interleave stimulation and detection epochs during scans. Implemented for less than $100, our design can independently drive up to 24 arbitrary spectrum LEDs to meet user requirements. We demonstrate the utility of our stimulator for colour vision experiments on the in vivo tetrachromatic zebrafish retina and for optogenetic circuit mapping in Drosophila.

Keywords: 2 Photon; LED; Light stimulation; Open hardware; Optogenetics; Visual neuroscience.