Control DMD device for patterned 1P optogenetics stimulation
- a modified DLP projector (replace lamp/LEDs by controllable high-power LEDs)
- a two-photon microscope with ScanImage
- High-power LEDs
- a LabJack/arduino
git clone https://github.com/labjack/exodriver.git
cd exodriver/
sudo ./install.sh
Install AppImage from arduino's website (Ubuntu package is outdated)
wget https://www.ximea.com/downloads/recent/XIMEA_Linux_SP.tgz
tar xzf XIMEA_Linux_SP.tgz
cd package
./install -pcie
cp -r api/Python/v3/ximea ~/miniconda3/envs/OptoDMD/lib/python3.8/site-packages/
sudo apt install maven openjdk-8-jdk-headless
git clone https://github.com/zeromq/jeromq.git
git checkout tags/v0.6.0
cd jeromq
JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64/ mvn clean install -DskipTests
The sketch is available in the Arduino IDE’s built-in examples. To open it, access the File menu, then Examples, followed by Firmata, and finally StandardFirmata.
- Plug the USB cable into the PC.
- Select the appropriate board and port on the IDE.
- Press Upload.
Then copy target/jeromq-0.6.0.jar to the project root.