Skip to content

rewrite the program from FED3 and create my own sketches

License

Notifications You must be signed in to change notification settings

addy9908/FED3_ZY

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 

Repository files navigation

A Timed Free_Feeding Lab Project Created by Zengyou Ye @ NIH/NIDA/IRP

This lab project enables free feeding for a specified duration each day upon receiving a TTL trigger. The system then waits for another trigger after the session ends.

Trigger Handling

  • A BNC connector listens for incoming triggers.
  • When BNCinput = true, it switches back to sending a signal output.

Session Configuration

  • Users can set the sessionDuration at the start, similar to configuring FEDID.
  • By default, the session duration is set to 3 hours (10,800 seconds), as displayed on the screen.
  • The screen also shows the trigger's start time in hour:minute format.

Output Behavior

When the BNC connector is in output mode:

  • A 200 ms TTL signal is sent each time a pellet is taken.
  • A 100 ms TTL signal is sent upon receiving a trigger.

User Instructions

  1. Replace the original FED3.cpp and FED3.h files with those in the Firmware\Modified_Source_Code\20231218_numMotorTurns folder.
  2. Upload the TimedFreeFeed_ZY_20231218.ino file to the FED3 device.
  3. If needed, adjust the sessionDuration from its default of 3 hours.

Controller Box

Top View More: Whole View, Top View2, Front View, Back View, Side View1, Side View2

2. Optional: Timed_FF_ZY.ino:

This special edition is designed to control the FED3 using its internal timer, allowing users to set the start time and session duration.

About

rewrite the program from FED3 and create my own sketches

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages