

Unused pins on the Teensy were not included in this schematic. Solid dots at intersections between dotted lines indicate electrical connections.
#Arduino sensors with teensy serial
The schematic of the wiring of a Teensy 3.2 to two ADNS-9800 sensors via serial peripheral interface connections (SPIs). All rights reserved.Įlectrical wiring schematics for the motion tracking experiment and the trace conditioning eye blink experiment A.

#Arduino sensors with teensy software
The Teensy interface, consisting of a Teensy 3.2 and custom software functions, provides a temporally precise, low-cost, and flexible platform to integrate sCMOS camera control into behavioral experiments.ĪDNS-9800 gaming sensor Arduino Microcontroller Open-source Spherical treadmill Teensy sCMOS camera.Ĭopyright © 2019 Elsevier B.V. This interface allows high-speed and temporally precise digital data acquisition and device control during diverse behavioral experiments. In another example, we used the Teensy interface to deliver an auditory stimulus and a gentle eye puff at precise times in a trace conditioning eye blink behavioral paradigm, while delivering repeated digital pulses to trigger camera image acquisition. In one example, we used the Teensy interface to record an animal's directional movement on a spherical treadmill, while delivering repeated digital pulses that can be used to control image acquisition from a sCMOS camera. We demonstrate the flexibility and the temporal precision of the Teensy interface in two experimental settings. We developed a Teensy 3.2 microcontroller-based interface that is easily programmable, and offers high-speed, precisely timed behavioral data acquisition and digital and analog outputs for controlling sCMOS cameras and other devices.

While specialized commercial systems have been designed to meet various needs of data acquisition and device control, they often fail to offer flexibility to interface with new instruments and variable behavioral experimental designs. Systems neuroscience experiments often require the integration of precisely timed data acquisition and behavioral monitoring.
