This guide covers building the PoolWind hardware. Installing the software and calibrating it for your pool come next, in the setup and calibration guide.
Please read SAFETY.md first. You’ll be working with electronics next to water. Never* open or modify the pool’s own control box, pump or wiring: PoolWind connects only to a pool remote and to the Pace Display port. *(You will have to open the control box once to plug in the Pace Display cable. Disconnect power first.)
Before buying parts, you can try PoolWind on a Windows PC as a demo (setup guide, section 13) and follow the demo tour.
PoolWind depends on two things about your pool that the author could only check on his own pool, and on the skills of whoever builds it. If any of these fails, the rest of this guide won’t help, so check all three first.
If that isn’t you, find someone it describes to help: a friend, a local makerspace or an electronics hobbyist.


The finished station beside the pool, PoolWind running: pace, average pace and distance on the portrait monitor, with the waterproof keyboard and mouse in front.
See the parts list.
Tools: soldering iron and solder, wire cutters and strippers, a small screwdriver set (to open the remote), a drill (for the remote’s jack), and a multimeter (for checking the Pace Display port voltage and the Y splitter). Other tools are at the builder’s discretion.
The Raspberry Pi is a small, inexpensive computer, about the size of a deck of cards. It runs PoolWind, and everything else connects to it:
PoolWind is tested on a Raspberry Pi 5 with 8 GB of memory. (The original 2021 build used a Raspberry Pi 4; the current version hasn’t been tested on one.)
Buy a Raspberry Pi 5 starter kit (parts list, row 1) rather than the board alone. A kit includes the pieces that are easy to get wrong:

The station opened up: the Pi in its starter-kit case (right), the ribbon cable to the interface board (left), the case fan, and the heatsink’s flat side on the back wall of the waterproof case.
The microSD card is the Pi’s “hard drive”: it holds the operating system (Raspberry Pi OS), PoolWind and its settings. Ideally, use 32 GB or larger; a “high endurance” card lasts longest. However, the card that comes with a “kit” should be good enough. Swims and videos normally go on each swimmer’s own USB stick, not the card.
Keep a spare card, or a backup copy of the card, once PoolWind is set up: if the card ever fails, you can be swimming again in minutes. Use the Raspberry Pi’s own Accessories: SD Card Copier. Put a check mark on “New Partition UUIDs”.
Preparing the card and installing PoolWind are covered step by step in the setup guide, sections 2 and 3.
Along one edge of the Pi is a row of 40 pins, the GPIO header (“general purpose input/output”). Programs can switch these pins on and off, or use them to talk to sensors. PoolWind uses a few of them:
A 40-pin ribbon cable connects the header to the interface board. The exact pins are listed in section 4, under “Connecting to the Raspberry Pi”. Pin 1 must meet pin 1: a cable plugged in the wrong way round can damage the Pi.
The Pi 5 has four USB ports, exactly enough for the camera, the keyboard, the mouse and the USB extension for the swimmer’s stick. Any device works in any port. Its network (Wi-Fi or cable) is needed for installing PoolWind and for working from home.
The interface board connects the Raspberry Pi to the relays, the INA260 sensor and the two RJ45 connectors.
Upload hardware/gerbers/PoolWind_PCB_gerbers.zip
to any PCB maker, for example JLCPCB, PCBWay,
OSH Park or Aisler. It’s a standard two-layer board, 117 × 88 mm (4.59 × 3.46 in);
the maker’s default settings are fine. The ZIP holds everything the maker
needs, including the drill file (_drill.txt, every hole’s position and
size), so there’s nothing to send separately. Check the maker’s preview
before ordering: if the board shows no holes, the maker didn’t recognize
the drill file. Rename it to end in .drl (for example
PoolWind_interface_board_drill.drl), zip the files again and
upload. Some makers, JLCPCB for one, may show no preview: then check that
the size it read is about 117 × 88 mm; their engineers review the files
before making the board. The design itself is in
hardware/schematics/PoolWind_interface_board.fzz;
open it in the free Fritzing program to see the
layout.

The interface board’s wiring, from the Fritzing design (breadboard view). Left: the two RJ45 jacks, the Remote jack (UP-DN) and the Pace jack (Pace Volt In), the INA260 sensor, the two resistors R3 and R6 (the pump sensing, see below) and, along the bottom, the header for the ribbon cable to the Raspberry Pi. Right: the two 2-channel relay modules on headers JP1-JP4.

