« Gestion Affichage LCD » : différence entre les versions

De HackBBS
Aller à la navigation Aller à la recherche
 
(5 versions intermédiaires par le même utilisateur non affichées)
Ligne 1 : Ligne 1 :
==Matériel==
  * 1X ATMEGA48V-10PU
  * 1X PC 0802-A
==Schéma montage==
==Schéma montage==
{| class="wikitable" width="80%" align="center"
{| class="wikitable" width="80%" align="center"
Ligne 21 : Ligne 25 :
|-
|-
||GND->GND
||GND->GND
| width="34%" |
| |
5V
5V->VCC
| width="34%" |
| |
Vee
Vee->R+GND
| width="34%" |
| |
RS
RS->PB0
| width="34%" |
| |
R/W
R/W->PB1
| width="34%" |
| |
E
E->PB2
| width="34%" |
| |
D0
D0->PD0
| width="34%" |
| |
D1
D1->PD1
| width="34%" |
| |
D2
D2->PD2
| width="34%" |
| |
D3
D3->PD3
| width="34%" |
| |
D4
D4->PD4
| width="34%" |
| |
D5
D5->PD5
| width="34%" |
| |
D6
D6->PD6
| width="34%" |
| |
D7
D7->PD7
| width="34%" |
| |
LED+
LED+->nop
| width="34%" |
| |
LED-
LED-->nop
|}
|}


Vee est relié à GND via une R 1k7 pour le contraste
Vee est relié à GND via une R 1k7 pour le contraste
Voici le code actuel [[affichage avr lcd]]

Dernière version du 17 avril 2010 à 01:57

Matériel

 * 1X ATMEGA48V-10PU
 * 1X PC 0802-A 

Schéma montage

Connecteur LCD
Pin 1 Pin 2 Pin 3 Pin 4 Pin 5 Pin 6 Pin 7 Pin 8 Pin 9 Pin 10 Pin 11 Pin 12 Pin 13 Pin 14 Pin 15 Pin 16
GND->GND

5V->VCC

Vee->R+GND

RS->PB0

R/W->PB1

E->PB2

D0->PD0

D1->PD1

D2->PD2

D3->PD3

D4->PD4

D5->PD5

D6->PD6

D7->PD7

LED+->nop

LED-->nop

Vee est relié à GND via une R 1k7 pour le contraste

Voici le code actuel affichage avr lcd