


The second parameter is the baud rate, and for our project we will use a baud rate of 9600. The first parameter that this event requires is the port that is to be opened â in our case this would be 7 (you donât need to add COM, just the COM number). Now that we have a serial object in our frame, we need to go into the event editor and start by creating the new condition âStart of Frameâ then add the event âOpen Serial Portâ. To do this, first download the serial object by clicking here, then drag the contents of the zip file into the Clickteam Fusion 2.5 installation folder. If you cannot find the Serial Object, you need to install it into your extensions folder. Load the first frame and then add the Serial Object.

Start by loading Clickteam Fusion 2.5 and creating a new empty project. Now that we know the name of our serial port, itâs time to make the fusion application. In my case, the port is COM7 (USB-SERIAL CH340). A new port should appear, and this is the Ardunio's serial port. If you cannot identify which of the PORT devices is the Arduino, you can disconnect the device, make a mental note of the remaining ports, and then reconnect the device. You can find out what the serial port name is by going to Device Manager > Ports. In Windows, when a serial to USB bridge is connected to a USB port it recognizes it as a Virtual Serial Port. One commonly used bridge is a serial-to-USB convert, which allows serial devices to communicate with a PC via the USB port. However, some very clever people created bridge ICs, which essentially convert one bus protocol to another. One of the many hurdles in implementing USB is the need for drivers, which can be tricky on Windows-based machines. While USB supports high speeds and addressing techniques, it is also very complex and only a few hobbyists dare to use USB in projects. However, serial ports have mostly been removed from motherboards and replaced by the now common USB port (Universal Serial Port). Serial ports provide a simple yet effective communication method for transferring data between a host PC and an external device such as a microcontroller. In this project, we will see how to use the Serial Object in Clickteam Fusion 2.5 and use Clickteam Fusion 2.5 to communicate with serial devices such as the Arduino! The Serial Objectĭespite being a software package aimed at game creation, Clickteam Fusion 2.5 has communication capabilities including TCP (MooSock) and the serial port (Serial Object). Clickteam Fusion 2.5 can really make some interesting projects aimed at video game creation (in one article, we looked at how to make a wireless RIOTOUS controller).
