element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • About Us
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Arduino
  • Products
  • More
Arduino
Arduino Forum Meder Reed Switch, Digmesa Flow Meter & Arduino?
  • Blog
  • Forum
  • Documents
  • Quiz
  • Events
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Arduino to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • Replies 8 replies
  • Subscribers 393 subscribers
  • Views 974 views
  • Users 0 members are here
  • sensors
  • reed
  • meter
  • flow
Related

Meder Reed Switch, Digmesa Flow Meter & Arduino?

Former Member
Former Member over 10 years ago

Hi,

 

Complete arduino newb and want to use this reed switch I already have MK04 Reed Sensors  It doesn't look like they make the exact model anymore (MK4-1A71-BV10102), but its a 1A/Form A with 2 wires.  Can I connect two wire sensors to Arduino or have to be 3 wires?  I think maybe I can do it this way, but don't want to fry anything.  bildr » Simple Temperature With Thermistor + Arduino  Or maybe don't connect 5v because magnet generates power?

 

Also have this flow meter http://www.digmesa.com/wp-content/uploads/2014/01/FLOW-SENSOR-FHKSC.pdf  Can I do it like this?  Seeedstudio Forum • View topic - Tutorial: Reading Water Flow rate with Water Flow Sensor  What I am not sure is the voltage, it says it is 20v or 24v.  I don't know how that affects things since Arduino 5v.

 

Thanks for any help!

  • Sign in to reply
  • Cancel

Top Replies

  • Robert Peter Oakes
    Robert Peter Oakes over 10 years ago in reply to gadget.iom +1
    I would suggest having the resistor to + 5V and the reed switch to ground, this way if the code programs the pin as an output and LOW, you’re not trying to ground the 5V rail without current limit and…
  • Robert Peter Oakes
    Robert Peter Oakes over 10 years ago in reply to gadget.iom +1
    Nice find Paul Looks like you can run this in the same way as the sparkfun with only a 5V supply Peter
  • gadget.iom
    gadget.iom over 10 years ago

    If you are using a two wire reed switch you can connect it like this:

    image

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • dmaruska
    dmaruska over 10 years ago

    Without looking at the datasheet, the reed switches will come in different forms.  Normally Closed (NC) or Normally Open (NO), or a Com and both NO and NC.  So depending on the one you are using, you will want to use either a pull up resistor or pull down.  Depending on how you hook the wires, to +5vdc or GND, if you connect one side to +5vdc on the NO side of the switch, used a pull down on the other side to a Digital Pin in.  This will keep the Digital pin from floating and can give you a wrong indication.  You will have to play with the NO or NC type of switch for best results.  The Magnet will wither open or close the Reed switch depending on what you are using.  This will hold true for any type of switched input.  Your pull up or pull down can be 10K ohm for larger.  Play with it until you have the best results.

     

    Regards,

     

    Dave M.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • gadget.iom
    gadget.iom over 10 years ago

    With respect to your flow meter, page 3 of he following document may help you: http://www.mpja.com/download/31430hd.pdf

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Robert Peter Oakes
    Robert Peter Oakes over 10 years ago

    The reed switch is just that a switch, activated by a nearby magnet, treat it like a button on an arduino input and you should be fine as long as the wires are not too long or near hi voltage interference

     

     

     

    The thermistor / resistor pair you show in the other diagram should work by simply feeding the junction of the two into the analog input of the Arduino, A5 for instance

     

     

     

    The reed switch is not a magnet and has no coils to generate power, it is simply a switch contact that closes when a magnetic field is close enough to make the contacts pull together (Or separate depending on the model)

     

     

     

    The flow sensor has two issues,

     

    1.       It runs on 20 or 24V or so it seems, you most lightly won’t have this available to you easily without buying an adapter

     

    2.       It does not specify the output pulse, this could be a relay contact closure, a hall effect sensor or something completely different so until you know it is tough to advise, I suggest hooking it up to a meter (Not Arduino) and powering it up to see what it gives out, if you can find more product details that would help us advise you

     

    Technically you can do something similar to the example linked in but your interface would be different depending on the output and actual supply of the flow meter

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Robert Peter Oakes
    Robert Peter Oakes over 10 years ago in reply to gadget.iom

    I would suggest having the resistor to + 5V and the reed switch to ground, this way if the code programs the pin as an output and LOW, you’re not trying to ground the 5V rail without current limit and blow the arduino pin if the read switch is closed

     

     

     

    (The Arduino has limiting built in to prevent sourcing too much current in the event the pin is grounded by the switch)

     

     

     

    Just a different option, in most cases you will be ok

     

     

     

    Peter

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Cancel
  • Robert Peter Oakes
    Robert Peter Oakes over 10 years ago in reply to gadget.iom

    Nice find Paul

     

    Looks like you can run this in the same way as the sparkfun with only a 5V supply

     

    Peter

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Cancel
  • Former Member
    Former Member over 10 years ago in reply to gadget.iom

    Yeah, that's great I didn't find that one.  I think I understand, if I use a capacitor, then I can go down to 5v.  Thanks!!!

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Former Member
    Former Member over 10 years ago

    Wow! Thanks for all the replies, I think I can work through it.  Gotta order the arduino, but waiting until I knew if I could use what I already had.  May have some more questions down the road, but thanks a bunch you guys, I really appreciate it.  It's for espresso machine I am building here if you want to check it out...Homeroasters.org - Discussion Forum: Starbucks (Saeco) Sirena

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube