License

Public Domain

Ethernet Modbus Gateway

10 months ago 626
  • Description
  • Documents
  • BOM
  • Attachments
  • Members
  • Comments

Description

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.

Documents

Version 1

New PCB

BOM

ID Name Designator Footprint Quantity Manufacturer Part Manufacturer Supplier Supplier Part Price LCSC Assembly Mounted LCSC Digi-Key SeeedStudio COLOR
1 HR911105A RJ45 RJ45-LIGHT 1 HR911105A HANRUN LCSC C12074
2 PIC18F67J60-I/PT U1 TQFP-64_10X10X05P 1 PIC18F67J60-I/PT MICROCHIP LCSC C29511
3 SN65HVD1785P U2 DIP8 1
4 MB2S D1 BRIDGE-MBS 1 MB2S LCSC LCSC C3088
5 100 C1,C2,C6,C7,C8,C9,C10,C11,C15,C16 0805 10 100nF 50V Ceramic Capacitor 0805
6 0.33 C3 C1210 1 0.33uf 50V Ceramic 1210
7 10u C4 C1210 1 10uF 10V 1210 Capacitor
8 ss34 D2 SMA-DIODE 1 SS34 Digi-Key SS34FSCT-ND
9 100u 50V C5 PANASONIC_SKV_CAP 1 100uf 50V Aluminium Capacitor SKV (8.3x8.3mm)
10 220uF CT1,CT2 ELECTRO-SMD-C-6MM 2 CS1E221M-CRE77 SeeedStudio 302030053
11 27uH L3 IND-808040 1 SWPA8040S270MT Sunlord LCSC C58496
12 25MHZ X1 OSC-49OSC-YSX-1 1 X49SM25MSD2SC LCSC LCSC C14872
13 27 C12,C13 0805 2 27pF 50V Ceramic Capacitor 0805
14 390Ω R1,R2 0805 2 0805W8F3900T5E UniOhm LCSC C17655
15 10K R3,R5,R7,R8,R9,R12 0805 6
16 10uF 6.3V C14 0805 1 10uF
17 SI2302DS Q1,Q3 WSOT-23 2
18 ICSP J1 1X05_LOCK 1
19 1K R10 0805 1
20 390 R11,R18,R19 0805 3
21 PWR5V LED1,LED2,LED3 1206 3 1206Q0C LCSC LCSC C42946 GREEN
22 49.9R 1% R13,R14,R15,R16 R0603 4 RC0603FR-0749R9L
23 120Ω L1 1206 1 CBG321609U121T FH LCSC C39279
24 2.26K 1% R17 0805 1
25 LM2576HVS-5.0 U4 TS5B 1
26 TLV1117-33IDCYR U3 SOT-223 1 TLV1117-33IDCYR TI LCSC C37359
27 100μH L4 12.5*12.5*7.5 1 SLF12575T-101M1R9-PF TDK LCSC C81470
28 RXD LED4 1206 1 1206Q0C LCSC LCSC C42946 BLUE
29 TXD LED5 1206 1 1206Q0C LCSC LCSC C42946 RED
30 24V JP1 WJ2EDGRC-5.08-2P 1 WJ2EDGRC-5.08-2P LCSC LCSC C3697
31 MODBUS JP2 WJ2EDGRC-5.08-2P 1 WJ2EDGRC-5.08-2P LCSC LCSC C3697
32 SWITCH-3x6x2.5_SMD FACTORY-RST SWITCH-3X6X2.5_SMD 1 3*6*2.5 Plastic head white,260G, 0.25mm,SMD BBJ LCSC C71857

Attachments

Filename Download
Working Version mbgateway.X.zip

Members / Participants(1)

Success
The owner does not allow comments in this project now

Comments (0)

goToTop
你现在访问的是EasyEDA海外版,使用建立访问速度更快的国内版 https://lceda.cn(需要重新注册)
如果需要转移工程请在个人中心 - 工程 - 工程高级设置 - 下载工程,下载后在https://lceda.cn/editor 打开保存即可。
有问题联系QQ 3001956291 不再提醒
svg-battery svg-battery-wifi svg-books svg-more svg-paste svg-pencil svg-plant svg-ruler svg-share svg-user 立创EDAlogo 双贱