-
Notifications
You must be signed in to change notification settings - Fork 0
Serial port with Rasberrypi
Dongwon Lee edited this page Oct 6, 2018
·
6 revisions
블루투스를 비활성화 시켜야 시리얼 통신을 사용할 수 있기때문에 필요없으시면 이하 내용은 안하셔도 됩니다.
라즈베리파이로 부팅한 후, /boot/config.txt 파일을 편집기로 열은 후,
$ sudo nano /boot/config.txt
마지막 줄에 다음을 추가합니다. 블루투스와 UART를 동시에 사용하면 문제가 발생하므로 블루투스를 사용중지 시켜야 합니다.
dtoverlay=pi3-disable-bt
블루투스에서 시리얼을 사용하지 않도록 합니다.
$ sudo systemctl disable hciuart
그리고 reboot......
라즈베리파이 UART설명
https://www.raspberrypi.org/documentation/configuration/uart.md
요건 한글
라즈베리파이 셋팅과 파이선 프로그램
http://embeddedlaboratory.blogspot.com/2017/03/serial-communication-in-raspberry-pi.html