25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

1.6 KiB

Raspberry NOAA

Reception

First thing we need to test is reception. It’s the way to be sure the antenna, reception line, reception hardware and software are working properly. There is a test_reception.sh script that makes testing easy, just tune a broadcast FM near you and listen to the audio, then make the proper adjustments to improve reception.

Open a SSH connection to your Raspberry PI and execute test_reception.sh <tune frequency>.

cd raspberry-noaa/
./test_reception.sh 90.3

Now open a terminal on your Linux/Mac/(And maybe windows?) computer and run

ncat your.raspberry.pi.ip 8073 | play -t mp3 -

where your.raspberry.pi.ip is your Raspberry PI IP address. Now you should listen to the frequency tuned before

Schedule

This project uses crontab to schedule the scheduler (funny huh?). Running

crontab -l

This will show the schedule entry for schedule.sh, the script that downloads the kepler elements from Internet and creates at jobs for each pass.

atq

Will show the scheduled jobs for today, each job can be described using at -c <job_id>.

Images

Images are saved in the web server’s directory, so you can access your received images at http://your.raspberry.pi.ip/, where your.raspberry.pi.ip is your Raspberry PI IP address.

Pruning

Run prune.sh to delete old images. By default it deletes the 10 oldest images from the disk and the database. If you want to schedule this task, run

cat <(crontab -l) <(echo "1 0 * * * /home/pi/raspberry-noaa/prune.sh") | crontab -