60 FPS with V4?

78 views
Skip to first unread message

Meow

unread,
Oct 11, 2021, 4:00:28 PMOct 11
to Miniscope
Hi, 

We got two new miniscope v4 in the lab. Is it possible to get images with 60 Hz FPS with them? I tried to changes the FPS in the user config file but it didn't seem to work. We don't need the whole field of view if the bitrate is the limiting factor.

Best,
Mang 

Daniel Aharoni

unread,
Oct 11, 2021, 6:50:45 PMOct 11
to Miniscope
Hi Mang,
Yes it is possible to image up to around 120FPS with the V4 Miniscope but this requires a small change in the human editable videoDevices.json configuration file. The issue you might run into though is this causes a larger power draw for the CMOS image sensor which results in it heating up and becoming noisier. 

The other option would be, as you said, cutting the FOV is roughly half which could give you around double the FPS without heating up the sensor more. This change can be made in the videoDecives.json files as well.

I unfortunately do not have time to make these additions myself currently but will put them on my todo list for a future release. If you are interested in making these changes yourself I would be happy to point you in the right direct.

Meow

unread,
Oct 12, 2021, 12:49:33 PMOct 12
to Miniscope
Hi Daniel,

Thanks a lot!
I'm happy to make those changes myself. I've changed the videoDevice.json like this (changes are highlighted):

"Miniscope_V4_BNO": {
        "qmlFile": "qrc:/Miniscope_V4_BNO.qml",
        "sensor": "PYTHON480",
        "frameRate": "adjustable",
        "width": 300,
        "height": 300,
        "pixelClock": 16.6,
        "headOrientation": true,
        "isColor": false,
        "controlSettings": {
            "gain": {
                "displaySpinBoxValues":["Low", "Medium", "High"],
                "displayTextValues": [1, 2, 3.5],
                "outputValues":[225,228,36],
                "startValue": "Low",
                "sendCommand": [
                    {
                        "protocol": "I2C",
                        "addressW": "0b00100000",
                        "regLength": "1",
                        "reg0": "0x05",
                        "dataLength": "4",
                        "data0": "0x00",
                        "data1": "0xCC",
                        "data2": "valueH",
                        "data3": "valueL"
                    }
                ]
            },
            "frameRate": {
                "displaySpinBoxValues":["10FPS", "15FPS", "20FPS", "30FPS", "60FPS"],
                "displayTextValues": [10, 15, 20, 30, 60],
                "outputValues":[10000,6667,5000, 3300, 1650],
                "startValue": "20FPS",
                "sendCommand": [

                    {
                        "protocol": "I2C",
                        "addressW": "0b00100000",
                        "regLength": "1",
                        "reg0": "0x05",
                        "dataLength": "4",
                        "data0": "0x00",
                        "data1": "0xC9",
                        "data2": "valueH",
                        "data3": "valueL"
                    }
                ]
            },
.......

When the FPS is set to 60 in GUI, the image became darker. However, the real FPS is unchanged. 
Screenshot 2021-10-12 123223.png
What else should I change?

Best,
Mang

ianejo...@gmail.com

unread,
Dec 3, 2021, 5:17:19 PM (2 days ago) Dec 3
to Miniscope
Hello all,

Was a solution to this issue ever found? I encountered the same result while updating my .json files. 

Best,
Ian
Reply all
Reply to author
Forward
0 new messages