13

User Manual - TechShopBD Trainer Manual.pdf13 User Manual Software If you are decide to use AVR Studio compiler, then: 1) First install Win AVR. 2) Then install AVR Library. 3) And

  • Upload
    others

  • View
    14

  • Download
    0

Embed Size (px)

Citation preview

Page 1: User Manual - TechShopBD Trainer Manual.pdf13 User Manual Software If you are decide to use AVR Studio compiler, then: 1) First install Win AVR. 2) Then install AVR Library. 3) And
Page 2: User Manual - TechShopBD Trainer Manual.pdf13 User Manual Software If you are decide to use AVR Studio compiler, then: 1) First install Win AVR. 2) Then install AVR Library. 3) And

Pi Labs Bangladesh Ltd. ARA Bhaban, 39 Kazi Nazrul Islam Avenue, Karwan Bazar, Dhaka-1215, Bangladesh

2 User Manual

User Manual

Page 3: User Manual - TechShopBD Trainer Manual.pdf13 User Manual Software If you are decide to use AVR Studio compiler, then: 1) First install Win AVR. 2) Then install AVR Library. 3) And

Pi Labs Bangladesh Ltd. ARA Bhaban, 39 Kazi Nazrul Islam Avenue, Karwan Bazar, Dhaka-1215, Bangladesh

3 User Manual

Features:

1) 12V Power connector - Adapter jack or through wire.

2) 5V and GND outputs (x2)

3) AVR Programmer

4) ISP Connector (so you can program any AVRmicro outside of trainer board)

5) Sockets for programming 40 pin and 8pin AVRmicro

6) Pins headers for all ports of microcontroller.

7) Motor Interfacing with L293D

8) 8x8 Dot matrix interfacing

9) RTC (DS1307) Interfacing

10) EEPROM Interfacing

11) Infrared sensor

12) 4x4 Keypad

1

2 5 3

8

7

11

9 & 10 12 2 13 14

15

16 17 18

20

Page 4: User Manual - TechShopBD Trainer Manual.pdf13 User Manual Software If you are decide to use AVR Studio compiler, then: 1) First install Win AVR. 2) Then install AVR Library. 3) And

Pi Labs Bangladesh Ltd. ARA Bhaban, 39 Kazi Nazrul Islam Avenue, Karwan Bazar, Dhaka-1215, Bangladesh

4 User Manual

13) Voltage Divider for ADC Inputs

14) General purpose Two Push Button

15) Serial port Interfacing with MAX232.

16) Eight LEDs for general use.

17) 2-line, 16-character alphanumeric display (LCD)

18) Three digit multiplexed 7-segment displays with 7448

19) Reset Button

20) Buzzer for audio generation.

21) 12 MHz crystal on socket.

NO SMD COMPONENTS. So that you can replace any component on the board with your

desired ones.

FREE CD:

Contains…

- Evaluation version of „AVR Studio 5‟ C compiler.

- WinAVR Compiler

- MicroC v5.00 C compiler.

- Extreme Burner v1.2. and AVRpal for burning your hex files into microcontroller.

- Easy to understand and well commented sample programs.

- Datasheets of all components.

- Other useful resources like ATMEL‟s application notes, etc.

Page 5: User Manual - TechShopBD Trainer Manual.pdf13 User Manual Software If you are decide to use AVR Studio compiler, then: 1) First install Win AVR. 2) Then install AVR Library. 3) And

Pi Labs Bangladesh Ltd. ARA Bhaban, 39 Kazi Nazrul Islam Avenue, Karwan Bazar, Dhaka-1215, Bangladesh

5 User Manual

1) Power Circuitry

In the power circuit we use two LM317T voltage regulator, in parallel. Each of it can deliver

upto 1A current. If you need more current then that, you can use LM150/350 for 3A or

LM138/338 for 5A.

2) AVR Socket

Page 6: User Manual - TechShopBD Trainer Manual.pdf13 User Manual Software If you are decide to use AVR Studio compiler, then: 1) First install Win AVR. 2) Then install AVR Library. 3) And

Pi Labs Bangladesh Ltd. ARA Bhaban, 39 Kazi Nazrul Islam Avenue, Karwan Bazar, Dhaka-1215, Bangladesh

6 User Manual

If you want to use 40 pin AVRmicro then place the micro‟s PIN1 at socket‟s PIN1 (red arrow)

and for 28 pin place the micro‟s PIN1 at socket‟s PIN4 (yellow arrow). A 12MHz crystal has

been attached to the board. If you want use it then the button (blue box) should be pressed. For

40pin micro, crystal will connect to XTAL1 and XTAL2 pin. For 28pin it will connect with PB6

and PB7 pin.

3) AVR Programmer

If you want to program 40pin micro the buttons (red box) should be unpressed and for 28pin it

