---
title: "[WIZ750SR] RS485통신 관련 문의"
url: "https://maker.wiznet.io/forum/12696"
markdown_url: "https://maker.wiznet.io/forum/12696/md"
type: "Forum topic"
category: "Serial-to-Ethernet & ConfigTool"
author: "ian kwon"
created: "2018-01-29T07:59:37+09:00"
last_activity: "2018-03-05T23:33:22+09:00"
language: "ko"
views: 1286
replies: 6
source: "WIZnet Makers forum (https://maker.wiznet.io/forum/)"
---

# [WIZ750SR] RS485통신 관련 문의

## Question

Asked by ian kwon on 2018-01-29 in Serial-to-Ethernet & ConfigTool.

wiz750sr rs485 모듈 두대를 서로 연결하여 간단하게 485통신하는 것을 테스트 중입니다.
테스트 결과 수신이 안되어 코드를 수정중인데 RTS를 설정해 줘야 할거 같아서 아래와 같이 RTS 핀 네임을 입력을 하고 실행을 했더니 화면에 pinmap not found for peripheral라는 문구가 출력되었습니다.
컴파일러는 mbed를 사용중입니다.

RTS는 어떻게 설정해야하는건가요?

---

#include “mbed.h”

```
Serial pc(USBTX, USBRX); // tx, rx
Serial bt(PA_14, PA_12);
```

int main() {
pc.baud(9600);
bt.baud(9600);

```
printf("Serial Test...");
```

while(1) {
if(bt.readable())
{
pc.putc(bt.getc());
}

```
    if(pc.readable())
    {
        bt.putc(pc.getc());
        
    }
}// end of while(1)
```

## }

## Replies

### Reply 1 by Edward, 2018-01-30

안녕하세요.

우선 WIZ750SR의 mbed RS-485코드는 따로 제공드릴 예제가 없다는 점을 말씀드립니다.
저희가 제공드릴 수 있는 것은 C 기반 소스코드입니다.
따라서 RS-485에 관한 예제는 WIZ750SR C 기반 소스코드를 참조 부탁드립니다.

![](https://github.githubassets.com/favicons/favicon.svg) [GitHub](https://github.com/Wiznet/WIZ750SR)

![](https://maker.wiznet.io/forum_uploads/wiznet/original/2X/7/70bca430ecd249ead35d3e1dfb8d6ac08179b372.png)

### [GitHub - Wiznet/WIZ750SR: WIZnet Serial to Ethernet(S2E) module based on...](https://github.com/Wiznet/WIZ750SR)

WIZnet Serial to Ethernet(S2E) module based on W7500 chip, WIZ107/108SR S2E compatible device - GitHub - Wiznet/WIZ750SR: WIZnet Serial to Ethernet(S2E) module based on W7500 chip, WIZ107/108SR S2E...

감사합니다.

### Reply 2 by ian kwon, 2018-02-13 (in reply to reply 1)

간단하게 RS-485 통신이 되는 것만 확인해보고 싶은데
할 수 있는 방법 없을까요?

### Reply 3 by Edward, 2018-02-13

일반적으로 UART0가 되는 것을 확인하면, 단순 RS-485 트랜시버를 이용해서 데이터 통신이 가능합니다.

말씀하신 부분은 우선 UART 통신이 먼저 되는지부터 확인하시고, 된다면 RS-485 트랜시버를 부착해서 테스트 필요해보입니다.

즉, 펌웨어 구성은 UART만 되면 될 것입니다.

감사합니다.

### Reply 4 by ian kwon, 2018-02-26

덕분에 통신은 잘됩니다. 감사합니다^^

그리고 이제 이더넷을 이용하여 JSON 파싱을 시도하려고 하는데
어떻게 접근하면 좋을까요?

### Reply 5 by Edward, 2018-02-26

안녕하세요.

JSON의 경우 WIZ550web 모듈의 펌웨어를 참고하시면 됩니다.

![](https://github.githubassets.com/favicons/favicon.svg) [GitHub](https://github.com/Wiznet/WIZ550web)

![](https://maker.wiznet.io/forum_uploads/wiznet/original/2X/4/4feb2ea839094a77bbeded2f3d8bce57a0ae54c8.png)

### [GitHub - Wiznet/WIZ550web: Webserver application with W5500 for things (Non-OS)](https://github.com/Wiznet/WIZ550web)

Webserver application with W5500 for things (Non-OS) - GitHub - Wiznet/WIZ550web: Webserver application with W5500 for things (Non-OS)

WIZ550web은 Web server로 구동하는 Application module입니다.
위 링크에서 WIZ550web 펌웨어를 보시면 JSON 형식의 포맷을 사용하고 있는데요.

지금으로썬 저희가 드릴 수 있는 예제는 이 자료입니다.

감사합니다.

### Reply 6 by irina, 2018-03-05

카테고리를 한국어 포럼으로 이동하고, 게시물 제목에 [WIZ750SR]을 추가하였습니다.

---

Source: https://maker.wiznet.io/forum/12696
