@ARTICLE{10.3389/fnins.2021.718311, AUTHOR={Firfilionis, Dimitrios and Hutchings, Frances and Tamadoni, Reza and Walsh, Darren and Turnbull, Mark and Escobedo-Cousin, Enrique and Bailey, Richard G. and Gausden, Johannes and Patel, Aaliyah and Haci, Dorian and Liu, Yan and LeBeau, Fiona E. N. and Trevelyan, Andrew and Constandinou, Timothy G. and O'Neill, Anthony and Kaiser, Marcus and Degenaar, Patrick and Jackson, Andrew}, TITLE={A Closed-Loop Optogenetic Platform}, JOURNAL={Frontiers in Neuroscience}, VOLUME={15}, YEAR={2021}, URL={https://www.frontiersin.org/articles/10.3389/fnins.2021.718311}, DOI={10.3389/fnins.2021.718311}, ISSN={1662-453X}, ABSTRACT={Neuromodulation is an established treatment for numerous neurological conditions, but to expand the therapeutic scope there is a need to improve the spatial, temporal and cell-type specificity of stimulation. Optogenetics is a promising area of current research, enabling optical stimulation of genetically-defined cell types without interfering with concurrent electrical recording for closed-loop control of neural activity. We are developing an open-source system to provide a platform for closed-loop optogenetic neuromodulation, incorporating custom integrated circuitry for recording and stimulation, real-time closed-loop algorithms running on a microcontroller and experimental control via a PC interface. We include commercial components to validate performance, with the ultimate aim of translating this approach to humans. In the meantime our system is flexible and expandable for use in a variety of preclinical neuroscientific applications. The platform consists of a Controlling Abnormal Network Dynamics using Optogenetics (CANDO) Control System (CS) that interfaces with up to four CANDO headstages responsible for electrical recording and optical stimulation through custom CANDO LED optrodes. Control of the hardware, inbuilt algorithms and data acquisition is enabled via the CANDO GUI (Graphical User Interface). Here we describe the design and implementation of this system, and demonstrate how it can be used to modulate neuronal oscillations in vitro and in vivo.} }