License

Public Domain

Recommend Projects

Ethernet Modbus Gateway

2 years ago 2586
  • 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

Schematic

New PCB

BOM

ID Name Designator Footprint Quantity Mounted
1 HR911105A RJ45 RJ45-LIGHT 1 Yes
2 PIC18F67J60-I/PT U1 TQFP-64_10X10X05P 1 Yes
3 MB2S D1 BRIDGE-MBS 1 Yes
4 100 C1,C6,C7,C8,C9,C10,C11,C15,C16,C20,C25,C26 0805 12 Yes
5 1uf C3 C1210 1 Yes
6 ss34 D2 SMA-DIODE 1 Yes
7 25MHZ X1 OSC-49OSC-YSX-1 1 Yes
8 27 C12,C13 0805 2 Yes
9 390Ω R1,R2 0805 2 Yes
10 10uF 6.3V C14 0805 1 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 Yes
16 49.9R 1% R13,R14,R15,R16 R0603 4 Yes
17 120Ω L1 1206 1 Yes
18 2.26K 1% R17 0805 1 Yes
19 24V JP1 WJ2EDGRC-5.08-2P 1 Yes
20 SWITCH-3x6x2.5_SMD FACTORY-RST SWITCH-3X6X2.5_SMD 1 Yes
21 d3dac2d9512a463eac42efbd177de188 U5 SOT-23-6 1 Yes
22 10u C5,C17 C1210 2 Yes
23 4.7uH H1 TDK CLF6045NI-D 1 Yes
24 3c783d10c8744577bacae1f841989c5d C18 1210 1 Yes
25 33 C21 0805 1 Yes
26 8b13548c86d341de9fe3c85cc546e90d U4 SOT-23-5 1 Yes
27 175838e3dcb241e4b22093d071a294e5 U7 WURTH 760390014 1 Yes
28 3c6d496bc78b4fff998c01a11a687560 D3,D4 SOD-123FL 2 Yes
29 1u C19,C22,C2 C1210 3 Yes
30 100nF C23,C4 C0805 2 Yes
31 5e4e17a105444ba86baec0419018727d C24 1206 1 Yes
32 72c01ea8083a4cc2a43052fc89d8e24e U3 SOT-23-5 1 Yes
33 bbdc08ae742d480ca010f2b005a70367 U6 SOIC-16W 1 Yes
34 120 RTERM R0805 1 No
35 c4157e6c09187ae05dc3aa858aec20cb D5 SOT-23(SOT-23-3) 1 Yes
36 b9027764c0dee89330e80ccac0deb914 R21,R22 0805 2 Yes
37 RS485 JP2 WJ2EDGRC-5.08-2P 1 Yes

Attachments

Filename Download
Working Version mbgateway.X.zip

Members

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 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.