USB adaptable switch / Contacteur adaptable USB

USB adaptable switch / Contacteur adaptable USB

thingiverse

Thanks to read warnings by clicking on your profile. The switch offers a wide range of design options due to the space available in the housing. This USB release integrates a microcontroller, allowing direct connection to a computer's USB port. This function avoids the need for an interface to connect a standard switch to a computer. In addition, the programming allows customization of the type of character or code sent by the switch to the computer. The file provided (USB_ADAPTABLE_SWITCH_PROGRAM.ino.hex) generates a left mouse click, but it is quite simple to modify the program to generate any keyboard or mouse code. Materials required: Push button: 12x12x10 mm: https://www.ebay.com/itm/12x12x10mm-Colorful-Momentary-Push-Button-Tactile-Switch-Micro-PCB-Mounted-2-Pin/222524916486?ssPageName=STRK%3AMEBIDX%3AIT&_trksid=p2060353.m2749.l2649 Teensy 2.0: https://www.pjrc.com/store/teensy.html (also available on eBay) Switch assembly: Base: print the base by inserting a pause to allow the insertion of bolts for the GoPro compatible support, see the tutorial: https://cdn.thingiverse.com/assets/37/ab/2a/86/58/ADAPTABLE_SWITCH_TUTORIAL_ENGLISH.pdf - Bend the legs of the push button, - Insert the button into the base, - place the microcontroller upside down, - solder the legs to the card: D5 and GND. Cap and button: print and install on the base. Programming: The microcontroller chosen is the Teensy 2.0 model from PRJC https://www.pjrc.com/store/teensy.html, on which the push button is directly welded. The whole system is then installed in the printed box, the programming is done following the instructions proposed on the PRJC website: https://www.pjrc.com/teensy/first_use.html Once the microcontroller is installed, it is necessary to program it with the program provided in the files to download. First of all, connect the Teensy to a free USB port on your computer itself connected to the Internet so that the machine automatically installs the USB drivers. If you do not wish to install all the software allowing programming, you can download a "loader" (https://github.com/jglim/AlternateTeensyLoader) whose role is to place the program USB_ADAPTABLE_SWITCH_PROGRAM.ino.hex directly in the microcontroller. This program is developed using the Arduino IDE found here: https://www.arduino.cc/en/Main/Software To change the type of code sent to the computer, look in the comments in the program itself. If you are new to microcontrollers and the Arduino environment, it may be interesting to get help from someone who has already used these programs. However, the tutorials offered by both PRJC and Arduino are particularly well done and should help you to complete this project.

Download Model from thingiverse

With this file you will be able to print USB adaptable switch / Contacteur adaptable USB with your 3D printer. Click on the button and save the file on your computer to work, edit or customize your design. You can also find more 3D designs for printers on USB adaptable switch / Contacteur adaptable USB.