Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 8082

Beginners • Re: Using alternate SDA and SCL pins

$
0
0
This helped a lot, thanks
I was able to use new found terminology and understand things a lot better.

And I found this (https://uk.mathworks.com/help/simulink/ ... dware.html), a direct answer ro the question:


Follow these steps to enable the I2C0 bus interface on your Raspberry Pi hardware.

On your Raspberry Pi terminal, execute this command to open the /boot/config.txt file in a text editor.

nano /boot/config.txt
In the config.txt file, add this device tree parameter in a new line.

dtparam=i2c_vc=on
Optionally, you can configure the baud rate for the I2C bus. For example, to set the baud rate for the I2C bus at 100 Kbps, execute this command.

dtparam= i2c_vc_baudrate=100000
Connect an external pull-up resistor of 1.8 KΩ between the Raspberry Pi power supply and the GPIO pins 0 and 1.

Save the config.txt file.

Reboot your Raspberry Pi.

reboot

Statistics: Posted by JustAskSpike — Thu Sep 18, 2025 7:18 am



Viewing all articles
Browse latest Browse all 8082

Trending Articles