Skip to content

This setup allow you to make a usb switch with an Seeeduino XIAO for your Ipad. I use it with Switch Control to navigate your iPhone, iPad, or iPod touch (iOS)

Notifications You must be signed in to change notification settings

PirateLab/ipad-switch-Seeeduino-XIAO

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Use Seeeduino-XIAO to make a switch for an Ipad

The idea was to use Circuitpython on a Seeeduino-XIAO to make a switch (button) and use an iPad on iOS with Switch Control

Hardware

  • Seeeduino-XIAO
  • USB C Cable
  • Cable to short pins
  • Switch/button

Connexion with the switch

Image of the Seeduinoa-XIAO connexion with the switch

NB: I use D0as input, but it could be D1, D2, etc ...

Code

firmware.uf2

This firmware has been modified to work with iOS so you need this one to flash your board and use circuitpython.

main.py

It's your python code, where the logic is.

adafruit_hid

You’ll need to add some CircuitPython library into the lib folder on your CIRCUITPY drive. You can directly copy the directory adafruit_hidor get the following files __init__.mpy, keyboard_layout_us.mpy, keyboard.mpy and keycode.mpy (directory adafruit_hid) from the CircuitPython library bundle

iOS configuration

Follow Apple guide -> Switch control

Troubleshooting

How to install Circuitpython on my Seeeduino-XIAO ?

You only need to connect your Seeduino-XIAO to your computer and short two pins. For more details you can refer to these two links :

Could I use the standard firmeware form Adafruit for my Seeeduino-XIAO ?

Yes but it will only work on MacOS, Windows (never tried Android and Linux), but not on iOS. To work on iOS, you need to use a modified firmeware -> Adafruit forum

I would like to add more button/action ?

Look at Andy's work for exemple -> seeeduino xiao circuitpython usb hid macro keypad

Ressources

About

This setup allow you to make a usb switch with an Seeeduino XIAO for your Ipad. I use it with Switch Control to navigate your iPhone, iPad, or iPod touch (iOS)

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages