Page tree
Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 39 Next »

The spherical treadmill system was presented in:

Two-photon calcium imaging from head-fixed Drosophila during optomotor walking behavior.

Johannes D Seelig*, M Eugenia Chiappe*, Gus K Lott*, Anirban Dutta, Jason E Osborne, Michael B Reiser & Vivek Jayaraman. Nature Methods (6 June 2010) | doi:10.1038/nmeth.1468

Between the published paper and the information presented on this web site, we want to provide everything you need to build a complete fly spherical treadmill system. We apologize for any missing information, but will be happy to fix that if you let us know (see contact info on the Home page). 


There is a long history of putting a tethered insect on a ball to measure its movements in response to controlled sensory stimuli. As mentioned in the publication, Karl Götz and Erich Buchner had fly-on-a-ball systems working almost four decades ago. Our system uses modern image processing technology to acquire, with high temporal resolution, velocity about all axes of rotation of the ball. The first system to use optical mouse sensors came from Berthold Hedwig's lab, which used them to monitor crickets walking on a ball. 

Hardware assembly

Zipped Autodesk Inventor CAD files for the tracker system are available here. TreadmillSystemFinal.iam is the top-level assembly.

Old note (July 10th, 2010): If you downloaded the CAD files before July 10th 2010, we had accidentally included an old CAD file for the ball holder ("6mm Treadmill.ipt"). Please use the newer "6mm Treadmill Gen 2.ipt". If you have already machined a holder based on the old CAD diagram, please cut the top of the holder so that the hemispherical hole supporting the ball is only 1.25 mm deep. This is important both for the ball to be seen clearly by the cameras and for stable airflow under the ball.


Treadmill tracking cameras

This is what our standard setup has (but you should be fine with alternatives too - just make sure your lens doesn't have an IR coating):

1) 25mm computar c-mount lens:
2) 2x extender:
3) And another extension to focus the image on the chip: C-Mount Extension Tube (10mm Length) NT54-629 (on Edmund Optics)

The mouse chip used in the treadmill tracking cameras is no longer available. (Possible replacement?)

IR illumination of treadmill ball

For the illumination we used high-power IR LEDs from Illumination control: SLFA-850-12-2-SA-110. These are no longer available. (Possible replacement?)

Ball material

We use polyurethane foam from general plastics' LAST-A-FOAM FR 7100 series:

This product series includes foams of different densities. The density of the foam affects the ball weight and inertia and as a consequence the fly's walking behaviour. The material with the highest density that we have used in the lab to mill treadmill balls is the FR-7120 (20 lbs/ft3). 


Software, Gerber files, and documentation to assemble the camera/optic chip system part of the ball tracker/Fly treadmill

are available in this zipped file.


MATLAB code to calibrate the treadmill using Camera3 (see paper) is available here.


Note: Computer-to-chip communication issue with Windows 7 & the latest FTDI driver (TreadmillDemo throws a "Bad Read")

The fix is just to change the BAUDRATE in line 69 of TreadmillDemo.cpp from 1250000 to 1152000.

Thanks go to Armin Bahl (MPI, Martinsried) for bringing this to our attention.

The Janelia Farm Drosophila-physiology-on-a-ball team

Standing (l-r): Michael Reiser, Gus Lott, Vivek Jayaraman. Sitting (l-r): Johannes Seelig and Eugenia Chiappe. Other contributors (not pictured here) include: Nir Dutta, Jason Osborne. Photo credit: Reed George.

  • No labels