Single channel TTL driver for in vivo or in vitro optogenetics.
To make the experience fit your profile, pick a username and tell us what interests you.
We found and based on your interests.
EasyTTL_UNO_micros.inoCode for Arduino IDEino - 2.64 kB - 03/10/2022 at 12:35 |
|
Solder jumper wires to five of the outer pins on each rotary switch, and a normal wire to the central (ground) pin.
Solder wires to the toggle switch, one each to middle and one side pin.
Solder wires to the pushbutton pins (if being used).
Solder jumper wire to the LED anode pin, and a 330 ohm resistor to the cathode pin; then a wire to the resistor.
Solder jumper wire to BNC signal pin (central pin), and a normal wire to the BNC ground (side pin).
Jumper wires make it easy to connect to the Arduino I/O pins, but there aren't sufficient ground pins, so you need to use normal wires, then solder those together.
Any exposed regions can be shielded with heat-shrink tubing if there is any concern of movement/contacting other bits.
Plug the collated ground wires into the Arduino Ground pin, and plug the other jumper wires into the correct I/O pins:
Toggle switch - 0
Pilot LED - 1
TTL output - 2
Rotary switch 1 (ontimes) - 3, 4, 5, 6, 7
Rotary switch 2 (frequency) - 8, 9, 10, 11, 12
Download the .ino file and upload the code to your Arduino Uno.
Create an account to leave a comment. Already have an account? Log In.
Become a member to follow this project and never miss any updates