diff --git a/Bibliographie b/Bibliographie old mode 100644 new mode 100755 index a9ea1db..a9ea1db --- a/Bibliographie +++ b/Bibliographie diff --git a/P12(périphUSB).odp b/P12(périphUSB).odp deleted file mode 100755 index e3adc31..0000000 Binary files a/P12(périphUSB).odp and /dev/null differ diff --git a/P12(périphUSB).pdf b/P12(périphUSB).pdf deleted file mode 100644 index 0b555a9..0000000 Binary files a/P12(périphUSB).pdf and /dev/null differ diff --git a/Projet_USBKEY_MassStorageKeyboard/Config/AppConfig.h b/Projet_USBKEY_MassStorageKeyboard/Config/AppConfig.h old mode 100644 new mode 100755 index b18b2c4..b18b2c4 --- a/Projet_USBKEY_MassStorageKeyboard/Config/AppConfig.h +++ b/Projet_USBKEY_MassStorageKeyboard/Config/AppConfig.h diff --git a/Projet_USBKEY_MassStorageKeyboard/Config/LUFAConfig.h b/Projet_USBKEY_MassStorageKeyboard/Config/LUFAConfig.h old mode 100644 new mode 100755 index 6254987..6254987 --- a/Projet_USBKEY_MassStorageKeyboard/Config/LUFAConfig.h +++ b/Projet_USBKEY_MassStorageKeyboard/Config/LUFAConfig.h diff --git a/Projet_USBKEY_MassStorageKeyboard/Descriptors.c b/Projet_USBKEY_MassStorageKeyboard/Descriptors.c old mode 100644 new mode 100755 index 15cbc63..15cbc63 --- a/Projet_USBKEY_MassStorageKeyboard/Descriptors.c +++ b/Projet_USBKEY_MassStorageKeyboard/Descriptors.c diff --git a/Projet_USBKEY_MassStorageKeyboard/Descriptors.h b/Projet_USBKEY_MassStorageKeyboard/Descriptors.h old mode 100644 new mode 100755 index b16e900..b16e900 --- a/Projet_USBKEY_MassStorageKeyboard/Descriptors.h +++ b/Projet_USBKEY_MassStorageKeyboard/Descriptors.h diff --git a/Projet_USBKEY_MassStorageKeyboard/Lib/DataflashManager.c b/Projet_USBKEY_MassStorageKeyboard/Lib/DataflashManager.c old mode 100644 new mode 100755 index c0fd16c..c0fd16c --- a/Projet_USBKEY_MassStorageKeyboard/Lib/DataflashManager.c +++ b/Projet_USBKEY_MassStorageKeyboard/Lib/DataflashManager.c diff --git a/Projet_USBKEY_MassStorageKeyboard/Lib/DataflashManager.h b/Projet_USBKEY_MassStorageKeyboard/Lib/DataflashManager.h old mode 100644 new mode 100755 index 076847a..076847a --- a/Projet_USBKEY_MassStorageKeyboard/Lib/DataflashManager.h +++ b/Projet_USBKEY_MassStorageKeyboard/Lib/DataflashManager.h diff --git a/Projet_USBKEY_MassStorageKeyboard/Lib/SCSI.c b/Projet_USBKEY_MassStorageKeyboard/Lib/SCSI.c old mode 100644 new mode 100755 index 8780d16..8780d16 --- a/Projet_USBKEY_MassStorageKeyboard/Lib/SCSI.c +++ b/Projet_USBKEY_MassStorageKeyboard/Lib/SCSI.c diff --git a/Projet_USBKEY_MassStorageKeyboard/Lib/SCSI.h b/Projet_USBKEY_MassStorageKeyboard/Lib/SCSI.h old mode 100644 new mode 100755 index c442e45..c442e45 --- a/Projet_USBKEY_MassStorageKeyboard/Lib/SCSI.h +++ b/Projet_USBKEY_MassStorageKeyboard/Lib/SCSI.h diff --git a/Projet_USBKEY_MassStorageKeyboard/MassStorageKeyboard.c b/Projet_USBKEY_MassStorageKeyboard/MassStorageKeyboard.c old mode 100644 new mode 100755 index 3a1b780..3a1b780 --- a/Projet_USBKEY_MassStorageKeyboard/MassStorageKeyboard.c +++ b/Projet_USBKEY_MassStorageKeyboard/MassStorageKeyboard.c diff --git a/Projet_USBKEY_MassStorageKeyboard/MassStorageKeyboard.h b/Projet_USBKEY_MassStorageKeyboard/MassStorageKeyboard.h old mode 100644 new mode 100755 index e122a49..e122a49 --- a/Projet_USBKEY_MassStorageKeyboard/MassStorageKeyboard.h +++ b/Projet_USBKEY_MassStorageKeyboard/MassStorageKeyboard.h diff --git a/Projet_USBKEY_MassStorageKeyboard/MassStorageKeyboard.txt b/Projet_USBKEY_MassStorageKeyboard/MassStorageKeyboard.txt old mode 100644 new mode 100755 index d8b3b31..d8b3b31 --- a/Projet_USBKEY_MassStorageKeyboard/MassStorageKeyboard.txt +++ b/Projet_USBKEY_MassStorageKeyboard/MassStorageKeyboard.txt diff --git a/Projet_USBKEY_MassStorageKeyboard/asf.xml b/Projet_USBKEY_MassStorageKeyboard/asf.xml old mode 100644 new mode 100755 index 3cdb476..3cdb476 --- a/Projet_USBKEY_MassStorageKeyboard/asf.xml +++ b/Projet_USBKEY_MassStorageKeyboard/asf.xml diff --git a/Projet_USBKEY_MassStorageKeyboard/doxyfile b/Projet_USBKEY_MassStorageKeyboard/doxyfile old mode 100644 new mode 100755 index 7f0c541..7f0c541 --- a/Projet_USBKEY_MassStorageKeyboard/doxyfile +++ b/Projet_USBKEY_MassStorageKeyboard/doxyfile diff --git a/Projet_USBKEY_MassStorageKeyboard/makefile b/Projet_USBKEY_MassStorageKeyboard/makefile old mode 100644 new mode 100755 index 4768cfc..4768cfc --- a/Projet_USBKEY_MassStorageKeyboard/makefile +++ b/Projet_USBKEY_MassStorageKeyboard/makefile diff --git a/Rapport projet.docx b/Rapport projet.docx deleted file mode 100644 index 433b937..0000000 Binary files a/Rapport projet.docx and /dev/null differ diff --git a/Rapport projet.pdf b/Rapport projet.pdf deleted file mode 100644 index fcb16ed..0000000 Binary files a/Rapport projet.pdf and /dev/null differ diff --git a/Rapport.txt b/Rapport.txt deleted file mode 100644 index 3d93f0f..0000000 --- a/Rapport.txt +++ /dev/null @@ -1,74 +0,0 @@ -Rapport de Projet ¬IMA3 S6 du groupe P12 -Titre : Fabrication d’appareille USB spécialisé dans espionnage -Introduction : -Le but de notre projet est la création de périphériques USB (clavier et clef USB) incorporant des fonctionnalités propres (installation de logiciel d’espionnage, keygraber). Ces périphériques seront contrôlés par un atmega16u2. -La durée de notre projet étant de deux ans nous avons décidé, durant la première année, de nous focaliser sur la partie software : --l’étude théorique (comment utiliser des bibliothèques, comment les modifier) --La création de maquette sur arduino, afin de voir la réalisabilité de notre projet, les problèmes rencontrés, et aussi d’avoir à notre disposition les algorithmes qui seront utilisé à la fin de notre projet . -Ainsi durant la 2ème année nous pourrons nous focaliser sur le hardware, ce qui comprend la création des PCB pour la clef et le clavier. Et aussi leur « coque de protection » - -Partie théorique : - -Partie maquette : -Dans la partie conception des maquettes nous avons travaillé avec une carte Arduino Leonardo. -Nous avons fait ce choix pour plusieurs raisons : --l’Arduino UNO ne prend pas en charge la bibliothèque Keyboard qui nous sert à l’émulation du clavier sous l’environnement Arduino. -- Le module micro SD (utilisé pour les deux maquettes) était un module pour Leonardo. --Le Leonardo utilise un ATmega32U2 comme contrôleur USB, mais heureusement l’ATmega32U2 et l’ATmega16u2 sont quasiment les même (seul la taille de la mémoire diffère), donc le code pour l’ATmega32u2 sera compatible avec le 16u2. -Partie 1 : La librairie Keyboard - Comme dit précédemment la librairie Keyboard sert à l’émulation d’un clavier sous l’environnement Arduino . Cette partie est importante car utilisé pour les deux périphériques l’un car étant un clavier, et l’autre car l’installation du logiciel espion nécessitera des commandes à taper dans le shell de Windows. -Dans un premier temps nous avons téléchargé et installé le logiciel Arduino qui sert à programmer l’arduino Léonardo. Par la suite nous y avons implanté la dernière version de la librairie Keyboard. -Pour écrire notre programme, nous avons utilisé comme squelette de base le code d’exemple de l’utilisation de la librairie Keyboard fourni avec le logiciel. -L’utilisation de la bibliothèque est plutôt simple, il suffit de lancer Keyboard.begin(). Alors l’arduino est reconnue comme un clavier. Par la suite pour rentrer des touches il faut utiliser la commande Keyboard.write() une touche ou Keyboard.press() une touche. Le problème que ces fonctions ne prennent en paramètres qu'un unique caractère. Pour améliorer la lisibilité du code et la facilité de déboggage, nous avons créer la fonction keyboardprint(String) qui permet d'écrire toute la chaîne de caractères passer en paramètre. - -Les problèmes que nous avons rencontrés lors de la création de ce programme se situent au niveau de l’envoi de certaines touches bien spécifique (exemple : @ , \, #) qui ont du étre prit en compte différemment des autres touches . Nous ne sommes pas certains de la source de ces erreurs, mais il se pourrait qu'elles soient dues à une différence de définition du clavier Qwerty de la bibliothèque Arduino Keyboard et de celle utilisée par l'ordinateur. - -Partie 2 : Code sous Windows pour la clé -Notre clef USB devra injecter des codes sous Windows afin de télécharger et d’installer le logiciel espion. Dans cette partie nous verrons le code utilisé. -Windows possède 2 Shell diffèrent : -CMD et –PowerShell -Théoriquement les 2 nous permettrais de télécharger et de lancer un logiciel. Mais les essaies sous CMD n’ont pas porté leurs fruits. -Donc nous allons utiliser PowerShell pour télécharger et installer notre logiciel espion. - -/*à mettre en annexe -Code : -Ouvrir power Shell en admin : -Windows -Powershell -Entré + shift + entré -<- -Entré -Télécharger un logiciel : -Invoke-WebRequest –Uri «adresse du fichier» –OutFile «adresse destination + nom et type fichier» -«https://www.mediacollege.com/audio/tone/files/440Hz_44100Hz_16bit_30sec.mp3» -OutFile «./mp3.mp3» -Lancer un .exe : -"C:\Program Files\qBittorrent\qbittorrent.exe" exemple avec qbittorent -*/ - -Partie 3 : Gestion SD -La carte SD sous Arduino est gérée via la bibliothèque SD, qui inclut la bibliothèque File. La première permet de se déplacer dans le système de fichiers et d'ouvrir des fichiers dans lesquels on pourra lire et écrire. -Les 2 périphériques utiliserons une carte SD (le clavier afin de stocker les touhes pressé et la clef comme stockage des instructions). - -La gestion de la carte SD sous arduino n’est pas la meme que sous les environment linux ou windows .Je sous-entend que la manipulation des fichiers sur la carte SD se fait nécessairement à l’aide de code . - -Partie 4 : maquette du clavier : -Pour rappel le clavier devrat se comporté comme un clavier ‘normal’ avec la focntion suplémentaire d’enregister les imput sur la clef sd et de pouvoir suprimer les imput enregisté ou de les renvoyer sur le pc . -la maquette du clavier sera réalisé comme dit precedemment sur un arduinio Leonardo.Pour simplifier nous utiliserons au lieu d’un clavier ‘total’ , un clavier numérique comportent 12 entrées (0 à 9 et R (return) et D (delete)).R aura pour fonction de réinjécter les input enregisté et D suprimera les input enregisté .Le composant qui remplie la fonction de clavier est le shield pour arduino MPR121 Cap. Touche .les touche de ce clavier sont activée par une diférence de capacité au bornes de la touche . Ce qui permet l’utilisation comme touche de quasiment n’importe quelle objet (ce qui ne nous sera pas vraiment utile ici). - - -La maquette du clavier est parfaitement foncionnelle , voici en quelque ligne sont principe de fonctionnement : - -void setup (): initialisation : SD , Keyboard , Adafruit -void loop (): scrutation des touches et enregistrement de celles-ci sur la carte SD, et gestion des touches spéciales R et D - -Pour le projet finale la structure du programme restera la meme seul le nombre d’input possible augmente . - -Partie 5 : Maquette clef : -Pour rappel la clef Usb devrat : envoyer une serie d’instruction préenregistré sous forme d’input clavier et aussi servir d’adapteteur micro SD. -Le probléme rencontré dans cette partie se situe sur la partie adaptateur micro SD .Car nous souhaitons que la prise en charge de la micro SD se fasse pa le systéme d’exploitation du pc on non celui de l’arduino . Il est possible de faire reconaitre l’arduino par le pc comme un perophérique de stockage mais alors il est impossible de le faire reconaitre comme un clavier . -Donc nous avons crée la maquette qui remplie la fonction de clavier , notre maquette entre les imput préenregisté (ce qui lui fait telechargé et lancer une music sous windows . -Princpe de fonction : -void setup ()  : initialisation du keyboard et de la SD -void loop ()  : envoie des inputs -Nous avons pensé pour pouvoir faire ce que nous souhaitons , utiliser un switch qui switchera entre 2 contoleur USB différent un qui gerera le clavier et l’autre le stockage de masse .Le switch entre les 2 controleurs se fera sur l’envoie des packet de mise en veille de l’ordinateur . - - diff --git a/Saisie_clavier.ino b/Saisie_clavier.ino old mode 100644 new mode 100755 index 3200e91..3200e91 --- a/Saisie_clavier.ino +++ b/Saisie_clavier.ino diff --git a/TODO.txt b/TODO.txt old mode 100644 new mode 100755 index ba5099a..ba5099a --- a/TODO.txt +++ b/TODO.txt diff --git a/annexe.pptx b/annexe.pptx deleted file mode 100644 index 680fa3d..0000000 Binary files a/annexe.pptx and /dev/null differ diff --git a/clavier/74hc238.bak b/clavier/74hc238.bak old mode 100644 new mode 100755 index 47f3cad..47f3cad --- a/clavier/74hc238.bak +++ b/clavier/74hc238.bak diff --git a/clavier/74hc238.bck b/clavier/74hc238.bck old mode 100644 new mode 100755 index 5f3ed79..5f3ed79 --- a/clavier/74hc238.bck +++ b/clavier/74hc238.bck diff --git a/clavier/74hc238.dcm b/clavier/74hc238.dcm old mode 100644 new mode 100755 index 5f3ed79..5f3ed79 --- a/clavier/74hc238.dcm +++ b/clavier/74hc238.dcm diff --git a/clavier/74hc238.lib b/clavier/74hc238.lib old mode 100644 new mode 100755 index 815cddb..815cddb --- a/clavier/74hc238.lib +++ b/clavier/74hc238.lib diff --git a/clavier/LM3670.svg b/clavier/LM3670.svg old mode 100644 new mode 100755 index 6a67504..6a67504 --- a/clavier/LM3670.svg +++ b/clavier/LM3670.svg diff --git a/clavier/_saved_clavier.pro b/clavier/_saved_clavier.pro old mode 100644 new mode 100755 index 43c2cde..43c2cde --- a/clavier/_saved_clavier.pro +++ b/clavier/_saved_clavier.pro diff --git a/clavier/clavier-cache.lib b/clavier/clavier-cache.lib old mode 100644 new mode 100755 index 09e7b27..468e179 --- a/clavier/clavier-cache.lib +++ b/clavier/clavier-cache.lib @@ -92,7 +92,7 @@ DEF AVR-ISP-6 CON 0 40 Y Y 1 F N F0 "CON" -105 240 50 H V C CNN F1 "AVR-ISP-6" -265 -230 50 H V L BNN F2 "AVR-ISP-6" -520 40 50 V I C CNN -F3 "" -25 0 50 H V C CNN +F3 "" -25 0 50 H I C CNN DRAW T 0 -315 5 45 0 0 0 SCK Normal 1 C C T 0 275 110 45 0 0 0 VCC Normal 1 C C @@ -119,14 +119,10 @@ ENDDEF DEF C_Small C 0 10 N N 1 F N F0 "C" 10 70 50 H V L CNN F1 "C_Small" 10 -80 50 H V L CNN -F2 "" 0 0 50 H V C CNN -F3 "" 0 0 50 H V C CNN +F2 "" 0 0 50 H I C CNN +F3 "" 0 0 50 H I C CNN $FPLIST - C? - C_????_* - C_???? - SMD*_c - Capacitor* + C_* $ENDFPLIST DRAW P 2 0 1 13 -60 -20 60 -20 N @@ -141,8 +137,8 @@ ENDDEF DEF GNDREF #PWR 0 0 Y Y 1 F P F0 "#PWR" 0 -250 50 H I C CNN F1 "GNDREF" 0 -150 50 H V C CNN -F2 "" 0 0 50 H V C CNN -F3 "" 0 0 50 H V C CNN +F2 "" 0 0 50 H I C CNN +F3 "" 0 0 50 H I C CNN DRAW P 2 0 1 0 -25 -75 25 -75 N P 2 0 1 0 -5 -100 5 -100 N @@ -157,8 +153,8 @@ ENDDEF DEF LED D 0 40 Y N 1 F N F0 "D" 0 100 50 H V C CNN F1 "LED" 0 -100 50 H V C CNN -F2 "" 0 0 50 H V C CNN -F3 "" 0 0 50 H V C CNN +F2 "" 0 0 50 H I C CNN +F3 "" 0 0 50 H I C CNN $FPLIST LED* $ENDFPLIST @@ -195,11 +191,13 @@ ENDDEF DEF L_Small L 0 10 N N 1 F N F0 "L" 30 40 50 H V L CNN F1 "L_Small" 30 -40 50 H V L CNN -F2 "" 0 0 50 H V C CNN -F3 "" 0 0 50 H V C CNN +F2 "" 0 0 50 H I C CNN +F3 "" 0 0 50 H I C CNN $FPLIST Choke_* *Coil* + Inductor_* + L_* $ENDFPLIST DRAW A 0 -60 20 -899 899 0 1 0 N 0 -80 0 -40 @@ -236,11 +234,11 @@ ENDDEF DEF R R 0 0 N Y 1 F N F0 "R" 80 0 50 V V C CNN F1 "R" 0 0 50 V V C CNN -F2 "" -70 0 50 V V C CNN -F3 "" 0 0 50 H V C CNN +F2 "" -70 0 50 V I C CNN +F3 "" 0 0 50 H I C CNN $FPLIST R_* - Resistor_* + R_* $ENDFPLIST DRAW S -40 -100 40 100 0 1 10 N diff --git a/clavier/clavier-rescue.lib b/clavier/clavier-rescue.lib old mode 100644 new mode 100755 index 31522d1..31522d1 --- a/clavier/clavier-rescue.lib +++ b/clavier/clavier-rescue.lib diff --git a/clavier/clavier.bak b/clavier/clavier.bak old mode 100644 new mode 100755 index 88dd2c0..40a3d66 --- a/clavier/clavier.bak +++ b/clavier/clavier.bak @@ -35,6 +35,7 @@ LIBS:valves LIBS:lm3670 LIBS:mx25r6435f-sop LIBS:74hc238 +LIBS:quartz_TSX3225 LIBS:clavier-cache EELAYER 25 0 EELAYER END @@ -51,10 +52,10 @@ Comment3 "" Comment4 "" $EndDescr $Comp -L ATXMEGA16A4U-AU µP +L ATXMEGA16A4U-AU µP1 U 1 1 5E14C77C P 4700 3600 -F 0 "µP" H 3950 4800 50 0000 L BNN +F 0 "µP1" H 3950 4800 50 0000 L BNN F 1 "ATXMEGA16A4U-AU" H 5050 2350 50 0000 L BNN F 2 "TQFP44" H 4700 3600 50 0001 C CIN F 3 "" H 4700 3600 50 0001 C CNN @@ -62,10 +63,10 @@ F 3 "" H 4700 3600 50 0001 C CNN 1 0 0 -1 $EndComp $Comp -L USB_A-RESCUE-clavier J? +L USB_A-RESCUE-clavier J1 U 1 1 5E14CAB0 P 2650 4500 -F 0 "J?" H 2450 4950 50 0000 L CNN +F 0 "J1" H 2450 4950 50 0000 L CNN F 1 "USB_A" H 2450 4850 50 0000 L CNN F 2 "" H 2800 4450 50 0001 C CNN F 3 "" H 2800 4450 50 0001 C CNN @@ -73,10 +74,10 @@ F 3 "" H 2800 4450 50 0001 C CNN 1 0 0 -1 $EndComp $Comp -L GNDREF #PWR? +L GNDREF #PWR01 U 1 1 5E14DDF9 P 4750 4900 -F 0 "#PWR?" H 4750 4650 50 0001 C CNN +F 0 "#PWR01" H 4750 4650 50 0001 C CNN F 1 "GNDREF" H 4750 4750 50 0000 C CNN F 2 "" H 4750 4900 50 0001 C CNN F 3 "" H 4750 4900 50 0001 C CNN @@ -86,10 +87,10 @@ $EndComp Text GLabel 4700 2150 1 60 Output ~ 0 VCC $Comp -L LM3670 Alim +L LM3670 Alim1 U 1 1 5E14E048 P 2800 2500 -F 0 "Alim" H 2800 2650 60 0000 C CNN +F 0 "Alim1" H 2800 2650 60 0000 C CNN F 1 "LM3670" H 2800 2500 60 0000 C CNN F 2 "" H 2800 2500 60 0001 C CNN F 3 "" H 2800 2500 60 0001 C CNN @@ -97,10 +98,10 @@ F 3 "" H 2800 2500 60 0001 C CNN 1 0 0 -1 $EndComp $Comp -L C_Small C +L C_Small C1 U 1 1 5E14E10B P 2700 3100 -F 0 "C" H 2710 3170 50 0000 L CNN +F 0 "C1" H 2710 3170 50 0000 L CNN F 1 "4.7µF" H 2710 3020 50 0000 L CNN F 2 "" H 2700 3100 50 0001 C CNN F 3 "" H 2700 3100 50 0001 C CNN @@ -108,10 +109,10 @@ F 3 "" H 2700 3100 50 0001 C CNN 1 0 0 -1 $EndComp $Comp -L L_Small L +L L_Small L1 U 1 1 5E14E2A2 P 2700 2100 -F 0 "L" H 2730 2140 50 0000 L CNN +F 0 "L1" H 2730 2140 50 0000 L CNN F 1 "10µH" H 2730 2060 50 0000 L CNN F 2 "" H 2700 2100 50 0001 C CNN F 3 "" H 2700 2100 50 0001 C CNN @@ -121,10 +122,10 @@ $EndComp Text GLabel 3000 1900 1 60 Input ~ 0 VCC $Comp -L C_Small C +L C_Small C2 U 1 1 5E14E3E8 P 3100 2000 -F 0 "C" H 3110 2070 50 0000 L CNN +F 0 "C2" H 3110 2070 50 0000 L CNN F 1 "10µF" H 3110 1920 50 0000 L CNN F 2 "" H 3100 2000 50 0001 C CNN F 3 "" H 3100 2000 50 0001 C CNN @@ -132,10 +133,10 @@ F 3 "" H 3100 2000 50 0001 C CNN 0 -1 -1 0 $EndComp $Comp -L MX25R6435F-SOP Flash_memory +L MX25R6435F-SOP Flash_memory1 U 1 1 5E1504AF P 6700 4400 -F 0 "Flash_memory" V 6250 4400 60 0000 C CNN +F 0 "Flash_memory1" V 6250 4400 60 0000 C CNN F 1 "MX25R6435F-SOP" V 6150 4400 60 0000 C CNN F 2 "" H 7050 4400 60 0001 C CNN F 3 "" H 7050 4400 60 0001 C CNN @@ -145,21 +146,21 @@ $EndComp Text GLabel 6000 4850 0 60 Output ~ 0 VCC Entry Wire Line - 5600 2600 5700 2500 + 5650 2600 5750 2500 Entry Wire Line - 5600 2700 5700 2600 + 5650 2700 5750 2600 Entry Wire Line - 5600 2800 5700 2700 + 5650 2800 5750 2700 Entry Wire Line - 5600 2900 5700 2800 + 5650 2900 5750 2800 Entry Wire Line - 5600 3000 5700 2900 + 5650 3000 5750 2900 Entry Wire Line - 5600 3100 5700 3000 + 5650 3100 5750 3000 Entry Wire Line - 5600 3200 5700 3100 + 5650 3200 5750 3100 Entry Wire Line - 5600 3300 5700 3200 + 5650 3300 5750 3200 Entry Wire Line 5700 3450 5800 3350 Entry Wire Line @@ -167,16 +168,12 @@ Entry Wire Line Entry Wire Line 5700 3650 5800 3550 Entry Wire Line - 5700 3750 5800 3650 -Entry Wire Line 5800 3900 5900 3800 Entry Wire Line 5800 4000 5900 3900 Entry Wire Line 5800 4100 5900 4000 Entry Wire Line - 5800 4200 5900 4100 -Entry Wire Line 3500 4300 3600 4400 Entry Wire Line 3500 4200 3600 4300 @@ -197,9 +194,9 @@ Entry Wire Line Entry Wire Line 3500 3350 3600 3450 Entry Bus Bus - 5700 2050 5800 2150 + 5750 2050 5850 2150 Entry Bus Bus - 5700 2250 5800 2150 + 5750 2250 5850 2150 Entry Wire Line 5850 2150 5950 2050 Entry Wire Line @@ -237,10 +234,10 @@ Entry Wire Line Entry Wire Line 6700 2150 6800 2050 $Comp -L GNDREF #PWR? +L GNDREF #PWR02 U 1 1 5E1535E8 P 2600 4900 -F 0 "#PWR?" H 2600 4650 50 0001 C CNN +F 0 "#PWR02" H 2600 4650 50 0001 C CNN F 1 "GNDREF" H 2600 4750 50 0000 C CNN F 2 "" H 2600 4900 50 0001 C CNN F 3 "" H 2600 4900 50 0001 C CNN @@ -248,10 +245,10 @@ F 3 "" H 2600 4900 50 0001 C CNN 1 0 0 -1 $EndComp $Comp -L GNDREF #PWR? +L GNDREF #PWR03 U 1 1 5E1539B6 P 2800 2950 -F 0 "#PWR?" H 2800 2700 50 0001 C CNN +F 0 "#PWR03" H 2800 2700 50 0001 C CNN F 1 "GNDREF" H 2800 2800 50 0000 C CNN F 2 "" H 2800 2950 50 0001 C CNN F 3 "" H 2800 2950 50 0001 C CNN @@ -259,10 +256,10 @@ F 3 "" H 2800 2950 50 0001 C CNN 0 -1 1 0 $EndComp $Comp -L LED LED_spé +L LED LED_sp1 U 1 1 5E2852E9 P 7050 3800 -F 0 "LED_spé" H 7050 3900 50 0000 C CNN +F 0 "LED_sp1" H 7050 3900 50 0000 C CNN F 1 "LED" H 7050 3700 50 0000 C CNN F 2 "" H 7050 3800 50 0001 C CNN F 3 "" H 7050 3800 50 0001 C CNN @@ -270,10 +267,10 @@ F 3 "" H 7050 3800 50 0001 C CNN 0 1 -1 0 $EndComp $Comp -L LED LED_num +L LED LED_num1 U 1 1 5E28533E P 6450 3800 -F 0 "LED_num" H 6450 3900 50 0000 C CNN +F 0 "LED_num1" H 6450 3900 50 0000 C CNN F 1 "LED" H 6450 3700 50 0000 C CNN F 2 "" H 6450 3800 50 0001 C CNN F 3 "" H 6450 3800 50 0001 C CNN @@ -281,10 +278,10 @@ F 3 "" H 6450 3800 50 0001 C CNN 0 1 -1 0 $EndComp $Comp -L LED LED_maj +L LED LED_maj1 U 1 1 5E28538E P 6750 3800 -F 0 "LED_maj" H 6750 3900 50 0000 C CNN +F 0 "LED_maj1" H 6750 3900 50 0000 C CNN F 1 "LED" H 6750 3700 50 0000 C CNN F 2 "" H 6750 3800 50 0001 C CNN F 3 "" H 6750 3800 50 0001 C CNN @@ -292,10 +289,10 @@ F 3 "" H 6750 3800 50 0001 C CNN 0 1 -1 0 $EndComp $Comp -L GNDREF #PWR? +L GNDREF #PWR04 U 1 1 5E28567D P 6750 3950 -F 0 "#PWR?" H 6750 3700 50 0001 C CNN +F 0 "#PWR04" H 6750 3700 50 0001 C CNN F 1 "GNDREF" H 6750 3800 50 0000 C CNN F 2 "" H 6750 3950 50 0001 C CNN F 3 "" H 6750 3950 50 0001 C CNN @@ -303,10 +300,10 @@ F 3 "" H 6750 3950 50 0001 C CNN 1 0 0 -1 $EndComp $Comp -L R R_led +L R R_led1 U 1 1 5E285984 P 6450 3400 -F 0 "R_led" V 6530 3400 50 0000 C CNN +F 0 "R_led1" V 6530 3400 50 0000 C CNN F 1 "R" V 6450 3400 50 0000 C CNN F 2 "" V 6380 3400 50 0001 C CNN F 3 "" H 6450 3400 50 0001 C CNN @@ -314,10 +311,10 @@ F 3 "" H 6450 3400 50 0001 C CNN -1 0 0 1 $EndComp $Comp -L R R_led +L R R_led2 U 1 1 5E285A19 P 6750 3400 -F 0 "R_led" V 6830 3400 50 0000 C CNN +F 0 "R_led2" V 6830 3400 50 0000 C CNN F 1 "R" V 6750 3400 50 0000 C CNN F 2 "" V 6680 3400 50 0001 C CNN F 3 "" H 6750 3400 50 0001 C CNN @@ -325,10 +322,10 @@ F 3 "" H 6750 3400 50 0001 C CNN 1 0 0 -1 $EndComp $Comp -L R R_led +L R R_led3 U 1 1 5E285A78 P 7050 3400 -F 0 "R_led" V 7130 3400 50 0000 C CNN +F 0 "R_led3" V 7130 3400 50 0000 C CNN F 1 "R" V 7050 3400 50 0000 C CNN F 2 "" V 6980 3400 50 0001 C CNN F 3 "" H 7050 3400 50 0001 C CNN @@ -336,10 +333,10 @@ F 3 "" H 7050 3400 50 0001 C CNN 1 0 0 -1 $EndComp $Comp -L AVR-ISP-6 . +L AVR-ISP-6 .1 U 1 1 5E38405A P 3050 3450 -F 0 "." H 2945 3690 50 0000 C CNN +F 0 ".1" H 2945 3690 50 0000 C CNN F 1 "AVR-PDI" H 2785 3220 50 0000 L BNN F 2 "AVR-ISP-6" V 2530 3490 50 0001 C CNN F 3 "" H 3025 3450 50 0001 C CNN @@ -349,21 +346,10 @@ $EndComp NoConn ~ 3200 3450 NoConn ~ 2950 3450 $Comp -L GNDREF #PWR? -U 1 1 5E38456B -P 3200 2000 -F 0 "#PWR?" H 3200 1750 50 0001 C CNN -F 1 "GNDREF" H 3200 1850 50 0000 C CNN -F 2 "" H 3200 2000 50 0001 C CNN -F 3 "" H 3200 2000 50 0001 C CNN - 1 3200 2000 - 0 -1 -1 0 -$EndComp -$Comp -L GNDREF #PWR? +L GNDREF #PWR05 U 1 1 5E3847A4 P 3200 2000 -F 0 "#PWR?" H 3200 1750 50 0001 C CNN +F 0 "#PWR05" H 3200 1750 50 0001 C CNN F 1 "GNDREF" H 3200 1850 50 0000 C CNN F 2 "" H 3200 2000 50 0001 C CNN F 3 "" H 3200 2000 50 0001 C CNN @@ -371,11 +357,19 @@ F 3 "" H 3200 2000 50 0001 C CNN 0 -1 -1 0 $EndComp Wire Wire Line - 4550 4900 4850 4900 + 4550 4900 4650 4900 +Wire Wire Line + 4650 4900 4750 4900 +Wire Wire Line + 4750 4900 4850 4900 Connection ~ 4650 4900 Connection ~ 4750 4900 Wire Wire Line - 4600 2300 5000 2300 + 4600 2300 4700 2300 +Wire Wire Line + 4700 2300 4800 2300 +Wire Wire Line + 4800 2300 5000 2300 Connection ~ 4700 2300 Connection ~ 4800 2300 Wire Wire Line @@ -383,22 +377,22 @@ Wire Wire Line Wire Wire Line 2600 2100 2550 2100 Wire Wire Line - 2800 2100 3050 2100 + 2800 2100 3000 2100 +Wire Wire Line + 3000 2100 3050 2100 Wire Wire Line - 3000 1900 3000 2100 + 3000 1900 3000 2000 +Wire Wire Line + 3000 2000 3000 2100 Connection ~ 3000 2100 Connection ~ 3000 2000 Wire Wire Line - 5600 4200 5800 4200 -Wire Wire Line 5600 4100 5800 4100 Wire Wire Line 5600 4000 5800 4000 Wire Wire Line 5600 3900 5800 3900 Wire Wire Line - 5600 3750 5700 3750 -Wire Wire Line 5600 3650 5700 3650 Wire Wire Line 5600 3550 5700 3550 @@ -425,11 +419,29 @@ Wire Wire Line Wire Wire Line 3800 3450 3600 3450 Wire Bus Line - 3500 1850 3500 4300 + 3500 1850 3500 3350 +Wire Bus Line + 3500 3350 3500 3450 +Wire Bus Line + 3500 3450 3500 3550 +Wire Bus Line + 3500 3550 3500 3650 +Wire Bus Line + 3500 3650 3500 3800 +Wire Bus Line + 3500 3800 3500 3900 +Wire Bus Line + 3500 3900 3500 4000 Wire Bus Line - 3500 1850 5700 1850 + 3500 4000 3500 4100 Wire Bus Line - 5700 1850 5700 2050 + 3500 4100 3500 4200 +Wire Bus Line + 3500 4200 3500 4300 +Wire Bus Line + 3500 1850 5750 1850 +Wire Bus Line + 5750 1850 5750 2050 Wire Wire Line 2950 4500 3800 4500 Wire Wire Line @@ -439,11 +451,15 @@ Wire Wire Line Wire Wire Line 3050 3200 3050 2900 Wire Wire Line - 2550 3200 3050 3200 + 2550 3200 2600 3200 +Wire Wire Line + 2600 3200 3050 3200 Wire Wire Line 2550 2900 2550 3200 Wire Wire Line - 6450 3950 7050 3950 + 6450 3950 6750 3950 +Wire Wire Line + 6750 3950 7050 3950 Connection ~ 6750 3950 Wire Wire Line 6450 3550 6450 3650 @@ -452,7 +468,21 @@ Wire Wire Line Wire Wire Line 7050 3550 7050 3650 Wire Bus Line - 5700 2250 5700 3200 + 5750 2250 5750 2500 +Wire Bus Line + 5750 2500 5750 2600 +Wire Bus Line + 5750 2600 5750 2700 +Wire Bus Line + 5750 2700 5750 2800 +Wire Bus Line + 5750 2800 5750 2900 +Wire Bus Line + 5750 2900 5750 3000 +Wire Bus Line + 5750 3000 5750 3100 +Wire Bus Line + 5750 3100 5750 3200 Wire Wire Line 3400 3350 3400 2600 Wire Wire Line @@ -464,9 +494,11 @@ Wire Wire Line Wire Wire Line 2950 4300 2950 3950 Wire Wire Line - 2600 3950 2950 3950 + 2950 3950 2600 3950 Wire Wire Line - 2600 3200 2600 3950 + 2600 3950 2600 3550 +Wire Wire Line + 2600 3550 2600 3200 Connection ~ 2600 3200 Wire Wire Line 2950 3550 2600 3550 @@ -474,7 +506,9 @@ Connection ~ 2600 3550 Wire Wire Line 2700 3000 2800 3000 Wire Wire Line - 2800 2900 2800 3050 + 2800 2900 2800 3000 +Wire Wire Line + 2800 3000 2800 3050 Wire Wire Line 2950 3350 2950 3050 Wire Wire Line @@ -497,10 +531,10 @@ Wire Wire Line Wire Wire Line 7500 4400 7400 4400 $Comp -L GNDREF #PWR? +L GNDREF #PWR06 U 1 1 5E3982EC P 7500 4400 -F 0 "#PWR?" H 7500 4150 50 0001 C CNN +F 0 "#PWR06" H 7500 4150 50 0001 C CNN F 1 "GNDREF" H 7500 4250 50 0000 C CNN F 2 "" H 7500 4400 50 0001 C CNN F 3 "" H 7500 4400 50 0001 C CNN @@ -514,26 +548,62 @@ Wire Wire Line Wire Wire Line 6550 4600 6550 4500 Wire Bus Line - 5800 2150 6700 2150 -Wire Wire Line - 5600 4300 5800 4300 -Entry Wire Line - 5800 4300 5900 4200 + 5850 2150 5900 2150 +Wire Bus Line + 5900 2150 5950 2150 +Wire Bus Line + 5950 2150 6000 2150 +Wire Bus Line + 6000 2150 6050 2150 +Wire Bus Line + 6050 2150 6100 2150 +Wire Bus Line + 6100 2150 6150 2150 +Wire Bus Line + 6150 2150 6200 2150 +Wire Bus Line + 6200 2150 6250 2150 +Wire Bus Line + 6250 2150 6300 2150 Wire Bus Line - 5800 2750 5800 3550 + 6300 2150 6350 2150 Wire Bus Line - 5900 3150 5900 4000 + 6350 2150 6400 2150 +Wire Bus Line + 6400 2150 6450 2150 +Wire Bus Line + 6450 2150 6500 2150 +Wire Bus Line + 6500 2150 6550 2150 +Wire Bus Line + 6550 2150 6600 2150 +Wire Bus Line + 6600 2150 6650 2150 +Wire Bus Line + 6650 2150 6700 2150 +Wire Bus Line + 5800 2850 5800 3350 +Wire Bus Line + 5800 3350 5800 3450 +Wire Bus Line + 5800 3450 5800 3550 +Wire Bus Line + 5900 3100 5900 3800 +Wire Bus Line + 5900 3800 5900 3900 +Wire Bus Line + 5900 3900 5900 4000 Entry Wire Line - 6350 3150 6450 3250 + 6350 3100 6450 3200 Entry Wire Line - 6650 3150 6750 3250 + 6650 3100 6750 3200 Entry Wire Line - 6950 3150 7050 3250 + 6950 3100 7050 3200 $Comp -L 74HC238 U? +L 74HC238 U1 U 1 1 5E452F94 P 7750 2200 -F 0 "U?" V 7050 1950 45 0000 C CNN +F 0 "U1" V 7050 1950 45 0000 C CNN F 1 "74HC238" V 7150 2050 50 0000 C CNN F 2 "" H 7750 2200 60 0001 C CNN F 3 "" H 7750 2200 60 0001 C CNN @@ -541,13 +611,17 @@ F 3 "" H 7750 2200 60 0001 C CNN 1 0 0 -1 $EndComp Entry Wire Line - 7150 2750 7250 2650 + 7150 2850 7250 2750 Entry Wire Line - 7350 2750 7450 2650 + 7350 2850 7450 2750 Entry Wire Line - 7250 2750 7350 2650 + 7250 2850 7350 2750 Wire Bus Line - 5800 2750 7350 2750 + 5800 2850 7150 2850 +Wire Bus Line + 7150 2850 7250 2850 +Wire Bus Line + 7250 2850 7350 2850 Wire Wire Line 7350 2050 7350 1950 Wire Wire Line @@ -577,19 +651,21 @@ Wire Wire Line Wire Wire Line 7700 2300 7300 2300 Wire Wire Line - 7300 2050 7300 2300 + 7300 2300 7300 2050 +Wire Wire Line + 7300 2050 7250 2050 Wire Wire Line - 7050 2050 7300 2050 + 7250 2050 7050 2050 Wire Wire Line 7050 2050 7050 1950 Connection ~ 7250 2050 Text GLabel 7050 1950 1 60 Output ~ 0 VCC $Comp -L GNDREF #PWR? +L GNDREF #PWR07 U 1 1 5E4537BA P 7950 2850 -F 0 "#PWR?" H 7950 2600 50 0001 C CNN +F 0 "#PWR07" H 7950 2600 50 0001 C CNN F 1 "GNDREF" H 7950 2700 50 0000 C CNN F 2 "" H 7950 2850 50 0001 C CNN F 3 "" H 7950 2850 50 0001 C CNN @@ -597,9 +673,13 @@ F 3 "" H 7950 2850 50 0001 C CNN 1 0 0 -1 $EndComp Wire Wire Line - 7950 2650 7950 2850 + 7950 2650 7950 2750 Wire Wire Line - 7550 2650 7650 2650 + 7950 2750 7950 2850 +Wire Wire Line + 7550 2650 7600 2650 +Wire Wire Line + 7600 2650 7650 2650 Wire Wire Line 7600 2650 7600 2750 Wire Wire Line @@ -607,5 +687,113 @@ Wire Wire Line Connection ~ 7950 2750 Connection ~ 7600 2650 Wire Bus Line - 6950 3150 5900 3150 + 5900 3100 6350 3100 +Wire Bus Line + 6350 3100 6650 3100 +Wire Bus Line + 6650 3100 6950 3100 +$Comp +L TSX3225 CLK1 +U 1 1 5E4541AD +P 3800 3050 +F 0 "CLK1" V 3400 2950 45 0000 C CNN +F 1 "TSX3225" V 3500 3050 50 0000 C CNN +F 2 "" H 3800 3050 60 0001 C CNN +F 3 "" H 3800 3050 60 0001 C CNN + 1 3800 3050 + 1 0 0 -1 +$EndComp +Wire Wire Line + 3700 3350 3800 3350 +Wire Wire Line + 3800 3350 3800 3300 +Wire Wire Line + 3800 3200 3800 2800 +Wire Wire Line + 3800 2800 3650 2800 +Wire Wire Line + 3650 2800 3650 2750 +Wire Wire Line + 3650 2750 3600 2750 +$Comp +L GNDREF #PWR08 +U 1 1 5E4544CC +P 3600 3350 +F 0 "#PWR08" H 3600 3100 50 0001 C CNN +F 1 "GNDREF" H 3600 3200 50 0000 C CNN +F 2 "" H 3600 3350 50 0001 C CNN +F 3 "" H 3600 3350 50 0001 C CNN + 1 3600 3350 + 1 0 0 -1 +$EndComp +$Comp +L GNDREF #PWR09 +U 1 1 5E454558 +P 3700 2750 +F 0 "#PWR09" H 3700 2500 50 0001 C CNN +F 1 "GNDREF" H 3700 2600 50 0000 C CNN +F 2 "" H 3700 2750 50 0001 C CNN +F 3 "" H 3700 2750 50 0001 C CNN + 1 3700 2750 + -1 0 0 1 +$EndComp +NoConn ~ 5600 3750 +NoConn ~ 5600 4300 +NoConn ~ 5600 4200 +NoConn ~ 6000 4750 +NoConn ~ 7400 4550 +NoConn ~ 5950 2050 +NoConn ~ 6000 2050 +NoConn ~ 6050 2050 +NoConn ~ 6100 2050 +NoConn ~ 6150 2050 +NoConn ~ 6250 2050 +NoConn ~ 6300 2050 +NoConn ~ 6400 2050 +NoConn ~ 6450 2050 +NoConn ~ 6500 2050 +NoConn ~ 6550 2050 +NoConn ~ 6600 2050 +NoConn ~ 6650 2050 +NoConn ~ 6700 2050 +NoConn ~ 6750 2050 +NoConn ~ 6800 2050 +NoConn ~ 6350 2050 +NoConn ~ 6200 2050 +NoConn ~ 7350 1950 +NoConn ~ 7450 1950 +NoConn ~ 7550 1950 +NoConn ~ 7650 1950 +NoConn ~ 7750 1950 +NoConn ~ 7850 1950 +NoConn ~ 7950 1950 +NoConn ~ 8050 1950 +Wire Wire Line + 7250 2750 7250 2650 +Wire Wire Line + 7350 2650 7350 2750 +Wire Wire Line + 7450 2750 7450 2650 +Wire Wire Line + 5650 2600 5600 2600 +Wire Wire Line + 5600 2700 5650 2700 +Wire Wire Line + 5650 2800 5600 2800 +Wire Wire Line + 5600 2900 5650 2900 +Wire Wire Line + 5650 3000 5600 3000 +Wire Wire Line + 5600 3100 5650 3100 +Wire Wire Line + 5650 3200 5600 3200 +Wire Wire Line + 5600 3300 5650 3300 +Wire Wire Line + 6450 3200 6450 3250 +Wire Wire Line + 6750 3250 6750 3200 +Wire Wire Line + 7050 3200 7050 3250 $EndSCHEMATC diff --git a/clavier/clavier.kicad_pcb b/clavier/clavier.kicad_pcb old mode 100644 new mode 100755 index 02c8ecb..02c8ecb --- a/clavier/clavier.kicad_pcb +++ b/clavier/clavier.kicad_pcb diff --git a/clavier/clavier.pro b/clavier/clavier.pro old mode 100644 new mode 100755 index 113140a..113140a --- a/clavier/clavier.pro +++ b/clavier/clavier.pro diff --git a/clavier/clavier.sch b/clavier/clavier.sch old mode 100644 new mode 100755 index 6abdc38..330f3d0 --- a/clavier/clavier.sch +++ b/clavier/clavier.sch @@ -52,10 +52,10 @@ Comment3 "" Comment4 "" $EndDescr $Comp -L ATXMEGA16A4U-AU µP +L ATXMEGA16A4U-AU µP1 U 1 1 5E14C77C P 4700 3600 -F 0 "µP" H 3950 4800 50 0000 L BNN +F 0 "µP1" H 3950 4800 50 0000 L BNN F 1 "ATXMEGA16A4U-AU" H 5050 2350 50 0000 L BNN F 2 "TQFP44" H 4700 3600 50 0001 C CIN F 3 "" H 4700 3600 50 0001 C CNN @@ -63,10 +63,10 @@ F 3 "" H 4700 3600 50 0001 C CNN 1 0 0 -1 $EndComp $Comp -L USB_A-RESCUE-clavier J? +L USB_A-RESCUE-clavier J1 U 1 1 5E14CAB0 P 2650 4500 -F 0 "J?" H 2450 4950 50 0000 L CNN +F 0 "J1" H 2450 4950 50 0000 L CNN F 1 "USB_A" H 2450 4850 50 0000 L CNN F 2 "" H 2800 4450 50 0001 C CNN F 3 "" H 2800 4450 50 0001 C CNN @@ -74,10 +74,10 @@ F 3 "" H 2800 4450 50 0001 C CNN 1 0 0 -1 $EndComp $Comp -L GNDREF #PWR? +L GNDREF #PWR01 U 1 1 5E14DDF9 P 4750 4900 -F 0 "#PWR?" H 4750 4650 50 0001 C CNN +F 0 "#PWR01" H 4750 4650 50 0001 C CNN F 1 "GNDREF" H 4750 4750 50 0000 C CNN F 2 "" H 4750 4900 50 0001 C CNN F 3 "" H 4750 4900 50 0001 C CNN @@ -87,10 +87,10 @@ $EndComp Text GLabel 4700 2150 1 60 Output ~ 0 VCC $Comp -L LM3670 Alim +L LM3670 Alim1 U 1 1 5E14E048 P 2800 2500 -F 0 "Alim" H 2800 2650 60 0000 C CNN +F 0 "Alim1" H 2800 2650 60 0000 C CNN F 1 "LM3670" H 2800 2500 60 0000 C CNN F 2 "" H 2800 2500 60 0001 C CNN F 3 "" H 2800 2500 60 0001 C CNN @@ -98,10 +98,10 @@ F 3 "" H 2800 2500 60 0001 C CNN 1 0 0 -1 $EndComp $Comp -L C_Small C +L C_Small C1 U 1 1 5E14E10B P 2700 3100 -F 0 "C" H 2710 3170 50 0000 L CNN +F 0 "C1" H 2710 3170 50 0000 L CNN F 1 "4.7µF" H 2710 3020 50 0000 L CNN F 2 "" H 2700 3100 50 0001 C CNN F 3 "" H 2700 3100 50 0001 C CNN @@ -109,10 +109,10 @@ F 3 "" H 2700 3100 50 0001 C CNN 1 0 0 -1 $EndComp $Comp -L L_Small L +L L_Small L1 U 1 1 5E14E2A2 P 2700 2100 -F 0 "L" H 2730 2140 50 0000 L CNN +F 0 "L1" H 2730 2140 50 0000 L CNN F 1 "10µH" H 2730 2060 50 0000 L CNN F 2 "" H 2700 2100 50 0001 C CNN F 3 "" H 2700 2100 50 0001 C CNN @@ -122,10 +122,10 @@ $EndComp Text GLabel 3000 1900 1 60 Input ~ 0 VCC $Comp -L C_Small C +L C_Small C2 U 1 1 5E14E3E8 P 3100 2000 -F 0 "C" H 3110 2070 50 0000 L CNN +F 0 "C2" H 3110 2070 50 0000 L CNN F 1 "10µF" H 3110 1920 50 0000 L CNN F 2 "" H 3100 2000 50 0001 C CNN F 3 "" H 3100 2000 50 0001 C CNN @@ -133,10 +133,10 @@ F 3 "" H 3100 2000 50 0001 C CNN 0 -1 -1 0 $EndComp $Comp -L MX25R6435F-SOP Flash_memory +L MX25R6435F-SOP Flash_memory1 U 1 1 5E1504AF P 6700 4400 -F 0 "Flash_memory" V 6250 4400 60 0000 C CNN +F 0 "Flash_memory1" V 6250 4400 60 0000 C CNN F 1 "MX25R6435F-SOP" V 6150 4400 60 0000 C CNN F 2 "" H 7050 4400 60 0001 C CNN F 3 "" H 7050 4400 60 0001 C CNN @@ -146,21 +146,21 @@ $EndComp Text GLabel 6000 4850 0 60 Output ~ 0 VCC Entry Wire Line - 5600 2600 5700 2500 + 5650 2600 5750 2500 Entry Wire Line - 5600 2700 5700 2600 + 5650 2700 5750 2600 Entry Wire Line - 5600 2800 5700 2700 + 5650 2800 5750 2700 Entry Wire Line - 5600 2900 5700 2800 + 5650 2900 5750 2800 Entry Wire Line - 5600 3000 5700 2900 + 5650 3000 5750 2900 Entry Wire Line - 5600 3100 5700 3000 + 5650 3100 5750 3000 Entry Wire Line - 5600 3200 5700 3100 + 5650 3200 5750 3100 Entry Wire Line - 5600 3300 5700 3200 + 5650 3300 5750 3200 Entry Wire Line 5700 3450 5800 3350 Entry Wire Line @@ -168,16 +168,12 @@ Entry Wire Line Entry Wire Line 5700 3650 5800 3550 Entry Wire Line - 5700 3750 5800 3650 -Entry Wire Line 5800 3900 5900 3800 Entry Wire Line 5800 4000 5900 3900 Entry Wire Line 5800 4100 5900 4000 Entry Wire Line - 5800 4200 5900 4100 -Entry Wire Line 3500 4300 3600 4400 Entry Wire Line 3500 4200 3600 4300 @@ -198,9 +194,9 @@ Entry Wire Line Entry Wire Line 3500 3350 3600 3450 Entry Bus Bus - 5700 2050 5800 2150 + 5750 2050 5850 2150 Entry Bus Bus - 5700 2250 5800 2150 + 5750 2250 5850 2150 Entry Wire Line 5850 2150 5950 2050 Entry Wire Line @@ -238,10 +234,10 @@ Entry Wire Line Entry Wire Line 6700 2150 6800 2050 $Comp -L GNDREF #PWR? +L GNDREF #PWR02 U 1 1 5E1535E8 P 2600 4900 -F 0 "#PWR?" H 2600 4650 50 0001 C CNN +F 0 "#PWR02" H 2600 4650 50 0001 C CNN F 1 "GNDREF" H 2600 4750 50 0000 C CNN F 2 "" H 2600 4900 50 0001 C CNN F 3 "" H 2600 4900 50 0001 C CNN @@ -249,10 +245,10 @@ F 3 "" H 2600 4900 50 0001 C CNN 1 0 0 -1 $EndComp $Comp -L GNDREF #PWR? +L GNDREF #PWR03 U 1 1 5E1539B6 P 2800 2950 -F 0 "#PWR?" H 2800 2700 50 0001 C CNN +F 0 "#PWR03" H 2800 2700 50 0001 C CNN F 1 "GNDREF" H 2800 2800 50 0000 C CNN F 2 "" H 2800 2950 50 0001 C CNN F 3 "" H 2800 2950 50 0001 C CNN @@ -260,10 +256,10 @@ F 3 "" H 2800 2950 50 0001 C CNN 0 -1 1 0 $EndComp $Comp -L LED LED_spé +L LED LED_sp1 U 1 1 5E2852E9 P 7050 3800 -F 0 "LED_spé" H 7050 3900 50 0000 C CNN +F 0 "LED_sp1" H 7050 3900 50 0000 C CNN F 1 "LED" H 7050 3700 50 0000 C CNN F 2 "" H 7050 3800 50 0001 C CNN F 3 "" H 7050 3800 50 0001 C CNN @@ -271,10 +267,10 @@ F 3 "" H 7050 3800 50 0001 C CNN 0 1 -1 0 $EndComp $Comp -L LED LED_num +L LED LED_num1 U 1 1 5E28533E P 6450 3800 -F 0 "LED_num" H 6450 3900 50 0000 C CNN +F 0 "LED_num1" H 6450 3900 50 0000 C CNN F 1 "LED" H 6450 3700 50 0000 C CNN F 2 "" H 6450 3800 50 0001 C CNN F 3 "" H 6450 3800 50 0001 C CNN @@ -282,10 +278,10 @@ F 3 "" H 6450 3800 50 0001 C CNN 0 1 -1 0 $EndComp $Comp -L LED LED_maj +L LED LED_maj1 U 1 1 5E28538E P 6750 3800 -F 0 "LED_maj" H 6750 3900 50 0000 C CNN +F 0 "LED_maj1" H 6750 3900 50 0000 C CNN F 1 "LED" H 6750 3700 50 0000 C CNN F 2 "" H 6750 3800 50 0001 C CNN F 3 "" H 6750 3800 50 0001 C CNN @@ -293,10 +289,10 @@ F 3 "" H 6750 3800 50 0001 C CNN 0 1 -1 0 $EndComp $Comp -L GNDREF #PWR? +L GNDREF #PWR04 U 1 1 5E28567D P 6750 3950 -F 0 "#PWR?" H 6750 3700 50 0001 C CNN +F 0 "#PWR04" H 6750 3700 50 0001 C CNN F 1 "GNDREF" H 6750 3800 50 0000 C CNN F 2 "" H 6750 3950 50 0001 C CNN F 3 "" H 6750 3950 50 0001 C CNN @@ -304,10 +300,10 @@ F 3 "" H 6750 3950 50 0001 C CNN 1 0 0 -1 $EndComp $Comp -L R R_led +L R R_led1 U 1 1 5E285984 P 6450 3400 -F 0 "R_led" V 6530 3400 50 0000 C CNN +F 0 "R_led1" V 6530 3400 50 0000 C CNN F 1 "R" V 6450 3400 50 0000 C CNN F 2 "" V 6380 3400 50 0001 C CNN F 3 "" H 6450 3400 50 0001 C CNN @@ -315,10 +311,10 @@ F 3 "" H 6450 3400 50 0001 C CNN -1 0 0 1 $EndComp $Comp -L R R_led +L R R_led2 U 1 1 5E285A19 P 6750 3400 -F 0 "R_led" V 6830 3400 50 0000 C CNN +F 0 "R_led2" V 6830 3400 50 0000 C CNN F 1 "R" V 6750 3400 50 0000 C CNN F 2 "" V 6680 3400 50 0001 C CNN F 3 "" H 6750 3400 50 0001 C CNN @@ -326,10 +322,10 @@ F 3 "" H 6750 3400 50 0001 C CNN 1 0 0 -1 $EndComp $Comp -L R R_led +L R R_led3 U 1 1 5E285A78 P 7050 3400 -F 0 "R_led" V 7130 3400 50 0000 C CNN +F 0 "R_led3" V 7130 3400 50 0000 C CNN F 1 "R" V 7050 3400 50 0000 C CNN F 2 "" V 6980 3400 50 0001 C CNN F 3 "" H 7050 3400 50 0001 C CNN @@ -337,10 +333,10 @@ F 3 "" H 7050 3400 50 0001 C CNN 1 0 0 -1 $EndComp $Comp -L AVR-ISP-6 . +L AVR-ISP-6 .1 U 1 1 5E38405A P 3050 3450 -F 0 "." H 2945 3690 50 0000 C CNN +F 0 ".1" H 2945 3690 50 0000 C CNN F 1 "AVR-PDI" H 2785 3220 50 0000 L BNN F 2 "AVR-ISP-6" V 2530 3490 50 0001 C CNN F 3 "" H 3025 3450 50 0001 C CNN @@ -350,10 +346,10 @@ $EndComp NoConn ~ 3200 3450 NoConn ~ 2950 3450 $Comp -L GNDREF #PWR? +L GNDREF #PWR05 U 1 1 5E3847A4 P 3200 2000 -F 0 "#PWR?" H 3200 1750 50 0001 C CNN +F 0 "#PWR05" H 3200 1750 50 0001 C CNN F 1 "GNDREF" H 3200 1850 50 0000 C CNN F 2 "" H 3200 2000 50 0001 C CNN F 3 "" H 3200 2000 50 0001 C CNN @@ -379,16 +375,12 @@ Wire Wire Line Connection ~ 3000 2100 Connection ~ 3000 2000 Wire Wire Line - 5600 4200 5800 4200 -Wire Wire Line 5600 4100 5800 4100 Wire Wire Line 5600 4000 5800 4000 Wire Wire Line 5600 3900 5800 3900 Wire Wire Line - 5600 3750 5700 3750 -Wire Wire Line 5600 3650 5700 3650 Wire Wire Line 5600 3550 5700 3550 @@ -417,9 +409,9 @@ Wire Wire Line Wire Bus Line 3500 1850 3500 4300 Wire Bus Line - 3500 1850 5700 1850 + 3500 1850 5750 1850 Wire Bus Line - 5700 1850 5700 2050 + 5750 1850 5750 2050 Wire Wire Line 2950 4500 3800 4500 Wire Wire Line @@ -442,7 +434,7 @@ Wire Wire Line Wire Wire Line 7050 3550 7050 3650 Wire Bus Line - 5700 2250 5700 3200 + 5750 2250 5750 3200 Wire Wire Line 3400 3350 3400 2600 Wire Wire Line @@ -487,10 +479,10 @@ Wire Wire Line Wire Wire Line 7500 4400 7400 4400 $Comp -L GNDREF #PWR? +L GNDREF #PWR06 U 1 1 5E3982EC P 7500 4400 -F 0 "#PWR?" H 7500 4150 50 0001 C CNN +F 0 "#PWR06" H 7500 4150 50 0001 C CNN F 1 "GNDREF" H 7500 4250 50 0000 C CNN F 2 "" H 7500 4400 50 0001 C CNN F 3 "" H 7500 4400 50 0001 C CNN @@ -504,26 +496,22 @@ Wire Wire Line Wire Wire Line 6550 4600 6550 4500 Wire Bus Line - 5800 2150 6700 2150 -Wire Wire Line - 5600 4300 5800 4300 -Entry Wire Line - 5800 4300 5900 4200 + 5850 2150 6700 2150 Wire Bus Line - 5800 2750 5800 3550 + 5800 2850 5800 3550 Wire Bus Line - 5900 3150 5900 4000 + 5900 3100 5900 4000 Entry Wire Line - 6350 3150 6450 3250 + 6350 3100 6450 3200 Entry Wire Line - 6650 3150 6750 3250 + 6650 3100 6750 3200 Entry Wire Line - 6950 3150 7050 3250 + 6950 3100 7050 3200 $Comp -L 74HC238 U? +L 74HC238 U1 U 1 1 5E452F94 P 7750 2200 -F 0 "U?" V 7050 1950 45 0000 C CNN +F 0 "U1" V 7050 1950 45 0000 C CNN F 1 "74HC238" V 7150 2050 50 0000 C CNN F 2 "" H 7750 2200 60 0001 C CNN F 3 "" H 7750 2200 60 0001 C CNN @@ -531,13 +519,13 @@ F 3 "" H 7750 2200 60 0001 C CNN 1 0 0 -1 $EndComp Entry Wire Line - 7150 2750 7250 2650 + 7150 2850 7250 2750 Entry Wire Line - 7350 2750 7450 2650 + 7350 2850 7450 2750 Entry Wire Line - 7250 2750 7350 2650 + 7250 2850 7350 2750 Wire Bus Line - 5800 2750 7350 2750 + 5800 2850 7350 2850 Wire Wire Line 7350 2050 7350 1950 Wire Wire Line @@ -576,10 +564,10 @@ Connection ~ 7250 2050 Text GLabel 7050 1950 1 60 Output ~ 0 VCC $Comp -L GNDREF #PWR? +L GNDREF #PWR07 U 1 1 5E4537BA P 7950 2850 -F 0 "#PWR?" H 7950 2600 50 0001 C CNN +F 0 "#PWR07" H 7950 2600 50 0001 C CNN F 1 "GNDREF" H 7950 2700 50 0000 C CNN F 2 "" H 7950 2850 50 0001 C CNN F 3 "" H 7950 2850 50 0001 C CNN @@ -597,12 +585,12 @@ Wire Wire Line Connection ~ 7950 2750 Connection ~ 7600 2650 Wire Bus Line - 6950 3150 5900 3150 + 5900 3100 6950 3100 $Comp -L TSX3225 CLK? +L TSX3225 CLK1 U 1 1 5E4541AD P 3800 3050 -F 0 "CLK?" V 3400 2950 45 0000 C CNN +F 0 "CLK1" V 3400 2950 45 0000 C CNN F 1 "TSX3225" V 3500 3050 50 0000 C CNN F 2 "" H 3800 3050 60 0001 C CNN F 3 "" H 3800 3050 60 0001 C CNN @@ -622,10 +610,10 @@ Wire Wire Line Wire Wire Line 3650 2750 3600 2750 $Comp -L GNDREF #PWR? +L GNDREF #PWR08 U 1 1 5E4544CC P 3600 3350 -F 0 "#PWR?" H 3600 3100 50 0001 C CNN +F 0 "#PWR08" H 3600 3100 50 0001 C CNN F 1 "GNDREF" H 3600 3200 50 0000 C CNN F 2 "" H 3600 3350 50 0001 C CNN F 3 "" H 3600 3350 50 0001 C CNN @@ -633,14 +621,74 @@ F 3 "" H 3600 3350 50 0001 C CNN 1 0 0 -1 $EndComp $Comp -L GNDREF #PWR? +L GNDREF #PWR09 U 1 1 5E454558 P 3700 2750 -F 0 "#PWR?" H 3700 2500 50 0001 C CNN +F 0 "#PWR09" H 3700 2500 50 0001 C CNN F 1 "GNDREF" H 3700 2600 50 0000 C CNN F 2 "" H 3700 2750 50 0001 C CNN F 3 "" H 3700 2750 50 0001 C CNN 1 3700 2750 -1 0 0 1 $EndComp +NoConn ~ 5600 3750 +NoConn ~ 5600 4300 +NoConn ~ 5600 4200 +NoConn ~ 6000 4750 +NoConn ~ 7400 4550 +NoConn ~ 5950 2050 +NoConn ~ 6000 2050 +NoConn ~ 6050 2050 +NoConn ~ 6100 2050 +NoConn ~ 6150 2050 +NoConn ~ 6250 2050 +NoConn ~ 6300 2050 +NoConn ~ 6400 2050 +NoConn ~ 6450 2050 +NoConn ~ 6500 2050 +NoConn ~ 6550 2050 +NoConn ~ 6600 2050 +NoConn ~ 6650 2050 +NoConn ~ 6700 2050 +NoConn ~ 6750 2050 +NoConn ~ 6800 2050 +NoConn ~ 6350 2050 +NoConn ~ 6200 2050 +NoConn ~ 7350 1950 +NoConn ~ 7450 1950 +NoConn ~ 7550 1950 +NoConn ~ 7650 1950 +NoConn ~ 7750 1950 +NoConn ~ 7850 1950 +NoConn ~ 7950 1950 +NoConn ~ 8050 1950 +Wire Wire Line + 7250 2750 7250 2650 +Wire Wire Line + 7350 2650 7350 2750 +Wire Wire Line + 7450 2750 7450 2650 +Wire Wire Line + 5650 2600 5600 2600 +Wire Wire Line + 5600 2700 5650 2700 +Wire Wire Line + 5650 2800 5600 2800 +Wire Wire Line + 5600 2900 5650 2900 +Wire Wire Line + 5650 3000 5600 3000 +Wire Wire Line + 5600 3100 5650 3100 +Wire Wire Line + 5650 3200 5600 3200 +Wire Wire Line + 5600 3300 5650 3300 +Wire Wire Line + 6450 3200 6450 3250 +Wire Wire Line + 6750 3250 6750 3200 +Wire Wire Line + 7050 3200 7050 3250 +Connection ~ 2700 3200 $EndSCHEMATC diff --git a/clavier/lm3670.dcm b/clavier/lm3670.dcm old mode 100644 new mode 100755 index 5f3ed79..5f3ed79 --- a/clavier/lm3670.dcm +++ b/clavier/lm3670.dcm diff --git a/clavier/lm3670.lib b/clavier/lm3670.lib old mode 100644 new mode 100755 index 5264bfb..5264bfb --- a/clavier/lm3670.lib +++ b/clavier/lm3670.lib diff --git a/clavier/mx25r6435f-sop.bak b/clavier/mx25r6435f-sop.bak old mode 100644 new mode 100755 index 148cc33..148cc33 --- a/clavier/mx25r6435f-sop.bak +++ b/clavier/mx25r6435f-sop.bak diff --git a/clavier/mx25r6435f-sop.bck b/clavier/mx25r6435f-sop.bck old mode 100644 new mode 100755 index 5f3ed79..5f3ed79 --- a/clavier/mx25r6435f-sop.bck +++ b/clavier/mx25r6435f-sop.bck diff --git a/clavier/mx25r6435f-sop.dcm b/clavier/mx25r6435f-sop.dcm old mode 100644 new mode 100755 index 5f3ed79..5f3ed79 --- a/clavier/mx25r6435f-sop.dcm +++ b/clavier/mx25r6435f-sop.dcm diff --git a/clavier/mx25r6435f-sop.lib b/clavier/mx25r6435f-sop.lib old mode 100644 new mode 100755 index 148cc33..148cc33 --- a/clavier/mx25r6435f-sop.lib +++ b/clavier/mx25r6435f-sop.lib diff --git a/clavier/quartz_TSX3225.dcm b/clavier/quartz_TSX3225.dcm old mode 100644 new mode 100755 index 5f3ed79..5f3ed79 --- a/clavier/quartz_TSX3225.dcm +++ b/clavier/quartz_TSX3225.dcm diff --git a/clavier/quartz_TSX3225.lib b/clavier/quartz_TSX3225.lib old mode 100644 new mode 100755 index 31f48a8..31f48a8 --- a/clavier/quartz_TSX3225.lib +++ b/clavier/quartz_TSX3225.lib diff --git a/clé/clé-cache.lib b/clé/clé-cache.lib new file mode 100755 index 0000000..222632c --- /dev/null +++ b/clé/clé-cache.lib @@ -0,0 +1,135 @@ +EESchema-LIBRARY Version 2.3 +#encoding utf-8 +# +# ATXMEGA16A4U-AU +# +DEF ATXMEGA16A4U-AU U 0 40 Y Y 1 F N +F0 "U" -750 1200 50 H V L BNN +F1 "ATXMEGA16A4U-AU" 350 -1250 50 H V L BNN +F2 "TQFP44" 0 0 50 H I C CIN +F3 "" 0 0 50 H I C CNN +ALIAS ATXMEGA32A4U-AU ATXMEGA64A4U-AU ATXMEGA128A4U-AU +DRAW +S -750 1150 750 -1150 0 1 10 f +X AC5/ADC5/PA5 1 900 500 150 L 40 35 1 1 B +X AC1OUT/AC6/ADC6/PA6 2 900 400 150 L 40 35 1 1 B +X AC0OUT/AC7/ADC7/PA7 3 900 300 150 L 40 35 1 1 B +X AREFB/ADC8/PB0 4 900 150 150 L 40 35 1 1 B +X ADC9/PB1 5 900 50 150 L 40 35 1 1 B +X DAC0/ADC10/PB2 6 900 -50 150 L 40 35 1 1 B +X DAC1/ACD11/PB3 7 900 -150 150 L 40 35 1 1 B +X GND 8 -150 -1300 150 U 40 35 1 1 W +X VCC 9 -100 1300 150 D 40 35 1 1 W +X SDAIN/SDA/~OC0ALS~/OC0A/PC0 10 900 -300 150 L 40 35 1 1 B +X PD0/OC0A 20 -900 -300 150 R 40 35 1 1 B +X GND 30 50 -1300 150 U 40 35 1 1 W +X AREFA/AC0/ADC0/PA0 40 900 1000 150 L 40 35 1 1 B +X SCLIN/SCL/XCK0/OC0AHS/OC0B/PC1 11 900 -400 150 L 40 35 1 1 B +X PD1/OC0B/XCK0 21 -900 -400 150 R 40 35 1 1 B +X VCC 31 100 1300 150 D 40 35 1 1 W +X AC1/ADC1/PA1 41 900 900 150 L 40 35 1 1 B +X SDAOUT/RXD0/~OC0BLS~/OC0C/PC2 12 900 -500 150 L 40 35 1 1 B +X PD2/OC0C/RXD0 22 -900 -500 150 R 40 35 1 1 B +X PE2/OC0C/RXD0 32 -900 -50 150 R 40 35 1 1 B +X AC2/ADC2/PA2 42 900 800 150 L 40 35 1 1 B +X SCLOUT/TXD0/OC0BHS/OC0D/PC3 13 900 -600 150 L 40 35 1 1 B +X PD3/OC0D/TXD0 23 -900 -600 150 R 40 35 1 1 B +X PE3/OC0D/TXD0 33 -900 -150 150 R 40 35 1 1 B +X AC3/ADC3/PA3 43 900 700 150 L 40 35 1 1 B +X ~SS~/~OC0CLS~/OC1A/PC4 14 900 -700 150 L 40 35 1 1 B +X PD4/OC1A/~SS~ 24 -900 -700 150 R 40 35 1 1 B +X PDI_DATA 34 -900 900 150 R 40 35 1 1 I +X AC4/ADC4/PA4 44 900 600 150 L 40 35 1 1 B +X MOSI/XCK1/OC0CHS/OC1B/PC5 15 900 -800 150 L 40 35 1 1 B +X PD5/OC1B/XCK1/MOSI 25 -900 -800 150 R 40 35 1 1 B +X ~RESET~/PDI_CLK 35 -900 1000 150 R 40 35 1 1 I +X CLKRTC/MISO/RXD1/~OC0DLS~/PC6 16 900 -900 150 L 40 35 1 1 B +X PD6/D-/RXD1/MISO 26 -900 -900 150 R 40 35 1 1 B +X PR0/XTAL2/TOSC2 36 -900 400 150 R 40 35 1 1 B +X EVOUT/CLKOUT/SCK/TXD1/OC0DHS/PC7 17 900 -1000 150 L 40 35 1 1 B +X PD7/D+/TXD1/SCK/CLKOUT/EVOUT 27 -900 -1000 150 R 40 35 1 1 B +X PR1/XTAL1/TOSC1 37 -900 300 150 R 40 35 1 1 B +X GND 18 -50 -1300 150 U 40 35 1 1 W +X PE0/OC0A/SDA 28 -900 150 150 R 40 35 1 1 B +X GND 38 150 -1300 150 U 40 35 1 1 W +X VCC 19 0 1300 150 D 40 35 1 1 W +X PE1/OC0B/XCK0/SCL 29 -900 50 150 R 40 35 1 1 B +X AVCC 39 300 1300 150 D 40 35 1 1 W +ENDDRAW +ENDDEF +# +# C_Small +# +DEF C_Small C 0 10 N N 1 F N +F0 "C" 10 70 50 H V L CNN +F1 "C_Small" 10 -80 50 H V L CNN +F2 "" 0 0 50 H I C CNN +F3 "" 0 0 50 H I C CNN +$FPLIST + C_* +$ENDFPLIST +DRAW +P 2 0 1 13 -60 -20 60 -20 N +P 2 0 1 12 -60 20 60 20 N +X ~ 1 0 100 80 D 50 50 1 1 P +X ~ 2 0 -100 80 U 50 50 1 1 P +ENDDRAW +ENDDEF +# +# GNDREF +# +DEF GNDREF #PWR 0 0 Y Y 1 F P +F0 "#PWR" 0 -250 50 H I C CNN +F1 "GNDREF" 0 -150 50 H V C CNN +F2 "" 0 0 50 H I C CNN +F3 "" 0 0 50 H I C CNN +DRAW +P 2 0 1 0 -25 -75 25 -75 N +P 2 0 1 0 -5 -100 5 -100 N +P 2 0 1 0 0 -50 0 0 N +P 2 0 1 0 50 -50 -50 -50 N +X GNDREF 1 0 0 0 D 50 50 1 1 W N +ENDDRAW +ENDDEF +# +# LM3670 +# +DEF LM3670 U 0 20 Y Y 1 F N +F0 "U" 0 0 60 H V C CNN +F1 "LM3670" 0 0 60 H V C CNN +F2 "" 0 0 60 H I C CNN +F3 "" 0 0 60 H I C CNN +DRAW +S -400 200 350 -200 0 1 0 N +X Vin 1 -250 -400 200 U 50 50 1 1 I +X GND 2 0 -400 200 U 50 50 1 1 I +X EN 3 250 -400 200 U 50 50 1 1 I +X FB 4 250 400 200 D 50 50 1 1 O +X SW 5 -250 400 200 D 50 50 1 1 O +ENDDRAW +ENDDEF +# +# L_Small +# +DEF L_Small L 0 10 N N 1 F N +F0 "L" 30 40 50 H V L CNN +F1 "L_Small" 30 -40 50 H V L CNN +F2 "" 0 0 50 H I C CNN +F3 "" 0 0 50 H I C CNN +$FPLIST + Choke_* + *Coil* + Inductor_* + L_* +$ENDFPLIST +DRAW +A 0 -60 20 -899 899 0 1 0 N 0 -80 0 -40 +A 0 -20 20 -899 899 0 1 0 N 0 -40 0 0 +A 0 20 20 -899 899 0 1 0 N 0 0 0 40 +A 0 60 20 -899 899 0 1 0 N 0 40 0 80 +X ~ 1 0 100 20 D 50 50 1 1 P +X ~ 2 0 -100 20 U 50 50 1 1 P +ENDDRAW +ENDDEF +# +#End Library diff --git a/clé/clé.bak b/clé/clé.bak new file mode 100755 index 0000000..32cca65 --- /dev/null +++ b/clé/clé.bak @@ -0,0 +1,170 @@ +EESchema Schematic File Version 2 +LIBS:power +LIBS:device +LIBS:switches +LIBS:relays +LIBS:motors +LIBS:transistors +LIBS:conn +LIBS:linear +LIBS:regul +LIBS:74xx +LIBS:cmos4000 +LIBS:adc-dac +LIBS:memory +LIBS:xilinx +LIBS:microcontrollers +LIBS:dsp +LIBS:microchip +LIBS:analog_switches +LIBS:motorola +LIBS:texas +LIBS:intel +LIBS:audio +LIBS:interface +LIBS:digital-audio +LIBS:philips +LIBS:display +LIBS:cypress +LIBS:siliconi +LIBS:opto +LIBS:atmel +LIBS:contrib +LIBS:valves +LIBS:lm3670 +EELAYER 25 0 +EELAYER END +$Descr A4 11693 8268 +encoding utf-8 +Sheet 1 1 +Title "" +Date "" +Rev "" +Comp "" +Comment1 "" +Comment2 "" +Comment3 "" +Comment4 "" +$EndDescr +$Comp +L ATXMEGA16A4U-AU U? +U 1 1 5E3AECFB +P 5600 3300 +F 0 "U?" H 4850 4500 50 0000 L BNN +F 1 "ATXMEGA16A4U-AU" H 5950 2050 50 0000 L BNN +F 2 "TQFP44" H 5600 3300 50 0001 C CIN +F 3 "" H 5600 3300 50 0001 C CNN + 1 5600 3300 + 1 0 0 -1 +$EndComp +$Comp +L LM3670 U? +U 1 1 5E3AED5B +P 3250 2300 +F 0 "U?" H 3250 2300 60 0000 C CNN +F 1 "LM3670" H 3250 2300 60 0000 C CNN +F 2 "" H 3250 2300 60 0001 C CNN +F 3 "" H 3250 2300 60 0001 C CNN + 1 3250 2300 + 1 0 0 -1 +$EndComp +$Comp +L GNDREF #PWR? +U 1 1 5E3AED86 +P 5650 4800 +F 0 "#PWR?" H 5650 4550 50 0001 C CNN +F 1 "GNDREF" H 5650 4650 50 0000 C CNN +F 2 "" H 5650 4800 50 0001 C CNN +F 3 "" H 5650 4800 50 0001 C CNN + 1 5650 4800 + 1 0 0 -1 +$EndComp +$Comp +L GNDREF #PWR? +U 1 1 5E3AEDA2 +P 3250 2700 +F 0 "#PWR?" H 3250 2450 50 0001 C CNN +F 1 "GNDREF" H 3250 2550 50 0000 C CNN +F 2 "" H 3250 2700 50 0001 C CNN +F 3 "" H 3250 2700 50 0001 C CNN + 1 3250 2700 + 0 1 1 0 +$EndComp +$Comp +L GNDREF #PWR? +U 1 1 5E3AEDBE +P 7750 4550 +F 0 "#PWR?" H 7750 4300 50 0001 C CNN +F 1 "GNDREF" H 7750 4400 50 0000 C CNN +F 2 "" H 7750 4550 50 0001 C CNN +F 3 "" H 7750 4550 50 0001 C CNN + 1 7750 4550 + 1 0 0 -1 +$EndComp +$Comp +L GNDREF #PWR? +U 1 1 5E3AEDDA +P 7750 2650 +F 0 "#PWR?" H 7750 2400 50 0001 C CNN +F 1 "GNDREF" H 7750 2500 50 0000 C CNN +F 2 "" H 7750 2650 50 0001 C CNN +F 3 "" H 7750 2650 50 0001 C CNN + 1 7750 2650 + 1 0 0 -1 +$EndComp +Wire Wire Line + 5450 4600 5750 4600 +Connection ~ 5650 4600 +Connection ~ 5550 4600 +Wire Wire Line + 5650 4800 5650 4600 +Wire Wire Line + 5500 2000 5900 2000 +Connection ~ 5700 2000 +Connection ~ 5600 2000 +Text GLabel 5850 1800 0 60 Input ~ 0 +Vcc +Wire Wire Line + 5850 2000 5850 1800 +Connection ~ 5850 2000 +$Comp +L C_Small C? +U 1 1 5E3AEEF1 +P 3600 1650 +F 0 "C?" H 3610 1720 50 0000 L CNN +F 1 "C_Small" H 3610 1570 50 0000 L CNN +F 2 "" H 3600 1650 50 0001 C CNN +F 3 "" H 3600 1650 50 0001 C CNN + 1 3600 1650 + 1 0 0 -1 +$EndComp +$Comp +L L_Small L? +U 1 1 5E3AEF12 +P 3100 1900 +F 0 "L?" V 3130 1940 50 0000 L CNN +F 1 "L_Small" H 3130 1860 50 0000 L CNN +F 2 "" H 3100 1900 50 0001 C CNN +F 3 "" H 3100 1900 50 0001 C CNN + 1 3100 1900 + 0 -1 -1 0 +$EndComp +$Comp +L C_Small C? +U 1 1 5E3AEF31 +P 3250 2800 +F 0 "C?" H 3260 2870 50 0000 L CNN +F 1 "C_Small" H 3260 2720 50 0000 L CNN +F 2 "" H 3250 2800 50 0001 C CNN +F 3 "" H 3250 2800 50 0001 C CNN + 1 3250 2800 + 1 0 0 -1 +$EndComp +Wire Wire Line + 3000 2700 3000 2900 +Wire Wire Line + 3000 2900 3500 2900 +Wire Wire Line + 3500 2900 3500 2700 +Connection ~ 3250 2900 +$EndSCHEMATC diff --git a/clé/clé.kicad_pcb b/clé/clé.kicad_pcb new file mode 100755 index 0000000..02c8ecb --- /dev/null +++ b/clé/clé.kicad_pcb @@ -0,0 +1 @@ +(kicad_pcb (version 4) (host kicad "dummy file") ) diff --git a/clé/clé.pro b/clé/clé.pro new file mode 100755 index 0000000..85b7e88 --- /dev/null +++ b/clé/clé.pro @@ -0,0 +1,64 @@ +update=mer. 05 févr. 2020 17:36:04 CET +version=1 +last_client=kicad +[pcbnew] +version=1 +LastNetListRead= +UseCmpFile=1 +PadDrill=0.600000000000 +PadDrillOvalY=0.600000000000 +PadSizeH=1.500000000000 +PadSizeV=1.500000000000 +PcbTextSizeV=1.500000000000 +PcbTextSizeH=1.500000000000 +PcbTextThickness=0.300000000000 +ModuleTextSizeV=1.000000000000 +ModuleTextSizeH=1.000000000000 +ModuleTextSizeThickness=0.150000000000 +SolderMaskClearance=0.000000000000 +SolderMaskMinWidth=0.000000000000 +DrawSegmentWidth=0.200000000000 +BoardOutlineThickness=0.100000000000 +ModuleOutlineThickness=0.150000000000 +[cvpcb] +version=1 +NetIExt=net +[eeschema] +version=1 +LibDir= +[eeschema/libraries] +LibName1=power +LibName2=device +LibName3=switches +LibName4=relays +LibName5=motors +LibName6=transistors +LibName7=conn +LibName8=linear +LibName9=regul +LibName10=74xx +LibName11=cmos4000 +LibName12=adc-dac +LibName13=memory +LibName14=xilinx +LibName15=microcontrollers +LibName16=dsp +LibName17=microchip +LibName18=analog_switches +LibName19=motorola +LibName20=texas +LibName21=intel +LibName22=audio +LibName23=interface +LibName24=digital-audio +LibName25=philips +LibName26=display +LibName27=cypress +LibName28=siliconi +LibName29=opto +LibName30=atmel +LibName31=contrib +LibName32=valves +LibName33=/home/baptiste/Documents/P12/USB_devices/clavier/lm3670 +[general] +version=1 diff --git a/clé/clé.sch b/clé/clé.sch new file mode 100755 index 0000000..222e763 --- /dev/null +++ b/clé/clé.sch @@ -0,0 +1,188 @@ +EESchema Schematic File Version 2 +LIBS:power +LIBS:device +LIBS:switches +LIBS:relays +LIBS:motors +LIBS:transistors +LIBS:conn +LIBS:linear +LIBS:regul +LIBS:74xx +LIBS:cmos4000 +LIBS:adc-dac +LIBS:memory +LIBS:xilinx +LIBS:microcontrollers +LIBS:dsp +LIBS:microchip +LIBS:analog_switches +LIBS:motorola +LIBS:texas +LIBS:intel +LIBS:audio +LIBS:interface +LIBS:digital-audio +LIBS:philips +LIBS:display +LIBS:cypress +LIBS:siliconi +LIBS:opto +LIBS:atmel +LIBS:contrib +LIBS:valves +LIBS:lm3670 +LIBS:clé-cache +EELAYER 25 0 +EELAYER END +$Descr A4 11693 8268 +encoding utf-8 +Sheet 1 1 +Title "" +Date "" +Rev "" +Comp "" +Comment1 "" +Comment2 "" +Comment3 "" +Comment4 "" +$EndDescr +$Comp +L ATXMEGA16A4U-AU U? +U 1 1 5E3AECFB +P 5600 3300 +F 0 "U?" H 4850 4500 50 0000 L BNN +F 1 "ATXMEGA16A4U-AU" H 5950 2050 50 0000 L BNN +F 2 "TQFP44" H 5600 3300 50 0001 C CIN +F 3 "" H 5600 3300 50 0001 C CNN + 1 5600 3300 + 1 0 0 -1 +$EndComp +$Comp +L LM3670 U? +U 1 1 5E3AED5B +P 3250 2300 +F 0 "U?" H 3250 2300 60 0000 C CNN +F 1 "LM3670" H 3250 2300 60 0000 C CNN +F 2 "" H 3250 2300 60 0001 C CNN +F 3 "" H 3250 2300 60 0001 C CNN + 1 3250 2300 + 1 0 0 -1 +$EndComp +$Comp +L GNDREF #PWR? +U 1 1 5E3AED86 +P 5650 4800 +F 0 "#PWR?" H 5650 4550 50 0001 C CNN +F 1 "GNDREF" H 5650 4650 50 0000 C CNN +F 2 "" H 5650 4800 50 0001 C CNN +F 3 "" H 5650 4800 50 0001 C CNN + 1 5650 4800 + 1 0 0 -1 +$EndComp +$Comp +L GNDREF #PWR? +U 1 1 5E3AEDA2 +P 3250 2700 +F 0 "#PWR?" H 3250 2450 50 0001 C CNN +F 1 "GNDREF" H 3250 2550 50 0000 C CNN +F 2 "" H 3250 2700 50 0001 C CNN +F 3 "" H 3250 2700 50 0001 C CNN + 1 3250 2700 + 0 1 1 0 +$EndComp +$Comp +L GNDREF #PWR? +U 1 1 5E3AEDBE +P 7750 4550 +F 0 "#PWR?" H 7750 4300 50 0001 C CNN +F 1 "GNDREF" H 7750 4400 50 0000 C CNN +F 2 "" H 7750 4550 50 0001 C CNN +F 3 "" H 7750 4550 50 0001 C CNN + 1 7750 4550 + 1 0 0 -1 +$EndComp +$Comp +L GNDREF #PWR? +U 1 1 5E3AEDDA +P 7750 2650 +F 0 "#PWR?" H 7750 2400 50 0001 C CNN +F 1 "GNDREF" H 7750 2500 50 0000 C CNN +F 2 "" H 7750 2650 50 0001 C CNN +F 3 "" H 7750 2650 50 0001 C CNN + 1 7750 2650 + 1 0 0 -1 +$EndComp +Wire Wire Line + 5450 4600 5750 4600 +Connection ~ 5650 4600 +Connection ~ 5550 4600 +Wire Wire Line + 5650 4800 5650 4600 +Wire Wire Line + 5500 2000 5900 2000 +Connection ~ 5700 2000 +Connection ~ 5600 2000 +Text GLabel 5850 1800 0 60 Input ~ 0 +Vcc +Wire Wire Line + 5850 2000 5850 1800 +Connection ~ 5850 2000 +$Comp +L C_Small C? +U 1 1 5E3AEEF1 +P 3600 1900 +F 0 "C?" H 3610 1970 50 0000 L CNN +F 1 "C_Small" H 3610 1820 50 0000 L CNN +F 2 "" H 3600 1900 50 0001 C CNN +F 3 "" H 3600 1900 50 0001 C CNN + 1 3600 1900 + 0 1 1 0 +$EndComp +$Comp +L L_Small L? +U 1 1 5E3AEF12 +P 3100 1900 +F 0 "L?" V 3130 1940 50 0000 L CNN +F 1 "L_Small" H 3130 1860 50 0000 L CNN +F 2 "" H 3100 1900 50 0001 C CNN +F 3 "" H 3100 1900 50 0001 C CNN + 1 3100 1900 + 0 -1 -1 0 +$EndComp +$Comp +L C_Small C? +U 1 1 5E3AEF31 +P 3250 2800 +F 0 "C?" H 3260 2870 50 0000 L CNN +F 1 "C_Small" H 3260 2720 50 0000 L CNN +F 2 "" H 3250 2800 50 0001 C CNN +F 3 "" H 3250 2800 50 0001 C CNN + 1 3250 2800 + 1 0 0 -1 +$EndComp +Wire Wire Line + 3000 2700 3000 2900 +Wire Wire Line + 3000 2900 3500 2900 +Wire Wire Line + 3500 2900 3500 2700 +Connection ~ 3250 2900 +Wire Wire Line + 3500 1900 3200 1900 +$Comp +L GNDREF #PWR? +U 1 1 5E3AF012 +P 3700 1900 +F 0 "#PWR?" H 3700 1650 50 0001 C CNN +F 1 "GNDREF" H 3700 1750 50 0000 C CNN +F 2 "" H 3700 1900 50 0001 C CNN +F 3 "" H 3700 1900 50 0001 C CNN + 1 3700 1900 + 0 -1 1 0 +$EndComp +Text GLabel 3500 1550 0 60 Input ~ 0 +Vcc +Wire Wire Line + 3500 1550 3500 1900 +$EndSCHEMATC diff --git a/codecleusb b/codecleusb old mode 100644 new mode 100755 index 22f3435..22f3435 --- a/codecleusb +++ b/codecleusb diff --git a/datasheets/AVR XMEGA AU Manual.pdf b/datasheets/AVR XMEGA AU Manual.pdf new file mode 100755 index 0000000..20bc7b7 Binary files /dev/null and b/datasheets/AVR XMEGA AU Manual.pdf differ diff --git a/datasheets/MX25R6435F.pdf b/datasheets/MX25R6435F.pdf old mode 100644 new mode 100755 index b4532f3..b4532f3 Binary files a/datasheets/MX25R6435F.pdf and b/datasheets/MX25R6435F.pdf differ diff --git a/datasheets/TSX 3225.pdf b/datasheets/TSX 3225.pdf old mode 100644 new mode 100755 index 6a83854..6a83854 Binary files a/datasheets/TSX 3225.pdf and b/datasheets/TSX 3225.pdf differ diff --git a/datasheets/avr-mcu-xmega-a4u.pdf b/datasheets/avr-mcu-xmega-a4u.pdf old mode 100644 new mode 100755 index 2216b28..2216b28 Binary files a/datasheets/avr-mcu-xmega-a4u.pdf and b/datasheets/avr-mcu-xmega-a4u.pdf differ diff --git a/datasheets/cd74hc(t)(1|2)38.pdf b/datasheets/cd74hc(t)(1|2)38.pdf old mode 100644 new mode 100755 index 07d1bf1..07d1bf1 Binary files a/datasheets/cd74hc(t)(1|2)38.pdf and b/datasheets/cd74hc(t)(1|2)38.pdf differ diff --git a/datasheets/lm3670.pdf b/datasheets/lm3670.pdf old mode 100644 new mode 100755 index 3b8859e..3b8859e Binary files a/datasheets/lm3670.pdf and b/datasheets/lm3670.pdf differ diff --git a/img/1280px-USB.svg.jpg b/img/1280px-USB.svg.jpg old mode 100644 new mode 100755 index 82ac7c2..82ac7c2 Binary files a/img/1280px-USB.svg.jpg and b/img/1280px-USB.svg.jpg differ diff --git a/img/1280px-USB.svg.png b/img/1280px-USB.svg.png old mode 100644 new mode 100755 index 84d5acd..84d5acd Binary files a/img/1280px-USB.svg.png and b/img/1280px-USB.svg.png differ diff --git a/img/AT90USBKEY.jpg b/img/AT90USBKEY.jpg old mode 100644 new mode 100755 index b928390..b928390 Binary files a/img/AT90USBKEY.jpg and b/img/AT90USBKEY.jpg differ diff --git a/img/LUFA.png b/img/LUFA.png old mode 100644 new mode 100755 index 54fa1a6..54fa1a6 Binary files a/img/LUFA.png and b/img/LUFA.png differ diff --git a/img/Leonardo.jpg b/img/Leonardo.jpg old mode 100644 new mode 100755 index 9946089..9946089 Binary files a/img/Leonardo.jpg and b/img/Leonardo.jpg differ diff --git a/img/Makefile_UNO_MassStorage.png b/img/Makefile_UNO_MassStorage.png old mode 100644 new mode 100755 index d447769..d447769 Binary files a/img/Makefile_UNO_MassStorage.png and b/img/Makefile_UNO_MassStorage.png differ diff --git a/img/Makefile_USBKEY_MassStorage.png b/img/Makefile_USBKEY_MassStorage.png old mode 100644 new mode 100755 index 8967123..8967123 Binary files a/img/Makefile_USBKEY_MassStorage.png and b/img/Makefile_USBKEY_MassStorage.png differ diff --git a/img/USBKEY_lsusb_1ere_connection.png b/img/USBKEY_lsusb_1ere_connection.png old mode 100644 new mode 100755 index 7720a6e..7720a6e Binary files a/img/USBKEY_lsusb_1ere_connection.png and b/img/USBKEY_lsusb_1ere_connection.png differ diff --git a/img/USBKEY_lsusb_LUFA.png b/img/USBKEY_lsusb_LUFA.png old mode 100644 new mode 100755 index 0f32ca9..0f32ca9 Binary files a/img/USBKEY_lsusb_LUFA.png and b/img/USBKEY_lsusb_LUFA.png differ diff --git a/img/USBKEY_lsusb_LUFA_modif.png b/img/USBKEY_lsusb_LUFA_modif.png old mode 100644 new mode 100755 index 10b1069..10b1069 Binary files a/img/USBKEY_lsusb_LUFA_modif.png and b/img/USBKEY_lsusb_LUFA_modif.png differ diff --git a/img/USBKEY_lsusb_apres_reinit.png b/img/USBKEY_lsusb_apres_reinit.png old mode 100644 new mode 100755 index fac3b24..fac3b24 Binary files a/img/USBKEY_lsusb_apres_reinit.png and b/img/USBKEY_lsusb_apres_reinit.png differ diff --git a/img/USBKEY_lsusb_detaille_LUFA.png b/img/USBKEY_lsusb_detaille_LUFA.png old mode 100644 new mode 100755 index a7222d2..a7222d2 Binary files a/img/USBKEY_lsusb_detaille_LUFA.png and b/img/USBKEY_lsusb_detaille_LUFA.png differ diff --git a/img/USBKEY_lsusb_detaille_LUFA_modif.png b/img/USBKEY_lsusb_detaille_LUFA_modif.png old mode 100644 new mode 100755 index 7ec7a0d..7ec7a0d Binary files a/img/USBKEY_lsusb_detaille_LUFA_modif.png and b/img/USBKEY_lsusb_detaille_LUFA_modif.png differ diff --git a/img/USB_Classes.png b/img/USB_Classes.png old mode 100644 new mode 100755 index 7b14508..7b14508 Binary files a/img/USB_Classes.png and b/img/USB_Classes.png differ diff --git a/img/polytechlille.png b/img/polytechlille.png old mode 100644 new mode 100755 index fda99e6..fda99e6 Binary files a/img/polytechlille.png and b/img/polytechlille.png differ diff --git a/img/prototypeClavier.png b/img/prototypeClavier.png old mode 100644 new mode 100755 index f9f6b91..f9f6b91 Binary files a/img/prototypeClavier.png and b/img/prototypeClavier.png differ diff --git a/img/prototypeCleUSB.png b/img/prototypeCleUSB.png old mode 100644 new mode 100755 index 7a8e41f..7a8e41f Binary files a/img/prototypeCleUSB.png and b/img/prototypeCleUSB.png differ diff --git a/img/schema_LUFA.jpg b/img/schema_LUFA.jpg old mode 100644 new mode 100755 index dd59f61..dd59f61 Binary files a/img/schema_LUFA.jpg and b/img/schema_LUFA.jpg differ diff --git a/img/shieldClavier.png b/img/shieldClavier.png old mode 100644 new mode 100755 index bd2f25f..bd2f25f Binary files a/img/shieldClavier.png and b/img/shieldClavier.png differ diff --git a/img/shieldSD.png b/img/shieldSD.png old mode 100644 new mode 100755 index d59744c..d59744c Binary files a/img/shieldSD.png and b/img/shieldSD.png differ diff --git a/img/univlille.png b/img/univlille.png old mode 100644 new mode 100755 index c0a963d..c0a963d Binary files a/img/univlille.png and b/img/univlille.png differ diff --git a/img/usbtree.gif b/img/usbtree.gif old mode 100644 new mode 100755 index d3bceb2..d3bceb2 Binary files a/img/usbtree.gif and b/img/usbtree.gif differ diff --git a/img/usbtree.jpg b/img/usbtree.jpg old mode 100644 new mode 100755 index 98552a2..98552a2 Binary files a/img/usbtree.jpg and b/img/usbtree.jpg differ diff --git a/importantSites b/importantSites old mode 100644 new mode 100755 index 953cd32..953cd32 --- a/importantSites +++ b/importantSites diff --git a/keygrbb.ino b/keygrbb.ino old mode 100644 new mode 100755 index df01fee..df01fee --- a/keygrbb.ino +++ b/keygrbb.ino diff --git a/lgpcb.txt b/lgpcb.txt old mode 100644 new mode 100755 index a6d0091..6ad13c4 --- a/lgpcb.txt +++ b/lgpcb.txt @@ -20,4 +20,4 @@ décalage longueur des centres 3.5 et 130-3.5 trou central diamètre 7 -centre (1.5+0.8)/2 +centre 27-(12+(7/2)) diff --git a/liste_composants.txt b/liste_composants.txt old mode 100644 new mode 100755 index 5cfc403..5cfc403 --- a/liste_composants.txt +++ b/liste_composants.txt diff --git a/rapport S5/P12(périphUSB).odp b/rapport S5/P12(périphUSB).odp new file mode 100755 index 0000000..e3adc31 Binary files /dev/null and b/rapport S5/P12(périphUSB).odp differ diff --git a/rapport S5/P12(périphUSB).pdf b/rapport S5/P12(périphUSB).pdf new file mode 100755 index 0000000..0b555a9 Binary files /dev/null and b/rapport S5/P12(périphUSB).pdf differ diff --git a/rapport S5/Rapport projet.docx b/rapport S5/Rapport projet.docx new file mode 100755 index 0000000..433b937 Binary files /dev/null and b/rapport S5/Rapport projet.docx differ diff --git a/rapport S5/Rapport projet.pdf b/rapport S5/Rapport projet.pdf new file mode 100755 index 0000000..fcb16ed Binary files /dev/null and b/rapport S5/Rapport projet.pdf differ diff --git a/rapport S5/Rapport.txt b/rapport S5/Rapport.txt new file mode 100755 index 0000000..3d93f0f --- /dev/null +++ b/rapport S5/Rapport.txt @@ -0,0 +1,74 @@ +Rapport de Projet ¬IMA3 S6 du groupe P12 +Titre : Fabrication d’appareille USB spécialisé dans espionnage +Introduction : +Le but de notre projet est la création de périphériques USB (clavier et clef USB) incorporant des fonctionnalités propres (installation de logiciel d’espionnage, keygraber). Ces périphériques seront contrôlés par un atmega16u2. +La durée de notre projet étant de deux ans nous avons décidé, durant la première année, de nous focaliser sur la partie software : +-l’étude théorique (comment utiliser des bibliothèques, comment les modifier) +-La création de maquette sur arduino, afin de voir la réalisabilité de notre projet, les problèmes rencontrés, et aussi d’avoir à notre disposition les algorithmes qui seront utilisé à la fin de notre projet . +Ainsi durant la 2ème année nous pourrons nous focaliser sur le hardware, ce qui comprend la création des PCB pour la clef et le clavier. Et aussi leur « coque de protection » + +Partie théorique : + +Partie maquette : +Dans la partie conception des maquettes nous avons travaillé avec une carte Arduino Leonardo. +Nous avons fait ce choix pour plusieurs raisons : +-l’Arduino UNO ne prend pas en charge la bibliothèque Keyboard qui nous sert à l’émulation du clavier sous l’environnement Arduino. +- Le module micro SD (utilisé pour les deux maquettes) était un module pour Leonardo. +-Le Leonardo utilise un ATmega32U2 comme contrôleur USB, mais heureusement l’ATmega32U2 et l’ATmega16u2 sont quasiment les même (seul la taille de la mémoire diffère), donc le code pour l’ATmega32u2 sera compatible avec le 16u2. +Partie 1 : La librairie Keyboard + Comme dit précédemment la librairie Keyboard sert à l’émulation d’un clavier sous l’environnement Arduino . Cette partie est importante car utilisé pour les deux périphériques l’un car étant un clavier, et l’autre car l’installation du logiciel espion nécessitera des commandes à taper dans le shell de Windows. +Dans un premier temps nous avons téléchargé et installé le logiciel Arduino qui sert à programmer l’arduino Léonardo. Par la suite nous y avons implanté la dernière version de la librairie Keyboard. +Pour écrire notre programme, nous avons utilisé comme squelette de base le code d’exemple de l’utilisation de la librairie Keyboard fourni avec le logiciel. +L’utilisation de la bibliothèque est plutôt simple, il suffit de lancer Keyboard.begin(). Alors l’arduino est reconnue comme un clavier. Par la suite pour rentrer des touches il faut utiliser la commande Keyboard.write() une touche ou Keyboard.press() une touche. Le problème que ces fonctions ne prennent en paramètres qu'un unique caractère. Pour améliorer la lisibilité du code et la facilité de déboggage, nous avons créer la fonction keyboardprint(String) qui permet d'écrire toute la chaîne de caractères passer en paramètre. + +Les problèmes que nous avons rencontrés lors de la création de ce programme se situent au niveau de l’envoi de certaines touches bien spécifique (exemple : @ , \, #) qui ont du étre prit en compte différemment des autres touches . Nous ne sommes pas certains de la source de ces erreurs, mais il se pourrait qu'elles soient dues à une différence de définition du clavier Qwerty de la bibliothèque Arduino Keyboard et de celle utilisée par l'ordinateur. + +Partie 2 : Code sous Windows pour la clé +Notre clef USB devra injecter des codes sous Windows afin de télécharger et d’installer le logiciel espion. Dans cette partie nous verrons le code utilisé. +Windows possède 2 Shell diffèrent : -CMD et –PowerShell +Théoriquement les 2 nous permettrais de télécharger et de lancer un logiciel. Mais les essaies sous CMD n’ont pas porté leurs fruits. +Donc nous allons utiliser PowerShell pour télécharger et installer notre logiciel espion. + +/*à mettre en annexe +Code : +Ouvrir power Shell en admin : +Windows +Powershell +Entré + shift + entré +<- +Entré +Télécharger un logiciel : +Invoke-WebRequest –Uri «adresse du fichier» –OutFile «adresse destination + nom et type fichier» +«https://www.mediacollege.com/audio/tone/files/440Hz_44100Hz_16bit_30sec.mp3» -OutFile «./mp3.mp3» +Lancer un .exe : +"C:\Program Files\qBittorrent\qbittorrent.exe" exemple avec qbittorent +*/ + +Partie 3 : Gestion SD +La carte SD sous Arduino est gérée via la bibliothèque SD, qui inclut la bibliothèque File. La première permet de se déplacer dans le système de fichiers et d'ouvrir des fichiers dans lesquels on pourra lire et écrire. +Les 2 périphériques utiliserons une carte SD (le clavier afin de stocker les touhes pressé et la clef comme stockage des instructions). + +La gestion de la carte SD sous arduino n’est pas la meme que sous les environment linux ou windows .Je sous-entend que la manipulation des fichiers sur la carte SD se fait nécessairement à l’aide de code . + +Partie 4 : maquette du clavier : +Pour rappel le clavier devrat se comporté comme un clavier ‘normal’ avec la focntion suplémentaire d’enregister les imput sur la clef sd et de pouvoir suprimer les imput enregisté ou de les renvoyer sur le pc . +la maquette du clavier sera réalisé comme dit precedemment sur un arduinio Leonardo.Pour simplifier nous utiliserons au lieu d’un clavier ‘total’ , un clavier numérique comportent 12 entrées (0 à 9 et R (return) et D (delete)).R aura pour fonction de réinjécter les input enregisté et D suprimera les input enregisté .Le composant qui remplie la fonction de clavier est le shield pour arduino MPR121 Cap. Touche .les touche de ce clavier sont activée par une diférence de capacité au bornes de la touche . Ce qui permet l’utilisation comme touche de quasiment n’importe quelle objet (ce qui ne nous sera pas vraiment utile ici). + + +La maquette du clavier est parfaitement foncionnelle , voici en quelque ligne sont principe de fonctionnement : + +void setup (): initialisation : SD , Keyboard , Adafruit +void loop (): scrutation des touches et enregistrement de celles-ci sur la carte SD, et gestion des touches spéciales R et D + +Pour le projet finale la structure du programme restera la meme seul le nombre d’input possible augmente . + +Partie 5 : Maquette clef : +Pour rappel la clef Usb devrat : envoyer une serie d’instruction préenregistré sous forme d’input clavier et aussi servir d’adapteteur micro SD. +Le probléme rencontré dans cette partie se situe sur la partie adaptateur micro SD .Car nous souhaitons que la prise en charge de la micro SD se fasse pa le systéme d’exploitation du pc on non celui de l’arduino . Il est possible de faire reconaitre l’arduino par le pc comme un perophérique de stockage mais alors il est impossible de le faire reconaitre comme un clavier . +Donc nous avons crée la maquette qui remplie la fonction de clavier , notre maquette entre les imput préenregisté (ce qui lui fait telechargé et lancer une music sous windows . +Princpe de fonction : +void setup ()  : initialisation du keyboard et de la SD +void loop ()  : envoie des inputs +Nous avons pensé pour pouvoir faire ce que nous souhaitons , utiliser un switch qui switchera entre 2 contoleur USB différent un qui gerera le clavier et l’autre le stockage de masse .Le switch entre les 2 controleurs se fera sur l’envoie des packet de mise en veille de l’ordinateur . + + diff --git a/rapport S5/annexe.pptx b/rapport S5/annexe.pptx new file mode 100755 index 0000000..680fa3d Binary files /dev/null and b/rapport S5/annexe.pptx differ diff --git a/rapportS8/PDI instruction set.png b/rapportS8/PDI instruction set.png new file mode 100755 index 0000000..aadbfd7 Binary files /dev/null and b/rapportS8/PDI instruction set.png differ diff --git a/rapportS8/progPDI b/rapportS8/progPDI new file mode 100755 index 0000000..680c5fb --- /dev/null +++ b/rapportS8/progPDI @@ -0,0 +1,30 @@ +Programmation PDI +La programmation PDI se fait sur une interface physique spécifique composé de 2 fils, PDI_DATA pour une communication série bidirectionnelle, et PDI_CLK pour l'horloge afin de synchroniser la communication. Le protocole, quant à lui, repose sur des trames de 12bits. Il est existe trois types de trames DATA, IDLE et BREAK. la trame DATA est composé d'un bit de démarrage (0), 8 bits de données, un bit de parité pair, 2 bits fin (11). + Les trames IDLE et BREAK ne respectent pas exactement cette structure. BREAK est une trame composé d'un minimum de 12 "0". Dans son usage, cette trame ne peut être envoyé que par le programmeur, et est attendu par le microcontroleur en cas de collision. IDLE est est une trame composé d'un minimum de 12 "1", mais dans son usage, un ou plusieurs bits "1" servent plus de temporisation entre trames pour s'assurer que le controleur PDI ait le temps de faire son travail. De plus, suite à certaines commandes qui supposent une réponse de la part du controlleur PDI, il est nécessaire d'observer un temps de sécurité. Ce temps de sécurité configurable doit donc être rempli par entre 2 et 128 (défaut) "1". + + Les trames DATA peuvent être classées en trois catégories : les instructions, les compléments d'instructions, et les retours d'instructions. +Il existe 8 instructions dans le protocole PDI : [PDI instruction set.png] + +REPEAT +trame complète: 1° octet suivi de size B octets indiquant le nombre de répétition. +Cette instruction permet de répéter un nombre (donné par les octets suivant le premier) de fois l'instruction qui la succédera. Attention l'instruction sera répétée avec les mêmes opérandes. + +KEY +trame complète: 1°octet suivi d'un octet contenant la clé pour dévérouiller l'accès au controlleur NVM (voir ci après). + +LD/ST +trame complète: 1° octet suivi (d'un retour -pour LD-) de size A octets + +LDS/STS +trame complète: 1°octet suivi de size A octets pour l'adresse à lire ou écrire, suivi (d'un retour -pour LDS-) de size B octets. + +LDCS/STCS +trame complète: 1° octet suivi (d'un retour -pour LDCS-) de size 1 octet + + + + + + +Les instructions commençant par LD (load) supposent un retour. +Les instructions ST et LD \ No newline at end of file -- libgit2 0.21.2