How to get started
As you can see from the picture above, the original system was
prototyped using
veroboard. If you are not familiar with electronics, you will find it
easier to build using a printed circuit board (pcb). The layout files
are given
below. You can order
from within the expresspcb program. The MiniBoard service at expresspcb
costs US$83
for 3 boards, including a courier service to Ireland. You only need one
pcb per gauge but it is not possible to order just one pcb. (If you
have a spare pcb, please send it to Daithi Power, Electrical
Engineering Dept, University College Cork, Ireland) Alternatively, if
you have pcb making
facilities of your own, use the express pcb software to print overlays
and make a pcb yourself. The right hand side of the pcb snaps off to
make
the sensor board. The larger left side is used to make the controller
board. The controller board measures 3" by 2.5". The sensor part is
0.8" by 2.5".
To assemble and test the circuit, you will need the following tools
- Soldering iron, solder and a small wet sponge to clean the iron
- A small pliers and a snips
- Multimeter for measuring voltages and testing connections
PCB layout is
here
View and order PCBs using the free software at www.expresspcb.com Three
mini-boards cost $51 + shipping.
Assembly drawing of the layout

Layout file when viewed with expresspcb

Sensor
Start with the pressure sensor end. Its the section in the dashed
box on the first page of the schematic. Pictures of the construction
are shown
here.
You will need a soldering iron,
fine solder, a piece of vero board, a snips and a volt meter. Order the
pressure sensor
(26PCBFA6D), the INA122, and a small aluminium box from
farnell. You will also need a 4m
length of 1/4"
plastic tubing
and a long length of 3 core cable. The length of cable
depends on the distance from the sensor to the solar panel at the river
bank. Measure the distance with a throw-bag rope and add a few metres.
I used
shielded cable but ordanary house wiring cable should do fine. Solder
the circuit together, power it with a 9V or 12V battery and
measure the output using a volt meter. It should read about 0.1V
normally and increase when you suck on the tube. If all is ok, put it
in the box. You will have to drill holes in the box for the tube and
cable. Use a separator to create a cavity for the open end of the
sensor as shown in the
pictures. Test
the circuit again and then fill it with
epoxy. Make sure nothing is shorted to the
side and that epoxy doesn't get into the open end of the sensor. Test
it again while the epoxy is wet by connecting a battery to the far end
of the cable. If something has shorted, you will still have a chance
to move things around. If all is ok, stick on the lid and let it dry.
After it has cured, drop it in a barrel of water and power up the far
side of the cable with your battery. If the signal voltage reads
somewhere around 1.5V per metre of water, pat yourself on the back.
Before I potted the sensor with epoxy, I screwed the box to one end of
a 0.5m length of stainless steel. At the other end of the steel, I
drilled some 10m holes to allow me to bolt the sensor to the side of an
existing stick gauge at the river bank. The distance between the sensor
and 10mm holes allowed the sensor to be mounted under the water without
having to drill any holes under water. The system should be installed
while the river is at a very low level to ensure the sensor always
stays under water.
Pictures of
sensor construction
Datasheets for the components can be found at
Honeywell
,
Texas
Instruments and
Farnell
Controller
Order the controller components and solder them in. The PIC, PT6102 and
the INA122 can be obtained as free samples. Look at the
Bill of Materials to get
order numbers for the rest of the components. Use an ic socket to mount
the PIC. The Batt
and Phone connectors have extra holes to either use terminal blocks or
"Molex" connectors. I find Molex very convenient but if you don't have
a crimping tool, go for the terminal blocks.
Once
assembled you will need access to a PIC programmer such as the
ICD2.
If you have no way of prorgamming it, send me a PIC and I'll program it
for you.
Program the PIC using the hex file below and the MPLAB software that
you can download from
Microchip.
During programming, the ICD2
needs to be connected to, and configured to use, an external 9V supply.
If you're stuck, send me a PIC and I'll program it for you. Next power
up the system using a 12V supply or a battery. The LED
should toggle on and off every second.