🧪 Se publican nuevos tutoriales — del brazo robótico al sensor
Saltar al contenido

Raspberry Pi: Comunicación IIC ​

Instalar dependencias ​

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

Habilitar I2C ​

Plain
sudo raspi-config

Seleccione Interface Options -> I2C -> Yes

Reinicie la Raspberry Pi

Ubicación de los archivos ​

~/IIC_Voice/iic_voice.py

Instrucciones de cableado ​

Imagen 1

Ejecución ​

Plain
cd IIC_Voice
Plain
python3 iic_voice.py

Formato de salida ​

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