Right click to save:
Comprehensive guide to restoration work carried out
Arduino code (version 35, 23rd March 2026)
Components diagram (PDF of image below)
Although it's possible to work out everything the sheep does by examining the code and the wiring diagram, a written description might also be useful to figure things out.
The entire sheep sculpture is powered from one 16A connection. This is connected to the control box, and can be switched off by turning the switch on the front. There is also a wall mounted switch on the RH side of the balcony as you go through the door. Inside the control box there are a series of breakers for the various items that require 230V.
This 230V supply is permanently connected to the 24V hour timer, and the 24V & 9V power supplies. The 24 hour timer has a backup battery so that it doesn't lose its settings after a power cut.
When the timer activates (just before the hour), the internal relay turns on the anemometer box, the audio amplifier, and the 5V power supply. The 5V power supply powers the arduino board, the two relay boards and the Adafruit audio board. As soon as the arduino board is powered, it begins to execute its routine. The first thing on the list, and a good indication that the system has activated, is the floodlights powering up.
The arduino then waits 30 seconds or so for the anemometer unit to wake up. It then monitors the anemometer input for a while to check for strong gusts of wind. If the wind is too powerful, the system does not deploy the sheep, but will try again an hour later.
There is also some error detection linked to the motor contactor (big relay for the motor), which means the sheep routine won't happen if there's a fault with the hydraulic pump.
If all is well, the system switches on the hydraulic pump early, as a warning to anyone sunbathing on the balcony. The music starts, and the relays begin to operate the hydraulic valves to take the sheep and wolf through the sequence.
After the music has played through and the sheep has descended, the arduino sits and does nothing until the 24 hour timer simply cuts the power. The next time the arduino is powered, the sequence starts again from the beginning.
If the sheep needs to be raised for maintenance, there is an umbilical control box attached with magnets inside the control box. Turning on any of the switches will switch the system over to manual mode when power is applied. You can use the manual push button on the 24 hour timer to activate the system for testing, although remember to set it back to auto afterwards. If a switch on the manual control interface has been activated and the arduino powered up, you will be able to lift, tip and open the sheep. You will need to use the switch labelled "spare" to activate the valve that feeds the hydraulic manifold before anything will move.