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 Circuit Review
  • 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 42 replies
  • Subscribers 392 subscribers
  • Views 3381 views
  • Users 0 members are here
Related

Circuit Review

s1buell
s1buell over 7 years ago

  I`m currently making some proto circuits and I would love some feed back/Ideas etc.

 

All these circuits will connect to Arduino or Arduino compatible devices.

 

Anyone have time to help out with some reviews?

 

First circuit is a 4-20ma board

  • Sign in to reply
  • Cancel

Top Replies

  • genebren
    genebren over 7 years ago in reply to s1buell +4
    You might need to modify your 4-20ma loop front end somewhat. First, the circuit as shown does not have a return path for the current loops. Also, the current loop may not necessarily be directly referenced…
  • genebren
    genebren over 7 years ago in reply to s1buell +4
    Tom, Again, I am not sure that you can count on the second leg of the 4-20ma loop to be at ground potential. You might end up shorting out a driver or introducing ground noise into the circuit. Here is…
  • genebren
    genebren over 7 years ago in reply to s1buell +4
    Tom, Here is an even better link. This shows how to differential sense the loop current. https://www.sensorsmag.com/components/implementing-a-4-ma-to-20-ma-sensor-interface Good luck! Gene
  • genebren
    genebren over 7 years ago in reply to s1buell

    Tom,

     

    In the article https://www.element14.com/community/external-link.jspa?url=https%3A%2F%2Fwww.sensorsmag.com%2Fcomponents%2Fimplementing-… , the circuit only uses a general purpose op-amp to perform the differential reading and the single ended power rail should work nicely with Arduino.  The shunt resistors are not that bad, it is just a matter of choosing as low a value as possible to get the voltage range you would like.  Going too high on the shunt resistor runs a risk of existing the drive or compliance voltage on the xmitter side (10K @ 20ma = 200V, which is most likely greater that the drive voltage, 5-28V).

     

    Looking at the Libelium devices, they are using jumpers on the receiver to manage the possibility that the xmitter is un-powered, so you could likely do the same.  I have used any thing from 100Ω to 200Ω (2 to 4V max across the resistor).

     

    Any generalize design will have a lot of variables when you are working with such an open protocol as 4-20mA loops.

    Good luck!

    Gene

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Cancel
  • s1buell
    s1buell over 7 years ago

    Ok, I`m going to rework the 4-20 area utilizing the LM358. I`ll post the idea later. If you have time can you review this Rs485 circuit? Its intended to connect ModBus type devices.

     

    I added high speed optical separation from the pic to Rs485 chip. I as going to add complete power separation on the RS485 in side but I stopped due to this being a test unit.

     

                                        image

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • Cancel
  • genebren
    genebren over 7 years ago in reply to s1buell

    Tom,

     

    I am not sure that the isolation that you have designed will do anything.  The 485 transceiver will take the hit if anything happens on the bus.  It is extremely unlikely that anything is going to get past the transceiver.  The only way that the opto-isolators would be helpful is if the transceiver was also isolated on a separate power supply (along with the transceiver side of the optos).

     

    What I would do, is attempt to protect the transceiver with a transzorb(s).  One bidirectional transzorb between the A/B pins of the transceiver, along with optional transzorbs from the A/B pins to the power rails.  Also, I would land a resistor pad(s) across the A/B pins with a jumper, to allow the module to be a terminated if it is the end module on the bus (I like this better than placing the terminator at the connector).

     

    Gene

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Cancel
  • s1buell
    s1buell over 7 years ago

    image

     

    Does these look right. At 12VDC I used a 16VDC TVS @ 5VDC I used an 8VDC unit

     

    8VDC (Voltage - Reverse Standoff (Typ)

    12VDC Voltage - Reverse Standoff (Typ)

     

    I didn't add the terminator this model is designed to always be the Master. I will add this to the other slave model.

     

    I added the 10ohm 1w resistor as an energy adsorbing resistor, always on the receiving side of the TVS

    • Cancel
    • Vote Up +3 Vote Down
    • Sign in to reply
    • Cancel
  • s1buell
    s1buell over 7 years ago

    Question, I`ve also been questioning the optical part. You think its needed? Should I leave it? Or save the circuit cost and remove.

     

    T

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Cancel
  • genebren
    genebren over 7 years ago in reply to s1buell

    Tom,

     

    This is a little more like what I was talking about:

    image

    This provides line to line and either line to rail protection.  These are bi-directional transzorbs, voltages should be in the VCC range (or slightly less).  The resistor, while normally a good idea, might not be the best way to go with a RS485 transceiver as would imbalance the signal a bit (depending on the terminator value).  The transzorbs are a nice touch, but I know many people do without them and their designs still work.  This is more of a protection against static discharge and gross mis-wiring.

     

    Gene

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Cancel
  • s1buell
    s1buell over 7 years ago

    Ok, I`m with you now. What about the optics VO0601T`s would you keep them?

     

    image

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Cancel
  • s1buell
    s1buell over 7 years ago

    Picking the right TVS Diode

     

    Look at the Max Driver Output from here you need to pick a diode that works in the range

     

    Figure 1: MAX3232 Driver Operation Voltage

    image

     

    MAX481CSA+-ND

     

    Driver Input Voltage (DI).............................-0.5V to (VCC+ 0.5V)

    Driver Output Voltage (A, B)...................................-8V to +12.5V

     

    In this case I took the  SMBJ7.0CA-E3/52SMBJ7.0CA-E3/52 as it will cover both circuits(7 to 12VDC

     

    T

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Cancel
  • genebren
    genebren over 7 years ago in reply to s1buell

    Tom,

     

    I would drop the optoisolators, as they are not really buying you much protection.  Typically, I would only use optoisolator to cross the boundary of a separate power supply (isolating the transceiver which is also on isolated power rails), or to protect against high voltage bleed through  to the microcontroller.

     

    Gene

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Cancel
  • genebren
    genebren over 7 years ago in reply to s1buell

    Tom.

     

    This is a somewhat confusing specification.  The 'Absolute Maximum Ratings' section of a specification is more about the worst possible case or the point were you are most likely going to damage the device.  Typical specifications are usually a better guide as to what range yo want to protect.  If the device you are communicating with is also powered at 5V (not sure if you have stated what Vcc is), it is unlikely that you would see -8 to +12.5V swings.

     

    Gene

    • 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