reynico / raspberry-noaa

Fully automated ISS SSTV, NOAA and Meteor satellite image downloader using Raspberry PI
https://github.com/reynico/raspberry-noaa
GNU General Public License v3.0
182 stars 56 forks source link

ISS (ZARYA)" 145.8000 is not working from schedule only METEOR-M 2 NOAA19,18,15 works well #92

Closed v222008 closed 3 years ago

v222008 commented 3 years ago
wget -qr http://www.celestrak.com/NORAD/elements/weather.txt -O "${NOAA_HOME}"/predict/weather.txt
wget -qr http://www.celestrak.com/NORAD/elements/amateur.txt -O "${NOAA_HOME}"/predict/amateur.txt
grep "NOAA 15" "${NOAA_HOME}"/predict/weather.txt -A 2 > "${NOAA_HOME}"/predict/weather.tle
grep "NOAA 18" "${NOAA_HOME}"/predict/weather.txt -A 2 >> "${NOAA_HOME}"/predict/weather.tle
grep "NOAA 19" "${NOAA_HOME}"/predict/weather.txt -A 2 >> "${NOAA_HOME}"/predict/weather.tle
grep "METEOR-M 2" "${NOAA_HOME}"/predict/weather.txt -A 2 >> "${NOAA_HOME}"/predict/weather.tle
grep "ZARYA" "${NOAA_HOME}"/predict/amateur.txt -A 2 > "${NOAA_HOME}"/predict/amateur.tle

#Remove all AT jobs
for i in $(atq | awk '{print $1}');do atrm "$i";done

#Schedule Satellite Passes:
"${NOAA_HOME}"/schedule_iss.sh "ISS (ZARYA)" 145.8000
"${NOAA_HOME}"/schedule_meteor.sh "METEOR-M 2" 137.1000
"${NOAA_HOME}"/schedule_sat.sh "NOAA 19" 137.1000
"${NOAA_HOME}"/schedule_sat.sh "NOAA 18" 137.9125
"${NOAA_HOME}"/schedule_sat.sh "NOAA 15" 137.6200

photo

Found 1 device(s):
  0:  Realtek, RTL2838UHIDIR, SN: 00000001

Using device 0: Generic RTL2832U OEM
Found Rafael Micro R820T tuner
Tuner gain set to 0.00 dB.
Tuned to 146184000 Hz.
Oversampling input by: 32x.
Oversampling output by: 1x.
Buffer size: 5.33ms
Sampling at 1536000 S/s.
Output at 48000 Hz.
Signal caught, exiting!
MihajloPi commented 3 years ago

Hi, I've had the same problem, just run sudo mkdir -p /var/www/wx/iss and change receive_iss.sh script to this:

#!/bin/sh
datetime=$(date +"%Y%m%d-%H%M%S")
timeout 660 /usr/local/bin/rtl_fm -M fm -f 145.8M -s 48k -g $GAIN -p 55 -E wav -E deemp -F 9 - | sox -t raw -e signed -c 1 -b 16 -r 48000 - /var/www/wx/iss/iss-${datetime}.wav rate 11025
MihajloPi commented 3 years ago

By the way, it seems that sound isn't properly recorded since every file is 44 bytes large and doesn't contain any sound data.

lyovav commented 3 years ago

By the way, it seems that sound isn't properly recorded since every file is 44 bytes large and doesn't contain any sound data.

i'm just add

## import common lib
. "$HOME/.noaa.conf"

in receive_iss.sh and recoring file is ok

reynico commented 3 years ago

Hi, receive_iss still needs a bit of work.

Just as a reminder: do not run scripts with sudo, rather than that create the folders and setup the permissions for the pi user.

dinoj-bg commented 3 years ago

Try to set ppm with correct one and set gain manual. It is OK for me when I change folder and permissions. BTW I run on Intel CPU platform and different user, but this do not matter.

reynico commented 3 years ago

@v222008 there's a new branch iss_support that handles almost everything for ISS reception and decoding

cd /home/pi/
mv raspberry-noaa raspberry-noaa-bak
git clone https://github.com/reynico/raspberry-noaa.git -b iss_support
cp raspberry-noaa-bak/sun.py raspberry-noaa/sun.py
cp raspberry-noaa-bak/panel.db raspberry-noaa/panel.db

and then run the migration

cd raspberry-noaa/migrations/
./20201292-iss.sh

give a try and let me know how it goes

dinoj-bg commented 3 years ago

Please correct line 15 of migration script /die=echo/ Thanks

reynico commented 3 years ago

fixed d946296

reynico commented 3 years ago

Guys I just merged iss_support into master. I'll close this issue