Table of Contents

Rotary Encoder

The Harp Behavior Rotary Encoder is a peripheral for the Behavior device that can be used to demonstrate how rotation can be tracked when the onboard shaft is rotated. It plugs directly into poke port P2, the only port with a quadrature counter. Refer to the connections article to set up the peripheral and the Track rotary encoder article to use it in Bonsai.

Rotary Encoder

Note

The Harp Behavior Rotary Encoder is meant to demonstrate simple rotational tracking. For applications in which high resolution tracking is needed, such as a running wheel, use a more precise quadrature encoder connected with the Harp Behavior Breakout.

Key features

  • Mechanical quadrature rotary encoder.
  • Solder pads provide access to the encoder signals for use with external devices.

Specs

  • Encoder: Alps Alpine EC12E24204A9 (mechanical, 24 pulses per revolution, with detents)
  • Connector: RJ45 for direct connection to a Behavior device poke port
  • Solder pads: for wiring an external quadrature encoder or operating the peripheral from another device
    • 1x 5 V supply (+)
    • 1x Quadrature channel A (A)
    • 1x Quadrature channel B (B)
    • 1x Ground (-)

Hardware

Version Compatible Behavior device Notes
1.3 > 1.0
  • Fixed encoder direction
1.2 > 1.0
  • Replaced the optical encoder with an Alps Alpine EC12E24204A9 mechanical encoder
  • Added pull-ups and filtering on the quadrature channels
1.0 > 1.0
  • Initial version, using a Bourns ENC1J-D28-L00128 optical encoder (128 pulses per revolution)

Assembled units are available from the Open Ephys store.



Documentation for release v3.4.0