TROMOP

.... because Moto Guzzi is GREAT!!!

  • Vergroot lettergrootte
  • Standaard lettergrootte
  • Verklein lettergrootte
QL-200 PIC BOARD port assignment
I/O assignment QL200 PIC DEVELOPMENT BOARD www.pic16.com
LCD DISPLAY
LCD        1602/12864        data
PORT RD0           data 0   7
PORT RD1           data1    8
PORT RD2           data2    9
PORT RD3           data3    10
PORT RD4           data4    11
PORT RD5           data5    12
PORT RD6           data6    13
PORT RD7           data7    14
LCD        1602                      control
PORT RA1           RS           4
PORT RA2           R/W       5
PORT RA3           Enable  6
Cntrst   3             controlled with VR4 (1K)
BL           19          backlight (VDD)
Power                  VCC       2             power +5V (VCC)
GND      1             GND
LCD        12864                    control
PORT RA5           D/I         4
PORT RA4           R/W       5
PORT RA3           Enable  6
PORT RA2           PSB        15
PORT RA1           ----         16
PORT RA0           RST        17
Cntrst   18           controlled with VR3 (10K)
BL           19           backlight (VDD)
Power                  VCC       2             power +5V (VCC)
GND      1             GND
LEDs
All LED cathodes are tied to GND and the anodes to the respective ports via a 470ohm resistor in series with a switch.
S13         1             RA0        S12         1             RB0        S11         1             RC0
2             RA1                       2             RB1                        2             RC1
3             RA2                       3             RB2                        3             RC2
4             RA3                       4             RB3                        4             RC3
5             RA4                       5             RB4                        5             RC4
6             RA5                       6             RB5                        6             RC5
7             RA6                       7             RB6                        7             RC6
8             RA7                       8             RB7                        8             RC7
In addition CON16 is connected to RC0..RC7 AFTER switch S11
4x4 matrix keyboard
A/D Convert module
I2C protocol EEPROM 24Cxx module
SDA                       S2-2                       RC4        CN24-2
SCLK                     S2-1                       RC3        CN24-1
SIP protocol EEPROM 93LCxx module
CS                          S3-4                       RC2        CN25-1
CLK                        S3-3                       RC3        CN25-2
DI                           S3-2                       RC5        CN25-3
DO ··· S3-1                       RC4        CN25-4
Jumper J4 controls the DRG signal (1-2 = +5V 2-3=GND).
DS1302 Clock module
CLK                        S9-3                       RB0        CN37-1
i/O ······ S9-2                       RB4        CN37-2
RST ··· S9-1                       RB5        CN37-3
6 DIGIT 7-segment display
Segment A         S6-8                       RD0        CN30-8
Segment B         S6-7                       RD1        CN30-7
Segment C         S6-6                       RD2        CN30-6
Segment D         S6-5                       RD3        CN30-5
Segment E         S6-4                       RD4        CN30-4
Segment F         S6-3                       RD5        CN30-3
Segment G         S6-2                       RD6        CN30-2
Segment DP··· S6-1                       RD7        CN30-1
Digit 1 (left) ··· S5-1                       RA1        CN29-1
Digit 2                S5-2                       RA0        CN29-2
Digit 3                S5-3                       RA3        CN29-3
Digit 4                S5-4                       RA2        CN29-4
Digit 5                S5-5                       RA5        CN29-5
Digit 6 (right) ····S5-6                       RA4        CN29-6
Nc ·························································CN29-7
Nc ························································CN29-8
REMOTE CONTROL RECEIVER 1839V MODULE
Output              S10-2 ····· RA1        CN27-1 output via 100 ohm resistor fed into RA1
DS18B20 MODULE
DQ                   S10-1 ··· RA0        CN28-1 DQ is pulled high via 10K resistor to VCC
BEEPER MODULE
Output ··· S10-3 ··· ··RC2        CN15-1 buzzer if fed through Q1 , R34 (10K)
RS232C MAX232 MODULE
Tx ·S7-2 ······ RC7        CN33     Transmit Data from PIC
Rx ··S7-1 ··· RC6        CN34     Receive Data to PIC
10 BIT D/A CONVERTER TLC5651 MODULE
DIN                   S8-1                       RC5        CN35-3
SCLK                S8-2                       RC3        CN35-2
CS                    S8-3                       RC2        CN35-1
OUT                                                              CN36-1
AGND                                                           CN36-2
STEPPER MOTOR DRIVER MODULE
The driver consists of 4 P-FET transistors 2303 being fed through 3K resistors. Their outputs are being protected by 4 anti-parallel diodes 1N4007.
VCC ··········································································· CN13-1
VCC ··········································································· CN13-2
Phase 1             S15-1                    RA0        CN4-4   output 1              CN13-3
Phase 2 ··· S15-2                    RA1        CN4-3   output 2              CN13-4
Phase 3             S15-3                    RA2        CN4-2   output 3              CN13-5
Phase 4             S15-4                    RA3        CN4-1   output 4              CN13-6
SD/MMC CARD MODULE
/CS ··· S16-1                    RC2        CN16-1
DIN                    S16-2                    RC5        CN16-2
SCLK                 S16-3                    RC3        CN16-3
DOUT                S16-4                    RC4        CN16-4