![]() The only other consideration was to use interrupt enabled pins which improve performance on the encoder library, but the teensy supports interrupts on most of its pins. Most of the assignments were based on a desire to keep the connectors together. SIA and SIB connected to pins 22 and 21 (defined in the Encoder knob(A8, A7) part of the code, referencing their analog input names).VCC was connected to the 3V pin of the Teensy. ![]() A usb Type A female to Lightning for the iPad testĪfter soldering the headers to the Teensy the included cabling was used to connect to the waveshare sensor.A generic micro USB to Type A sub cable.Waveshare rotation sensor (included cables).The raspberry pi pico running circuitpython was considered, and is still believed to be viable alternative, but was rejected, honestly just out of personal preference. Three characters “1”, “2” and “3” were used as shortcut keys for left rotation, right rotation, and push-in button press respectively.įor hardware a teensy LC microcontroller was chosen, mainly for having good USB support via its teensyduino library. Easy testing on the framer side without the actual hardware via an actual keyboard.Painless browser integration through catching of the keyboard events.iOS and android support via USB OTG adapters.This is not the typical way for embedded peripherals to interact with programs but it offers a number of advantages here. It was decided early on that we would use USB keyboard emulation. Have the push-in button used for item selection.Have the rotary button left / right rotation used for item selection.The requirement was for a physical rotary button with a push-in switch to be used as an input for the Framer design.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |