EasyEDA User rodyne
rodyne
Public Project: 17 Footprint Package: 59 Likes: 29 Favorites: 25 Views: 15669

Ethernet Modbus Gateway

4 months ago  

License: Public Domain

Status: In Progress

modbusplcethernet
Fork
Open in Editor

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.

Version 1

Version 1

New PCB

New PCB

Attachments

FilenameDownload
Working Version mbgateway.X.zipDownload

BOM

IDValueQty.PackageComponentsSupplierManufacturerManufacturer PartLCSCDigi-KeySeeedStudioCOLOR
1HR911105A1RJ45-LIGHTRJ45LCSCHANRUNHR911105A C12074
2PIC18F67J60-I/PT1TQFP-64_10X10X05PU1LCSCMICROCHIPPIC18F67J60-I/PT C29511
3SN65HVD1785P1DIP8U2
4MB2S1BRIDGE-MBSD1LCSCLCSCMB2S C3088
5100100805C1,C2,C6,C7,C8,C9,C10,C11,C15,C16100nF 50V Ceramic Capacitor 0805
60.331C1210C30.33uf 50V Ceramic 1210
710u1C1210C410uF 10V 1210 Capacitor
8ss341SMA-DIODED2Digi-KeySS34SS34FSCT-ND
9100u 50V1PANASONIC_SKV_CAPC5100uf 50V Aluminium Capacitor SKV (8.3x8.3mm)
10220uF2ELECTRO-SMD-C-6MMCT1,CT2SeeedStudioCS1E221M-CRE77302030053
1127uH1IND-808040L3LCSCSunlordSWPA8040S270MT C58496
1225MHZ1OSC-49OSC-YSX-1X1LCSCLCSCX49SM25MSD2SC C14872
132720805C12,C1327pF 50V Ceramic Capacitor 0805
14390Ω20805R1,R2LCSCUniOhm0805W8F3900T5E C17655
1510K60805R3,R5,R7,R8,R9,R12
1610uF 6.3V10805C1410uF
17SI2302DS2WSOT-23Q1,Q3
18ICSP11X05_LOCKJ1
191K10805R10
2039030805R11,R18,R19
21PWR5V31206LED1,LED2,LED3LCSCLCSC1206Q0CC42946GREEN
2249.9R 1%4R0603R13,R14,R15,R16RC0603FR-0749R9L
23120Ω11206L1LCSCFHCBG321609U121T C39279
242.26K 1%10805R17
25LM2576HVS-5.01TS5BU4
26TLV1117-33IDCYR1SOT-223U3LCSCTITLV1117-33IDCYR C37359
27100μH112.5*12.5*7.5L4LCSCTDKSLF12575T-101M1R9-PF C81470
28RXD11206LED4LCSCLCSC1206Q0CC42946BLUE
29TXD11206LED5LCSCLCSC1206Q0CC42946RED
3024V1WJ2EDGRC-5.08-2PJP1LCSCLCSCWJ2EDGRC-5.08-2P C3697
31MODBUS1WJ2EDGRC-5.08-2PJP2LCSCLCSCWJ2EDGRC-5.08-2P C3697
32SWITCH-3x6x2.5_SMD1SWITCH-3X6X2.5_SMDFACTORY-RSTLCSCBBJ3*6*2.5 Plastic head white,260G, 0.25mm,SMD C71857

Comments

Add Comment
你现在访问的是EasyEDA海外版,不推荐使用,我们已经建立访问速度更快的中国区数据中心 https://LCEDA.cn
如果你已经有EasyEDA账号,请使用谷歌浏览器访问 https://easyeda.com/applyForLceda 进行数据迁移到中国区数据中心。
有问题联系QQ 3001956291 不再提醒