This device is intended to be used in a presentation to ​extend the presenter's access to the computer utilities without directly control the computer using a mouse or a keyboard. By swiping the magic wand in many different ways, the presenter is able to toggle a computer's workspace (screens), switch presentation pages, and execute up to two customized system commands. It also draws interest from the audience and creates fun.
-
Connect to "Wand_presentation" from WIFI list in your computer GUI, enter password "Wand123456"
-
Run python client program
-
Configure first system command (the command that triggers when you swipe the magic wand two times)
-
Configure first system command (the command that triggers when you swipe the magic wand three times)
-
Swipe a few times once connected to verify the response. Your computer should switch workspace once you swipe it left or right.
This program is used to connect to the magic wand, receive its commands, and control the computer using keystrokes. The program also allows the presenter to execute up to two OS commands.
The code only supports the Arduino nano 33 iot. The ssid and password can be customized in arduino_secrets.h
Gesture | ability |
---|---|
Left swipe | Switch workspace (screen) right |
Right swipe | Switch workspace (screen) left |
Up swipe | Type "space" key |
Down swipe x1 | Type "left" key |
Down swipe x1 | Execute custom command 1 |
Down swipe x1 | Execute custom command 2 |