* THE FORUM FOR ALL THOSE INTERESTED IN BUILDING AND OPERATING MODEL SUBMARINES *



Join the AMS - Registered Forum users can become members of the AMS and it's free ...... To join register on the forum first then follow the forum link to our membership form which is on our website


For further details of any events shown here also see the "Shows and Events" section on the forum

Thanks for notification of events and keep 'em coming!

.

,
,
.

. ,

;:

,./
.
.,,,

.

.

,,,,

Barrow in Furness MBC regatta and submarine event, Sunday 22nd Sept 2019,10am

Who is online?

In total there are 6 users online :: 1 Registered, 0 Hidden and 5 Guests

david f


Most users ever online was 94 on Tue 13 Aug 2019 - 2:03

Latest topics

» upgrading the SSY 1/96 ALFA kit
Pressure sensors to use with Arduino EmptyToday at 8:17 by merriman

» 2019 fun-run at Groton submarine base
Pressure sensors to use with Arduino EmptyFri 13 Sep 2019 - 14:50 by merriman

» Model Boat Convention 2019 (Haydock Park)
Pressure sensors to use with Arduino EmptyFri 30 Aug 2019 - 9:27 by david f

» 1:72 U boot Scratch built
Pressure sensors to use with Arduino EmptyWed 28 Aug 2019 - 12:30 by JuanGg

» 1:120 Spanish S-80 submarine
Pressure sensors to use with Arduino EmptyWed 28 Aug 2019 - 12:06 by JuanGg

» Thank You To Grantham Model Boat Club
Pressure sensors to use with Arduino EmptyTue 13 Aug 2019 - 17:39 by timgarrod

» Grantham Car pass
Pressure sensors to use with Arduino EmptySat 10 Aug 2019 - 7:56 by david f

» U3008 brass plaque
Pressure sensors to use with Arduino EmptyWed 7 Aug 2019 - 13:04 by warspoils

» New Owner of Sheerline Sub's
Pressure sensors to use with Arduino EmptyWed 7 Aug 2019 - 9:18 by david f

Statistics

Our users have posted a total of 10911 messages in 1790 subjects

We have 821 registered users

