Get Started with Programming the Twin Coding Module using Arduino!

1. Download Arduino

Click here to download the Arduino application compatible with your operating system from the official Arduino website.

2. Install and Set Up

Once installed, open Arduino, go to the application menu, and select “Arduino Leonardo” from Tools > Board.

3. Connect Your Arduino

Use a USB cable to connect your Arduino to your computer. Then, return to the tools menu and select your Twin Coding Module under the board section.

4. Run the Code!

Your Twin Coding Module is now ready! Write and upload your code to start using the module with Arduino.

5. Continue Coding with the Twin Coding App or Twin Code Lab

6. Download the Library

Click here to download the Twin library.

7. Add the Library

Go to “My Documents” on your computer, and copy-paste the TwinArduinoFirmware file into the Arduino > Library folder.

8. Upload the Library

Open the Framework folder, click on the “TwinArduinoFirmware.ino” file, and press the “Upload” button at the top left corner.

9. Code for the Line-Follower Car

Enhance your autonomous vehicle to follow lines using the Arduino IDE instead of the Twin firmware. Download the Line-Follower Truck code below and run it with the Arduino program.

Note: To reuse the Twin Coding App and Twin Code Lab, download and install the TwinArduinoFirmware file from the link above.

This site is registered on wpml.org as a development site. Switch to a production site key to remove this banner.