Please check the follow picture circuit, This project we will delve into the world of serial communications and control our lamp by sending commands from the PC to the Arduino using the Serial Monitor in the Arduino IDE.
This project also introduces how we
manipulate text strings. So leave the hardware set
up the same as before and enter the new code.