Dear all,
My project involves converting an image to its equivalent binary array , then using the morse code and a 434MHz transmitter i intend to transmit this information to another arduino within 100ft. the arduino recieves the information and relays it to the computer which inturn converts it back into jpeg form.
I'm using an arduino atmega 32 bit so i know its capable of storing the binary array, but the problem is i have no idea how to import an image and then covert it into binary using an arduino platform since i have primarily worked in java all my life.
Do you need to transfer the entire image to the Arduino before transmitting it, and on the receiving end, do you need to receive all of it before passing it on to the other PC?
I would be inclined to convert the image on the PC, send 100 (or 500) bytes to the Arduino. The Arduino immediately transmits that to the other Arduino which sends it straightaway to its PC for accumulation and regeneration. That way the Arduino has no need to know anything about images and all the heavy lifting is done on the PCs which have much greater resources. It also means that the Arduino RAM won't limit the size of images. I think with a bit of thought the process could appear to both PCs to be a continuous stream of data and the Arduinos would be more or less invisible.
AWOL: i'm using an Li2 Hexapod customized atmega 32 bit arduino board. I'm basically converting these 0's and 1's into on and off regulating circuit which is fed into the transmitter.besides this i'm also using a speech recognition to send any alphabet which works perfectly fine, the problem is with the images.
Robin2: i think so too, but how do i convert the image into binary using an arduino platform, its really simple in java, but i dont know how to do it in arduino.
AWOL: Thanks a lot , virtualwire is really good, the arduino board is a custom built one, but do you have any idea on how to convert the image into binary
AWOL: i meant binary or hex images are acceptable, but my query is related to converting jpeg to binary array and then sending these via the transmitter
AWOL: that is exactly where i'm stuck, i dont know how to import and convert a jpeg image in arduino program, i can do it in java using bufferedimage object but how do i do it in arduino.
Grumpy_Mike: i'm not storing it in the arduino, i'm merely using the arduino to transmit the binary bits
aditya123:
AWOL: that is exactly where i'm stuck, i dont know how to import and convert a jpeg image in arduino program, i can do it in java using bufferedimage object but how do i do it in arduino.
Grumpy_Mike: i'm not storing it in the arduino, i'm merely using the arduino to transmit the binary bits
If you want to convert a jpeg into a bit map then you need intermediate storage to do this.
But as others keep pointing out there is no need to convert it into anything all files are binary files. That is a file that holds any sort of data you might like to think of, fundamentally is a binary file.