LKS2017_TP16_ESP_EN (1)

(1)

Test Project Document

LKS_2017_TP16_XXV_ESP_EN

Embedded System Programming

Submitted by:

Name

: ASC WSC Team

Member

: Ina Skills Electronics

Type

: Close Project


(2)

CONTENTS

This test project proposal consists of the following documentation/files: 1. LKS_2017_TP17_XXV_ESP_EN.doc

2. Schame AVR-kit board.pdf 3. Schame task board.pdf

This test project proposal consists of the following boards: 1. AVR-kit board

Figure 1. AVR-Chard

2. Task board USB ASP

DC IN

ATmega 16


(3)

2.

FORECAST

This project is LED matrix Display: 1. Running Text

2. ADC

3. Logo + Accelerometer 4. Counter

3.

SAVE FILE

Save your project at desktop:

folder name : ESP_LKS_Number file project : ESP_LKS_Number


(4)

3. LIST COMPONENT

TASK CARD

No Qty Part Name Description

1 1 S1 GY-61 3-Axis ±3g Accelerometer ADXL335 module 2 1 DM1 Dot-matrix 8x8 red, 6 cm

3 4 D1, D2, D3, D4 LED 3mm

4 4 R5, R6, R7, R8 470 Ohm Dip ¼ Watt 5 8 R1, R2, R3, R4, R9, R10, R11, R12 100 Ohm Dip ¼ Watt 6 4 R13, R14, R15, R16 10K Ohm Dip ¼ Watt

7 1 VR1 5 K, Single turn

8 4 SW1, SW2, SW3, SW4 tactile switch, 4.5x4.5 mm 9 5 J2, J3, J4, J5, J6 Test Point

10 1 Header 1x5 male

11 1 Header 1x5 female

12 1 Euro Card DIN 41612 09 73 264 2804 13 2 Spacer Plastik 10mm x 5 mm 14 4 Spacer Kuningan 10mm x 5 mm

15 1 PCB taks card 125 x 100 mm double layer

AVR CARD

No Qty Part Name Description

1 1 R1 1K Ohm, SMD 0805

2 1 R2 1K2 Ohm, SMD 0805

3 2 R3, R4 68 Ohm, SMD 0805

4 1 R6 10K Ohm, SMD 0805

5 1 R5 470 Ohm, SMD 0805

6 2 R7, R8 1K Ohm, SMD 0805

7 4 C1, C4, C10, C13 100nF, SMD 0805 8 4 C2, C7, C5, C4 100 uF/ 25 V 9 2 C8, C9, C11, C12 22 pF, SMD 0805

10 1 L1 100uH, SMD 0805

11 2 D1, D4 IN4001

12 2 D5, D6 Zener 3,3V

13 1 U2 ATmega 8, QFP 32A SMD

14 1 U3 Atmega 16, PU

15 1 U1 LM7805

16 1 X1 12 Mhz

17 1 X2 11.059200 MHz

18 5 D2, D3, D7, D8, D9 LED red SMD 0603

19 1 J1 Header male 1x6 PIN, Type L 20 2 P2, P3 Header male 1x3 PIN, Type I 21 4 P5, P6, P7, P8 Header male 1x8 PIN, Type I 22 4 P5, P6, P7, P8 Header female 1x8 PIN, Type I

23 2 Jumper 2 pin

24 1 J2 USB Type B

25 1 S1 tactile switch, 4.5x4.5 mm

26 1 Euro Card DIN 41612 DIN41612 - HDR2X32 GW - FEMALE 27 4 Spacer Kuningan 10mm x 5 mm

28 1 Kable USB Kable Printer tipe B 29 1 PCB AVR card 100x100 mm double layer


(5)

EQUIPMENT AND MATERIALS REQUIRED

Participants should bring the following equipment:

Item Qty Material Description Notes

1 1 Laptop Min RAM 4 Gb

Win 7, Win 8, Win XP

Please Install software Atmel studio 7, AVR Dude GUI v1.3, and USB ASP Driver at home or before competition day.

Download software:

www.inaskills-electronics.com/seleknas

email: [email protected]


(6)

TEST PROGRAM FOR THE COMPETITOR

1. The aim of this test program is to test and verify the hardware function of task board.

2. The microcontroller has built-in a test program for LEDs, SW, motor, and seven segment test. 3. After LEDs and Segment tests, you can test the SW, following Table 1.

Table1.

SW Functions

S1 Buzzer, All LEDs blink 1 cycle, logo 1

S2 Buzzer, All LEDs blink 1 cycle, logo 2 S3 Buzzer, All LEDs blink 1 cycle, logo 3 S4 Buzzer, All LEDs blink 1 cycle, logo 4


(7)

Task

s For the C

OMPETITOR

You have to create a new program to finish the following tasks. There are four tasks, which are selected by SW following table 2.

Table 2.

Press SW Functions

S1 TASK A

S2 TASK B

S3 TASK C

S4 TASK D

1. Running Text

- Press reset button; - LEDs and Dotmatrix OFF;

- Press and release S1 for select TASK A;

- Following table 3. Change step time is 250 ms/ dot;

T AS K C AR D

figure 1. Running Text

2. ADC VR1

- Press reset button; - LEDs and Dotmatrix OFF;

- Press and release S2 for select TASK B; - Value minimum 10 – maximum 50;

TASK CARD


(8)

- Press reset button; - LEDs and Dotmatrix OFF;

- Press and release S3 for select TASK C; - Following figure 3, figure 4, figure 5, figure 6

AVR CARD TASK CARD

figure 3. 0 degree

AVR CARD

TASK CARD


(9)

AVR CARD

TASK CARD

figure 5. 190 degree

AVR

CARD TASK CARD


(10)

4. Counter

- Press reset button; - LEDs and Dotmatrix OFF;

- Press and release S4 for select TASK D; - Start value is 99 until 00

TASK C ARD


(11)

(12)

(13)

SELAMAT BERLATIH !!!


(1)

-

Press reset button;

-

LEDs and Dotmatrix OFF;

-

Press and release S3 for select TASK C;

-

Following figure 3, figure 4, figure 5, figure 6

AVR CARD TASK CARD

figure 3. 0 degree

AVR CARD


(2)

AVR CARD

TASK CARD

figure 5. 190 degree

AVR

CARD TASK CARD

figure 6. 270 degree

Page

9

of

13

Test Project Version: 1.0


(3)

4. Counter

-

Press reset button;

-

LEDs and Dotmatrix OFF;

-

Press and release S4 for select TASK D;

-

Start value is 99 until 00

TASK C ARD


(4)

Format character

Page

11

of

13

Test Project Version: 1.0


(5)

(6)

SELAMAT BERLATIH !!!

Discussion forums: www.inaskills-electronics.com

Page

13

of

13

Test Project Version: 1.0