should be pressed. If you want to burn micros other then 40 and 28 pin, an ISP connector is

provided (green box). If your micro has the default fuse byte i.e. internal 1MHz crystal then do

not forget to short the SLW_SCK (blue box). More details about this can be found on the

“Fusebit Tutorial” pdf.

4) Push Button

The push buttons are pullup to 5V by 1k resistor.

Page 7: User Manual - TechShopBD Trainer Manual.pdf13 User Manual Software If you are decide to use AVR Studio compiler, then: 1) First install Win AVR. 2) Then install AVR Library. 3) And

Pi Labs Bangladesh Ltd. ARA Bhaban, 39 Kazi Nazrul Islam Avenue, Karwan Bazar, Dhaka-1215, Bangladesh

7 User Manual

5) Voltage Divider

By voltage divider circuit you can vary the voltage between 0 to 5V.

6) 4x4 Keypad

4x4 keypad has the necessary resistors, you do not have to worry about that. Also four pulldown

resistors have been provided, in case if you want to use “MikroC‟s Keypad Library”. For more

info please see MikroC‟s Help file.

Page 8: User Manual - TechShopBD Trainer Manual.pdf13 User Manual Software If you are decide to use AVR Studio compiler, then: 1) First install Win AVR. 2) Then install AVR Library. 3) And

Pi Labs Bangladesh Ltd. ARA Bhaban, 39 Kazi Nazrul Islam Avenue, Karwan Bazar, Dhaka-1215, Bangladesh

8 User Manual

7) EEPROM & RTC

The EEPROM‟s address pins are connected to ground. Both RTC and EEPROM‟s SCL and

SDA pins are shorted and pull up to 5V by 4.7k. RTC‟s backup battery‟s socket been provided

too.

8) Dotmatrix

Page 9: User Manual - TechShopBD Trainer Manual.pdf13 User Manual Software If you are decide to use AVR Studio compiler, then: 1) First install Win AVR. 2) Then install AVR Library. 3) And

Pi Labs Bangladesh Ltd. ARA Bhaban, 39 Kazi Nazrul Islam Avenue, Karwan Bazar, Dhaka-1215, Bangladesh

9 User Manual

9) Seven Segment

Board has 3digit multiplexed seven segment. Multiplexing is done by three transistors (as

schematic shows). Also a 7448 has been provided.

10) Buzzer

Page 10: User Manual - TechShopBD Trainer Manual.pdf13 User Manual Software If you are decide to use AVR Studio compiler, then: 1) First install Win AVR. 2) Then install AVR Library. 3) And

Pi Labs Bangladesh Ltd. ARA Bhaban, 39 Kazi Nazrul Islam Avenue, Karwan Bazar, Dhaka-1215, Bangladesh

10 User Manual

11) Serial Interfacing

12) Infrared Interfacing

Page 11: User Manual - TechShopBD Trainer Manual.pdf13 User Manual Software If you are decide to use AVR Studio compiler, then: 1) First install Win AVR. 2) Then install AVR Library. 3) And

Pi Labs Bangladesh Ltd. ARA Bhaban, 39 Kazi Nazrul Islam Avenue, Karwan Bazar, Dhaka-1215, Bangladesh

11 User Manual

13) LCD Interfacing

In LCD interfacing part you just have to connect Data and Control pins. All other connections

are handled. In contrast pin a 2.2k resistor has been used. In case if you do not want to use

“R/W” pin i.e. connect this pin to GND (like in MikroC‟s LCD library) then you can do so easily

by short the connector (red box) showing in picture.

Page 12: User Manual - TechShopBD Trainer Manual.pdf13 User Manual Software If you are decide to use AVR Studio compiler, then: 1) First install Win AVR. 2) Then install AVR Library. 3) And

Pi Labs Bangladesh Ltd. ARA Bhaban, 39 Kazi Nazrul Islam Avenue, Karwan Bazar, Dhaka-1215, Bangladesh

12 User Manual

Layout

Page 13: User Manual - TechShopBD Trainer Manual.pdf13 User Manual Software If you are decide to use AVR Studio compiler, then: 1) First install Win AVR. 2) Then install AVR Library. 3) And

Pi Labs Bangladesh Ltd. ARA Bhaban, 39 Kazi Nazrul Islam Avenue, Karwan Bazar, Dhaka-1215, Bangladesh

13 User Manual

Software If you are decide to use AVR Studio compiler, then:

1) First install Win AVR.

2) Then install AVR Library.

3) And then install the AVR Studio.

But if you want to use MikroC, then you do not need to install those mentions above. Just install

the software and follow the keygen instructions (include in the keygen folder).

For more tutorials please visit our site www.techshopbd.com „s tutorial section.

Thank you.

Fahad Mirza

Embedded System Engineer

Pi Labs Bangladesh Ltd.