Raspberry Pi Adapter Sends Keyboard Input From iPad via HID to Devices
raspberry piThese have proven to be incredibly adaptable boards, so it’s no surprise to see them popping up as adapters from time to time. They can be used to easily bridge connections between devices due to their remarkable versatility. Today I would like to share another great adapter. It’s made by a maker called Canatee on Reddit. With two Raspberry Pis, Canatee can: Send a text from your iPad Use HID like a USB keyboard.
Like many people, this idea was born out of a need to solve a problem. In this case, Canatee regularly provides feedback on the student’s writing to assist. Instead of typing common phrases over and over on each individual device, this setup allows you to connect to your Raspberry Pi Pico and instantly send pre-written messages as if they were typed on a USB keyboard. Become.
Canatee has set up a library of feedback that can be obtained using shortcuts. If you need to add a specific message, use shortcuts to instantly copy the information and insert the text. The new Raspberry Pi setup uses the Pi Zero to receive shortcut information and parse it into the Pico, which acts as a HID USB interface.
The Raspberry Pi Zero receives power via USB C which is connected to the iPad. The Pi Zero runs a Flask server programmed to filter out characters the Pico side doesn’t recognize. When the shortcut is triggered, it will be parsed from the iPad to the Pi Zero and ready to be sent to the Pico.
Pico receives messages from Pi Zero via UART. Pico connects to any device that supports a USB keyboard, from smartphones to laptops to tablets. The copied text will be sent to your device as if the message had been manually typed. According to Canatee, the code for this project is written using his CircuitPython. However, there are no plans to release the code at this time.
If you want to create something similar, use raspberry pi projectcheck out the original thread. reddit Get a better sense of how this works together and see it in action.