Establish I2C communication between two Arduino Uno boards, with one as the master and the other as the slave.
Connect a potentiometer to the master and an LED to the slave.
Control the brightness of the LED through a potentiometer.
Note: In case you don’t have two Arduino UNO boards you can use any other compatible microcontroller as a slave.