Design and implement a system to control the speed of a DC motor using two Arduino Uno (ATMega328) boards working collaboratively.a.Board #1:This board will act as the user interface. It should read an analog input from a potentiometer, which will represent the desired motor speed.b.Board #2:This board will directly control the DC motor's speed. It should receive the desired speed information from Board #1 on SERIAL PORT and translate it into an appropriate control signal for the motor (e.g., PWM)
Can you write Board#1 code and Board#2 code ?
Update your code so that the Boards will com/municate over I2C.(15 pts)