Introduction: Play Mario Using New Grove Touch Sensor

About: Howdy, we are application engineers in Seeed. Sharing projects with the maker community is awesome. Hope you like it XD Seeed is the IoT hardware enabler providing services that empower IoT developers to swift…

How to play a scratch game with a Touch Sensor?

Step 1: Things Used in This Project

Hardware components

Software apps and online services

  • Arduino IDE

Step 2: Story

If we use Seeeduino Lite, we can play scratch games with Touch Sensor via simulating keyboard operations. But here we try to use a Seeeduino.

Step 3: Hardware Connection

Connect Touch Sensor Grove to I2C port in Seeeduino, then connect Seeeduino to your PC via a USB cable.

Step 4: Software Programming

Step 1: Run KeyboardServer.exe in project root folder, if the application doesn't run, try to install .Net Framework to you PC.

Step 2: Upload Seeeduino's program to it. Choose Seeeduino's port in Port Name combobox on Settings window, if you don't see the port, click Refresh button on the right.

Step 3: Turn to Keys tab, choose channel's mapping key in channel's combobox, and enable it by checking the checkbox.

Step 4: Close the Settings window, and find Seeed Keyboard Server's icon in Windows notification area, right click on it, choose Start to start the server.

Now you can play scratch games with Touch Sensor.

NOTE: Before you upload program to Seeeduino, or uses other serial software on it, Stop or Quit Keyboard Server.

Step 5: Operation