SSTV
- Embedded device + screen, mounted on a wooden plate
- ethernet cable (Sarjah)
- mini jack, 3.5mm to rca mono (active speaker)
- ADAM A3X: 1 active speaker 50Watt (Sarjah) https://www.adam-audio.com/en/ax-series/a3x/
- multiplug for mim 3 electricity plugs (110/220V, AC)
-----------------------------------------------------------------------------------------------
TX /RX
raspberry pi : + SD cARD
ip:
PYSSTV: install: https://pypi.python.org/pypi/PySSTV
prepare images
format: png !
best size: 320*240 Image must be at least 320 x 256 pixels for mode MartinM1
https://en.wikipedia.org/wiki/Slow-scan_television
Martin M1 240 lines
# sudo ~/Documents/PERFORM/PERFORM-flatbread/SSTV/Horizionline/horizon1.png horizon1.wav
TRY:# for file in *.png ; do python -m pysstv "${file}" "${file}.%jpg/wav" ; done
scripts: resize, , set height 256, save jpg>png
# for file in *.jpg ; do convert -resize x256 "${file}" "${file/%jpg/png}" ; done
# for file in *.png ; do convert -resize 320 "${file}" "${file}" ; done
codec: MartinM1
scp -r /home/ooooo/Documents/PERFORM/PERFORM-flatbread/SSTV/horizon/transmit/ pi@10.94.185.132:.
rsync --progress -ra /home/ooooo/Documents/PERFORM/PERFORM-flatbread/SSTV/horizon/transmit/ pi@10.94.185.132:/home/pi/transmit
pi@rx:~ $ rsync -ave "ssh -p 8022" root@188.210.92.35:/var/www/uploads/ /home/pi/upload
CRONJOBS/
RSYNC
/usr/bin/rsync -ave "ssh -o ServerAliveInterval=60 -o ExitOnForwardFailure=yes -o StrictHostKeyChecking=no -i /home/pi/.ssh/servername-home-fwd -p 8022" root@188.210.92.35:/var/www/uploads/ /home/pi/uploads/ --progress
INSATLL
regenerating host keys ( https://www.cyberciti.biz/faq/howto-regenerate-openssh-host-keys/ )
#rm -v /etc/ssh/ssh_host_*
#dpkg-reconfigure openssh-server
pysstv (img > wav)
#sudo apt-get update
#sudo apt-get install python-imaging
#sudo apt-get install python-pip
#sudo apt-get install python-pil
#sudo pip install pysstv
slowrx compiling
#sudo apt-get install libgtk-3-0
#sudo apt-get install libasound2-dev
#sudo apt-get install libfftw3-dev
#git clone https://github.com/windytan/slowrx.git
#make
#sudo apt-get install xserver-xorg-video-fbturbo
#sudo apt-get install xinit
need to run xserver as root user... (virtual console tty0 mess otherwise...)
blank screen
@xset s noblank
@xset s off
@xset -dpms
adapt config
autologin jessie
http://www.linuxserve.com/2015/06/how-to-enable-automatic-login-on-debian.html
prevent screen faalot
Also edit /etc/kbd/config and make sure these values are set as follows (however I believe this is only for when the lightweight desktop (LXDE) is not running (i.e. the pi is still in text / terminal mode):
BLANK_TIME=0
BLANK_DPMS=off
POWERDOWN_TIME=0
CRON
-- begin email screen dimensions --
ah nice,
our screen is 19,5*11.5cm (7.7*4.5 inch)
as the images are 4:3 ratio and the screen is 16:9,
we thought of building the screen in a wooden frontplate/mask,
red nordic pine, which sarjah can slide in the wooden platform
so the final visible screen size will be 12 * 9 cm (4.7 *3,5 inch)
the frontplate would be 25*16cm or 10*3 inch is that a good size?
something we need to know to make sure, is the dimensions of the platform as built, to make the frontplate to fit nicely.
they still have to adapt it to the inclination of the plint.
xm
-- end email screen dimensions --
-- manual --
_ casing
_ embedded device
_ installation (numbered)
_ UPLOAD/CONNECT: url / what kind of image formats /
FRIDAY
audio routing: https://trac.ffmpeg.org/wiki/Capture/ALSA
uploading images --
imagemagick /resize images
- via WirelessBelgie server -- rsync + processing (imagick / pysstv)
-
ip adres
- ssh -p8022 root@188.210.92.35
- 5.196.109.240/
-
php script + captcha+ / owncloud ~ secure service ?
http://www.w3schools.com/php/php_file_upload.asp
http://www.w3schools.in/php-script/captcha/
rsync : rsync --progress -ra root@188.210.92.35:/shares
rsync -ave --progress ssh root@188.210.92.35:/var/www/uploads /home/pi/upload
- reverse ssh can be nice..
ssh --
reverse ssh
server makest connecion with client
slowrx check
-- sstv rx
alternatives
* http://www.windytan.com/
http://windytan.github.io/slowrx/
* qsstv
---------------------------------------------
WEEKEND
CASING front panel construction
CABLING
MONDAY
---------------------------------------------
pack my stuff for Brlin / cryptodance
FINISH PACKAGE
dimension / DHL
- return address ?
TUESDAY
---------------------------------------------
POST
DHL: 954538071 / registered under Sharjah Art Foundation name.
shipping from prinses elisabethlaan 46 - 1030 schaarbeek : 146248 (insured it for 500EUR)
The shipping / consignee address is:
Sharjah Art foundation
Shawaihean Area, Arts area,
Sharjah
United Arab Emirates
Attn: Ramez Mufdi
00971 506364661
00971 6 5444113
dhl be tel: 027155050
- make tech setup 1800
- 900
- 900
-
- tech 700
- 234 (ptr_ mchobby)
- 50 kabeltjes (audio)
- 250 hout frontplate
- 167 transport budget ?
- networking gear ?
-
- manual 500
- 400
- 100
-
- 1300 m
- 1700 ptr
-
-- fin --
moeten wij btw aanrekenen ?
geen btw
-- reverse ssh --
---- pi ---
ssh-keygen -f ~/.ssh/servername-home-fwd
root@rx:/etc/systemd/system# cat /etc/systemd/system/phone-home.service
[Unit]
Description=Phone Home Reverse SSH Service
After=network.target
[Service]
Type=simple
User=pi
ExecStart=/usr/bin/ssh -NTC -o ServerAliveInterval=60 -o ExitOnForwardFailure=yes -o StrictHostKeyChecking=no -i /home/pi/.ssh/servername-home-fwd -R 12345:localhost:22 root@188.210.92.35 -p 8022
# Restart every >2 seconds to avoid StartLimitInterval failure
RestartSec=5
Restart=always
[Install]
WantedBy=multi-user.target
---- WA server ----
ssh pi@localhost -p 12345
... pasword of rpi rx box