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

Jetson: IIC Communication ​

Install Dependencies ​

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

Check User Groups ​

Plain
sudo usermod -aG i2c $USER
Plain
sudo usermod -aG dialout $USER

Log out and log back in for it to take effect.

File Location ​

IIC_Voice/iic_voice.py

Wiring Instructions ​

Image 1

Check the I2C Device ​

Plain
sudo i2cdetect -y -r 1

You should see the address 0x2A

Run ​

Plain
cd IIC_Voice
Plain
sudo python3 iic_voice.py

Output Format ​

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

Troubleshooting ​

I2C Permission Problem ​

Plain
sudo chmod 666 /dev/i2c-1