A live updating surf poster.
- Raspberry Pi Zero W with headers $14
- Regular old USB Micro cable and wall plug (you probably have an extra one)
- Female/male jumper wires $2
- 3 micro servos $10
- >2GB flash micro card $2
- Shadow Box (I used 8x10, but it feels a bit small) $32
- Print of your beach picture $2
- Black and white printout of above photo
Total: $46
- Power drill with a variety of bits
- Wire stripper
- Tiny screwdriver
- Computer
- WiFi
I made a beach scene by taking a photo and running it through Adobe Illustrators Image Trace filter, and I'm sure you can make something creative. Try out Inkscape if you want a free image editor.
See ASSEMBLY.md
- Fetches surf data from surfline.com (currently only for Tourmaline Beach)
- Converts that data into signals to adjust the angle on servo controllers
- Runs on a raspberry pi (zero w)
Why? Getting things running with python3 was a pain. For some reason it took 10s+ to get a virtualenv setup with pipenv, so I ditched it in favor of the system python2
- Get your pi
- Install these dependencies:
python-requests
python-RPI.GPIO
- Hook up your servo wires according to the pin numbers in
actuate.py
- Run the script with
python main.py
to get live data ORpython manual.py <surf_height> <water_temp> <surf_quality>
to put in your own data
Add this with crontab -e
:
0 * * * * cd /home/elliot/code/surf-poster && python main.py >> /home/elliot/logs/surf-poster.log 2>&1
1 0 1 * * mv /home/elliot/logs/surf-poster.log /home/elliot/logs/surf-poster.log.bak && echo -n > /home/elliot/logs/surf-poster.log 2>&1