🧪 새 튜토리얼이 계속 업데이트 중 — 로봇 팔부터 센서까지
본문으로 건너뛰기

라즈베리파이: IIC 통신 ​

의존성 설치 ​

Plain
sudo apt-get update
Plain
sudo apt-get install -y python3-smbus python3-serial i2c-tools

I2C 활성화 ​

Plain
sudo raspi-config

Interface Options -> I2C -> Yes 선택

Raspberry Pi 재부팅

파일 위치 ​

~/IIC_Voice/iic_voice.py

배선 설명 ​

그림 1

실행 ​

Plain
cd IIC_Voice
Plain
python3 iic_voice.py

출력 형식 ​

Plain
Speech Serial Opened! Baudrate=115200
ID:4
ID:1
ID:10