• Models
  • Contests
  • Slicer
  • Login
  • Start Here
    thingiverse-iconprintables-iconcults3d-iconmakerworld-iconmyminifactory-icon

    3D GO

    3D ModelsContestsCollectionsSaved ModelsOn a mobile device?

3D GO

Privacy Policy
USB Button controled mouse / Souris à touches USB 3D Printer File Image 1
USB Button controled mouse / Souris à touches USB 3D Printer File Image 2
USB Button controled mouse / Souris à touches USB 3D Printer File Image 3
USB Button controled mouse / Souris à touches USB 3D Printer File Image 4
USB Button controled mouse / Souris à touches USB 3D Printer File Image 5
USB Button controled mouse / Souris à touches USB 3D Printer File Image 6
USB Button controled mouse / Souris à touches USB 3D Printer File Image 7
USB Button controled mouse / Souris à touches USB 3D Printer File Image 8
USB Button controled mouse / Souris à touches USB 3D Printer File Image 9
USB Button controled mouse / Souris à touches USB 3D Printer File Image 10
USB Button controled mouse / Souris à touches USB 3D Printer File Thumbnail 1
USB Button controled mouse / Souris à touches USB 3D Printer File Thumbnail 2
USB Button controled mouse / Souris à touches USB 3D Printer File Thumbnail 3
USB Button controled mouse / Souris à touches USB 3D Printer File Thumbnail 4
USB Button controled mouse / Souris à touches USB 3D Printer File Thumbnail 5
USB Button controled mouse / Souris à touches USB 3D Printer File Thumbnail 6
USB Button controled mouse / Souris à touches USB 3D Printer File Thumbnail 7
USB Button controled mouse / Souris à touches USB 3D Printer File Thumbnail 8
USB Button controled mouse / Souris à touches USB 3D Printer File Thumbnail 9
USB Button controled mouse / Souris à touches USB 3D Printer File Thumbnail 10

USB Button controled mouse / Souris à touches USB

Pole_ergo avatarPole_ergo

February 23, 2019

thingiverse-icon
DescriptionCommentsTags

Description

FRENCH
Merci de lire l'avertissement en cliquant sur le profil.

Cette version exploite la prise USB avec un micro-contrôleur permettant un branchement direct sur l'ordinateur. Elle intègre également 4 prises mini jack femelle mono permettant de connecter d'autres boutons. Dans ce projet, c'est une souris à touches qu'il est ainsi possible d'assembler : le bouton central contrôle le clic de la souris, les 4 boutons connectés aux jack contrôlent les déplacements du pointeur de la souris : haut/bas/gauche et droite.
Le pilotage et l'usage de la souris sont ainsi simplifiés pour les personnes ayant la capacité d'appuyer sur des boutons. Exemples d'usage : https://youtu.be/7ZRqlgeXSl8

Le fichier fourni (USB_BUTTON_MOUSE_PROGRAM.ino.hex) réalise la fonction décrite plus haut, mais il est assez simple de modifier le programme pour générer n'importe quel code de clavier ou de souris ou encore de combinaison de déplacements.

Matériel nécessaire :
Bouton poussoir : 12x12x10 mm : https://www.ebay.fr/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 (également disponible sur ebay)
Mini jack femelle mono : https://www.ebay.fr/itm/3-5mm-MONO-Jack-Plug-to-3-5mm-Socket-Extension-Cable-Audio-Lead-50cm-1m-2m-3m/192555074940?hash=item2cd52d457c:m:m-KBeyZyfQTS7h8aeRUKaCQ:rk:1:pf:0

Fabrication du contacteur :

Plier les pattes du bouton poussoir,
Insérer le bouton dans la base,
placer le microcontrôleur à l'envers,
souder les pattes sur la cartes : D5 et GND.
Insérer les mini jack
Dénuder les fils
Souder les fils sur le microcontroleur : D1,D3, D4, D7
positionner les fils en les passant par les passes-fils intégrés au boitier.
Capuchon et bouton : imprimer et installer sur la base.

