@christian_yami
As mentioned before the Android IDE with the esp32 plugin has a example "CameraWebServer" that sends settings back to the camera by a web interface.
I did not mention that it also displays the image so if you load that into the esp32 you only need to do the android bit. The JPEG bit is the same and the web page source
should give ample clues to program android.
Posts made by Net-time
-
RE: M5-Camera A connect with Android App for parking aid
-
RE: M5 camera board and TTGO camera?
Thank you, thats it :)
Had a quick look and seems it might be possible, the TTGO camera is 26-pin but that seems to be the only major difference and since it's just a pair of extra GND it should be possible to just cut them. The power connections seem to be in the same places.
To twist this post in another direction, Does M5Stack have any plans for a camera with longer ribbon?
I know there are extensions too but they are bulky.
Thanks -
RE: M5 camera board and TTGO camera?
As I said above I need a longer ribbon cable, The M5stack camera is perfect otherwise as it is the slimmest product available,
has a build in charger and programming interface.
But the ribbon cable is to short for me to place where I want. ( Inside a HO scale locomotive)
So yes I'm Talking about the connector for the ribbon cable, and I know I'ts the same camera module.
What I do not know is if the M5Stack ribbon cable are connected in the same order on the ov2640 as TTGO's,
as the ribbon cable possibly is custom made to either's specification?
https://docs.m5stack.com/#/en/unit/esp32cam does not include a connector pinout( by numbers)./Net-Time
-
RE: M5 camera board and TTGO camera?
Do you perhaps have the pinout for the camera connector then so I can check for myself?
Thanks.
-
M5 camera board and TTGO camera?
Anyone know it they can be used together?
Either directly or by remapping pins?
I need a longer flat cable.
Thanks. -
RE: M5-Camera A connect with Android App for parking aid
There are several ways to connect the camera and the Android app each with it's own problems.
But first you should describe how the app will be used in more detail.
Will it be a designated unit or a mobile phone?
Will you start the app manually or do you want the app to start when the car is in reverse, under a speed limit etc?
Connection can be either in AP or ST mode.
Image can be jpeg or consecutive jpeg for http: or mjpg for rtsp: with current example projects.
As for now I'm only aware of 3 base examples, original software , CameraWebServer and micro-rtsp.
Android IDE with the esp32 plugin has a example "CameraWebServer" that sends settings back to the camera by a web interface.
Although not sure why you would like to send the settings as they should be hard coded.As for the Android end an app is not really needed as it can all be done in a browser which might explain that you have not found much in the way of examples.
So basically you open a app with a browser plugin
You could look at some security camera apps or open a app with a Vlc-plugin but then you would probably have to use micro-rtsp.
Using Vlc would also make it easy to do the overlay.This would be good as a project but it can not be used as a parking aid as you would probably not get below 0.5 seconds in delay.
It might be possible to go below that if you rewrite the code to send the picture in raw format if wifi bandwidth allows it. -
RE: M5Camera and vlc
Ok so it seems that Vlc will never be able to decode the http stream as it's not really a stream just consecutive jpeg images.
So I turned to rtsp instead and the micro-rtsp project.
I used the instructions here mgo-tech.com, to install Arduino IDE and ESP plugin (translated by google), take care to use correct pin mapping, I used that instruction as it is for M5Camera type b the same as I have.
Tried the CameraWebServer also, much nicer then the original software.Followed instructions here hackster.io to get a http/rtsp server. Worked fine except the picture was the wrong way around for my application so I copied a few lines from the CamereaWebServer example to flip it vertical and Horisontal and lowered resolution to vga.
Works fine with Vlc but a bit more sensetive to fast movement then the http stream.Why may you ask? Vlc got recording and is easily implemented in my project.
-
M5Camera and vlc
Hi!
Type B camera out of the box, Vlc 3.0.6
http://192.168.4.1 works in browser.
http://192.168.4.1/jpg works to get a still image in vlc.http://192.168.4.1/jpg_stream contrary to suggestions does not work in vlc.
Wrong url or do i need to set some vlc parameters?