The Association of Model Submariners.

Would you like to react to this message? Create an account in a few clicks or log in to continue.

* 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 send an email with your name , address and phone number to amstreasure@googlemail.com


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

*STOP PRESS* Coronavirus. A lot of Clubs have already cancelled all activities. Check carefully before you plan any travel

.

CANCELLED because of coronavirus. Papplewick Pumping Station, Nottingham, Sunday 12th & Monday 13th April
CANCELLED because of coronavirus. Bournville Sub Day, Sunday 10th May 2020

. ,

Submarine, Boating & Sailing Weekend, Norwich MBC, Weekend of 25,26th July

,./
.
Model Boat Convention, Haydock Park (Cancelled this year)

.

Bournville Sub Day, Sunday 13th September

,,,,

Club Submarine Regatta, Furness MBC, Barrow in Furness, Sunday 20th Sept 2020

Who is online?

In total there are 3 users online :: 0 Registered, 0 Hidden and 3 Guests

None


Most users ever online was 180 on Tue Nov 05, 2019 6:03 am

Latest topics

» New Gyro On The Market
Pressure sensors to use with Arduino EmptyYesterday at 9:34 pm by timgarrod

» openLRS and 2.4 Ghz and Submarines
Pressure sensors to use with Arduino EmptyYesterday at 12:27 pm by Uptona

» PIC and Arduino microprocessors
Pressure sensors to use with Arduino EmptyThu Jul 09, 2020 10:59 pm by timgarrod

» Nautilus Drydocks SUBFEST 2020 - Cohutta, GA - Sept 18th to 20th, 2020
Pressure sensors to use with Arduino EmptyThu Jul 09, 2020 9:38 am by RCSubGuy

» Simple telemetry system for openLRS (on 458Mhz)
Pressure sensors to use with Arduino EmptySat Jul 04, 2020 12:03 pm by david f

» Patrick Henry Wanted
Pressure sensors to use with Arduino EmptyThu Jun 11, 2020 10:53 am by gantu

» What motor to use
Pressure sensors to use with Arduino EmptyWed Jun 10, 2020 1:50 am by Radioman

» Seehund Drawing
Pressure sensors to use with Arduino EmptyTue Jun 02, 2020 8:05 am by david f

» Yellow Submarine - Beatles
Pressure sensors to use with Arduino EmptyWed May 27, 2020 11:03 am by david f

Statistics

Our users have posted a total of 11154 messages in 1826 subjects

We have 860 registered users

The newest registered user is Uptona

    Pressure sensors to use with Arduino

    avatar
    John.redearth
    Guest

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

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

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

    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 : 2104
    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 Nov 10, 2014 10:12 am

    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 Nov 12, 2014 8:37 am; edited 2 times in total
    avatar
    John.redearth
    Guest

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

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

    Post  John.redearth on Mon Nov 10, 2014 8:30 pm

    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 : 2104
    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 Nov 13, 2014 11:14 am

    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 Nov 13, 2014 11:19 am; edited 1 time in total
    avatar
    John.redearth
    Guest

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

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

    Post  John.redearth on Fri Dec 05, 2014 9:39 am

    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 : 2104
    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 Dec 05, 2014 11:01 am

    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 : 74
    Location : Leyland

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

    Post  John Wrennall on Fri Dec 05, 2014 12:02 pm

    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 Sun Jul 12, 2020 6:14 pm