Welcome to ScubaBoard, an online scuba diving forum community where you can join over 205,000 divers diving from around the world. If the topic is related to scuba diving, this is the place to find divers talking about it. 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.
  • Find a dive buddy or communicate directly with scuba equipment manufacturers.
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 7 123456 ... LastLast
Results 1 to 10 of 70
Like Tree9Likes

Thread: Dive depth logger with arduino

 

  1. #1
    Registered


    www.diveduino.com
     

    buton's Avatar
    Join Date
    Aug 2011
    Location
    Fort Worth, Tx
    Posts
    400
    Dives
    50 - 99

    Dive depth logger with arduino

    So i am in the process of doing my own logger with an Arduino pro mini and the pressure sensor ms5541c MS5541C

    IMAG1098.jpg

    so far now i am reading the temperature and the pressure which is reading in texas 983 mbar which is fine i think.


    next step is to add a graphic display which i already ordered, i bought two of them to see which one looks cooler..


    Monochrome 128x64 OLED graphic display ID: 326 - $19.50 : Adafruit Industries, Unique & fun DIY electronics and kits
    Nokia 5110/3310 monochrome LCD + extras ID: 338 - $10.00 : Adafruit Industries, Unique & fun DIY electronics and kits
    oled12864_LRG.jpg

    and
    nokia5110_LRG.jpg


    my concern is how to install the sensor exposed, i am planning to buy one of the boxes below. How can i install the sensor is pretty small is 5.8 mm in diameter, i wonder if doing a hole and install it with some epoxy resin or glue... do you have any ideas? on who can i mount it?


    Medium waterproof OtterBox [2000] ID: 341 - $15.00 : Adafruit Industries, Unique & fun DIY electronics and kits
    otter2000compare_LRG.jpg


    after trying out this on the pool i will work on saving data of temperature, and time to an micro sd card so you can download in excel and graph you dive profile.


    i will keep you informed ...

    any ideas on how to put the sensor exposed to the water will be very usefull

    thanks

  2. #2
    Photographer


    doesn't really have a status.
     

    ubp_sanity's Avatar
    Join Date
    Apr 2009
    Location
    Kitchener, Ontario
    Posts
    69
    Dives
    100 - 199
    I'll be interested in how this turns out. I'm not sure, but it looks like the sensor is designed to seal itself against an opening. Maybe a sealed box containing the electronics inside another box for mounting the sensor?




    ---
    I am here: http://tapatalk.com/map.php?mni2ry

  3. #3
    Registered


    www.diveduino.com
     

    buton's Avatar
    Join Date
    Aug 2011
    Location
    Fort Worth, Tx
    Posts
    400
    Dives
    50 - 99
    in that picture the sensor has an o-ring of 5.8mm but it is kind of thick. other option is put the oring and press the sensor against housing.

    here are more pics of the sensor
    Attached Images Attached Images

  4. #4
    ScubaBoard Supporter
    Go Red - Support SB!

    On the road.....
     

    TNRonin's Avatar
    Join Date
    Aug 2005
    Location
    Cookeville, TN, (AKA God's Country)
    Dives
    200 - 499
    Photos
    6
    I would try it just in the box. Chances are good that it is sensitive enough to feel any degree of compression, and the box will compress some even though it is rigid. As long as the box is waterproof the air will compress accordingly. Give it a try, what have you got to loose.
    buton likes this.

    If you haven't done it, please think about supporting SB, this is a great place to hang, and as a supporter it's only $3.95/mo. Just go to the "community" tab and "Go red". Thanks!


  5. #5
    Registered


    www.diveduino.com
     

    buton's Avatar
    Join Date
    Aug 2011
    Location
    Fort Worth, Tx
    Posts
    400
    Dives
    50 - 99
    I hooked an oled display and it is working reading temp and presure..posting pictures tomorrow

  6. #6
    Photographer


    gets 44 MPG, room for 8
    tanks & 4 divers.
     

    Mark Derail's Avatar
    Join Date
    Sep 2011
    Location
    Montreal, Quebec CA
    Posts
    1,086
    Dives
    25 - 49
    Way cool!

    Exotic Dive Locations
    Akumal, Dos Ojos & Cozumel 2011
    Florida in springs, 2011
    Maui, HI 2011
    Grand Cayman 2012

  7. #7
    Registered


    www.diveduino.com
     

    buton's Avatar
    Join Date
    Aug 2011
    Location
    Fort Worth, Tx
    Posts
    400
    Dives
    50 - 99
    so this is how it is looking so far, i am going to buy the dry case and put inside and see what happens...

    also i will do some touch up to the screen and do a mor visual HMI...

    temperature is in C and pressure on mbar


    i have this conected to a 3.3 v lithium battery(coin) it has been running since yesterday at 11 pm..

    so far almost 11 hours with a sampling interval of 5 seconds..
    dcoled.jpgdcoled2.jpg

  8. #8
    Divemaster
    Badge


    Has not set a "status"
     

    wukong's Avatar
    Join Date
    Apr 2006
    Posts
    3
    Quote Originally Posted by buton View Post
    so this is how it is looking so far, i am going to buy the dry case and put inside and see what happens...

    also i will do some touch up to the screen and do a mor visual HMI...

    temperature is in C and pressure on mbar


    i have this conected to a 3.3 v lithium battery(coin) it has been running since yesterday at 11 pm..

    so far almost 11 hours with a sampling interval of 5 seconds..
    dcoled.jpgdcoled2.jpg

    Hi! Interesting project you have going there! do keep us updated!

    I have two ideas on what you can do to house the electronics.

    Idea 1:

    I would like to recommend that you try a normal plastic box solely to protect the electronics from knocks and bumps. I don't think there's an issue with electronics performing under pressure. =p but i'm a mechanical guy, so i wouldn't know.

    Next, drill a hole big enough for the wires (but not big enough for the sensor to pass through) and leave the sensor outside the box, connected to the board in the box via the wires. It doesn't have to be water proof at this stage.

    After that, put the plastic box and the sensor into a water proof bag like one of these:

    The box provides the structural strength for the circuitry, and the waterproof bag provides the waterproofing, while still allowing the pressure to get to the sensor. The only downside is that there still might be some pressure transmitted to the circuitary, but i don't think that should be a problem.


    The next idea i have is simpler, but might be riskier.

    Idea 2:

    wrap the sensor with a condom. Leave the open end of the condom in the box and the sensor head outside the box. Then close the box, clamping on the wires and condom. It's a good ideal to ensure sufficient spacing between the wires so that the o-ring of the box can wrap around the wires completely.

    If you get the right kind of box with suitably compressible o-rings, and the gap between the faces sealing the o-ring is just nice, it might just work!

    There's obviously a few problems with this idea, such as O-ring being deformed, wires breaking due to the clamping, you might not even be able to close the cover properly. But it's a neat idea if it works! hahah..
    buton likes this.

  9. #9
    Registered


    www.diveduino.com
     

    buton's Avatar
    Join Date
    Aug 2011
    Location
    Fort Worth, Tx
    Posts
    400
    Dives
    50 - 99

    Big Grin

    I worked on this the last week and I got to test the system under pressure in a chamber were my LDS test the computers. The electronics where no in a box so we just tested for a pressure equivalent to 40 feet.. see the pictures, the sensor was accurate as I can say, the analog gage was at about 40 feet and the sensor was reading 40 feet and the equivalent in mbar…

    Look at the pictures…

    I also got last Friday the MicroSD card module and I am getting a new microsd card this week( the one I got at home did not work(old)..

    I tested my cellphone memory card with the microcontroller and it got to read my files an everything..

    My goal for this week is to make the necessary function to write to a text file the temperature and pressure from the sensor in the file so you can open it in excel format delimited by “ , “.


    I will keep you posted…



    IMAG1114.jpgIMAG1111.jpgIMAG1112.jpgIMAG1113.jpg

  10. #10
    DIR Practitioner


    DARKSUCKER
     

    Join Date
    Mar 2009
    Location
    Kocevje , Slovenia , Europe
    Posts
    651
    Dives
    I'm a Fish!
    Photos
    188
    add hall sensor to detect and store orientation
    http://www.candlepowerforums.com/vb/...GHTING-LIBRARY___ PROBABLY BEST WEB PAGE ABOUT DIVING LIGHTS ;-)

Page 1 of 7 123456 ... LastLast

Similar Threads

  1. Diving depths - with kids
    By creekland in forum New Divers and Those Considering Diving
    Replies: 24
    Last Post: May 21st, 2006, 05:41 PM
  2. Replies: 16
    Last Post: November 9th, 2002, 05:52 AM
  3. At what depth and with how much air do you weigh yourself neutral?
    By Scuba in forum Basic Scuba Discussions
    Replies: 18
    Last Post: September 1st, 2002, 03:11 AM
  4. Is Suunto Dive Manager compatible with Windows XP?
    By Lurker in forum Computers, Gauges, Watches and Analyzers
    Replies: 1
    Last Post: May 6th, 2002, 12:34 PM
  5. Diving Depth
    By Hanky00 in forum Diving Medicine
    Replies: 2
    Last Post: January 29th, 2001, 09:00 AM

Posting Permissions

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