The archive · Product Ideas · Product decision · 2021
Surfsonar builds a depth sonar and e-ink readout into a surfboard
A curious surfer embedded a sonar sensor, Raspberry Pi and e-ink display in a foam board to read water depth while paddling.
Surfsonar (foobarbecue)
What it had to solve
At beach breaks like San Onofre Bluffs, the best waves break over sandbars that shift from day to day, and the maker often wondered how deep the water was while surfing. One day he decided to stop wondering and find out by building a depth-sensing sonar into his own board.
How it works
Foobarbecue, a surfer who rides at beach breaks like San Onofre Bluffs, kept wondering how deep the water was beneath him: waves break when they enter shallow water, and the best place to wait for a good wave is right over a sandbar that can move from day to day. Instead of guessing from wave behaviour, he decided to find out by building a depth-sensing sonar into his own surfboard, hoping to learn about the sand underneath, wave dynamics and maybe even surf better.
The build paired off-the-shelf parts: a Blue Robotics Ping2D sonar set into a hole in the bottom of a foamie board, a Raspberry Pi Zero W with a PiSugar battery, and a Waveshare e-paper display on the deck, chosen because it looks great outdoors in the sun. He cut a trench in the foam for the sensor cable, sealed the edges with silicone, and velcroed a Qi charging pad to the board rack so the electronics top up overnight; the code, mashed from the vendor examples, starts at boot and shows live depth readings.
On the first test surf the numbers were very reasonable once he was past the break: paddling out, he watched the depth tick up from about 2.4 to 3.2 metres at 100 percent confidence. Closer to shore the sonar returned nonsense readings, a failure that Hacker News commenters attributed to air bubbles in the surf zone acting as acoustic black holes rather than to the hardware.
The maker shared the full recipe, a waterlogging test of the cut foam (still 3 grams after two days soaked), and the code on GitHub, and posted it as a Show HN on 2021-10-18. The thread drew 332 points and 91 comments full of suggestions — acoustic matching compounds, passive listening to breaking waves, mapping depth with GPS — and the project carried on: a 2023-05-07 update added GPS and battery monitoring in a rebuilt version of the onboard computer.
Why it lands
- The sensor answered a question surfers actually ask — where is the sandbar today? — instead of adding a gadget without a use case.
- Putting the display on the deck made the data available mid-session, when the decision about where to wait is made.
- Choosing e-paper for sunlight legibility and wireless charging for the board rack removed the two frictions that would have killed daily use.
- Publishing the full build as an open recipe turned one surfboard into a project other tinkerers could copy or improve.
What it did
On the first test surf the depth ticked up from about 2.4 to 3.2 metres at 100 percent confidence once past the break, with noisy readings only inside the surf zone, where commenters blamed air bubbles. The Show HN post drew 332 points and 91 comments on 2021-10-18, and a 2023 update rebuilt the electronics with GPS and battery monitoring.
What you can take
Give a recurring question an instrument that lives where the question happens: a display readable in sunlight and a sensor you never have to remember to carry.
Since then
After the 2021 Show HN the maker kept iterating on the hardware: a 2023-05-07 update replaced the battery and display modules with newer models, added a STEMMA MiniGPS over I2C, and rearranged the enclosure so the display was fully visible, with battery monitoring and software power-off planned next. The writeup and open-source code remained live, and the project stayed a personal one — an instrument built because no commercial surfboard offered depth readings.
Sources
- Show HN: I built a sonar into my surfboard
- Surfsonar — putting a sonar depth sensor into a surfboard
- foobarbecue/surfsonar — source code
spotted an error? The archive wants to know.
Your turn
You just read one. Describe the brief you are staring at, and see who has been given the same problem.
Free account · 3 free questions · no card