The newest registered user is paulillsley

    Pressure sensors to use with Arduino

    avatar
    John.redearth
    Guest

    Posts : 16
    Join date : 2012-11-30
    Age : 66
    Location : Melbourne Australia

    Pressure sensors to use with Arduino Empty Pressure sensors to use with Arduino

    Post  John.redearth on Mon 10 Nov 2014 - 2:59

    I have just become introduced to Arduino and I am ‘overboard’.

    I have previously used two electronise 4x relay switches on my boat, but now have developed an Arduino sketch to power one of their excellent 8x relay systems to do exactly what I used to have for a third the price. Not only that but have been able to write a diving and surfacing routine that responds to a ‘double tap’ of the transmitter.

    What I want to do now is make my own depth keeping system. I have an old subtech ADC1 which has died. I dug the old sensor out of it and it is an MPX5100ap. I have attached that to the Arduino and it only measures pressure less that 1 bar. Ie it is at maximum at with air pressure. Ie only works when I suck, which is most of the time.. Now there must be some trick to this, or else there may be another sensor I can use.

    The first thing I want to do is make a simple piece of code that starts the water pump when the boat breaches the surface, so a pressure sensor good enough for that would be great. Secondly to also to maintain a depth. If the MPX5100ap simply worked in reverse it would be all I need.

    Any ideas?

    John
    david f
    david f
    AMS Treasurer

    Posts : 2042
    Join date : 2010-11-10
    Age : 69
    Location : Cumbria

    Pressure sensors to use with Arduino Empty Re: Pressure sensors to use with Arduino

    Post  david f on Mon 10 Nov 2014 - 10:12

    Hi John,

    I haven't used Arduinos but I have heard good things about them - ease of use? I have mostly used PIC's with a bit of dabbling in Raspberry Pis! (Sounds Messy!)

    But your question really is about analogue inputs which are common to all processors. I am surprised that the ADC1 used that particular sensor. I would have thought an absolute one going up from atmospheric would be  more appropriate. I see quite a range are available including differential (I looked at Farnell but Ebay would be cheaper.)

    It is some years since I tried linking pressure sensors to PICs (I sort of drifted onto using accelerometer chips for level control - I posted some code recently.) Some of the issues I encountered were:

    - Pressure changes within the WTC affecting differential sensors. (I believe that US and German torpedoes had this problem for a time in WW2!)
    - Lack of sensitivity - these sensors produce 45mV/KPa. Is that enough? You can amplify this but this adds complexity and electrical noise.

    I would suggest that you do some tests with the existing pressure sensor and see if this is OK for you and the Arduino. You need to be able to measure a few inches of water pressure. You can provide this using a water manometer. (Oh all right some clear plastic tubing with some water in it!)

    David


    Last edited by david f on Wed 12 Nov 2014 - 8:37; edited 2 times in total
    avatar
    John.redearth
    Guest

    Posts : 16
    Join date : 2012-11-30
    Age : 66
    Location : Melbourne Australia

    Pressure sensors to use with Arduino Empty Re: Pressure sensors to use with Arduino

    Post  John.redearth on Mon 10 Nov 2014 - 20:30

    David

    Thanks for your advice. I do have a tube and some water but of course the sensor only measures less than one bar which means it shows a 5v out at atmospheric pressure and does not go above that. So it is useless. Exactly 'how' subtech got it to work also loses me. Do you have a suggestion of s sensor that will work? Like you I considered the two input models but I have a piston which really stuffs up the internal pressure so that will not work.

    I am still sticking to a self leveling device external to the arduino but adding that to its function would also be nice. Another day though for now.

    Cheers
    david f
    david f
    AMS Treasurer

    Posts : 2042
    Join date : 2010-11-10
    Age : 69
    Location : Cumbria

    Pressure sensors to use with Arduino Empty Re: Pressure sensors to use with Arduino

    Post  david f on Thu 13 Nov 2014 - 11:14

    Well I used an MPX 100 sensor by Motorola. The 0 to 100kPa differential one. This only has a sensitivity of 0.6mV/kPA so I had to use the amplifier shown.

    This serves as a "grim warning from history" don't try building it! It shows the complications when you have to start boosting sensor outputs. It worked and it ended it's days logging barometric pressure on to my computer! (No, I don't know why either!)
    Pressure sensors to use with Arduino Presco10

    Pressure sensors to use with Arduino Presci10

    I would NOW try one of the ones you mentioned but 0 to 100kPa. They have much better sensitivity and you may be able to interface directly. But level control is the main need.

    I think that interest in depth control in model submarines has rather waned - I don't see much commercial stuff? People at the time claimed very good performance in cruising at periscope depth etc. but many claims are made in this business!

    Let us know how you get on.

    David


    Last edited by david f on Thu 13 Nov 2014 - 11:19; edited 1 time in total
    avatar
    John.redearth
    Guest

    Posts : 16
    Join date : 2012-11-30
    Age : 66
    Location : Melbourne Australia

    Pressure sensors to use with Arduino Empty Re: Pressure sensors to use with Arduino

    Post  John.redearth on Fri 5 Dec 2014 - 9:39

    Hi

    I have finally received the right sensor. It is MPXV7007G! It works perfectly. At 1 bar it sits at 511. Sucking it goes down and as if by magic, and four unusable sensors later, it goes up. Surface pressure is 570-511, and periscope depth is about 670.

    I got this by emailing a sensor company and finally someone talked to me. Told them the problem and oila.

    So it's onward and upward now. Would anyone like to buy some sensors?

    For $20 we now have a very good answer to submarine depth keeping. More to come!

    John
    david f
    david f
    AMS Treasurer

    Posts : 2042
    Join date : 2010-11-10
    Age : 69
    Location : Cumbria

    Pressure sensors to use with Arduino Empty Re: Pressure sensors to use with Arduino

    Post  david f on Fri 5 Dec 2014 - 11:01

    Hi,

    Thanks! That sounds like a good choice.

    It looks like pressure sensors HAVE moved on. I have taken the liberty of putting a link in for the datasheet. It shows a sensitivity of 286 mV/KPa - which is much more useful than the ones I tried.

    http://pdf1.alldatasheet.com/datasheet-pdf/view/188364/FREESCALE/MPXV7007G.html

    And a very reasonable price too!

    Thanks for sharing your findings.

    David
    John Wrennall
    John Wrennall
    AMS member

    Posts : 157
    Join date : 2011-11-16
    Age : 73
    Location : Leyland

    Pressure sensors to use with Arduino Empty Re: Pressure sensors to use with Arduino

    Post  John Wrennall on Fri 5 Dec 2014 - 12:02

    Hi there John and David.

    Some further info which may be of help:-

    The graupner shark (sadly discontinued) used to have two option extras as follows

    part No 1961 - special function set which included  water sensor and lit leds
    and
    part no 1962 - deep immersion stabiliser
    I've no idea if these are still available.

    I have one of each, never fitted them to my shark, see photos below

    Pressure sensors to use with Arduino Img_0620

    Pressure sensors to use with Arduino Img_0623

    Pressure sensors to use with Arduino Img_0624

    Pressure sensors to use with Arduino Img_0625

    Pressure sensors to use with Arduino Img_0626

    Pressure sensors to use with Arduino Img_0628

    Pressure sensors to use with Arduino Img_0629

    Hope this is of help,

    John

      Current date/time is Tue 17 Sep 2019 - 15:32