Comments (2)
Sounds fun! Unfortunately, based on your description, I'm not entirely sure what you are asking. For example where are the buttons and what serial interface? Is an arduino controlling to the servos/motors? If so, how do you envision it communicating with tCam-Mini?
The primary serial interface is connected to the USB UART so probably can't be used for anything else (theoretically the ESP32 TX output could talk to something but those signals are hidden in the PCB and not available).
Starting with FW 2.0 there is a (currently undocumented) new hardware interface that makes use of the second serial port in the ESP32 and will be available on future PCBs but this is used for a new mode that allows an external controller to communicate with tCam-Mini directly instead of using WiFi.
Finally there is the internal I2C bus which is exposed on an expansion interface. This is used by the firmware to configure the Lepton through its CCI interface. I would use this interface if I were adding an expansion function to tCam-Mini. It would communicate with some external controller like an Arduino that presents itself as an I2C slave. Then you could add support for an additional json command packet to the FW which could be used to deliver custom data via the I2C interface (using the FW's internal I2C API). You'd also need custom code on the other end capable of sending this packet (e.g. none of the apps I've written to support tCam-Mini would know anything about this new command).
It doesn't make sense for me to add one-off functionality for individual users of the camera but I do encourage you to consider making your own custom firmware. As I mentioned above you'd also have to make a custom program to control the camera and view images from it (but this could be facilitated using a modified copy of the json library with your new command added).
from lepton.
Thanks for the quick answer, I hadn't realised that the USB UART overrides the serial interface. Thanks for the many points of reference, I'll have to think about how best to do this. Your code is not public, is it? I can understand that you don't want to incorporate the feature. Thanks anyway, I'll have to think about how to solve the problem for myself.
from lepton.
Related Issues (20)
- cJson.h . I must be missing something as I can't find this file in the source tree HOT 2
- Packaging and Licensing HOT 3
- transfer stop while ffc HOT 4
- Mobile App HOT 1
- Change palette in streamtest.py HOT 1
- Esp32 HOT 1
- Connect external antenna on tCam-Mini HOT 2
- Building with idf.py fails HOT 11
- Feature Request: RTSP tCam-mini HOT 3
- tCam-Mini maximum Wifi password length should be 64, not 32 HOT 2
- Web app stalled at "Application is ready" HOT 4
- Questions about the wifi mode of tCam-Mini HOT 3
- Change default palette in the Lepton Module HOT 2
- web server on ESP32 show lepton image
- ESP 32 and Flir Lepton 3.5: OEM GPIO VSync Phase Delay HOT 2
- shutter control HOT 5
- shutter control through external pins? HOT 2
- Image Analysis in FLIR TOOLS HOT 3
- Typo
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lepton.