The printed circuit board (PCB view), with rulers in centimeters: the RJ45 jacks, the Pace jack (Pace Volt In) and the Remote jack (UP-DN), top left, the INA260 (“VoltMeter”) below them, R3 and R6 bottom left, the Raspberry Pi header at the bottom, and the relay headers JP1-JP4. The two relay modules (U3, U4, drawn to the right) are separate boards, connected to headers JP1-JP4 with jumper wires.
The relay modules’ JD-VCC jumper stays fitted, so each module runs entirely from the Pi’s 5 V.
There’s no special soldering order: the only delicate part, the INA260 sensor, plugs in afterward.

The INA260 breakout’s VB jumper, cut: the two gold pads in the box marked “VB” are separated by a scratch across the thin trace between them. Cut it with a sharp craft knife and check with a multimeter that V+ and VBUS are no longer connected.

The control side: short, stiff wires from the JP1 and JP2 header pins to each relay module’s GND, IN1, IN2 and VCC pins. They also hold the modules in place. The blue JD-VCC jumpers stay fitted.

The contact side: wires from the JP3 and JP4 header pins, clamped in the relays’ screw terminals (COM and NO of each relay used). The relays are marked by hand: Up, DN and On/Off. The second module’s K2 is the spare.

The author’s finished interface board, before R3 and R6 were fitted. Top: the INA260 sensor, with the empty places for R3 and R6 to its left, and the two RJ45 jacks, labeled “Pace” and “Remote” on this first-batch board (boards made from the current Gerber files print “Pace Volt In” and “UP-DN”). Below: the two relay modules (Up and Down on the first, On/Off on the second) wired to the board’s headers, and the Raspberry Pi header on the left.
Boards made from the current Gerber files need no changes.

The board seen from below (Fritzing PCB view): the bottom layer’s copper is drawn bright, the top layer’s faded.
A standard 40-pin GPIO ribbon cable (female plugs at both ends) plugs onto all 40 of the Raspberry Pi’s GPIO pins.
Mind the orientation: pin 1 on the board must meet pin 1 on the Pi. A cable plugged on the wrong way round can damage the Pi.
Hint: Looking at the Raspberry Pi board with the GPIO header strip (close to the edge of the board) toward you, Pin 1 is on the right side top. You may see small text directly next to it: J8. If you place the Interface board edge to edge where the two GPIO sets are closest to each other, you’ll see the two GPIO sets line up pin for pin on the lower 24 of the 40 pins. Connect the ribbon cable there making sure Pin 1 on each header is connected to each other. The higher Pin numbers of the connector just hover over the empty space on the Interface board.
The pins PoolWind uses:
| Pin | Use |
|---|---|
| 1 (3.3 V) | INA260 power |
| 2 (5 V) | Relay modules’ power (VCC) |
| 3 (GPIO 2, SDA) and 5 (GPIO 3, SCL) | I2C to the INA260 |
| 4 (5 V) | Remote jack (UP-DN), pin 1: powers the remote |
| 9 (ground) | INA260 ground, both RJ45 jacks’ ground |
| 11 (GPIO 17) | Relay: jet speed Up |
| 12 (GPIO 18) | Relay: jet speed Down |
| 13 (GPIO 27) | Relay: pump On/Off |
| 16 (GPIO 23) | Pump sensing (R3/R6 divider): high while the pump runs |
| 20 (ground) | Relay modules’ ground |
| Jack | Pin | Connection |
|---|---|---|
| Pace jack (Pace Volt In) | 5 | Jet-speed voltage from the Pace Display port, to the INA260’s VBUS input |
| 3 | Ground | |
| 6 | The pump line, about 38 V while the pump runs, through R6 to the pump sensing | |
| Remote jack (UP-DN) | 3 and 6 | Up button (Up relay’s NO and COM) |
| 4 and 2 | Down button (Down relay’s NO and COM) | |
| 5 and 7 | On/Off button (On/Off relay’s NO and COM) | |
| 1 | 5 V: powers the remote (it has no battery) | |
| 8 | Ground for the remote’s power |
PoolWind presses the buttons of an Endless Pools EP1 water-resistant remote. Two come with the pool: modify one and keep the other unmodified for controlling the pool by hand.
Soldering to a remote will probably void its warranty.
The modified remote gets its power from PoolWind through the cable, not from its battery. The EP1 normally runs on two CR2032 coin cells in series, about 6 V when new (5.86 V measured on the author’s spare remote), so the Raspberry Pi’s 5 V is a little below its usual battery voltage. The author’s remote has worked reliably on it.
Inside, the author’s EP1 is a Martec Access Products “3 Button Transmitter” circuit board (model BT-433M, 433.92 MHz). Another remote with the same board should work the same way.
Inside, solder a wire from each pin to its contact on the remote’s circuit board. The author used short lengths of the thin wires from a cut Cat6 cable. Positions are with the circuit board turned so that its “3 BUTTON TRANSMITTER” label reads along the top:
| RJ45 pin | Wire color (author’s) | Contact | Where |
|---|---|---|---|
| 1 | orange | Battery + terminal (5 V) | right edge, halfway down |
| 3 | white/green | Up (faster) button, one side | bottom-left button, right side |
| 6 | green | Up button, other side | bottom-left button, left side |
| 4 | blue | Down (slower) button, one side | bottom-right button, left side |
| 2 | white/brown | Down button, other side | bottom-right button, right side |
| 5 | white/blue | On/Off button, one side | center button, left side |
| 7 | white/orange | On/Off button, other side | center button, right side |
| 8 | brown | Battery ground terminal | lowest solder point on the right |
Each button gets its own two wires, and its relay connects them, just like pressing the button.
The pin numbers match the interface board’s Remote jack (UP-DN), so an ordinary straight-through network cable (Cat5e or Cat6) connects the two jacks. No special cable or crimping is needed.
If your remote is different, find each of its three buttons’ two contacts (a multimeter shows them connected while the button is held down) and wire them to the same pins. Ask in the project’s Discussions if you’re unsure.

