Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lepton 2.5 and its VSYNC pin #44

Closed
TinManAkshay opened this issue Jul 6, 2020 · 7 comments
Closed

Lepton 2.5 and its VSYNC pin #44

TinManAkshay opened this issue Jul 6, 2020 · 7 comments

Comments

@TinManAkshay
Copy link

Hi everyone,

Months back I was using Lepton 2.0 with breakout board v1.0(which is totally obsolete now). New Lepton 2.5 is coming along with a breakout board v2.0 and this board has introduced a new pin called VSYNC (which was not in the earlier version of breakout board v1.0).
So I wanted to ask if anybody here got the smooth output from Lepton 2.5 with breakout board v2.0 with its VSYNC pin connected to the Raspberry pi 3 B+. Did you notice anything wrong with the thermal output in case you don't connect the breakout board's VSYNC pin to the Pi and later may be resolved with VSYNC pin?

Thanks,
Akshay

@kekiefer
Copy link
Member

kekiefer commented Jul 6, 2020

None of the Linux code available (at least none I am aware of) takes advantage of this feature. In order to enable the VSYNC output from the Lepton on this pin, some I2C commands would need to be sent to the Lepton. Pylepton does not support the I2C interface for the Lepton, but it would benefit from this.

@TinManAkshay
Copy link
Author

What if we don't connect the board's VSYNC pin to the raspberry pi? Will not the output be wrong without that?

@kekiefer
Copy link
Member

kekiefer commented Jul 6, 2020

The pin does nothing unless it's enabled. It's not enabled by the code, and therefore not expected to do anything. It can be connected or not, it doesn't matter.

@TinManAkshay
Copy link
Author

I understand your point. Then what good this pin would bring to the thermal output if its enabled along with i2c pins?

@kekiefer
Copy link
Member

kekiefer commented Jul 6, 2020

The software wouldn't have to poll to see if there's a new frame available. This is an unreliable process, and causes frequent synchronization loss. It would be able to start downloading each frame exactly as soon as the frame is available.

@TinManAkshay
Copy link
Author

So what i understand from your points so far is that without VYSNC pin, the thermal output frame could face a frequent synchronization loss. To avoid that, we must enable the VSYNC pin to the raspberry pi, which gives the capability of getting the frames as soon as they are available?

That's what you have been trying to imply right?

@TinManAkshay
Copy link
Author

@kekiefer I haven't heard from you after my previous reply.

Just wanted to check that if VSYNC is not enabled, we might loose few frames and if this pin is enabled by adding I2C interface from outside, there will be synchronization, as in, no frame loss?

Thanks,
Akshay

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants