A code to drive a 3sensor reading unit for monitoring the operation opf a closed circuit rebreather (CCR) with 3 electrogalvanic sensors. Also uses a DS1307 for realtime clock and an MPX5700 to read the depth (mounted inside the breathing loop to keep it 'dry'). circuit diagrams available on rebreather world.
Dependencies: DS1307 TextOLED mbed
History
Version driving HUD 9LED based) with full logging and using 0.7 and 1.2bar setpoints witha 10m switch depth. Tested in full on 5 dives in February 2013
2013-04-12, by pegcjs [Fri, 12 Apr 2013 10:16:53 +0000] rev 9
Version driving HUD 9LED based) with full logging and using 0.7 and 1.2bar setpoints witha 10m switch depth. Tested in full on 5 dives in February 2013
added store_log();in start of dive routine to make a first data point close to surface
2013-01-14, by pegcjs [Mon, 14 Jan 2013 12:55:05 +0000] rev 8
added store_log();in start of dive routine to make a first data point close to surface
Fixed bug in setswitch prevennting switch back to lowsetpoint on ascent; added hud flashes 4 flashes = going to high sp , 2 flashes = going to low sp.
2013-01-14, by pegcjs [Mon, 14 Jan 2013 12:52:45 +0000] rev 7
Fixed bug in setswitch prevennting switch back to lowsetpoint on ascent; added hud flashes 4 flashes = going to high sp , 2 flashes = going to low sp.
finalised version - ready to build permanent hardware
2012-08-07, by pegcjs [Tue, 07 Aug 2012 16:25:18 +0000] rev 6
finalised version - ready to build permanent hardware
basic function done - still no recovery of values fro cal file...
2012-08-07, by pegcjs [Tue, 07 Aug 2012 11:33:03 +0000] rev 5
basic function done - still no recovery of values fro cal file...
leds done bu need to sort out logging data and the recall of saved settings and scrub time in case of swirtchoff between dives on same scrubber.
2012-08-03, by pegcjs [Fri, 03 Aug 2012 14:19:44 +0000] rev 4
leds done bu need to sort out logging data and the recall of saved settings and scrub time in case of swirtchoff between dives on same scrubber.
just leds to go
2012-08-03, by pegcjs [Fri, 03 Aug 2012 11:29:30 +0000] rev 3
just leds to go
basic functions implemented - no backup readout for cal values or any logging. no leds or warnings setup.; need to restrict fo2 to avoid >100% issue and prevent negative depths...
2012-08-02, by pegcjs [Thu, 02 Aug 2012 16:05:46 +0000] rev 2
basic functions implemented - no backup readout for cal values or any logging. no leds or warnings setup.; need to restrict fo2 to avoid >100% issue and prevent negative depths...
barebones in place - max and min functions just added along wtih readsesnors display etc
2012-08-02, by pegcjs [Thu, 02 Aug 2012 14:55:08 +0000] rev 1
barebones in place - max and min functions just added along wtih readsesnors display etc
just started writing
2012-08-01, by pegcjs [Wed, 01 Aug 2012 15:04:18 +0000] rev 0
just started writing