Public Domain

Ethernet Modbus Gateway

1 year ago 1182
  • Description
  • Documents
  • BOM
  • Attachments
  • Members
  • Comments


Second iteration. First version worked fine but decided I needed a factory reset switch and LED's moving to end of PCB.

Designed to fit exactly in "VG-AL53" aluminium enclosure (google it) these are about $7 on aliexpress.

Works with Microchip TCP Lite stack. Firmware is very close but not yet complete.

I have attached the MPLABX XC8 project in a semi-working state below. Basically it is forwarding everything from ethernet to serial but I cannot test the other way until I get my MODBUS slave device setup. I will update this when status goes to finished.

Note the chip works well but is only really suitable for baud rates up to 9600 which is what I am testing it at and what it will be used at. Stack is also only half-duplex, again this is fine due to the 2-wire RS485 which can only transmit or receive but not both.

There are multiple compiler warnings for the Microchip TCPIP Lite stack when this compiles with XC8 but I have left it on test for several hours transferring at full speed and pinging at the same time and it was fine.





ID Value Qty. Package Components Supplier Manufacturer Manufacturer Part LCSC Mounted Digi-Key COLOR LCSC Assembly
1 HR911105A RJ45 RJ45-LIGHT 1 HR911105A HANRUN LCSC Yes C12074
2 PIC18F67J60-I/PT U1 TQFP-64_10X10X05P 1 PIC18F67J60-I/PT MICROCHIP LCSC Yes C29511
4 100 C1,C6,C7,C8,C9,C10,C11,C15,C16,C20,C25,C26 0805 12 100nF 50V Ceramic Capacitor 0805 Yes
5 1uf C3 C1210 1 0.33uf 50V Ceramic 1210 Yes
6 ss34 D2 SMA-DIODE 1 SS34 Digi-Key Yes SS34FSCT-ND
7 25MHZ X1 OSC-49OSC-YSX-1 1 X49SM25MSD2SC LCSC LCSC Yes C14872
8 27 C12,C13 0805 2 27pF 50V Ceramic Capacitor 0805 Yes
9 390Ω R1,R2 0805 2 0805W8F3900T5E UniOhm LCSC Yes C17655
10 10uF 6.3V C14 0805 1 10uF Yes
11 10K R9,R12 0805 2 Yes
12 ICSP J1 1X05_LOCK 1 Yes
13 1K R10,R4,R6 0805 3 Yes
14 390 R11 0805 1 Yes
15 PWR5V LED1,LED2,LED3 1206 3 1206Q0C LCSC LCSC Yes C42946 GREEN
16 49.9R 1% R13,R14,R15,R16 R0603 4 RC0603FR-0749R9L Yes
17 120Ω L1 1206 1 CBG321609U121T FH LCSC Yes C39279
18 2.26K 1% R17 0805 1 Yes
19 24V JP1 WJ2EDGRC-5.08-2P 1 WJ2EDGRC-5.08-2P LCSC LCSC Yes C3697
20 SWITCH-3x6x2.5_SMD FACTORY-RST SWITCH-3X6X2.5_SMD 1 3*6*2.5 Plastic head white,260G, 0.25mm,SMD BBJ LCSC Yes C71857
21 MP2451DT-LF-Z U5 SOT-23-6 1 MP2451DT-LF-Z MPS LCSC Yes Yes C14123
22 10u C5,C17 C1210 2 10uF 10V 1210 Capacitor Yes
23 4.7uH H1 TDK CLF6045NI-D 1 SLF6045T-4R7N2R4-3PF TDK LCSC Yes C93218
24 4.7uF/50V C18 1210 1 1210B475K500NT FH LCSC Yes C105470
25 33 C21 0805 1 27pF 50V Ceramic Capacitor 0805 Yes
26 SN6501DBVR U4 SOT-23-5 1 SN6501DBVR TI LCSC Yes C49451
27 760390014 U7 WURTH 760390014 1 760390014 Digi-Key Yes 732-4458-1-ND
28 1N5819G-CA2-R D3,D4 SOD-123FL 2 1N5819G-CA2-R UTC LCSC Yes C89634
29 1u C19,C22,C2 C1210 3 Yes
30 100nF C23,C4 C0805 2 Yes
31 10uF C24 1206 1 1206B106K160NT FH LCSC Yes C39127
32 LP5907QMFX-3.3Q1 U3 SOT-23-5 1 LP5907QMFX-3.3Q1 TI LCSC Yes C130005
33 MAX14858 U6 SOIC-16W 1 MAX14856GWE+ Digi-Key Yes MAX14858GWE+-ND
34 120 RTERM R0805 1 No
35 SM712.TCT D5 SOT-23(SOT-23-3) 1 SM712.TCT SEMTECH LCSC Yes C12067
36 10Ω R21,R22 0805 2 0805W8J0100T5E UniOhm LCSC Yes C25278
37 RS485 JP2 WJ2EDGRC-5.08-2P 1 WJ2EDGRC-5.08-2P LCSC LCSC Yes C3697


Filename Download
Working Version


The owner does not allow comments in this project now

Comments (0)

如果需要转移工程请在个人中心 - 工程 - 工程高级设置 - 下载工程,下载后在 打开保存即可。
有问题联系QQ 3001956291 不再提醒
svg-battery svg-battery-wifi svg-books svg-more svg-paste svg-pencil svg-plant svg-ruler svg-share svg-user svg-logo-cn svg-double-arrow
We use cookies to offer you a better experience. Detailed information on the use of cookies on this website is provided in our Privacy Policy. By using this site, you consent to the use of our cookies.