Aharoni-Lab / MiniCAM

13 stars 3 forks source link

MiniCAM

The MiniCAM is an open-source behaviroal camera for imaging freely behaving animals in behavioral and neuroscience experiments. The goal of the MiniCAM project is to provide an open-source, customizable, high-quality, and affordable alternative to using webcams or scientific USB cameras for behavioral imaging. The MiniCAM is powered and communicates over any commercial 50ohm coaxial cable minimizing the cabling that needs to run into the experimental environment. The coaxial cable connects the MiniDAQ to any version of UCLA Miniscope DAQs or MiniDAQs which then connects over USB3 to a host computer.

Using the Miniscope Software, multiple Miniscopes and MiniCAMs can be connected, streamed, and time-sync'ed recording simultaniously.

MiniCAM Components

The MiniCAM consists of a custom printed circuit board (PCB), a 3D printed housing, an off the shelf M12 lens mount, a M12 camera lens, and an optional LED illumination ring. The PCB contains a 5MP CMOS image sensor, support electronics to power and serialize the imaging data, and an SMA coax connector. The image sensor can be configured through the Miniscope software and the optional LED illumination ring intensity can also be controlled through software. The MiniCAM runs at 50fps with 1024X768 resolution as the default configuration. Higher frame rate can be achieved by choosing smaller resolutions and higher resolution comes with lower frame rate.

System Layout

The MiniCAM requires a UCLA Miniscope Data Acquisition (DAQ) board (connected over a 50ohm coaxial cable) and a host computer (connected over USB3) running the Miniscope Software (or other third-party application that can stream UVC cameras and can communicate through a Miniscope DAQ). You can use any generation of Miniscope DAQ but you must update it with the newest firmware. You can also use the cheaper and smaller version of the Miniscope DAQ called the MiniDAQ (open-source link coming soon). Once updated to the newest firmware, any Miniscope DAQ device will work with all Miniscope and MiniCAM devices.

M12 lenses and Coaxial Cables

Just like Miniscopes, the MiniCAM uses a 50Ohm coaxial cable for power, communication, and data. Any 50Ohm coax cable should work with the system.

M12 lenses

M12 lenses and M12 Mount Lens Holders are avaiable in Amazon (can be purchased at other places too). It can be handy to buy a M12 Lens Kit that comes with a range of M12 lenses for different view angles. We have been happy with the Arducam lens set which can be found on Amazon. If you are using the optional LED illumination ring or other nIR light source make sure to remove any IR filter located in the lens if applicable.

Coaxial Cables

Any 50Ohm coaxial cable should be compatible with this system. It is not necessary to use the expensive, thin, flexible coax cables generally used with Miniscopes. The thicker the cable the longer length you can run (maxing out at around 10 to 15 meters). It generally is most convinient to get a coax cable with male SMA connectors on both ends to connect between the MiniCAM and MiniDAQ (or standard Miniscope DAQ).