{"id":26742784,"url":"https://github.com/fescron/2ch-4-20ma-converter","last_synced_at":"2026-01-07T06:20:47.248Z","repository":{"id":209518936,"uuid":"223667081","full_name":"Fescron/2ch-4-20mA-converter","owner":"Fescron","description":"1/2 channel 4-20 mA to voltage converter boards using LMP8640 current sense monitor.","archived":false,"fork":false,"pushed_at":"2021-10-15T10:39:09.000Z","size":3831,"stargazers_count":6,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2023-11-27T19:54:46.927Z","etag":null,"topics":["4-20ma","breakout-board","cern-ohl","current-loop","current-shunt-monitor","dramco","ina196","isoladed","kicad","kicad-breakout-board","kicad-schematics","kuleuven","lmp8640","opamp","oshw","phoenix-contact","tec2-0913","texas-instruments","traco-power"],"latest_commit_sha":null,"homepage":"","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Fescron.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2019-11-23T23:29:59.000Z","updated_at":"2023-11-27T19:54:53.024Z","dependencies_parsed_at":"2023-11-27T20:04:56.407Z","dependency_job_id":null,"html_url":"https://github.com/Fescron/2ch-4-20mA-converter","commit_stats":null,"previous_names":["fescron/2ch-4-20ma-converter"],"tags_count":0,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Fescron%2F2ch-4-20mA-converter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Fescron%2F2ch-4-20mA-converter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Fescron%2F2ch-4-20mA-converter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Fescron%2F2ch-4-20mA-converter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Fescron","download_url":"https://codeload.github.com/Fescron/2ch-4-20mA-converter/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245978683,"owners_count":20703777,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["4-20ma","breakout-board","cern-ohl","current-loop","current-shunt-monitor","dramco","ina196","isoladed","kicad","kicad-breakout-board","kicad-schematics","kuleuven","lmp8640","opamp","oshw","phoenix-contact","tec2-0913","texas-instruments","traco-power"],"created_at":"2025-03-28T06:20:08.287Z","updated_at":"2026-01-07T06:20:42.212Z","avatar_url":"https://github.com/Fescron.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# 2ch-4-20mA-converter\n\n![License](https://img.shields.io/badge/licence-CERN%20OHL%20v.1.2-blue)\n![GitHub last commit](https://img.shields.io/github/last-commit/Fescron/2ch-4-20mA-converter.svg)\n![GitHub Release Date](https://img.shields.io/github/release-date/Fescron/2ch-4-20mA-converter.svg)\n![GitHub release](https://img.shields.io/github/release/Fescron/2ch-4-20mA-converter.svg)\n\n\u003cbr/\u003e\n\nThis board converts two *4 - 20 mA* signals to a voltage using a `LMP8640` *Current Shunt Monitor* from *Texas Instruments*. To provide power to the *4 - 20 mA* sensors a `TEC2-0913` 2W 15V Isolated DC-DC converter is used from *Traco Power*. Quick-connect terminals from *Phoenix Contact* are also used.\n\nTo allow for extensive testing three separate GND nets/planes and a lot of test points are used. They can be connected together using jumpers if necessary. The power supply can also be disabled and fully disconnected from the sensors using a jumper as well (wich can also be used to measure the in-line current given to the whole sensor circuit).\n\n- Click [here](hardware/2ch-4-20mA/2ch-4-20mA.pdf) to go to the **schematic**.\n\n\u003cbr/\u003e\n\n\u003cimg src=\"documentation/pictures/PCB-front.png\" height=\"390\" alt=\"PCB front\"\u003e \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u003cimg src=\"documentation/pictures/PCB-back.png\" height=\"390\" alt=\"PCB back\"\u003e\n\n\u003cbr/\u003e\n\n## LMP8640 vs INA196\n\nA lot of designs still use the `INA196` *Current Shunt Monitor* from *Texas Instruments*. In the picture below is a comparison between the `LMP8640` and the `INA196`. No real disadvantage was found to not use the `LMP8640`.\n\n\u003cbr/\u003e\n\n\u003cimg src=\"documentation/pictures/LMP8640-vs-INA196.png\" height=\"650\" alt=\"PCB front\"\u003e\n\n\u003cbr/\u003e\n\n## BOM\n\n| Component    | Value                | Footprint     | Other                                       | Ordering                                                                                                                                    |\n| ------------ | -------------------- | ------------- | ------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------- |\n| U1, U2       | LMP8640              | SOT-23-Thin-6 | Texas Instruments Current Shunt Monitor     | [Mouser.be](https://www.mouser.be/ProductDetail/Texas-Instruments/LMP8640MK-T-NOPB?qs=sGAEpiMZZMvEn2pkGav3bPb6jlX9oNVbBBSIeXfzDzM%3D)                     |\n| U3           | TEC2-0913            | SIP-8         | Traco Power 2W 15V Isolated DC-DC converter | [Mouser.be](https://www.mouser.be/ProductDetail/TRACO-Power/TEC-2-0913?qs=sGAEpiMZZMvGsmoEFRKS8Koqt8Pjkl39l4aaKfuLyMgVYp%252Bicpvd3A%3D%3D) |\n| C1, C2       | 100 nF = 0,1 µF      | 0805          | X7R, 16V, 10%                               | [Mouser.be](https://www.mouser.be/ProductDetail/Yageo/CC0805KRX7R7BB104?qs=sGAEpiMZZMs0AnBnWHyRQMMzfhmH8IQX2eB5GrOHrwc%3D)                  |\n| R1, R2       | 6,2 Ω                | 0805          | 0,1%                                        | [Mouser.be](https://www.mouser.be/ProductDetail/TE-Connectivity-Neohm/CPF0805B6R2E1?qs=sGAEpiMZZMu61qfTUdNhGxAfPTOoMd3Mys3VDWDGxkc%3D)      |\n| R1, R2 (alt) | 4,99 Ω               | 0805          | 0,1%                                        | [Mouser.be](https://www.mouser.be/ProductDetail/TE-Connectivity-Neohm/CPF0805B4R99E1?qs=sGAEpiMZZMu61qfTUdNhGxAfPTOoMd3MWO8ubRKmtsI%3D)     |\n| J1, J2       | PTSA_1,5/_2-3,5-Z_BK | Pitch: 3,5 mm | 2 contacts @ 45° (20-16 AWG), 250V 2A       | [Mouser.be](https://www.mouser.be/ProductDetail/Phoenix-Contact/1751765?qs=sGAEpiMZZMvZTcaMAxB2AOnzhHajZlLEGRULH%2FxUGnk%3D)                |\n\n\u003cbr/\u003e\n\n## UPDATE 03/2020 - 1 CH board without power supply\n\nTo better conduct tests with the `LMP8640` chip a simple 1-CH board was layed out without a power supply and etched on a single sided board.\n\n- Click [here](hardware/1ch-4-20mA/Plots/1ch-4-20mA.pdf) to go to the **schematic**.\n- Click [here](hardware/1ch-4-20mA/Plots/1ch-4-20mA-F_Cu.pdf) to go to the **board layout** (mirrored).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffescron%2F2ch-4-20ma-converter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffescron%2F2ch-4-20ma-converter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffescron%2F2ch-4-20ma-converter/lists"}