Streaming to UART

Hello,

This is a nice project. Is it possible to stream to a serial UART? The idea is to transmit a low quality MJPEG flow through a bluetooth module (classic 2.1 with SPP)
the MJPEG quality would be low: 320x240 at 10fps in black and white.

Best regards,

Grégory

Yes that’s possible!

Perfect. Thank you for your answer.

Did you already do some tests with a Bluetooth Module?
Can you redirect me to the documentation which explains how to do it ?
Do you know the best video quality we can obtain?

Best regards,

Grégory

Hi, when haven’t tested this with the bluetooth module. However, it supports a baud rate of 115200 BPS normally. But, you can command the module to run at different baud rates. We’re not sure what the maximum value is. JPG images at 320x240 are going to take up about 15KB a piece… so, expect about 1 FPS with bluetooth speeds at 115200 BPS.

If you want faster streaming us WiFi, lower the resolution, or use a faster baud rate.

As for documentation on how to do this… we don’t have that right now. Do you have one of the firesale boards? If so, then basically all you need to do is call the compress() function on an image to get a jpg version of the image. Once you have that you can pass that image to a serial object to be sent.