Open da-nie opened 6 years ago
Hello,
i have tried your code and it principle works. But i have the problem, that the camera hangs after 2-3 minutes. Even when i press the fcc button the frezzed image is still on the screen.
do you have any advices for me? Could it be for example the frame buffer? I have tried this with a raspberry 3.
Thanks for help.
christian jungwirth
Hello. My lepton 3 works for a long time. You may have long wires. I used Raspberry Pi B.
Hello danie,
i think i have found the Problem, i have compiled the code from the Folder raspberry_video but your Version is that one in the Folder raspberrypi_lepton3_video.
When i start your Version i only get a black window with a red square in the upper left Corner. I have debugged your code a little bit and everytime in lepton_conroll.cpp at line 39 it Returns "NO_SEGMENT".
I have attached a Screenshot on which Position i mean.
Could you Support me a little bit please? i have also tried your Suggestion with the wires, but that was not the solution. Which wires do you are using?
Could be the kernel the Problem?
Thank you for your Support.
best regards Christian Jungwirth
Version in the Folder raspberry_video used lepton with resolution 80x60. My version in the Folder raspberrypi_lepton3_video used lepton3 with resolution 160x120. What lepton module do you have? Apparently, you have 80x60.
I'm pretty sure that i have a lepton 3 with Resolution 160x120.
My lepton Module ist 500-0726-01-ND and my breakout board is 250-0587-00-ND
The raspberry_video from novacoast (https://github.com/novacoast/Lepton-3-Module) works pretty well for me, but i am interested in your code because it Looks very interinsting.
I correctly understood that the my program "raspberrypi_lepton3_video" does not work for you? The image was not created always? Or the image was sometimes?
Hm.
My programm used spi 1!
In module main.cpp:
Maybe, you used not spi1? You used spi0?
Change SPI_PORT_INDEX to SPI_PORT_INDEX 0 and change SPI_PORT_HANDLE to spi_cs0_fd and compile.
Created version for Lepton 3 and Raspberry Pi. Used SPI 1!