License

Public Domain

Recommend Projects

Ethernet Modbus Gateway copy copy

1 year ago 123
  • 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 copy copy

New PCB copy copy

BOM

ID Name Designator Footprint Quantity
1 HR911105A RJ45 RJ45-LIGHT 1
2 PIC18F67J60-I/PT U1 TQFP-64_10X10X05P 1
3 SN65HVD1785P U2 DIP8 1
4 MB2S D1 BRIDGE-MBS 1
5 100 C1,C2,C6,C7,C8,C9,C10,C11,C15,C16 0805 10
6 0.33 C3 C1210 1
7 10u C4 C1210 1
8 ss34 D2 SMA-DIODE 1
9 100u 50V C5 PANASONIC_SKV_CAP 1
10 220uF CT1,CT2 ELECTRO-SMD-C-6MM 2
11 27uH L3 IND-808040 1
12 25MHZ X1 OSC-49OSC-YSX-1 1
13 27 C12,C13 0805 2
14 390Ω R1,R2 0805 2
15 10K R3,R5,R7,R8,R9,R12 0805 6
16 10uF 6.3V C14 0805 1
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
22 49.9R 1% R13,R14,R15,R16 R0603 4
23 120Ω L1 1206 1
24 2.26K 1% R17 0805 1
25 LM2576HVS-5.0 U4 TS5B 1
26 TLV1117-33IDCYR U3 SOT-223 1
27 100μH L4 12.5*12.5*7.5 1
28 RXD LED4 1206 1
29 TXD LED5 1206 1
30 24V JP1 WJ2EDGRC-5.08-2P 1
31 MODBUS JP2 WJ2EDGRC-5.08-2P 1
32 SWITCH-3x6x2.5_SMD FACTORY-RST SWITCH-3X6X2.5_SMD 1

Attachments

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