Modifications

Sauter à la navigation Sauter à la recherche
Ligne 11 : Ligne 11 :  
== Brancher & analyser ==
 
== Brancher & analyser ==
   −
It comes as a kit to be soldered and there weren’t any real issues – although the one thing that I find annoying was that the holes in the PCB for the 3 resistors were slightly wider than the resistor with the legs bent close to it – necessitating some small adjustments! A minor niggle though.
+
L'afficheur est livré en kit qu'il faut souder (voir [[RASP-LCD-RGB|nos instructions en Français]]), cela ne représente généralement pas de problèmes.
   −
So with that in-mind, a quick modification to my existing lcd.c test program and it was running almost immediately without any hitches.
+
Avec cela en tête, une rapide modification au fichier lcd.c du programme de test et tout fonctionnait rapidement presque sans aucun soucis.
   −
Once I’d soldered it and checked to make sure no solder bridges, etc. I plugged it in and loaded up the I2C driver to see if I could see it:
+
Une fois la platine soudé et après vérification qu'il n'y avait pas de "pont de soudure", etc. Gordon à branché le LCD sur son Rapsberry Pi et chargé le pilote I2C pour voir comment il serait perçu par le système:
 
  −
To see the output of this, you would need to connect a single LED to the GPIO connector of the Raspberry Pi as follows:
      
  <nowiki>gpio load i2c
 
  <nowiki>gpio load i2c
 
gpio i2cd</nowiki>
 
gpio i2cd</nowiki>
   −
and I saw the MCP23017 at its default address of 0×20. (There are solderable jumpers under the board to change this if required)
+
Où il est possible de voir le MCP23017 à son adresse par défaut qui est 0×20 (Il existe des pastilles/jumpers à souder pour modifier cette adresse par défaut si cela est nécessaire)
    
  <nowiki>    0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f
 
  <nowiki>    0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f
Ligne 34 : Ligne 32 :  
70: -- -- -- -- -- -- -- --</nowiki>
 
70: -- -- -- -- -- -- -- --</nowiki>
   −
I consulted the schematic to work out the pin assignments on the device – the display is connected up on 4-bit mode and the display control signals, buttons, and the LED outputs taking up almost all the other 16 GPIO pins.
+
Après consultation du schéma pour vérifier l'utilisation des broches du MCP23017 pour commander l'afficheur sur la carte. L'afficheur est connecter en mode 4-bit et utilise les signaux de contrôle de l'afficheur. LE MCP23017 est également utilisé pour les boutons et les sorties pour les LEDs du retro-éclairage. Avec tout cela, les 16 broches broches du GPIO Expander (MCP23017) sont presque toutes utilisées.
 +
 
 +
{{traduction}}
    
Some quick testing using the GPIO command to verify I’d interpreted it OK:
 
Some quick testing using the GPIO command to verify I’d interpreted it OK:
29 837

modifications

Menu de navigation