Hi all,can anybody help me about code for send image via RF transmitter using arduino uno or mega
and the image store in SD card shield or memory interne in arduino
Hi all,can anybody help me about code for send image via RF transmitter using arduino uno or mega
and the image store in SD card shield or memory interne in arduino
and the extension of image is JPG
this code can apply for image JPG
and the extension of image is JPG
this code can apply for image JPG
Near-impossible with that.
The tech you're using isn't designed for reliability nor for long data streams with no error correction or many
repeated transmissions and checksums or your own clever encoding.
Basically no good for typical-sized jpg image files, throw it away. Those modules are worthless generally (unless you're
building something as basic as a remote on/off or something).
What you're actually looking for is 802.11 - get a Arduino Yun, or WiFi shield or something similar, at both ends.
A Raspberry Pi 3 would be ideal, and might end up at a similar cost.
So, you only have the TX channel. The problem is without RX channel you can't confirm information reception. Here are some suggestions:
* the transitions are likely to fail, so for a large amount of data, like image bytes, you can loose one byte and corrupt the data on the receiver, there are three ways, I can think of, to solve this:
1 use another module like this, but inverted, so you can have an RX channel and send confirmation messages to the arduino
2 send along with byte information the byte location and CRC, there are thousands of codes how to implement on the internet, so the receiver can check the info and corrected it in some cases.
3 send the byte information multiple times, along with byte offset, so you reduce the chances of corrupted data
The code would work for any kind of image extension, as you are transmitting the raw data from the file. But the receiver must know the extension to, as bmp and jpg have different compactation methods.
You can use the SD library from arduino to read the raw data from the file, using read():
http://arduino.cc/en/Reference/SD
Cheers.
There are other options rather than 802.11, there are more affordable, and are pretty reliable too. You could try Bluetooth with an UART interface, or an 802.15.4 modules like XBee or murata radios.
I agree with otavioborges
RF 434 Mhz
These are pretty cheap RF based transmitter and receiver. I bought a pair of them from ebay. They are cheap but pretty hard to get them working. Moreover they don't seem to work inside home. To do a two way communication, we will need 2 such pairs (a total of 4!).
- Xbee - Part 1 - What is the need - Freemindscafe
Remember, you get what you paid for. That is why they are so inexpensive.
Clem
I agree, but the original poster might struggle.. the simpler option may be just to use a board that already has the relevant bits and stack (i.e. any SBC with 802.11).
All depends on the available libraries. I had a lot work using an EN28J60 wifi module with Arduíno once. The wiznet modules had the default Ethernet library on arduino's IDE. or you were suggesting 802.11 without wifi protocolos?
Perhaps a good approach, if the OP is willing to change hardware, is to list the available options, rank it by price and relliability and than searching the libraries for each modules, so he can know the trade off from which one.