Différences entre versions de « RASP-LCD-RGB-Assembler »

De MCHobby - Wiki
Sauter à la navigation Sauter à la recherche
Ligne 4 : Ligne 4 :
  
 
{{asm-row|img=RASP-LCD-RGB-ASM-01.jpg}}
 
{{asm-row|img=RASP-LCD-RGB-ASM-01.jpg}}
{{asm-text}} Check the kit against the to verify you have all the parts necessary
+
{{asm-text}} Vérifiez que le kit contient bien tous les éléments nécessaires.
  
  
'''We recently adjusted the kit so the buttons are on the right side<br />
+
'''Le kit a récemment été modifié pour placer les bouton à droite (au lieu de gauche). Excepté cette modification, tous les éléments du kit sont identiques, il est d'ailleurs <br />plus stable qu'avant'''
instead of the left. The parts list is otherwise the same, its<br />just a little more stable than before'''
 
  
  
 
{{asm-row|img=RASP-LCD-RGB-ASM-02.jpg}}
 
{{asm-row|img=RASP-LCD-RGB-ASM-02.jpg}}
{{asm-text}}  
+
{{asm-text}} Placez le circuit imprimé sur votre {{link-product-vise}} (ou équivalent), chauffez<br />
Put the printed circuit board into a vise or board holder, heat up<br />
+
votre fer à souder et assurez vous que vous êtes fin prêt à vous lancer!
your soldering iron and make sure you're ready to go!
 
  
We'll start with the first resistor '''GREEN''' - which has orange, orange, brown, gold<br />
+
Nous allons commencer avec la première résistance de l'emplacement '''GREEN''' (''vert'') - qui est codifié est les bandes de<br />
bands on it. This resistor acts as the backlight control resistor for the green backlight pin.
+
couleur Orange, Orange, Brun, Or. Cette résistance sert a contrôler la broche de la led verte du rétroéclairage.
 
 
Bend the resistor into a 'staple' and slide it into the slot marked '''GREEN''' on the PCB. Resistors do not have a direction so you can put it in 'either way' and it'll work find.
 
  
 +
Courbez les pattes de la résistance en forme d'agrafe et glissez la dans les trous marqués '''GREEN''' sur la carte. Les résistance n'ont pas de sens de raccordement (non directionnelle)... vous pouvez donc les placer dans un sens ou dans l'autre, ce sera parfait.
  
 
{{asm-row|img=RASP-LCD-RGB-ASM-03.jpg}}
 
{{asm-row|img=RASP-LCD-RGB-ASM-03.jpg}}
 
{{asm-img|img=RASP-LCD-RGB-ASM-03a.jpg}}
 
{{asm-img|img=RASP-LCD-RGB-ASM-03a.jpg}}
 
{{asm-img|img=RASP-LCD-RGB-ASM-03b.jpg}}
 
{{asm-img|img=RASP-LCD-RGB-ASM-03b.jpg}}
{{asm-text}} Bend the 'legs' of the resistor out so it sits flat against the PCB and flip it over.
+
{{asm-text}} Tordez les pattes de la résistance de l'autre côté du PCB pour qu'elle reste bien en place à plat contre la carte. Retournez ensuite la carte.
 
 
This way the resistor won't fall out while soldering.
 
  
With your soldering iron heated up and ready, solder in both leads of the resistor. To do this, heat up the round ring pad and the wire lead at the same time for 2 or 3 seconds, then dip the end of the solder into the heated joint to melt it in.
+
De cette façon, la résistance ne tombe pas pendant que vous la soudez.
  
Then remove the solder and the soldering iron.
+
Soudez les deux pattes de la résistance avec votre fer à souder bien chaud. Pour ce faire, chauffez la pastille et la patte en même temps pendant 2 à 3 secondes. Ensuite, faites fondre un bout de fil à souder sur la jointure chauffée en laissant votre fer bien en place... retirez votre fil a souder puis votre fer.
  
 
{{asm-row|img=RASP-LCD-RGB-ASM-04.jpg}}
 
{{asm-row|img=RASP-LCD-RGB-ASM-04.jpg}}

Version du 30 avril 2013 à 06:58


MCHobby investit du temps et de l'argent dans la réalisation de traduction et/ou documentation. C'est un travail long et fastidieux réalisé dans l'esprit Open-Source... donc gratuit et librement accessible.
SI vous aimez nos traductions et documentations ALORS aidez nous à en produire plus en achetant vos produits chez MCHobby.
RASP-LCD-RGB-ASM-01.jpg Vérifiez que le kit contient bien tous les éléments nécessaires.


Le kit a récemment été modifié pour placer les bouton à droite (au lieu de gauche). Excepté cette modification, tous les éléments du kit sont identiques, il est d'ailleurs
plus stable qu'avant


RASP-LCD-RGB-ASM-02.jpg Placez le circuit imprimé sur votre étau 3ieme main (ou équivalent), chauffez

votre fer à souder et assurez vous que vous êtes fin prêt à vous lancer!

Nous allons commencer avec la première résistance de l'emplacement GREEN (vert) - qui est codifié est les bandes de
couleur Orange, Orange, Brun, Or. Cette résistance sert a contrôler la broche de la led verte du rétroéclairage.

Courbez les pattes de la résistance en forme d'agrafe et glissez la dans les trous marqués GREEN sur la carte. Les résistance n'ont pas de sens de raccordement (non directionnelle)... vous pouvez donc les placer dans un sens ou dans l'autre, ce sera parfait.

RASP-LCD-RGB-ASM-03.jpg


RASP-LCD-RGB-ASM-03a.jpg
RASP-LCD-RGB-ASM-03b.jpg

Tordez les pattes de la résistance de l'autre côté du PCB pour qu'elle reste bien en place à plat contre la carte. Retournez ensuite la carte.

De cette façon, la résistance ne tombe pas pendant que vous la soudez.

Soudez les deux pattes de la résistance avec votre fer à souder bien chaud. Pour ce faire, chauffez la pastille et la patte en même temps pendant 2 à 3 secondes. Ensuite, faites fondre un bout de fil à souder sur la jointure chauffée en laissant votre fer bien en place... retirez votre fil a souder puis votre fer.

RASP-LCD-RGB-ASM-04.jpg


RASP-LCD-RGB-ASM-04a.jpg

Once the soldering is complete, we can clean up by clipping the leads of the resistor. This keeps them from shorting to something else. Use diagonal or flush cutters to clip the wires right above where the solder joint ends.
RASP-LCD-RGB-ASM-05.jpg


RASP-LCD-RGB-ASM-05a.jpg

Since you did so great with the first resistor, we'll place all of the rest now at the same time.

The two 220 ohm resistors RED and BLUE - named because they are the backlight series resistors for the RGB backlights on the LCDs. These resistors are colored Red Red Brown Gold.

RASP-LCD-RGB-ASM-06.jpg

Solder the resistors just like you did with the first one.

RASP-LCD-RGB-ASM-07.jpg Clip all the leads.
RASP-LCD-RGB-ASM-08.jpg Next up we will place the buttons. These buttons are useful to send a signal to the Pi (say if you have a basic menu system). We have a 4-way 'direction pad' for up/down/left/right input and a button to the right called SELECT. These 5 buttons should be able to make 'talking' back to your project easy. These are connected to the I2C port expander chip so they require no extra pins on the Pi, our library does the work of reading whether they are pressed.

All the buttons are the same, and they should snap nicely into place. Press down onto each button until it snaps in and sits flat against the PCB.

We recently adjusted the kit so the buttons are on the RIGHT side instead of the left. The buttons snap in the same but they're on the right

RASP-LCD-RGB-ASM-09.jpg Flip over the PCB and check that all the legs for the buttons are sticking out.

Solder each leg, taking care not to accidentally 'short' two button legs together. The ones for the directional pads are very close!

RASP-LCD-RGB-ASM-10.jpg Next, place the 10K potentiometer (the orange-faced thing with three legs) into the spot above the RESET button. It will only fit one way. This is the contrast potentiometer which will adjust how dark the characters appear. All displays are slightly different so you'll adjust this once the display is soldered in.

The kit may come with two potentiometers - a big blue one for breadboarding the LCD and a smaller orange one for the shield kit. You can throw away or recycle the blue one, use only the orange one here!

We recently adjusted the kit to have the potentiometer in the center rather than the right, goes in the same way, just in the middle!

RASP-LCD-RGB-ASM-11a.jpg Flip over the PCB and solder in the three legs of the potentiometer


RASP-LCD-RGB-ASM-12.jpg We're nearly done! Now we will place the I2C port expander chip. Double check that it has the MCP23017-E/SP marking on it. This is a 16-pin expander chip, that uses the i2c bus. That means you can send it commands using the i2c pins on an Pi and control 16 more digital pins! 5 of those pins go to the buttons, 6 go to the LCD control and 3 are used for the backlight (the remaining 2 are unused).

Unlike buttons or resistors, chips do have a direction and the must be put in the right way! First, use a flat table to carefully bend the legs of the chip so they are parallel. Then slip it into the silkscreened outline so that the notch at the end of the chip is on the right. Click the image to the left to make absolutely sure you've got it in the right way. Once you are sure, press the chip into place

We recently adjusted the kit so the chip is more to the left, its the same alignment, just shifted over

RASP-LCD-RGB-ASM-13.jpg Flip over the PCB and solder in the 28 pins of the port expander.


RASP-LCD-RGB-ASM-14.jpg Next we will attach the header, there is a standard 'extra tall' header included in the kit. However, if you want to attach a cobbler or GertBoard, etc to the plate, you may want to opt for one of our stacking headers, they're extra long so you can plug in an IDC cable on top!
RASP-LCD-RGB-ASM-15.jpg


RASP-LCD-RGB-ASM-15a.jpg

Before we solder in the header, remove the bumper from the backing and attach it on the underneath so its right over the Ethernet jack when the PCB is plugged in.

On kits where the buttons are on the left, put it right below the contrast pot, as shown. This will keep the pot from touching the Ethernet jack.

On kits where the buttons are on the right, put it right next to the buttons (it shouldnt overlap any button legs) sitting flat

RASP-LCD-RGB-ASM-16.jpg Place the 2x13 header onto your Pi, and slide the plate on top, it should fit perfectly.
RASP-LCD-RGB-ASM-17.jpg


RASP-LCD-RGB-ASM-17a.jpg

Now we will solder all 26 pins for the plate - this will send power and data between the two boards and also provide a mechanical stability. You may need to hold the plate down with tape to get it sitting flat against the Pi.

Solder in one pin, we suggest the top right, then check if the plate is sitting flat. If not, heat up the joint with one hand while stabilizing with the other until its right.

Then solder the other 25 pins

RASP-LCD-RGB-ASM-18.jpg Finally, we place the LCD.

Break off a piece of 18 or 16 pin header from the stick in the kit. If you have an RGB display, you'll need 18, for a blue&white you'll need 16

Place the header into the remaining slot with the long ends of the pins sticking UP. If you have only 16 pins, leave the two rightmost pads empty

RASP-LCD-RGB-ASM-19.jpg


RASP-LCD-RGB-ASM-19a.jpg
RASP-LCD-RGB-ASM-19b.jpg

Slide the LCD over the header so that it is perfectly centered over the four holes and the silkscreen.

The LCD should 'snap' in against the buttons

Solder all the pins!

RASP-LCD-RGB-ASM-20.jpg


RASP-LCD-RGB-ASM-20a.jpg

Flip over the assembly, carefully. Then solder in the 16 or 18 pins of header
RASP-LCD-RGB-ASM-21.jpg That's it! You're done soldering, now you just have to run the code in the Usage section next.

Source: Adafruit 16x2 Character LCD + Keypad for Raspberry Pi écrit par LadyAda pour AdaFruit. Crédit AdaFruit Industries
Réalisé avec l'aide de Mr Carette J. à qui nous remettons tous nos remerciements.

Toute référence, mention ou extrait de cette traduction doit être explicitement accompagné du texte suivant : «  Traduction par MCHobby (www.MCHobby.be) - Vente de kit et composants » avec un lien vers la source (donc cette page) et ce quelque soit le média utilisé.

L'utilisation commercial de la traduction (texte) et/ou réalisation, même partielle, pourrait être soumis à redevance. Dans tous les cas de figures, vous devez également obtenir l'accord du(des) détenteur initial des droits. Celui de MC Hobby s'arrêtant au travail de traduction proprement dit.

Traduit avec l'autorisation d'AdaFruit Industries - Translated with the permission from Adafruit Industries - www.adafruit.com