🧪 New tutorials are being published — build from robot arms to sensors step by step
Skip to content

Raspberry Pi: IIC Communication ​

Install Dependencies ​

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

Enable I2C ​

Plain
sudo raspi-config

Select Interface Options -> I2C -> Yes

Restart the Raspberry Pi

File Location ​

~/IIC_Voice/iic_voice.py

Wiring Instructions ​

Image 1

Run ​

Plain
cd IIC_Voice
Plain
python3 iic_voice.py

Output Format ​

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