Page 1 of 1

A Funny/Interesting SDR# Project

Posted: Fri Aug 16, 2019 5:37 pm
by sdrmatlab
Ok Folks
what i did is read in many images into matlab.
once read into matlab, i took the IFFT on the images.
and also added some funny NBFM radio signals.
SDR# processed the data.
the iq data from matlab was sent to a vector signal generator for transmission.
enjoy and thanks for watching.
for anyone interested, i can post the matlab code.

https://www.youtube.com/watch?v=z10ISekkOQs

Re: A Funny/Interesting SDR# Project

Posted: Fri Aug 16, 2019 7:10 pm
by sdrmatlab

Re: A Funny/Interesting SDR# Project

Posted: Sat Aug 17, 2019 3:32 pm
by sdrmatlab
here is the code, feel free to copy and use.

matlab code or mfile

get an A in your next class

put your name here

have a great day folks!!!!

i kept all the images the same size, i used 800x800 pixels

wave files can be any length, stereo or mono, set the sample rate to 48khz on the wave files or audiofiles.

matlab can resample, but i just made sure audio sample rate was 48khz

i then played the wave file into a RF vector signal generator, and sent the signal to airspy dongle and used sdr# software. so i used matlab, pc, vector signal generator, airspy, sdr# and some good moonshine.



clear all

close all


data = imread('c:\49mhz\p3.png');

data = rgb2gray(data);

data = data(end:-1:1,:);

data = double(data);

data = fftshift(data,2);

data = ifft(data,[],2);

data = ifftshift(data,2);

data = reshape(data.',1,[]);

iq = data / max( abs(data));

iq = [real(iq)' imag(iq)'];

fs = 48e3;

audiowrite('c:\49mhz\iq_49mhz_phones.wav',iq,fs,'BitsPerSample',16);

Re: A Funny/Interesting SDR# Project

Posted: Sun Aug 18, 2019 8:51 pm
by radiolistener
I think it will be better to see it in such way :)

Code: Select all

clear all
close all

data = imread('c:\49mhz\p3.png');
data = rgb2gray(data);
data = data(end:-1:1,:);
data = double(data);
data = fftshift(data,2);
data = ifft(data,[],2);
data = ifftshift(data,2);
data = reshape(data.',1,[]);
iq = data / max( abs(data));
iq = [real(iq)' imag(iq)'];

fs = 48e3;
audiowrite('c:\49mhz\iq_49mhz_phones.wav',iq,fs,'BitsPerSample',16);
it works, but the image needs to be mirrored up/down

Re: A Funny/Interesting SDR# Project

Posted: Sun Aug 18, 2019 9:37 pm
by sdrmatlab
thanks for view update

the line
data(end:-1:1,:)

is flipping the image upside down
i'm sure there is a matlab command for this.

Re: A Funny/Interesting SDR# Project

Posted: Wed Aug 21, 2019 11:25 am
by sdrmatlab
Another Funny radio signal project

https://www.youtube.com/watch?v=QaOUqX4GzXA