Arduino MEGA 2560 R3 Скачать руководство пользователя страница 1

USER’S MANUAL 

1.

 

AVR lab board 

 

Figure 1 shows a picture of the assembled lab board that contains peripherals, connectors, and 

the Arduino MEGA 2560 R3 microcontroller board. The serial number of my lab board is #168. 

 

Figure 1: AVR Lab Board 

 
2.

 

Wiring

 

 
This wire connection worked on AVR lab borad #168. 

AVR Pins (top and bottom row) 

Input/Output Device Pins (middle row) 

Port Group 

Pin 

Port Group 

Pin 

PORT F 

PF0 

LCD DATA 

D0 

PORT F 

PF1 

LCD DATA 

D1 

PORT F 

PF2 

LCD DATA 

D2 

PORT F 

PF3 

LCD DATA 

D3 

PORT F 

PF4 

LCD DATA 

D4 

PORT F 

PF5 

LCD DATA 

D5 

PORT F 

PF6 

LCD DATA 

D6 

PORT F 

PF7 

LCD DATA 

D7 

PORT E 

PE2 

MOTOR 

Mot 

PORT D 

RDX4 

INPUTS 

PB0 

PORT D 

RDX3 

INPUTS 

PB1 

PORT A 

PA4 

LCD CTRL 

BE 

PORT A 

PA5 

LCD CTRL 

RW 

Содержание MEGA 2560 R3

Страница 1: ...g This wire connection worked on AVR lab borad 168 AVR Pins top and bottom row Input Output Device Pins middle row Port Group Pin Port Group Pin PORT F PF0 LCD DATA D0 PORT F PF1 LCD DATA D1 PORT F PF...

Страница 2: ...PORT C PC7 KEYPAD R0 PORT L PL0 LED BAR LED2 PORT L PL1 LED BAR LED3 PORT L PL2 LED BAR LED4 PORT L PL3 LED BAR LED5 PORT L PL4 LED BAR LED6 PORT L PL5 LED BAR LED7 PORT L PL6 LED BAR LED8 PORT L PL7...

Страница 3: ...After pressing PB0 to start the program the LED lights is going to flash When it flashes three times then you can start to input the location of the accident Figure 3 Start 5 Input State Figure 4 sho...

Страница 4: ...Figure 4 Input State 6 Input Accident Location Figure 5 Figure 7 show every step of inputting accident location which has two parameters x and y Figure 5 Input the x value...

Страница 5: ...r input the x value of the accident location Here we take 22 as an example Figure 6 End of the x value After pressing key there comes a comma on the LCD This means the input of the first value x is fi...

Страница 6: ...re 8 shows the picture of searching procedure The LCD displays the current location of the drone with state S and x y height in the first line And LCD displays not found in the second line and this me...

Страница 7: ...nt location 9 Fly Back Figure 10 shows what display on the board when the drone flies back Figure 10 Drone flies back 10 Abort State Figure 11 shows theAbort State Every time user press PB1 to input A...

Страница 8: ...the LCD displays Figure 11 Figure 11 Abort State...

Отзывы: