직렬 통신을 통해 RaspberryPi4를 통해 Arduino를 통한 센서 값 얻기

그 다음
https://zenn.dev/johiroshi/articles/4f2579afd038f9
소스 코드 여기 있습니다.
https://github.com/johiroshi/arduino_to_raspberrypi_by_serial

Arduino


코드는 지난번과 같다.
PC→RaspberryPi의 USB로 연결 주소를 변경합니다.

● 사진 속 팥파이에도 입출력이 있지만 개의치 않는다

Raspberry Pi 4


아래 보도에 따르면 랩베리피부터 아두노까지 조개껍질에서 접근할 수 있다.
참고 자료
https://tomosoft.jp/design/?p=24354
디렉토리에 다음 코드를 배치합니다.
get_value_by_serial.py
조개껍질

좋은 웹페이지 즐겨찾기