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

Questions about PureThermal 2 +LEPTON3.5 #37

Open
38293312 opened this issue Mar 14, 2021 · 18 comments
Open

Questions about PureThermal 2 +LEPTON3.5 #37

38293312 opened this issue Mar 14, 2021 · 18 comments

Comments

@38293312
Copy link

I use PureThermal 2 +LEPTON3.5 windows Lepton User App to use it normally, but the Android system cannot display it using OTG. I used PureThermal 1+LEPTON3.5 again, the same problem, PT2 firmware is 1.3, PT1 is version 1.0. Android APP "thermal Camera Viewer". Android phones support OTG function, I also replaced several different brands of mobile phones and tablets Tests can't be used either. Hope to help me! Thank you!

@nsknyc
Copy link

nsknyc commented Mar 16, 2021

I'm still trying to figure this out myself. I'm currently browsing around the firmware code to see whats up (interested also in uart). Is there a group forum for this?

@38293312
Copy link
Author

我仍在尝试自己解决这个问题。我目前正在浏览固件代码,以查看最新情况(对uart也感兴趣)。是否有一个团体论坛?

Sorry, I’m just an electronics enthusiast. I don’t know much about the codes and programs. I just want to use PT2 on mobile phones. The official website advertises that mobile phones can be used, so I bought it, but it didn’t work. I tried it. Change to a lower version of the firmware, the result is still not working.

@nsknyc
Copy link

nsknyc commented Mar 28, 2021

I wanted to give you a heads up. Peter-St is trying to add uyvy support on android-uvc-camera. Here's the link.
https://github.com/Peter-St/Android-UVC-Camera
You can use my settings for now to "play" with purethermal. Check https://github.com/Peter-St/Android-UVC-Camera/issues/18
It doesn't look perfect, but we will get there soon.

@38293312
Copy link
Author

我想提醒你。Peter-St试图在android-uvc-camera上添加uyvy支持。这是链接。
https://github.com/Peter-St/Android-UVC-Camera
您现在可以使用我的设置来“玩”纯热游戏。检查https://github.com/Peter-St/Android-UVC-Camera/issues/18
它看起来并不完美,但是我们很快就会到达那里。

Thank you for your help. Have you tested it with PT2+LEPTON3.5 using APP "UYVY_support.apk"? I downloaded the app you mentioned, and it failed!

@nsknyc
Copy link

nsknyc commented Mar 30, 2021

The author is currently working on this. We're trying to figure out the best approach. If you select YUY2 you should see something.

@38293312
Copy link
Author

作者目前正在对此进行研究。我们正在尝试找出最佳方法。如果选择YUY2,您应该会看到一些东西。

failure!

Screenshot_20210330_100024_humer uvc_camera
Screenshot_20210330_100030_humer uvc_camera
Screenshot_20210330_090040_humer uvc_camera

@Peter-St
Copy link

@38293312

I upgraded the PT2 to the 1.3 firmware, and it failed. Here is the test video:
https://www.youtube.com/watch?v=3SFKlTRe-G0&t=15s`

On your video it looks like, there is a problem with the cable, OR there could be a problem with the termal cam itself. The usb cam is powerd up --> the app recognizes, that there is a camera present. Suddenly after 1 sec, the granting permissions screen disapears. You couldn't even click on the button.
This could be due to hardware defects, or defective cables, or...
Otherwise it seems you can use your cam on a pc.
Eventually changing the cable could help. Using an OTG cable with additionally power supply for example.

So far,

Peter

@38293312
Copy link
Author

38293312 commented Apr 1, 2021

@ 38293312

我将PT2升级到1.3固件,但失败了。这是测试视频:
https://www.youtube.com/watch?v = 3SFKlTRe-G0&t = 15s`

在您的视频上看起来好像是电缆有问题,或者端子凸轮本身可能有问题。USB摄像头已启动->应用程序识别出存在摄像头。1秒钟后,“授予权限”屏幕突然消失。您甚至无法单击该按钮。
这可能是由于硬件故障,电缆故障或...引起的。
否则,您似乎可以在PC上使用凸轮。
最终更换电缆可能会有所帮助。例如,使用带有额外电源的OTG电缆。

至今,

彼德

I have used several additional OTG cables. The external power supply is supplied to the OTG. All the cables have the same problem.

@Peter-St
Copy link

Peter-St commented Apr 8, 2021

Have you already tried an other android device?

The resent update of my app in the Play Store already supports UYVY.

Peter

@ilie321
Copy link

ilie321 commented Aug 7, 2022

https://github.com/ilie321/thermal-cam-android-for-purethermal-1
i made this ; maybe it is working for others but not sure (only 80*60)

@Peter-St
Copy link

Peter-St commented Aug 7, 2022

hi,

can you eventually try out my app again and post a sceenshot or video rec. of the screen?
I made some changes and maybe it could work:

https://github.com/Peter-St/Android-UVC-Camera

https://play.google.com/store/apps/details?id=humer.uvc_camera&hl=de

Thx, Peter

@kubabuda
Copy link

kubabuda commented Jan 11, 2023

@Peter-St I just tested your Android-UVC_Camera (latest version 2.1.3 from Play store), with board firmware v1.2.2 and Lepton 3.5 module.
I did some some parameters tweaking and came up with these:
obraz
and now I can see something:
glitch
obraz
Camera feed is distorted: stretched to fill screen, and super glitchy. Is it matter of wrong configuration values? On laptop camera feed is stable in all the apps, even with the same OTG cable on USB C port, so cables are probably OK

@Peter-St
Copy link

Hoi,

Probably it's because of the wrong values. Try to raise the PacketsPerRequest and ActiveUrbs to 4 (max. to 16).

Theoretically, if you look at the frame size, when you perform a testrun under the Setup Method you will see the size of your frames. Your Frames should have a size of (160x120x2) 38400 bytes each. If the size differs, try to edit the values for PacketsPerRequest and ActiveUrbs.

Regards, Peter

@kubabuda
Copy link

I raised PacketsPerRequest and ActiveUrbs to 4. Now image is now stable - great thanks.
pt+android-uvc

Last thing - aspect ratio is messed, camera feed is stretched to fill display. Is there a setting to keep original aspect ratio?

@Peter-St
Copy link

👍

I think there is no option for that included up to now. Perhaps there will be one in the future.

@Peter-St
Copy link

Fix for aspect ratio is available on the github repo. (new Option included)
On Play Store the new update will be in a few days.

@kubabuda
Copy link

kubabuda commented Jan 16, 2023

obraz
New option is working as intended with PT

@ilie321
Copy link

ilie321 commented Jan 16, 2023

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

5 participants