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

De HackBBS
Aller à la navigation Aller à la recherche
 
(4 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 22 : Ligne 26 :
||GND->GND
||GND->GND
| |
| |
5V
5V->VCC
| |
Vee->R+GND
| |
RS->PB0
| |
R/W->PB1
| |
| |
Vee
E->PB2
|  |
D0->PD0
|  |
D1->PD1
| |
| |
RS
D2->PD2
| width="34%" |
| |
R/W
D3->PD3
| width="34%" |
| |
E
D4->PD4
| width="34%" |
| |
D0
D5->PD5
| width="34%" |
| |
D1
D6->PD6
| width="34%" |
| |
D2
D7->PD7
| width="34%" |
| |
D3
LED+->nop
| width="34%" |
| |
D4
LED-->nop
| width="34%" |
D5
| width="34%" |
D6
| width="34%" |
D7
| width="34%" |
LED+
| width="34%" |
LED-
|}
|}


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