ABSTRACT

Embedded systems have many applications and facilitate users to connect between hardware such as Arduino and software like Unity. Arduino is an open-source electronics platform based on easy-to-use hardware and software. Arduino can be used in different projects due to various existing boards. In other words, Arduino gives users a simple pathway to create interactive objects that can take input from various accessories like switches, sensors, and control physical outputs like lights, motors, or actuators. These boards can easily read inputs and commands based on instructions transferred by the user to the microcontroller. One of the exciting parts of Unity is that the designs done in Unity can be connected to various inputs such as keyboards and sensors through Arduino boards. Arduino acts as a bridge between Unity and the real world. This chapter discusses how to connect the Arduino to Unity based on Windows and Linux as the operating systems. Some general definitions and parts for Arduino are initially described, and then two ways to bridge Arduino to Unity, the Ardity and control with physical buttons, are explained.