Be a fan of ScubaBoard.com

Welcome to ScubaBoard, an online scuba diving forum community where you can join over 205,000 divers from around the world discussing all things related to Scuba Diving. To gain full access to ScubaBoard (and make this large box go away) you must register for a free account. As a registered member you will be able to:

  • Participate in over 500 dive topic forums and browse from over 5,500,000 posts.
  • Communicate privately with other divers from around the world.
  • Post your own photos or view from well over 100,000 user submitted images.
  • Gain access to our free classifieds marketplace to buy, sell and trade gear, travel and services.
  • Use the calendar to organize your events and enroll in other members' events.
All this and much more is available to you absolutely free when you register for an account, so sign up today!

If you have any problems with the registration process or your account login, please contact the ScubaBoard Support Team.
Page 1 of 5 12345 LastLast
Results 1 to 10 of 50

Thread: DIY Dive Computer

 

  1. #1
    Registered


    Has not set a "status"
     

    Join Date
    Jan 2004
    Location
    Rio de Janeiro
    Posts
    37

    DIY Dive Computer

    With the advent of highly sofisticated microchip technology such as ATMEL AVR, PIC, etc. I was wondering if someone tried to actually build a dive computer ?

    All we need a pressure sensor for measuring the depth, pressure sensor for air integration, timer circuit and a case.

    The programming could be made in GNU C for Atmel AVR and since most of the chips have internal flash memory and serial ports we can do all sorts of hacking.

    The display could be a normal LCD inside the case with 2 or 3 buttons to control the whole gizmo.

    Roughly speaking I would estimate the total cost of less than USD 100. Considering the sensors would be the most expensive items.

    We can even insert some games for long lasting decompression

    Any ideas ? Thoughts ?
    1/2 Alegra on D
    1/2 Alegra on D+12h
    Will make me an Alegra Diver :>

  2. #2
    Frequent Poster


    Has not set a "status"
     

    fan(t)a(s)tic's Avatar
    Join Date
    Jan 2004
    Location
    Switzerland
    Posts
    103

    Quite a thought

    I wouldn't want to bet my life on something like that. Do us all a favour and use a back-up for the first couple of hundred dives, dude!

    I guess capability wise you're talking about more than a simple depth gauge/bottom timer! Where would you get the algorithms from? How reliable would they be? What's the max depth? (don't rely on testing, this needs static calculations!)

    Again, build it, if you want to, but make sure, it'll survive long enough to keep you out of trouble.
    fan(t)a(s)tic

    An erxtraordinary diver never
    lets himself get into a situation
    where he has to rely on his
    extraordinary skills to get him
    out of the situation.

    - adapted

  3. #3
    Scuba Instructor


    Has not set a "status"
     

    Atticus's Avatar
    Join Date
    Oct 2002
    Location
    Lake Tahoe
    Posts
    599
    Dives
    500 - 999
    I've contemplated this in the past. I write firmware for a living and am relatively familiar with basic decompression theory. I even went as far as sampling some pressure sensors and drawing up some basic schematics.

    A buhlman algorithm certainly wouldn't be hard to code.

    To make the project worthwhile you'd need to do something more useful than straight buhlman - otherwise just go buy yourself a good dive computer and call it good.

    I'm not volunteering necessarily -- I have a Nitek He that I am moderately happy with.

    Drop me a line if you progress on this - I'd like to hear what you're up to.
    Merlin A. Rhoda

  4. #4
    Frequent Poster


    Has not set a "status"
     

    frogman's Avatar
    Join Date
    Jul 2001
    Location
    Philippines
    Posts
    71
    Quote Originally Posted by Atticus
    I've contemplated this in the past. I write firmware for a living and am relatively familiar with basic decompression theory. I even went as far as sampling some pressure sensors and drawing up some basic schematics.

    A buhlman algorithm certainly wouldn't be hard to code.

    To make the project worthwhile you'd need to do something more useful than straight buhlman - otherwise just go buy yourself a good dive computer and call it good.

    I'm not volunteering necessarily -- I have a Nitek He that I am moderately happy with.

    Drop me a line if you progress on this - I'd like to hear what you're up to.
    Any ideas where I can get those sensors...ones that are small?

  5. #5
    ScubaBoard Enthusiast


    seeking enlightenment
     

    miketsp's Avatar
    Join Date
    Mar 2004
    Location
    São Paulo, Brazil
    Posts
    3,180
    Dives
    200 - 499
    Quote Originally Posted by frogman
    Any ideas where I can get those sensors...ones that are small?
    Lots of manufacturers, just go into Google and type
    miniature pressure sensor

    Examples at
    http://www.entran.com/epn.htm

    Back on the original subject, I don't know if this would be a very satisfying project, after all there are many good tested products on the market. Other than to help your own learning process there isn't much application.

    People build their own dive lights because they can make a significant saving. In the case of a computer this doesn't make sense.

    So, why not try something more exotic and something you most probably would not, or could not buy, like an inertial navigation system that would give your 3D position relative to your entry point? With modern electronics this could be made pretty small (size of a canister light), diving is a specific application which does not require long term drift control - something like 1m error per hour would be more than enough accuracy. This would have a whole host of applications eg. wreck mapping, cave mapping.
    If you need more precision you just define a reference point and take a reading at that point occasionally to obtain a drift curve for subsequent compensation of the results.

    Who knows, you may even come up with a commercial product.
    "We have not succeeded in answering all of your problems. The answers we have found only serve to raise a whole set of new questions. In some ways we feel we are as confused as ever, but we believe we are confused on a higher level and about more important things."

  6. #6
    Kim
    Kim is offline
    Here for my friends.....


    Thinks Rambo is a twat.
     

    Kim's Avatar
    Join Date
    Mar 2004
    Location
    Kyushu, Japan
    Posts
    13,272
    Photos
    1
    Quote Originally Posted by miketsp
    Lots of manufacturers, just go into Google and type
    miniature pressure sensor

    Examples at
    http://www.entran.com/epn.htm

    Back on the original subject, I don't know if this would be a very satisfying project, after all there are many good tested products on the market. Other than to help your own learning process there isn't much application.

    People build their own dive lights because they can make a significant saving. In the case of a computer this doesn't make sense.

    So, why not try something more exotic and something you most probably would not, or could not buy, like an inertial navigation system that would give your 3D position relative to your entry point? With modern electronics this could be made pretty small (size of a canister light), diving is a specific application which does not require long term drift control - something like 1m error per hour would be more than enough accuracy. This would have a whole host of applications eg. wreck mapping, cave mapping.
    If you need more precision you just define a reference point and take a reading at that point occasionally to obtain a drift curve for subsequent compensation of the results.

    Who knows, you may even come up with a commercial product.
    1m error per hour sounds a little strange - what about currents? Inertial navigation will take into consideration your own mass movements relative to a stationary exterior - but how would that work if your personal mass is moving - as well as external mass?
    ............Kim.

    At the end of the day we are all going home.

    There is nowhere else to go.

  7. #7
    ScubaBoard Enthusiast


    seeking enlightenment
     

    miketsp's Avatar
    Join Date
    Mar 2004
    Location
    São Paulo, Brazil
    Posts
    3,180
    Dives
    200 - 499
    Quote Originally Posted by KimLeece
    1m error per hour sounds a little strange - what about currents? Inertial navigation will take into consideration your own mass movements relative to a stationary exterior - but how would that work if your personal mass is moving - as well as external mass?
    That's the whole beauty of an inertial navigation system - you zero the accelerometers while you are on dry land so all subsequent accelerations/movements are related to the terrestrial globe. If you stop swimming you will register the speed of the current. The only error would occur if you zeroed at a different latitude as you would then start to register the different rotational speed of the earth, but this is not relevant in a diving application.
    "We have not succeeded in answering all of your problems. The answers we have found only serve to raise a whole set of new questions. In some ways we feel we are as confused as ever, but we believe we are confused on a higher level and about more important things."

  8. #8
    Kim
    Kim is offline
    Here for my friends.....


    Thinks Rambo is a twat.
     

    Kim's Avatar
    Join Date
    Mar 2004
    Location
    Kyushu, Japan
    Posts
    13,272
    Photos
    1
    Quote Originally Posted by miketsp
    That's the whole beauty of an inertial navigation system - you zero the accelerometers while you are on dry land so all subsequent accelerations/movements are related to the terrestrial globe. If you stop swimming you will register the speed of the current. The only error would occur if you zeroed at a different latitude as you would then start to register the different rotational speed of the earth, but this is not relevant in a diving application.
    OK - I see that. Trouble is, I have a car navi that uses both inertial - and GPS - to show me my position on the display. It's the latest Toyota Japanese system and Japan is supposed to be at the front of NAVI systems. Basically it checks the satellite every couple of minutes - and in between uses the inertial sensors. It's very easy to tell at the beginning of a ride - or going through a long tunnel (lots of them in mountainous Japan) that the inertial part is very easily fooled!!
    ............Kim.

    At the end of the day we are all going home.

    There is nowhere else to go.

  9. #9
    ScubaBoard Enthusiast


    seeking enlightenment
     

    miketsp's Avatar
    Join Date
    Mar 2004
    Location
    São Paulo, Brazil
    Posts
    3,180
    Dives
    200 - 499
    Quote Originally Posted by KimLeece
    OK - I see that. Trouble is, I have a car navi that uses both inertial - and GPS - to show me my position on the display. It's the latest Toyota Japanese system and Japan is supposed to be at the front of NAVI systems. Basically it checks the satellite every couple of minutes - and in between uses the inertial sensors. It's very easy to tell at the beginning of a ride - or going through a long tunnel (lots of them in mountainous Japan) that the inertial part is very easily fooled!!
    Few things - its actually quite difficult to project an INS for a car due to the tremendous variation of G forces - bumps in the road etc. Plus they are building a mass product trying to economise cents. And they don't want it to be as big as a canister light.
    An INS carried by a diver will rarely experience more than 1G in any direction. Also at some moment at the beginning of the dive the diver will know that he is motionless wrt the bottom and the device could have a reset button to indicate that this moment represents zero acceleration and velocity.
    This sort of precision mechanics coupled with electronics is exactly where DIY gains the most benefit.
    Nowadays with the easy availability of brushless high speed motors to drive the gyros, floating air bearings, diffraction gratings, high intensity LEDs etc, the options for the construction of sensitive accelerometers are endless, as are the use of programmable chips, microcontrollers etc to do the integration. I am pretty sure that I could put together most of the mechanics using scrap hard disk drive mechanisms as gyros for just a few US$. Mount them in gimbals with a photolithic diffraction grating to sense the movement....
    Dismantle a few old watches/clocks to get the ruby bearings..
    Put the gyros in the centre of the canister suspended on shock absorbers and mount the electronics on a flexible printed circuit around the inside of the tube....

    This strikes me as the sort of project that would be very rewarding for anybody into DIY, electronics & programming.
    "We have not succeeded in answering all of your problems. The answers we have found only serve to raise a whole set of new questions. In some ways we feel we are as confused as ever, but we believe we are confused on a higher level and about more important things."

  10. #10
    Mindless lemming


    Has not set a "status"
     

    cornfed's Avatar
    Join Date
    Jun 2003
    Location
    Beltsville, MD
    Posts
    2,533
    Quote Originally Posted by MaxAlegraD
    Any ideas ? Thoughts ?
    Along with games I think you should program in the number for DAN so you don't have to look for it when you bend the snot out of yourself.

    I seriously doubt the hardware is the difficult part of building a dive computer.
    Cornfed, aka Drew

    "I just fall more on the lines of just being an all around [jerk], which contrary to popular belief, really has nothing to do with DIR." -- JeffG

Page 1 of 5 12345 LastLast

Similar Threads

  1. Dive boat dive guide VS my computer?
    By kalvyn in forum Basic Scuba Discussions
    Replies: 50
    Last Post: May 13th, 2011, 09:20 AM
  2. Looking to buy a new Dive computer and need some help
    By Fire_medic_RescueDiver in forum Computers, Gauges, Watches and Analyzers
    Replies: 24
    Last Post: August 23rd, 2010, 09:48 PM
  3. dive computer
    By jrock1014 in forum Computers, Gauges, Watches and Analyzers
    Replies: 17
    Last Post: November 15th, 2003, 04:47 AM
  4. Dive Computer
    By Drifter in forum Computers, Gauges, Watches and Analyzers
    Replies: 4
    Last Post: September 19th, 2003, 08:24 PM
  5. First Dive Computer
    By lplace in forum Computers, Gauges, Watches and Analyzers
    Replies: 4
    Last Post: April 22nd, 2002, 09:21 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •