0
$\begingroup$

I want to send image over wireless serial communication. I am planning to capture images using either raspberry pi or stm32 mcu using DCMI and then transfer image using wireless serial communication module such as Xbee or 3DR radio which can provide air data rate upto 250Kbps at baud rate of 115200

I would like to know if there is any protocol which can send a jpeg compressed image as a wireless serial data.

$\endgroup$
2
  • $\begingroup$ The answer is "yes, there are many such protocols". Can you be more specific about your needs? $\endgroup$
    – Ian
    Commented Mar 4, 2014 at 16:10
  • $\begingroup$ I'm wanting to do the same thing where i can use two Linux systems and for one to continuously send motion-activated .jpeg images to the other but can't seem to find any documentation on how to do it. Anyone's help would me much appreciated. Thanks $\endgroup$
    – user9439
    Commented Apr 5, 2015 at 6:11

3 Answers 3

2
$\begingroup$

Once you have the image stored as a file, you can transfer that using any one of dozens of file transfer protocols, as long as it is supported by both ends of the link.

We would really like to help, but it's impossible for anyone to read your mind and see what you put on both ends of the link. And I certainly would like to help someone building a robot that can use a double crossover merging interchange (DCMI). (Hint: it's not too late to edit your question and add a few more details).

If, hypothetically, you have lots of RF noise and you're trying to transfer a file between two Raspberry Pi machines over an XBee connection, you might want to try the ZMODEM protocol. ZMODEM was designed to reliably transfer files over high-noise, high-latency, slow dial-up links. (I did a quick search and turned up this Zmodem on Raspberry Pi tutorial; you can probably find a better tutorial with a little more search time).

$\endgroup$
1
$\begingroup$

If you need realtime imagery, you should look at the many analog cameras and transmitters on the market. The FPV folks use them all the time and have really worked them out.

Obviously you'll have to deal with analog noise and conversion to digital on the other end, but it is the only thing that will give you any real range (0.5km at least) and realtime performance.

Here's one I use: http://www.readymaderc.com/store/index.php?main_page=product_info&products_id=266

$\endgroup$
0
$\begingroup$

The only way I know is using FTP protocol. YOu have to make your system connect to the internet using Ethernet Shield/ Wifi Shield/ 3G-GPRS (GSM) Shield. Then, using FTP protocol to upload the image to the local host. There are dozens of hosts that support the FTP protocol. Then, you can easily re-download the image from anywhere else connected to the host.

$\endgroup$
2
  • $\begingroup$ Welcome to R.SE... FTP is OK if file are being transferred, but he's talking about a captured image (presumably in memory). I suspect a custom protocol will be required $\endgroup$
    – Andrew
    Commented Mar 16, 2014 at 8:30
  • $\begingroup$ Thanks for your comment. I have managed myself to upload an Image to a local host using the FTP protocol. Of course, it took around 7-8 seconds for a relatively small sized image, but in theory it works. $\endgroup$
    – Adel Bibi
    Commented Mar 16, 2014 at 9:10

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.