The RJ45 breakout mounted on the back of the remote. The row of four holes beside it is left over from development (a relay that switched a laser on while the jet speed was changing, so the author could see it while swimming). A remote modified for PoolWind doesn’t need them.

The breakout’s eight pins, numbered 1 to 8, pushed through holes drilled in the case.

Inside the author’s modified EP1 remote. The wires run from the RJ45 breakout’s pins (top) to the contacts on the circuit board; each solder point is marked with its RJ45 pin number, as in the table above.

The author’s remote in its box, about 15 ft from the pool’s controller: electrical tape around the lid, putty where the cable comes in at the bottom, and a bag of desiccant beside the remote.
When the Raspberry Pi powers up, the remote’s light flashes a few times. If the remote doesn’t control the pool, pair it with the pool’s controller as the pool’s own manual describes (on the author’s pool, that takes pressing a small button on the pool controller). The modified remote only works while PoolWind’s hardware is powered; the unmodified remote is for manual control.
The pool’s control box has a port for the manufacturer’s optional Pace Display. It carries 38 V power, ground, and one line whose voltage changes steadily with the jet speed: the same jet speed always gives the same voltage. It is probably the voltage that controls the hydraulic valve. PoolWind reads it through the board’s Pace jack (Pace Volt In) and the INA260 sensor.
On the author’s pool controller there is only one port a phone plug fits into, on the bottom left edge of the controller: use that one.
Connect it with a phone cable (6-position plugs), long enough to reach from the pool’s controller to the interface board. The author’s cable has only the center four wires (a 6P4C or RJ14 cable), which is all the board needs; a 6-wire cable (6P6C, sometimes sold as RJ25 or RJ12) works too. The phone plug is smaller but fits the board’s 8-pin RJ45 jack: its six contacts land on the middle six pins of the jack.
The board uses three of the wires: the pool’s ground, the jet speed voltage and the pump line.
Note: this is the only ground connection between the pool and the interface board. It is not a safety ground (see SAFETY.md); it is used only as the reference for the jet speed voltage.
| Phone plug contact | Interface board’s Pace jack pin | Use |
|---|---|---|
| 2 | 3 | Ground (the Raspberry Pi’s ground) |
| 4 | 5 | The jet speed voltage, to the INA260’s VBUS pin: about 1.2 V to 3.2 V, always present |
| 5 | 6 | The pump line, through R6 to GPIO 23: about 38 V while the pool pump runs, 0 V when it’s off |
The other contacts aren’t connected on the board.
Phone cables come in two kinds: straight-through cables connect each contact to the same contact at the other end, and “reversed” cables (common for telephones) swap them end for end (1 to 6, 2 to 5, 3 to 4). The author’s cable is straight-through. With a reversed cable, the 38 V line and ground trade places, which is why this check is done with nothing else connected:
Essential: if the small voltage isn’t present on pin 5, or it doesn’t change with the jet speed, PoolWind will not work. It is the feedback that tells PoolWind what its remote button presses did.
Essential too: PoolWind needs pin 6 to see whether the pump is running. A cable with only the center four wires carries it.
If you have a working Pace Display, connect the interface board through a Y splitter so both stay plugged in: a short phone cable from the port to the splitter, then the Pace Display and a longer phone cable to the interface board. All three cables should be straight-through.
Choose the splitter carefully. Use a splitter that connects every wire straight through to both legs, and check it with a multimeter before connecting it to the pool.
Seal the splitter and the Pace Display in a case with desiccant bags. Use any method that works. The author’s own Pace Display was ruined by corrosion from the moist, chlorinated air.
The camera selected for this is wide angle with a 120 degree view, chosen so it can see the entire swim area of the pool without being mounted too high.
Mounting position: this depends on your pool, so there’s no single right way. However it is mounted, the camera must at least see the whole water area. Make plans so the camera will be about 5 to 6 feet above the pool. Also it is not essential that the camera is mounted exactly in the center point of the pool, still the closer the better. PoolWind has perspective correction which visually moves the camera to the center but distorts the objects it sees.
Not enough height? For the author’s 8 x 15 ft pool, the 120 degree camera centered over the pool needs to be 5½ to 6 ft away from the surface of the water. That distance may not be available. The author placed the camera about 3 ft from the center point along the lengthwise axis toward the front of the pool. The swimmer does not appear distorted when corrected.
You could bring the camera to the side, still centered on the length (15 ft). For four feet of available space, the camera would need to be brought out from the side by about 3 ft. Although the program will run fine, the side image of the swimmer may hide some movements when reviewing the video. See user manual, section 7: Reviewing your swims.
Mounting on a post to the side? Same reasoning as above, you can go off to the pool side by 3 ft and get the 8 x 15 ft from a height of 4 ft from the surface of the water. Closer to the center of the pool is always better.
The mount should be sturdy though because you don’t want the camera to shake.
A low camera also sees the swimmer’s head and hands larger and further from the center of the picture, and splashes and condensation reach it more easily.
Be flexible on your mounting plan. You will actually view what the camera sees later when the software is installed: see section 9, step 3.
Cable: a 10 ft USB extension reaches the Raspberry Pi. A longer run may need an active (repeater) USB extension.
Lighting: see the README’s notes on lighting and outdoor pools.
The Raspberry Pi, the control interface board, and the monitor sit together in a waterproof case with a clear door, beside the pool. The case used worked perfectly although the clear door came with an injection-molding spot right in the middle that was not polished down. Polishing with a Dremel tool worked but was tedious and the plastic tried to melt.
Build as you see fit. For instance, the Raspberry Pi could sit further away from the pool and the monitor and mouse could be at the pool’s edge. Whatever you choose, keep everything waterproof. Or find a waterproof touchscreen: that would be ideal if there is such a thing. You could use two monitors and set up a work station further away from the pool (the Raspberry Pi has two HDMI ports).
The keyboard is rarely used and is not needed at the pool edge. It is used for changing default settings, setting up the USB stick, for moving or deleting files, and general computer stuff.
Monitor: the 10-inch Eyoyo only just fits the case, partially within the clear door. Its control buttons had to be removed. Mount it in portrait mode (taller than wide).
Keyboard and mouse: waterproof, USB.
Heat: a closed waterproof case traps heat. For swimming alone this was no problem: the author turns the Raspberry Pi off between swims. It overheated only when left running on a hot summer’s day. The fix that works all the time is a large heatsink (about 3 × 4 in) mounted in a hole cut in the case wall and sealed, with its fins outside and its flat side inside. The Raspberry Pi is placed so it draws its air from near the heatsink.

Everything tucked in. The Pi sits behind the interface board, against the heatsink’s inside face; the fan at the back of the Pi’s case draws air from right beside the heatsink and blows it over the chips. Cables are kept away from the Pi case’s air vents. The monitor is mounted in the clear front door, and the sock is full of desiccant packs.

The closed case from behind: the heatsink’s fins outside, sealed into the case wall.
Power: a proper power supply for the Raspberry Pi and one for the monitor, plugged into a GFCI-protected outlet away from splashing water. Only use the low voltage cables, never run mains power (120 V) anywhere near the pool!
Cabling: many cables run out of the case: two low voltage power cables (Raspberry Pi and monitor), keyboard, mouse, camera, remote control, pool voltage feedback, and USB (for the user’s USB stick) cables. Bundle them, and seal them where they leave the case with waterproof cable glands. Let each cable sag in a drip loop below the case, so water runs off instead of following the cable in. The USB extension lets the swimmer plug in their USB stick outside the closed case.
Before connecting anything to the pool:
i2cdetect -y 1
should show 40 in its table.