Programmation :
Le micro-contrôleur choisi est le modèle Teensy 2.0 de PRJC https://www.pjrc.com/store/teensy.html sur lequel le bouton poussoir est directement soudé. L'ensemble est alors installé dans le boitier imprimé, la programmation se fait en suivant les instructions proposées sur le site de PRJC : https://www.pjrc.com/teensy/first_use.html
Une fois que le microcontrôleur est installé dans le boitier, il est nécessaire de le programmer avec le programme fourni dans les fichiers à télécharger.

Avant toutes choses, connectez le Teensy à un port USB libre de votre ordinateur lui même connecté à Internet de façon à ce que celui-ci installe automatiquement les drivers USB.

Si vous ne souhaitez pas installer l'ensemble des logiciels permettant la programmation, vous pouvez télécharger un "loader" (https://github.com/jglim/AlternateTeensyLoader) dont le rôle consiste à placer le programme USB_BUTTON_MOUSE_PROGRAM.ino.hex directement dans le microcontrôleur.

Ce programme est développé à l'aide de l'IDE Arduino que l'on trouve ici : https://www.arduino.cc/en/Main/Software
Pour modifier le type de code envoyé à l'ordinateur, regardez dans les commentaires que l'on trouve dans le programme lui-même.

Si vous débutez avec les microcontrôleurs et l'environnement Arduino, il peut se révéler intéressant de vous faire aider par quelqu'un ayant déjà utilisé ces programmes. Cependant, les tutoriaux proposés à la fois par PRJC et Arduino sont particulièrement bien faits et devraient vous aider à mener à bien ce projet.

ENGLISH
Please read the warning by clicking on the profile.

This version uses the USB socket with a microcontroller for direct connection to the computer. It also includes 4 mono female mini jack sockets for connecting other buttons. In this project, it is a key mouse that can be assembled in this way: the central button controls the mouse click, the 4 buttons connected to the jacks control the movements of the mouse pointer: up/down/left and right.
This simplifies mouse control and use for people with the ability to press buttons. Examples of use: https://youtu.be/7ZRqlgeXSl8

The supplied file (USB_BUTTON_MOUSE_PROGRAM.ino.hex) performs the function described above, but it is quite simple to modify the program to generate any keyboard or mouse code or combination of movements.

Materials required :
Push button: 12x12x10 mm: https://www.ebay.fr/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)
Mono female mini jack: https://www.ebay.fr/itm/3-5mm-MONO-Jack-Plug-to-3-5mm-Socket-Extension-Cable-Audio-Lead-50cm-1m-2m-3m/192555074940?hash=item2cd52d457c:m:m-KBeyZyfQTS7h8aeRUKaCQ:rk:1:pf:0

Manufacture of the contactor:

Bend the legs of the push button,
Insert the button into the database,
place the microcontroller upside down,
solder the legs to the card: D5 and GND.
Insert the mini jack
Strip the wires
Solder the wires to the microcontroller : D1,D3, D4, D7
position the wires by passing them through the cable glands integrated in the case.
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 in the box, 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 connected to the Internet so that it 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 USB_BUTTON_MOUSE_PROGRAM.ino.hex program directly in the microcontroller.

This program is developed using the Arduino IDE which can be 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.

License:

Creative Commons - Attribution - Non-Commercial - No Derivatives

Related Models

UBO - The Universal Bottle Opener (v1) preview image

UBO - The Universal Bottle Opener (v1)

In3Designs profile image

In3Designs

9,168

Gyro balancing holder for Cup or Mug preview image

Gyro balancing holder for Cup or Mug

HiRez99 profile image

HiRez99

382

Nfc band preview image

Nfc band

Ziomale_3.0 profile image

Ziomale_3.0

181

CardEasy - Printable Playing Card Holder preview image

CardEasy - Printable Playing Card Holder

kwalus profile image

kwalus

6,850

Braille embosser preview image

Braille embosser

Jack profile image

Jack

237

Wi-Fi NFC tag preview image

Wi-Fi NFC tag

Denis_fpv profile image

Denis_fpv

114

FiGo - Dog Wheelchair preview image

FiGo - Dog Wheelchair

Rickee profile image

Rickee

4,249

Card Holder preview image

Card Holder

Nestor9dw profile image

Nestor9dw

123