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 hall-effect pulse output to Omron H7EC counter
  • 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
  • State Not Answered
  • Replies 2 replies
  • Subscribers 391 subscribers
  • Views 482 views
  • Users 0 members are here
  • omron counter
  • arduino
  • flow sensors
Related

hall-effect pulse output to Omron H7EC counter

ngant17
ngant17 over 8 years ago

How would I wire an Omron H7EC pulse counter to my Arduino UNO, using 3-wire hall-effect flow sensor with its signal wire plugged into digital pin 2 of the Arduino?   Since the Omron already has the LCD screen to read the pulses, I don't really need to add an Arduino LCD shield for that purpose. 

 

It's very easy to get pulse output with the hall-effect flow sensors using the Arduino IDE and serial monitor as output.  But I'm trying to figure out how to wire the 3 wires from the flow sensor (pos., neg., and signal) to get some pulses to display on the Omron, which are using 2 connections for input signal.  Otherwise I'm stuck with using the laptop with the serial output and Arduino IDE which is a little more cumbersome outside in the field where I need to monitor pulse output on my flow sensors.

 

I have used the Omron pulse counter for the flow meters with 2-wire output (reed switch), very easy to get pulses here but Hall-effect flow sensors are cheaper to use than the 2-wire pulse output flow meters.

 

Would I need a pull-up or pull-down resistor from one of the hall-effect wires (pos. or neg.) to connect to the other terminal on my Omron counter?  I connect the signal output wire to one of the terminals on the Omron counter so I'm left with how to put another wire from the flow sensor to the other terminal on the Omron.  I'm trying to avoid shorting out the Arduino and Omron with some misplaced wiring connections.

  • Sign in to reply
  • Cancel
  • ngant17
    0 ngant17 over 8 years ago

    OK, I was able to answer my own question without frying the Arduino and/or Omron counter.

     

    Simply really. Signal output from hall-effect flow sensor went directly to one terminal of the Omron pulse counter.  Then the other terminal of Omron gets wired directly back into digital pin 2 on Arduino Uno board.

     

    No pull-up or -down resister needed in this circuit.  Signal is just going thru Omron for output and going back into the Arduino board.

     

    Still using Arvind Sanjeev's original flow sensor code, but will be adding in NicoHood's PinChangeInterrupt library to use more digital pins on Arduino Uno board.

     

    The only disadvantage is that the software code and wiring circuit will not work with the serial monitor within the Arduino IDE and the Omron counter at the same time.  One or the other but not both at the same time.

     

    Would it be possible to have a way to get output with Omron and serial monitor at the same time?

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • ngant17
    0 ngant17 over 8 years ago in reply to ngant17

    Here is Omron, flow sensor and Arduino set up, with pulse showing.

    image

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • 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