lepton icon indicating copy to clipboard operation
lepton copied to clipboard

Esp32

Open GaelTshamala opened this issue 3 years ago • 1 comments

Hi Dan,

I hope you are doing well.

I have an application i am currently developing, i m about to buy this amazing module you have designed. I would like to be able to stream short videos of 5 seconds, and also take pictures with the thermal camera, as it will be used in a condition monitoring application.

My idea is to use another ESP32 to connect to the tcam module wifi, to access the data and send it to the server via another lte module. I saw you mentioned that this module can only work with the desktop application, does it mean i cannot access to the data even wih the ESP32 by sending the json commands to it?

Do you have a SPI example code for this tcam module?

Kind regards, Gael

GaelTshamala avatar Jul 06 '22 09:07 GaelTshamala

Hello Gael,

The camera can communicate with any device using WiFi (or with the Rev 4 version, the hardware interface comprised of serial and SPI slave ports). You should be able to connect to it using another ESP32. You will have to generate and interpret the json-based command set.

The python driver is being extended to support the hardware interface on the Raspberry Pi as an example.

With both interfaces the camera implements the same json command set with one exception. Because image json packets are so large (~55kB) the camera implements a new json packet called "image_ready" that it sends over the serial interface to indicate the controlling device should read the image from the SPI slave.

Let me know where I implied the camera would only work with the Desktop application and I will try to correct it as the camera is not limited to the Desktop application (it currently works with an iOS app, the python driver, a simple web server, an android app in development and other people have created drivers in Matlab and R). The intent was to create an interface that anyone could use.

Regards, Dan

danjulio avatar Jul 06 '22 15:07 danjulio