Summary of Computer-Controlled Light-Up Water Fountain
La Fontaine Du Campus Est is a PC-controlled fountain with five servo-pivoted water streams, each individually switchable and lit by halogen lights, plus perimeter RGB triplets and eight Luxeon LEDs for effects. A PC plays ShowFiles to sequence choreography. Three interface boards connect the hardware to the PC: a custom valve/halogen controller (PIC18 + FTDI USB-UART) driving solenoid valves and halogen relays, a LED controller (PIC18F2455) driving 24 fountain LEDs and 24 high-current Luxeons with built-in animations, and a servo control board. Solenoid valves feed a single sump-pump with a relief valve.
Parts used in the La Fontaine Du Campus Est:
- PC running Fountain Director and ShowFiles
- Valve/Halogen controller board (custom, PIC18 microcontroller, FTDI USB-UART)
- LED controller board (custom, PIC18F2455 microcontroller)
- Servo control board
- Washing machine solenoid valves (nozzle valves)
- Relief valve
- Sump pump
- Halogen lamps for each water stream
- RGB LED triplets around the perimeter
- Eight Luxeon LEDs
- Sealed electronics enclosure mounted under the fountain
- USB and UART interfaces/cabling
System Overview
La Fontaine Du Campus Est (The Fountain of East Campus) is a computer-controlled, servo-actuated, LED and halogen-lit, sump-pump powered water fountain. It features five streams of water that can each be individually controlled (on/off) as well as pivoted (90 degrees of freedom). Each stream of water is lit by a halogen light. The perimeter of the fountain has RGB triplets that can perform various animations. The fountain and water are also illuminated by eight Luxeon LEDs. The entire system is controlled by a PC that sequences through a choreographed file called a ShowFile. Three circuit boards act as an interface between the fountain and the computer: a valve control board, an LED control board, and a servo control board. All but the last were custom built for La Fontaine Du Campus Est.
The above diagram shows the connections between the three circuit boards that run the fountain devices, the Fountain Director PC, and the fountain hardware itself.
The underside of the fountain. Blue objects with attached hoses are the washing machine solenoids used to switch each nozzle on and off.
Fountain-side electronics are mounted in a sealed box under the fountain surface.
Valve/Halogen Controller
The valves to turn the nozzles on or off are activated by relays. The halogen lamps that point up the water streams are also activated by relays. The valve/halogen controller board is a custom circuit that interfaces via USB and activates these inductive loads on demand. There is also built-in logic that ensures a relief valve is always in the proper state of operation. The circuit is based around a PIC 18-series microcontroller and an FTDI USB-UART converter.
Downloadable valve/halogen controller source code:
Valve/Halogen Controller Source
LED Controller
The LED controller is designed to serve as a general purpose lighting controller. It controls the 24 fountain-mounted LEDs as well as the eight Luxeons. All lighting animations are built into the onboard memory. A computer interfaces with the board and tells it which animation to play, and with what color(s).
The board can drive 24 high intensity LEDs (up to 50 mA each) and 24 high-current Luxeon LEDs (up to 3 watts each). The 48 outputs are controlled via a USB interface or PS/2 interpreter (designed to connect to a gyration mouse). Several accessory buttons and LED indicators are included on the board for debugging and extra features. In addition, the system can be expanded and even daisy-chained by using the UART breakout header. The device is based around a PIC 18F2455 microcontroller.
Downloadable schematics and source code:
Fountain LED Controller Board+Schematic
Fountain LED Controller Source
Water Jets
The nozzles connect to washing machine solenoid valves. These turn the water stream on or off. These valves, in turn, are coupled together and all feed into a single sump-pump output. In addition to the nozzle control valves, one extra valve acts as a relief valve. It opens whenever all nozzles are off and the pump is on.
The nozzles pivot when the servo they are attached to moves. The servos are all independently controlled by the Fountain Director.
For more detail: Computer-Controlled Light-Up Water Fountain
- How is the fountain controlled?
The fountain is controlled by a PC called the Fountain Director which sequences a choreographed ShowFile. - What boards interface the fountain to the computer?
Three circuit boards interface the fountain: a valve/halogen controller, an LED controller, and a servo control board. - How are the nozzles turned on and off?
Nozzles are turned on and off using washing machine solenoid valves activated by relays on the valve/halogen controller. - How are the water streams pivoted?
The nozzles pivot via servos that are independently controlled by the Fountain Director. - What lights illuminate each water stream?
Each water stream is lit by a halogen lamp controlled by the valve/halogen controller relays. - What LEDs are used for perimeter and overall illumination?
RGB triplets are used around the perimeter and eight Luxeon LEDs illuminate the fountain and water. - Can the LED controller run built-in animations?
Yes, the LED controller has lighting animations built into onboard memory and a computer tells it which animation and colors to play. - What microcontrollers are used on the custom boards?
The valve/halogen controller uses a PIC 18-series microcontroller and the LED controller uses a PIC18F2455. - How does the system handle excess pressure when nozzles are off?
A relief valve opens whenever all nozzles are off and the pump is on.

