Hello Arduino Forums,
I am new here, and I am new to using the Arduino. I've recently been interviewed at a company that specializes in radio communications for an internship, and have chosen to do a school project related to this field. My goal is to use the Arduino UNO R3 board to decode a black and white photograph, convert this information into an AM radio wave, and have it decoded and displayed by the receiver on an LCD screen, or perhaps written to an SD card which I can remove, and show it has been transmitted to my class during my project presentation.
I'm a poor college student, and I know a lot of the peripherals are very affordable for the Arduino, but I'd like some guidance on exactly what will be required to accomplish this in order to minimize the money I'll spend. I've attached a very early thought map of how I'd like to go about doing this.
An early problem I speculated occurring is the issue of memory. I've googled the allotted flash memory storage, which said it was 32K bits (5K being used for the bootloader). So I speculate that I will either need an SD card attachment for the Arduino, or will have to do serial communication through a USB cable from my computer because an image is much more than 27K bits. In the thought map, I initially intended to plug my smart phone into the board, but since I have an Iphone I doubt I'd be able to find the correct cable converter. So my first question would be which of these two options is better: An SD card which contains the photo, and will be read directly by the board, or serial communication, which I am not familiar with at all, and question how the process of decoding the photograph would work in this way. I would not mind spending the money for an SD card attachment.
My program which I will upload to the Arduino on the Transmitter side will work in this way:
Row = 0;
while Row < Rowtotal
Row = Row + 1;
while Pixel < Pixeltotal
Pixel = Pixel + 1;
X =
end
end
And X will be passed to the modulator which will alter the amplitude of the wave. The receiver will detect the amplitude of the wave as one of two magnitudes, the higher amplitude signifying a 1(Black) and the lower amplitude signifying a 0(white).
I plan on using a breadboard with DC 5V power source, and using a Texas Instructs IC VCO Oscillator, which will output a 35MHz frequency given the 5V input. This AC current with 35MHz frequency will be passed to the Modulator, and this is the part I am most worried about. I am uncertain about how to incorporate the Arduino's X output into the Modulator. I've researched Modulators and have been unable to find a cheap IC modulator component, so I may have to build this myself from the circuit kit I purchased for my electrical classes.
I assume the only way to have the receiver display the photograph on an LCD screen is to have 2 Arduino boards, one with the transmitting code, and one with the receiving code.
My program which I will upload to the Arduino on the Receiver side will work in this way:
Row = 0;
while Row < Rowtotal
Row = Row + 1;
Pixel = 0;
while Pixel < Pixeltotal
Pixel = Pixel + 1;
Y =
end
end
I think it would be cool to show the LCD screen updating each individual pixel as the Radio wave is received and decoded, but I imagine it would be best to fully decode the photograph to an SD card, and then have the LCD display the photograph.
I am unsure exactly how I will accomplish initially reading each individual pixel of the photograph, and also how I will write each individual pixel during the decoding process.
I plan on decoding the AM signal by using the DC current generated by the detector in a circuit leading to ground which will pass over a resistor. The voltage drop across this resistor will signify if that pixel should be black or white.
I'm sorry this post is so long! And again, my main concern is figuring out exactly what I should need to buy in terms of peripherals for the Arduino to accomplish this process. If anyone has additional information that may simplify this process I would appreciate it a lot!
