element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Members
    Members
    • Benefits of Membership
    • Achievement Levels
    • Members Area
    • Personal Blogs
    • Feedback and Support
    • What's New on element14
  • Learn
    Learn
    • Learning Center
    • eBooks
    • 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
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Dev Tools
    • Manufacturers
    • Raspberry Pi
    • RoadTests & Reviews
    • Avnet Boards Community
    • Product Groups
  • 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
Members
Members
Member's Forum New Here & 1st Problem!
  • Blog
  • Forum
  • Documents
  • Events
  • Leaderboard
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Members requires membership for participation - click to join
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • Replies 16 replies
  • Subscribers 93 subscribers
  • Views 1819 views
  • Users 0 members are here
  • opamp
  • comparator
  • lm393
Related

New Here & 1st Problem!

Gosling616
Gosling616 4 days ago

I am going back to my youth as an electronic engineer to design some stuff. 

I have joined hoping for help. 

This will be the start of a few minor project around building a cockpit for online flying. Basically, Arduino boards loaded with code and game libraries to detect game events. Coding is a new area for me. I’m pre PCs back then

Anyway, my current problem is more descrete. 

With Vcc at 5V and Gnd at 0v, why does my LM393N Op Amp output 0.7v when I/P 1(-) is connected to Gnd and I/P 1(+) is 2.5V by connecting to the middle of 2 x 5kOhm in series across Vcc and Gnd???

I was hoping to get 5V O/P to drive a MOSFET Board for a 12v power control over a magnetic field coil…

  • Sign in to reply
  • Cancel

Top Replies

  • wolfgangfriedrich
    wolfgangfriedrich 4 days ago +5
    Welcome. You will get answers here. There is a lot of knowledgeable people around. The LM393 output is an open collector type. You would need a pull-up resistor to Vcc to get a proper high level. Like…
  • dang74
    dang74 4 days ago +3
    The LM393N is a comparator and not an op-amp. Also I think it's output is open collector. Try attaching a 10k pull up resistor to its output. See if you get 5V after that change.
  • wolfgangfriedrich
    wolfgangfriedrich 4 days ago

    Welcome. You will get answers here. There is a lot of knowledgeable people around. 

    The LM393 output is an open collector type. You would need a pull-up resistor to Vcc to get a proper high level. Like so (from the TI LM393 datasheet):

     image

    And the LM393 is a comparator, not a full op-amp. Just in case you plan to do more analog stuff with it.

    • Cancel
    • Vote Up +5 Vote Down
    • Sign in to reply
    • Cancel
  • dang74
    dang74 4 days ago

    The LM393N is a comparator and not an op-amp.  Also I think it's output is open collector.  Try attaching a 10k pull up resistor to its output.  See if you get 5V after that change.

    • Cancel
    • Vote Up +3 Vote Down
    • Sign in to reply
    • Cancel
  • charlieo21
    charlieo21 4 days ago

    Welcome! 

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • genebren
    genebren 4 days ago

    Welcome to the element14 community.  It looks like you are getting started and already getting some.  Good luck with your project and enjoy all that the community offers.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • colporteur
    colporteur 4 days ago

    Don't you just hate when someone responds with an alternative and not a reply your question.

    image

    I have had great success using this little module to drive 12VDC loads. Do a search for MOSFET driver module on part sites and you should get a hit.

    Oh yeah, welcome!

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Gosling616
    Gosling616 3 days ago in reply to colporteur

    Thanks, I am using this MOSFET board - £0.09 37% Off | 5PCS Top Mosfet Button IRF520 Mosfet Driver Module For Arduino MCU ARM Raspberry Pi 3.3v-5V IRF520 Power MOS PWM Dimming LED
    https://a.aliexpress.com/_mqCTYeW

    Problem I have is it needs a Vcc to switch on and so I need to convert the Gnd signal the switch gives to a Vcc, hence using the Comparator to Invert the signal.  

    But thanks anyway…

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Gosling616
    Gosling616 3 days ago in reply to genebren

    TY.  So it seems…

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Gosling616
    Gosling616 3 days ago in reply to wolfgangfriedrich

    Thanks.  Just what I needed - I’ll give that a go and see what happens.  

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Gosling616
    Gosling616 3 days ago in reply to dang74

    Thanks.  I’ll try that.  

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Gosling616
    Gosling616 3 days ago in reply to charlieo21

    Thanks.  I don’t really know my way around yet and I guess this was the wrong place to post a problem.  Can you (or someone) point me to where I should have posted this problem, thanks…

    • 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 © 2023 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

  • Facebook
  • Twitter
  • linkedin
  • YouTube