SOLVED Ir-cut switch order
-
@viktor
Hi,
I think we have some misunderstanding.what is IRCUT?
http://wiki.veye.cc/index.php/Lens_select
The lens model here, with the suffix I, is with IRCUT.
IR-CUT (Infrared cut-off filter) is a mechanical shutter design. It is placed between the lens and the image sensor, and is controlled by a motor or an electromagnet.IR-CUT has two status: Block or Deliver the infrared.
- Color Mode
Image is Color Mode and IR_CUT status Block infrared. - Black&White Mode
Image is Black&White Mode and IR_CUT status Deliver infrared.
As you can see, the function of IRCUT needs to cooperate with the image processing inside the camera in order to work correctly.
IRCUT is just an optical component that can control whether infrared light enters or not, while the image changes to black and white or color, which is the role of ISP.How to control IRCUT?
IRCUT has two control wires. We can call them A and B. For example, when A is high and B is low, the infrared is blocked,and vice versa.
What does ircutdir do?
The functions of A and B have been exchanged.For example, when A is high and B is low, the infrared is NOT blocked,and vice versa.
You can also use tweezers or soldering iron to reverse the two lines to achieve the same goal.I really think what you need is daynightmode, not ircutdir.
@viktor said in Ir-cut switch order:
I am trying ircut trigger mode 0xfc.
Default state: pin 1 has 1.8v and color image.
If pin1 connect to GRND then ircut switched and BW image.
Is it right?
NO.
- Color Mode
-
Hi Meng, thank you for answer.
Yes, i mean ircut is device with mechanical on/off IR filter functionality.
-
Where i can buy it: http://wiki.veye.cc/index.php/YT1.8-2.8I
-
As is see imx327S J4 has +/- (A/B) for IRCUT trigger.
In one polarity case (A/B) IR filter is removed and ISP set image to color.
In other case(B/A) filter moved to sensor and pass only 850nm and ISP set to mono.
It is hardware/electrical case
I am right?
-
So IRCUTDIR changes polarity of A/B, by software?
-
I have IR led array with controller: https://www.aliexpress.com/item/32962722947.html.
It is 12v input power and has IRC connector output.
If low light(night) it deliver +5v, else 0.02v -
Daynightmode mode set to 0xfc, and imx32s j2 pin1 has 1.8v, and ISP is color.
if i put pin1 to GRND then ircut triggered and ISP has mono.
I am trying put pin1 to 5v but nothing. So imx327s ircut trigger works only when pin1 to GRND and IRCUTDIR does not help.
Please help to understand.
Best regards, Viktor.
-
-
5.1. Ircut trigger works as expected, night - filter off, day - filter on.
But ISP mode wrong, night - color, day - mono.
How to invert color/mono only? -
I can't edit posts after some long time, said 3600 sec wait but it doesn't work. I should add reply. It is broken forum settings.
2(fixed). As is see imx327S J4 has +/- (A/B) for IRCUT trigger.
In one polarity case (A/B) IR filter on and ISP set image to color.
In other case(B/A) filter removed and ISP set to mono.
It is hardware/electrical case -
@viktor
Good.
Sorry for being a little busy these past two days and not responding in a timely manner.
Is there any problem that is not solved now? -
Yes, how to invert color/mono logic?
-
Where to buy ircut.
-
After some time i can't edit post:
ERROR
You are only allowed to edit posts for 3600 second(s) after posting.
Can you fix it?So i have 3 questions. Please answer it.
-
- I think you need this cmd.
http://wiki.veye.cc/index.php/VEYE-MIPI-290/327_i2c/#irtrigger - Due to the low price of individual lenses or ircut. If we do export, then the shipping cost will be a big part of the price. That's why our AliExpress store and Amazon store don't have sales links for individual lenses. If you want to buy a separate lens, you can buy a link of the camera, do not pay, ask customer service to change the price for you. Please contact customer service for details.
- I think it is fixed now.
- I think you need this cmd.
-
Thank you, will test and reply.
-
It is my solution now:
sudo ./veye_mipi_i2c.sh -w -f irtrigger -p1 1 -b 10
sudo ./veye_mipi_i2c.sh -w -f ircutdir -p1 1 -b 10Please update imx327s wiki, there no irtrigger cmd.
Thanks.
Solved. -
@viktor
You are welcome. Have a good day.