Optogenetics (PulsePal)

Overview

The ConductMaze optogenetics module interfaces with the Sanworks PulsePal v2 pulse generator to deliver precisely timed optical stimulation synchronized to behavioral events. PulsePal is a USB-connected 4-channel parametric pulse generator that drives laser diodes or LED fiber-optic systems with microsecond temporal precision. ConductMaze communicates with PulsePal through the IExternalAdapter interface, sending trigger commands that initiate pre-programmed pulse trains on any combination of the four output channels.

Stimulation parameters — pulse frequency, pulse width, train duration, inter-train interval, and voltage amplitude — are configured in ConductMaze's protocol editor and downloaded to PulsePal at session start. During the experiment, ConductMaze triggers stimulation in response to behavioral events: a lever press can initiate a 20 Hz, 5 ms pulse train for 1 second; entering a spatial zone can activate continuous stimulation; completing a trial can trigger a brief identification pulse. Each trigger event is logged with its exact timestamp, behavioral context, and stimulation channel for post-hoc analysis.

The system supports both event-triggered (reactive) and schedule-triggered (proactive) stimulation paradigms. In event-triggered mode, the animal's behavior determines when light is delivered — ideal for studying the causal role of neural circuits in specific behavioral actions. In schedule-triggered mode, stimulation follows a predetermined temporal pattern independent of behavior — suitable for studying how circuit activation modulates overall behavioral output. Both modes can be combined within a single session for within-subject comparison.

Trial Flow

start

Configure PulsePal

Set pulse frequency, width, train duration, voltage on each of 4 output channels

process

USB Connect

ConductMaze establishes USB serial connection to PulsePal v2

process

Upload Parameters

Download stimulation program to PulsePal hardware registers

process

Start Behavioral Session

Begin protocol with stimulation triggers armed

input

Behavioral Trigger

Animal performs triggering action (lever press, zone entry, trial phase)

decision

Evaluate Trigger Rule

Check if event matches stimulation trigger criteria and refractory period has elapsed

output

Fire PulsePal

SendMessage command triggers pulse train on designated output channel(s)

process

Log Stimulation

Record trigger time, channel, parameters, and behavioral context

end

Session End

Disarm triggers, disconnect PulsePal, export stimulation log

Parameters

ParameterTypeDefaultDescription
Pulse Frequencyfloat20Stimulation frequency in Hz (1–1000 Hz range)
Pulse Widthseconds0.005Duration of each light pulse in seconds (typically 5–20 ms)
Train Durationseconds1.0Duration of each stimulation train
Inter-Train Intervalseconds5.0Minimum time between consecutive stimulation trains (refractory period)
Voltage Amplitudefloat5.0Output voltage amplitude in volts (0–10 V, drives laser/LED driver)
Active ChannelsenumChannel 1PulsePal output channels to activate (Channel 1–4, or multiple)
Trigger ModeenumEvent-TriggeredStimulation mode: Event-Triggered (by behavior), Schedule-Triggered (by time), or Both
Trigger EventenumLever PressBehavioral event that triggers stimulation (Lever Press, Zone Entry, CS Onset, Trial Start, Custom)

Metrics

MetricUnitDescription
Total StimulationscountTotal number of pulse trains delivered during the session
Total Light-On TimesecondsCumulative duration of optical stimulation across all trains
Mean Trigger LatencymsAverage delay between behavioral trigger event and PulsePal output onset
Stimulations per PhasecountNumber of stimulation trains delivered in each protocol phase (baseline, stimulation, recovery)
Behavioral Effect IndexratioRatio of behavioral output during stimulation vs non-stimulation periods
Refractory ViolationscountNumber of trigger events that occurred during refractory period and were suppressed

Sample Data

TrialEvent_Time_sTrigger_EventChannelFreq_HzTrain_Dur_sStim_Delivered

Representative data for illustration purposes. Actual values will vary by species, strain, and experimental conditions.

Applications

  • 1
    Circuit-specific reinforcementactivate VTA dopamine neurons on lever press to study the sufficiency of circuit activation for reward learning
  • 2
    Anxiety circuit dissectioninhibit BLA→CeA projections during elevated plus maze open arm exploration to test anxiolytic effects
  • 3
    Memory consolidationdeliver hippocampal stimulation during the post-training consolidation window in fear conditioning
  • 4
    Real-time place preferencecreate an optogenetic real-time place preference by triggering stimulation in one CPP compartment
  • 5
    Motor circuit mappingactivate motor cortex during rotarod or skilled reaching to study circuit contributions to coordinated movement

Ready to Automate Your Behavioral Protocols?

Contact us for a demo and pricing information.