Skip to content

Latest commit

 

History

History
27 lines (9 loc) · 1.17 KB

File metadata and controls

27 lines (9 loc) · 1.17 KB
Controls cameras from MedPC connection panel. Aligns data from DeepLabCut pose-estimation output + MedPC tables + TTLs.

alt-text-1

  • Controls White Matter cameras using http requests and json.
  • Each MedPC control box is connects to a 24V-5V optocoupler which output runs to an Arduino mega.
  • The pins are read by the arduino script and parsed by PySerial.
  • The camera recording status on when 5V is coming out of the optocopler.
  • Displays camera status, last onset and offset times, and the number of recorded sessions, for 12 cameras, in terminal window.
  • Rendered example on YouTube.
  • Press q to disconnect all cameras when session is complete.