An Optogenetic Platform for Freely Moving Animal Applications 
Dimitris Firfilionis, JunWen Luo and Patrick Degenaar
 
uSystems group, Newcastle University, Newcastle upon Tyne, U.K. 
 
1  OBJECTIVES 
In this work, the main objective was to develop a 
closed-loop optogenetic platform capable of 
performing electrical recording and optical 
stimulation in a closed loop manner. The system is 
based on an ARM Cortex M4 Microcontroller Unit 
(MCU). The MCU is responsible for controlling the 
system and, processing and storing the recorded 
data. Placing an MCU as a processing unit 
significantly increases the flexibility of the system, 
as it allows several algorithms and software 
architectures to be implemented; this makes the 
system suitable for most optogenetic based 
applications. As presented by Ramezani et al., a 
custom Application Specific Integrated Circuit 
(ASIC) is responsible for recording the neural 
activity and delivering the optical stimulus. The 
recorded and stimulation data are stored on a micro-
SD card. The system is powered by a 155 mAh 
Lithium-Polymer (LiPo) battery. Figure 1 illustrates 
a conceptual model of the system.  
2  METHODS 
The system comprises of two main blocks: 1) the 
head-stage unit and 2) the embedded control unit. 
The head-stage unit contains a neural interface ASIC 
responsible for recording neural activity and 
delivering optical stimulus. The ASIC is used in 
order for the capabilities of the system to be 
demonstrated. It requires a 5 V and a 3.3 V supply, 
which are provided by the embedded control unit. 
The data communication between the two units is 
established through a Serial Peripheral Interface 
(SPI) link. This makes the system capable of 
interfacing with any custom or commercial ASIC, 
provided that an SPI link exists on the ASIC to be 
used. The head-stage unit contains a microcontroller 
unit, a micro-SD card header and a Power 
Management Unit (PMU). The system is powered 
by a 3.7 V LiPo battery. Figure 2 represents the 
proposed system in the form of a block diagram.
 
2.1  Neural Interface ASIC 
A detailed description of the neural interface ASIC 
is given by Ramezani et al. It consists of three main 
blocks: a) digital controller for external communica-
tion, interpreting and executing commands; b) 
neural recording system for amplifying, filtering, 
and digitising biopotentials; and c) optical 
stimulation system for generating, sequencing and 
driving  μLEDs providing the systems with 
optogenetic neural stimulation capabilities.  
For covering the power necessities of the system, 
two power domains have been used: 3.3V (using 
native devices) and 5V (using thick oxide devices). 
The 3.3V supply is used in order for all the 
electronics, apart from the optical stimulation output 
stage, to be powered. The 5V supply is required to 
power the blue μLEDs, due to their threshold 
voltage being significantly higher compared to 
conventional ones. 
 
Figure 1: Conceptual model of the proposed system. 
2.1.1 Digital Control 
The digital controller is responsible for providing the 
following functions: 1) SPI communication interface 
with external processing and control units; 2) a Finite 
State Machine (FSM) with defined instructions, 
which allow the control of the μLED driving circuits,