Pages: [1]   Go Down
Author Topic: Using Multiple sensors to eliminate errors  (Read 462 times)
0 Members and 1 Guest are viewing this topic.
0
Offline Offline
Jr. Member
**
Karma: 0
Posts: 55
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I am making water level control unit
And i want to eliminate errors by useing 3 analog presure sensors
And reporting an error if the reading from one sensor is off by alot
Logged

Manchester (England England)
Offline Offline
Brattain Member
*****
Karma: 639
Posts: 34725
Solder is electric glue
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Fine, is there a question?
Logged

0
Offline Offline
Jr. Member
**
Karma: 0
Posts: 55
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

How to calculate witch sensor is wrong
Logged

London
Offline Offline
Tesla Member
***
Karma: 10
Posts: 6255
Have fun!
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset


It may be easier than you think. Read each sensor and compare the results. If one reading differs from the others by more than you think reasonable then you report the error.

Try writing a sketch that reports the reading of just one sensor.

When you have that working, add code to report the values for three sensors.

When that is working, add code that compares the three readings and reports a deviation large enough for you to consider it an error.

Have fun!
Logged

London, England
Offline Offline
Edison Member
*
Karma: 4
Posts: 1026
Go! Go! Arduinoooo !!!
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Hey where do you get those Witch sensors from? I have terrible trouble with Witches around my way, as well as warlocks and wizards and all kinds of magic related baddies.
Logged

Pages: [1]   Go Up
Jump to: