RT Journal Article SR Electronic T1 LED Zappelin’: An open source LED controller for arbitrary spectrum visual stimulation and optogenetics during 2-photon imaging JF bioRxiv FD Cold Spring Harbor Laboratory SP 2020.03.10.986000 DO 10.1101/2020.03.10.986000 A1 M.J.Y. Zimmermann A1 A.M. Chagas A1 P. Bartel A1 S. Pop A1 L.L. Prieto Godino A1 T. Baden YR 2020 UL http://biorxiv.org/content/early/2020/03/11/2020.03.10.986000.abstract AB 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.https://github.com/BadenLab/LED-Zappelin