-
Notifications
You must be signed in to change notification settings - Fork 1
Setup
Setup information for hardware and software
Download the Arduino IDE here (for Win64)
All Arduino Libraries are held here, or accessed via Headfixed_5sipper (main) >> Setup >> Arduino_Libraries
Download all Arduino libraries (as .ZIP files) and upload to Arduino IDE via Sketch (top-left corner) >> Include Library >> Add .ZIP Library
Load the functions from Arduino Code into your Arduino IDE.
Descriptions of functions:
- Button.ino >> checkbuttons() | Allows adjustment of spout in boot-up while checking buttons B & C, runtime updated on OLED screen.
- Dispense.ino >> dispense(int selection) | Dispenses appropriate amount of solution through the spout selection. Volume is pre-set requires editing: switch statement and global variable volume should be implemented
- Display.ino >> UpdateDisplay() | Updates OLED display
- Retract_Extend.ino >> retract() - allows retraction of the spout via servo || extend() - allows extension of the spout via servo -- implemented to go to position pos (defined at Arduino boot) requires editing: closed-loop with lickometer to adjust if over-extended/not far enough
- Rotate.ino >> spoutPosition(int num) | Uses _num _to define which spout is being used, and rotates the spouts such that appropriate spout is in front of mouse.
- Timeout.ino >> timeout(int low, int high) | Uses a a timeout of random duration between low and high seconds to prevent continuous trials
- Tone.ino >> playtone(int frequency, int duration) | Plays a tone of frequency pitch for duration time || noise() | Plays a random set of tones (20ms each) for 1 second (50 random tones)
- Wash.ino >> dispenses through all 5 ports, to be implemented with EtOH and H2O
- customDelay.ino >> customDelay(int milliseconds) | does nothing over _milliseconds _of time and updates display after delay. This allows gravity-fed alteration of dispensed volume
Download the Bonsai installer here, and if applicable the portable .ZIP folder
You can use Bonsai.config from a previous user of Bonsai to record installed dependencies for a setup (stored in same location as executable) >> Finds and downloads all packages necessary to recover the expected state. OR follow the following list of packages:
- AForge
- AForge.Video
- AForge.Video.DirectShow
- Bonsai
- Bonsai - Allied Vision Library
- Bonsai - Arduino Library
- Bonsai - Audio Library
- Bonsai - CMT Library
- Bonsai - Core Library
- Bonsai - DeepLabCut Library
- Bonsai - DeepLabCut Design Library
- Bonsai - Design Library
- Bonsai - Visualizers Library
- Bonsai - Dsp Library
- Bonsai - Dsp Design Library
- Bonsai - Editor
- Bonsai - Ephys Library
- Bonsai - Ephys Design Library
- Bonsai - Harp Library
- Bonsai - Numerics Library
- Bonsai - Osc Library
- Bonsai - Photon Counting Library
- Bonsai - Player
- Bonsai - PointGrey Library
- Bonsai - PointGrey2 Library
- Bonsai - Scripting Library
- Bonsai - Shaders Library
- Bonsai - Spinnaker Library
- Bonsai - Starter Pack
- Bonsai - System Library
- Bonsai - System Design Library
- Bonsai - Video Library
- Bonsai - Video Design Library
- Bonsai - Vision Library
- Bonsai - Windows Input Library
- CMT.NET
- FTD2XX_NET Managed Wrapper
- IronPython
- IronPython Standard Library
- ScintillaNET Source Editing Component
- Math.NET Numerics
- Neurophotometrics
- Neurophotometrics.Design
- OpenAL Redist
- OpenCV Overlay
- OpenCV.NET
- OpenTK