Arduino is an open-source hardware and software platform designed to simplify the process of creating interactive hardware projects and smart…