Download CP-jrAVR User`s Manual
Transcript
CP-jrAVR User’s Manual CP-jrAVR Ports Position - Number 1 is Power Supply Connector For Voltage Input : 9 – 12 VDC or 6 – 9 VAC Current Input Available : > 800mA ETT CO., LTD. -1- WWW.ETT.CO.TH CP-jrAVR User’s Manual - Number 2 is In–Circuit Programmer Connector please see details in In – Circuit Programmer Section. - Number 3 is RS-232 Connector You can use a cable link between control board and your computer - Number 4 is Socket for DS1307 Real Time Clock The DS1307 needs a 3-Volt Battery; please insert a 3-Volt Battery to socket below PCB. See picture below. ETT CO., LTD. -2- WWW.ETT.CO.TH CP-jrAVR User’s Manual - Number 5 is Socket for 24xx Serial EEPROM Example 24LC256 (24xx family) - Number 6 is Socket for LTC1298 A/D Convector - Number 7 is ADC Connector This ADC Connector for receive analog input. - Number 8 is LCD Module Connector LCD Module is controlled in 4-bit mode. On the control board, use 10K VR for adjusts contrast of LCD Module. ETT CO., LTD. -3- WWW.ETT.CO.TH CP-jrAVR User’s Manual Type 1 LCD Module If you use type 1 LCD module on control board. You must swap cable because the connector of LCD on the control board is swapped row of pin. Type 2 LCD Module From above. he connector of LCD on the control board is swapped the row. When you use type 2 LCD module on control board. You can use Socket for connection by plug on back of LCD module. ETT CO., LTD. -4- WWW.ETT.CO.TH CP-jrAVR User’s Manual - Number 9 is 10K VR This 10K VR for adjust contrast of LCD Module. - Number 10 is Socket for 75176 RS422/RS485 Interface If you want to use RS422/RS485 interface, you must remove MAX232 from the MAX232’s socket before insert 75176 IC to the socket number 10. 1. RS422 Interface You must insert 75176 IC to the both sockets and select jumper’s number 17 in 422 position. See picture below. 2. RS485 Interface Insert 75176 IC in the top socket and select jumper number 17 in 485 positions. See picture below. ETT CO., LTD. -5- WWW.ETT.CO.TH CP-jrAVR User’s Manual - Number 11 is RS422/485 Connector - Number 12 is ICP - Number 13 is AIN (Analog input) - Number 14 is PWM ETT CO., LTD. -6- WWW.ETT.CO.TH CP-jrAVR User’s Manual -Number 15 is EXP I/O PORT 34 PIN See diagram in picture below. -Number 16 is EXP20 port See diagram in picture below. ETT CO., LTD. -7- WWW.ETT.CO.TH CP-jrAVR User’s Manual -Number 18 is ET-SDP8 The connector for ET-SDP8 board. (Option ) The picture of ET-SDP8 Display board ETT CO., LTD. 1112/96-98 Sukhumvit Rd., Phrakanong, Klongtoey Bangkok 10110 THAILAND Tel. (662)712-1120, Fax. (662)3917216 E-Mail : [email protected] www.etteam.com, www.ett.co.th ETT CO., LTD. -8- WWW.ETT.CO.TH A B C D SCK TX+ TX- RX+ RX- 1 +5V +5V MISO RS422/485 1 2 3 4 5 6 +5V MOSI SS VCC RX TX GND RS232 1 2 3 4 SPI 1 2 3 4 5 6 MISO RES SCK MOSI 1 3 5 9 3 1 13 330 +5V 8 7 6 5 2 PB6 RES PB7 PB5 U3 R RE DE D 22pF 1 2 3 4 +5V 10uF 16 8MHz +5V 8 7 6 5 75176(TX) VCC B A GND U4 75176(RX) VCC B A GND R RE DE D 1 2 3 4 13 14 8 7 15 10uF +5V MAX232 R1I T1O R2I T2O GND V- V+ VCC U2 90S2313 22pF SW-RESET 6 R? RES1 +5V 10k +5V 10k +5V 10k +5V 2 PB4 11 8 4 2 12 PROGRAM MS/Pro/SL +5V 7407 U1D 7407 U1C 7407 U1B 7407 U1A 7407 U1F 2 2 4 6 10 10k +5V 10K +5V 10K +5V 10K +5V 390K +5V 12 11 9 10 5 4 3 1 3 3 PD4 RES PD0 PD1 PD2 PD3 PD4 PD5 RES PD0 PD1 Select 422/485 R1O T1I R2O T2I C2- C2+ C1- C1+ 90S2343 3 2 1 +5V 10uF 10uF 1 2 3 4 1 2 3 4 5 6 7 8 9 10 PB7 PB6 PB5 PB4 PB3 PB2 PB1 PB0 PD6 2 4 6 8 10 12 14 16 18 20 AT90S2343 RESET PB3 (CLOCK) PB4 GND U2 ICP 1 2 3 AIN 1 2 3 4 PWM 1 2 3 +5V +5 +5V 20 19 18 17 16 15 14 13 12 11 PD2 PD3 PD4 PD5 RES PD0 PD1 VCC PB2 (SCK/T0) PB1 (MISO/INT0) PB0 (MOSI) AT90S2313/Tiny2313 VCC PB7 (SCK) PB6 (MISO) PB5 (MOSI) PB4 PB3 (OC1) PB2 PB1 (AIN1) PB0 (AIN0) PD6 (ICP) EXP20 1 3 5 7 9 11 13 15 17 19 RESET PD0 (RXD) PD1 (TXD) XTAL1 XTAL2 PD2 (INT0) PD3 (INT1) PD4 (T0) PD5 (T1) GND U1 +5V ICP AIN0 AIN1 OC1 8 7 6 17 PB7 PB6 PB5 PB7 PB6 PB5 PB4 PB3 PB2 PB1 PB0 PD6 +5V +5V 4 4 4 9-12VDC + PB5 MISO MOSI +5V +5V GND PB0 PB2 PB4 PB6 PD0 PD2 PD4 PD6 1 3 1 2 4 6 8 10 12 14 16 18 20 22 24 26 28 30 32 34 2 4 6 8 10 2 4 6 8 10 2 BRIDGE ET-SDP8 1 3 5 7 9 ET-PSPI 1 3 5 7 9 72IOZ80 1 3 5 7 9 11 13 15 17 19 21 23 25 27 29 31 33 1N4001 +5V PB6 PB7 +5V RES SCK PB1 PB3 PB5 PB7 PD1 PD3 PD5 5 220uF 5 Date: File: B Size Title 0.1uF 3 PB5 PB7 PB2 PB3 5 6 7 1 1 2 3 4 4 2 3 1 1 LCD 1 3 5 7 9 11 13 DIN ETT CO., LTD. 27-Feb-2006 D:\CP-jtAVR\CP-jrAVR.Ddb PB4 PB6 4 8 3 2 8 7 6 5 6 5 8 7 560 6 +5 6 10K +5V Revision Power LED 1 ADC 1 2 3 4 5 10k 10K +5V +5V 4.7uF +5V +5V Sheet of Drawn By: 220uF +5V 2 4 6 8 10 12 14 VCC CH1 CH0 VCC WR SCL SDA GND 0.1uF DOUT CLK CS LTC1298 A0 A1 A2 GND 24C256 GND SCL SDA VCC SQW/OUT X2 VBAT X1 DS1307 CP-jrAVR VOUT LM7805 Number VIN 1N4001 +5V PD4 PD3 PD6 PD5 3V 32.768kHz GND 2 +5V 2.0 A B C D