diff --git a/doc/Mega2560/MEGA2560.sch b/doc/Mega2560/MEGA2560.sch index 8c9614081..3d016fc4d 100644 --- a/doc/Mega2560/MEGA2560.sch +++ b/doc/Mega2560/MEGA2560.sch @@ -36,7 +36,7 @@ $Descr A4 11693 8268 encoding utf-8 Sheet 1 1 Title "OpenTX board based on Arduino MEGA2560" -Date "6 jun 2015" +Date "18 jun 2015" Rev "0" Comp "Copyright 2015 F. Aguerre" Comment1 "" @@ -41010,11 +41010,11 @@ F 3 "" H 10450 3850 60 0001 C CNN 1 10450 3850 -1 0 0 -1 $EndComp -Text Label 6550 7450 2 42 ~ 0 +Text Label 2350 7500 2 42 ~ 0 OpenTX output -Text GLabel 5250 7450 2 42 Output ~ 0 +Text GLabel 1050 7500 2 42 Output ~ 0 port pin (initial state) -Text Notes 5450 7300 0 60 ~ 0 +Text Notes 1250 7400 0 60 ~ 0 Pinout caption : Text Label 5500 2450 2 42 ~ 0 Gain = 1 + R2/R6 @@ -41110,7 +41110,7 @@ CA 3B B1 B4 D6 FB 76 3A 4D 11 32 4D 1E A1 3D 78 1C 8B 1E 14 74 10 57 46 8C 97 FB 33 B3 93 2C A5 90 EC 7D 2B A5 BC 7A F5 EA E1 E1 5E 44 C8 BD 2E 90 84 08 60 87 C2 BB D7 FD 40 85 4A 52 6F 3D D0 6D 9E 6E 41 36 CA 77 04 97 99 83 92 6E D1 7C 20 6D 2C 33 D2 7F 5B 16 F2 83 51 39 A0 3F CF F3 A7 9F 7E FA CB 5F FE F5 EB D7 AF 45 64 59 96 6D DB F6 23 3E B3 52 CA B3 1B C5 00 F7 -08 C0 CC FE 1F 15 4F 30 6D 3D C2 80 DE 00 00 00 00 49 45 4E 44 AE 42 60 82 01 $EndBitmap +08 C0 CC FE 1F 15 4F 30 6D 3D C2 80 DE 00 00 00 00 49 45 4E 44 AE 42 60 82 00 $EndBitmap EndData $EndBitmap $Comp @@ -41631,9 +41631,9 @@ Wire Wire Line Wire Wire Line 10450 4100 10450 4200 Wire Wire Line - 6050 7450 6550 7450 + 1850 7500 2350 7500 Wire Wire Line - 5100 7450 5250 7450 + 900 7500 1050 7500 Wire Wire Line 4450 4300 4450 6450 Wire Wire Line @@ -41699,14 +41699,14 @@ F 3 "" H 1750 7050 60 0000 C CNN $EndComp Text Notes 4850 6550 0 42 ~ 0 LCD supported : ST7565P, ST7565R, ERC12864FSF, ST7920\nProtocol = 6800, 8 bits parallel mode\n\nLCD pinout labels (may differ, depending of brand) :\nRD = Read or Enable on ST7920\nWR = WRite or Write(0)/Read(1) on ST7920\nA0 = R/S (register select) or D/I (data/instruction select)\nRST = RES (reset)\nCS = Chip Select (not used on ST7920) -Text Label 6550 7550 2 42 ~ 0 +Text Label 2350 7600 2 42 ~ 0 OpenTX input -Text GLabel 5250 7550 2 42 Input ~ 0 +Text GLabel 1050 7600 2 42 Input ~ 0 port pin (initial state) Wire Wire Line - 6050 7550 6550 7550 + 1850 7600 2350 7600 Wire Wire Line - 5100 7550 5250 7550 + 900 7600 1050 7600 Text Notes 750 3100 0 60 ~ 0 NOTA : all features are optional !\nM2560 can properly work without switch deboucing, stick voltage\nprotection, rotary encoder or PPM / power management.\nMinimum requirement is just LCD and navigation keys. Some switches\ncould be usefull, especially for flight conditions, but not fundamental. $Comp @@ -41844,4 +41844,23 @@ Wire Wire Line 4850 4750 4850 4400 Wire Wire Line 2650 2550 2550 2550 +Text Label 5200 7500 2 42 ~ 0 +M2560 input +$Comp +L GND #PWR? +U 1 1 55831F42 +P 5300 7600 +F 0 "#PWR?" H 5300 7600 30 0001 C CNN +F 1 "GND" H 5300 7530 30 0001 C CNN +F 2 "" H 5300 7600 60 0001 C CNN +F 3 "" H 5300 7600 60 0001 C CNN + 1 5300 7600 + 1 0 0 -1 +$EndComp +Text Notes 4600 7400 0 60 ~ 0 +Unused analog pin +Wire Wire Line + 5300 7500 5300 7600 +Wire Wire Line + 4800 7500 5300 7500 $EndSCHEMATC diff --git a/doc/Mega2560/MEGA2560_SCH.pdf b/doc/Mega2560/MEGA2560_SCH.pdf index 24bf636ab..6060a3d54 100644 Binary files a/doc/Mega2560/MEGA2560_SCH.pdf and b/doc/Mega2560/MEGA2560_SCH.pdf differ diff --git a/radio/src/targets/mega2560/board_mega2560.h b/radio/src/targets/mega2560/board_mega2560.h index eb9cde112..bb084c767 100644 --- a/radio/src/targets/mega2560/board_mega2560.h +++ b/radio/src/targets/mega2560/board_mega2560.h @@ -82,8 +82,8 @@ #define RESUME_PPMIN_INTERRUPT() TIMSK3 |= (1<