Lots of life stuff has been happening lately, but its time to sit down and catch up on my blog posts. Let’s see what I’ve been up to in (roughly) the past year.
With the hardware-in-the-loop testing complete as shown in part 3, it is time to get serious- time to get the facility ready for the first run. But, before we can start the facility, there was a ton of prep work to do. As the reader can probably guess, this was a ton of work.
Back all the way in June 2025, I built up two main control boards, one for testing and one for use. I installed one board into the facility screwed to a piece of plywood. The idea was to get something, anything running, and let it exist in the wild for a while, and see if it survives a few months without blowing up. The board wasn’t connected to any power components yet, but we hooked up a variac and depth sensor to the main board. We data logged to an SD card: Water pressure from the single depth sensor, variac grid voltage (with the variac set at 12V), air pressure, and air temperature in the electronics shack.

The first time, the data logger didn’t work because I put the wrong firmware on it, but the second time, it worked, and we got some data! You can see a sharp decrease in pond depth on day 2- this was because the water flow on our river was decreased by reducing the Squam Lake outflow flow through the state-controlled top dam on our river.

More interesting was the temperature data. Its pretty clear that the electronics hut gets quite warm in the summer. Black roof, no airflow, I guess this is how it goes.

Also interesting was the line voltage measurement captured in this first log. It was not 100% steady- some amount of fluctuations are present. I am not sure how much of this is temperature drift affecting the ADCs on the board, versus how much is actual line drift. I’m sure you could do some sort of correlation to see if it has to do with day/night electricity demand, but that is for another time.

The cool data was collected, but, now let’s make this place run for real. I did a ton of coding to make the dam controller ready for the task of running the dam for real.
Now that Aaron got the turbine installed, It was time to install the control board in the cabinet. Originally, I designed my board to be mounted inside the main control panel. But the main control cabinet was already full of 1985 electronics, and Alan and Aaron were adamant that none of these electronics should be moved until my electronics worked for at least six months. This is a pretty reasonable request, given that my electronics are homemade. So, the compromise was to install my electronics in a separate box on the front of the main box. Alan made this box and I installed it on the front of the main cabinet.

This was done on July 26th, 2025. Slow but steady progress. I mounted my dam board in the box.

July and August saw little progress on the facility, due to many of us travelling. But we were primed to hit the ground running in September. Also in September, a local robotics company was going out of business, and this meant it was time for a massive cruftsplosion. Alan got a whole truckload of stuff, some of which we used for the facility.

With the cruft acquired, it was time to get back to work. We spent two full weekends in September at the dam. Because we have had nearly zero rain since July, the flow was only about 15-20 CFS, compared to the nominal 60 CFS.

We wired in the Solar Edge meter into the front panel box. This is our revenue-grade meter, which actually will report power consumption.

Also, after several calls to the town, the power company came to re-connect our 480 service. Surprisingly, there we no loud bangs when they threw the switch. “She’s armed.” Now the facility is extra spicy.

Aaron did some work on the conduit which holds the wires coming from the turbine. One joint had come loose, so he took the conduit off, blew out all the water that had seeped in, and tightened it back up.

The biggest task was wiring in the sensing current and voltage transformers for my board. This allows the board to measure power production and detect faults. The line voltage is measured through three 480 to 24V transformers. We didn’t have much space in the cabinet, but needed to mount these transformers somewhere, so they went on the side.

The voltage sense transformers mounted. I originally terminated these voltage measurement transformers in wye on both sides. Pay attention to this- this will be important for later.

Next up, I wired in the original current transformers into my board. These 200:5 current transformers make a current, which is measured on my board with hall effect sensors.

I wired in the board and connected the voltage and current transformers. Powered it up….

I also wired in the buttons on the front panel to my board. I also added a helpful label to the start switch, using a fancy label maker Aaron got from the Lincoln town dump.

We camped at the facility to get an early start. The stars up there are really, really beautiful.

I also helped with some mechanical work on the facility. Here, Aaron lowers a cooler into the basement.

I assisted by climbing up the gantry. Honestly, I don’t remember why I did this. I think it had something to do with untangling the extension cable. But it was fun.


Aaron filled the hydraulic pump unit with a bunch of turbine oil. We got it circulating the oil. The pressure was high, indicating some sort of flow restriction, but it did indeed circulate the oil.

I prepped and installed the valve controller. I wired in a potentiometer to measure the position of the valve. With the potentiometer installed, we should be able to precisely control valve position.

I also installed the valve controller in the site. I forgot to take photos of most of this (of course), but for now, I just taped it to the table. I verified that the valve controller could actually track a position command.
With the voltage and current measurement transformers hooked up, it was time to turn on the main disconnect and verify that the main board could measure the line. We threw the main facility switch- surprisingly there were no bangs. Great news! On my board though, the B phase was dead- zero volts measured. It turned out one of the 480:24 transformers was damaged during shipping, and one of the tiny 480 wires had come loose. A bit of soldering and we were back in action. We threw the big switch again and ended up with…. About 200 volts on phase A, 180 volts on phase C, and about 500 volts on phase B. Huh? I checked the wiring on my voltage measurement transformers to make sure it was correct, which it was.
This problem was a real headscratcher. We measured each line to line voltage with a multimeter, and got about 495 on each. This is as expected. But, the voltage line to neutral was nowhere near right, and the multimeter agreed with my board. We confirmed with the oscilloscope that each line had something weird going on. What was wrong? A quick check out in our gigantic transformer cabinet revealed the grid-tie transformer wiring, which was shown below:

It turned out that the output of our grid-tie transformers was actually connected in delta, not wye as I had assumed. With a delta, there is of course no neutral connection. The motor has a neutral connection, which is always tied to ground. But, with the motor not yet connected by the main contactor, all three phases are floating. This means that any line to ground or line to neutral measurements will really measure stray capacitance and resistance in the transformers- in other words, a garbage measurement. Hmm.
It is ideal to measure the voltage on each phase, so that it would be possible to see what was going on with individual phases. But, the problem was fundamentally that there is no neutral to measure to in the unconnected system, so it cannot be used. Wanting to get things working quickly, I re-connected the voltage measurement transformers in delta. This would cause other weird effects down the road, but that is for a future post.
Anyways, with a lot of prep work done, read on in the next post,