After a lot of experiments, and programming :these graphs shows
what to expect. Remember it's made with very simple electronics.
What you need is : two light sensitive resistors, a small light
bulb , a magnet. Even the power is coming out of the computer !
Yes that's all for the electronics.
An older computer will do the rest. The magnetometer is connected
to the joystick input. The joystick input gives you 4 digital to
analog converters. In fact it's a 8 bit converter, so in theory
you have 255 steps in measurement level.
Together with some software, written in GW basic, the data is measured
and stored.
It took me some time, but it does the things I wanted.
Some features:
- each day at 11.59.30 o'clock , data is saved on floppy and on
the hard disk (for safety a double saving), then at 12.00.00 the
first measurent is done for the newly started periode of 24 houres.
- two graphs are visible on the screen, one for the last 4 houres;one
for the last 24 houres.
- every 30 seconds new data is plotted in the 4 houres graph
- every 3 minutes new data is plotted in the 24 houres graph
- the amplifying can be changed with two inputs. Don't leave them
unused. This will slow down the calculations in GWbasic.
- when you have to work on the program, you have the possibilty
to make a store of the allready gathered data.
- each stored file gives info of the starting time, day , maximum
and minimum value. Size off the stored file with 2880 data points
in 24 houres = 17 kBytes. The files can be easily opened in EXCEL.
Just have a look at the screen dump placed on the right side of
this page. In this picture you see two data lines, the green line
is a control measurement ( a resistor is connected to the joystick).
In this way you can see how good the stability is (max= 31; min=28).
The yellow line is de magnetometer data.
Click on the pictures for a bigger one ! |