Arduino is a small-sized microcontroller board with supplementary components that has been designed to facilitate the use of a microcontroller…