??????????? (2®® ©S® ©®® ? — -mi — ARDUINO ??? ?????????? ???? ??. ????? 6. USB ? ???????????????? ????????? ?????? ??? ???????? ???????? ?? ?????????? ? ??????????????? ????? ??????? ?????????? ????????, ????? ??? ???????????? AVR ISP MKII. ????????????? ???- ???????? ????? ????? Arduino - ??????????? ????????????????? ?? ????? USB- ?????????. ??? ????????? ??????????????? Arduino ??? ???????????? ?????????- ????. ? ????? Arduino ??? ??????? ????????????, ??? ???? ??????????? ???????? ???????????? ? ???????????????? ?????????????? ?????????/???????????? ??????- ??????????? ATmega (USART). ????? ???? ????????? ????? ???????????? ??????? ????? Arduino ? ??????????? ??? ????? Arduino ? ??????? ????????????, ??????- ????????? ???????? (??????? ?????? ????? Arduino). ? ?????? ?????? Arduino ???????????????? ????????? ???????? ??-???????.
???????? ???? ??? ? ??????????, ??? ? ? ??????????? ??????????: ??????????? ???? ????????? ???????????????? ? ???????? ?????????????? ???????. ??????? ?? ?????????? ???????? ?????????? ??????????? ?? ?????? Arduino. ??? ?????? ?????????? ?????? ??????? ????? ???????????????? ?????? ? USB. ???? ?? ??????, ?? ???????? ???? ?? ???????????? ? ???????????????? ?????? (??? RS-232), ??? ??? ??? ????? ??? ???????? USB-?????????. ??????? ??? ????- ???????? ????????????????? ????? ????????? ?? ???. 6.1. ???. 6.1. ???????????????? ???? ????????? ????? Arduino ???????? ???????????????? ?????? ? ???????????? ? ? ????????? ????? ?????????? ? ??????? 9-??????????? ???????1. ????? ??? ????????? ??????????, ?????????? ?????? ???????, ???? ????? ?????????? ????- ? ???????????????? ???? ?? RS232 ? USB. ATmega328, ??????? ?????????? ?? ???- ?? Arduino Uno, ???? ???? ?????????? ???????????????? ????. ?? ???????? ? ?????????? ?? (????????) ? Rx (?????), ? ??????? ????? ???????? ?????? ?? ??????? ????? Arduino ??- ???????? 0 ? 1. ??? ?? ?????? ? ????? 1, ???????? ?????????, ??????? ????????? ??????????????? ?? ?? ????????????????? ?????- ????? . ??? ??? ??? ?? ??????, ??????? \"??????????????????\" (?. ?. ????????? ????? ????? ???????), ??? ???????????? ? ??? ????? ??????-???????? ?????? USB. ?? ???????????????? ???? ? USB-????????? ????????????. ? Arduino ??? ???????? ?????????. ?????? ???????? ????? ?????? - ?????????? ?????????????? ?????????? ???- Arduino Uno). ?????? ???????????? (??? ??????? ?? ?????? - ??????????- ??? ????????????????, ???????? ?????????? USB-????????? (????????, ????????- ?? ??????) ??????? 32U4 ? Arduino Leonardo). ??????????? ?????????????? ????- ?? ?????? ?????? Arduino (? ???????? ????? ??? ?????????????? USB ? ???????????????? ????. FTDI - ????- ?????? ???, ??????????? ???????????? ???????: ??????????????? ????? ???????- ????????? ?????? ? USB. ????? ????????? ???????????? ? ?????????? FTDI, ??? ?????????? \"Virtual Serial ? ???? ? ??????? ??? Port\", ? ?????? ?????????? 9- ?????????? ????? ????? ? ????? ??????????. ????? Arduino Nano ? ????????????? ??????????? ??????????????? FTD1 ?????????? ?? ???. 6.2. ??????????: ??? ??????????? ??????????? ?????????????? ?????????? ? ????????? FTD1 ??- ???????? ?????????? ????????. ????? ????????? ?????? ????????? ??? Windows, OS X ? Linux ????? ?? ???????? http://www.ftdichip.com/DriversNCP.htm. ?????? ??? ?????????? ??????? ????? ??? FTDI ?????????? ? ?????? (USB- ?????? ? ????? FTDI ????????? ?? ???. 6.3) ??? ????????????? ?? ???????????- ??? ????? ???????? (???. 6.4). ????? Arduino ?? ??????? ????????? FTDI ????????????? ??? ????????, ? ????- ??? ??? ????????????? ???????????? ? ?????????? ????? USB. ? ?????????? ?????????? ????????? ? ???????? ???????? ??????????. ?????? ????? ??? ??????????? ?? ?????????, ?? ?? ????? ??? ???????????.
?????????? — FTDI ???. 6.2. ????? Arduino Nano ? ????? FTDI ???. 6.3. ?????? FTDI **»• ???. 6.4. ????? ???????? FTDI Sparkfun
????? ??????????? ????? Arduino ?? ?????????? ????? FTDI. ??????????? ?? ??? ??? ?? ???????????, ??? ?? ?????, ????????? ??? ????? ?????? ???? ????: Arduino Nano; Arduino Extreme; Arduino NG; Arduino Diecimila; Arduino Duemilanove; Arduino Mega ( original). ??? ?????? ????, ???????????? ?? ?????? ? ??????? ????????? FTDI: Arduino Pro; Arduino Pro Mini; LilyPad Arduino; Arduino Fio; Arduino Mini; Arduino Ethernet. ????? Arduino Uno ???? ?????? ??????, ??? ??? ?????????????? USB ? ???????- ????????? ???? ???????? ?????????????? ??????????. ????????????? ??? ????? ??????????. ??? ??, ?? ? ?????????? ???????????? ?? ???. 6.5 ????????? ?????- ? Arduino ??????????? ??????? 8U2, ????????????? Uno (? ????? ??????? ??????- ?????? ??????????????? 16U2). ??????????????? Atmel 8U2 ??? 16U2 ???. 6.5. ??? 8U2 ?? ????? Arduino Uno ??? ??????? ???????? ????????: ? ???????????? ??????? Windows ??? ???? ? ????? ????????? ????????? ?????- ?????? ???????. ???? ??????? ???????????? ? ????????? ? ??????????? ?????- ?? Arduino IDE (???????? ??? ???????????? ?????? OS X ? Linux ?? ?????); ????????????? ??????? ???????????????? ? ???????? ???????? ????????? ??? ??????????? ?????????? ? ????????? ????????????? ????????????? ? ??? ???- ?????. ????? ??? ??????????? ????? Arduino ? ?????????? ??? ????????????
??? ???????????????? ??????????. ????? Arduino ? ????????? 8U2 ? 16U2 ??- ?????????? ??????????? ??? ?????????? Arduino; ? ??????????????? ??????????????? ????? ??????????????????? (?? ???????? ?? ???????? LUF ?, ??????? ????????? ????????? USB), ?????????????, ???? ???- ???????? ???????? ????????, ????? ????? Arduino ????????????, ????????, ??? ????????, ?????????? ??? MIDI-??????????. ??? ?????? ???????? ????? Arduino ???????? ??????????????? ????? ????????????, ???????? AVR ISP MKII. ??? ?????? ???? Arduino ?? ??????????????? ????????????????? ??? ?????????- ????? USB ? ???????????????? ????: ? Arduino Uno; ? Arduino Mega 2560; ? Arduino Mega ADK (?? ?????? 2560); ? Arduino Due (??? ????? ????? ????????????????? ???????????????). ????? Arduino Leonardo ???? ?????? ??????, ??????? ?????? ???? ??????????, ??????????? ??????? ? ???????????????? ????????????? ????????????????, ? ??- ???????? USB. ?? ????? Arduino Leonardo (? ?? ??????) ?????????? ????????- ??????? 32U4, ?????????????? ?????? ???????? ????? USB. ??? ???? ????????? ???????????. ??-??????, ??????????? ????????? ?????, ?????? ??? ?? ??? ?????? ????????- ??? ? ?????? ????????? ?????????????? ???????? ?????. ??-??????, ????? ???- ????? ??????????? ?? ?????? ???????????????? ????, ?? ? ?????? ?????????? (????? ??? ??????????, ???? ??? ????????) . ?-???????, ??????? ???? USART ?? ATmega ?? ????????????????? ? ???????? ?????????? USB, ??????? ???????? ??- ?????????? ????? ??????? ??? ? ??????? ???????????, ??? ? ? ??????? ???????- ????????? ??????????? (????? ??? ?????? GPS). ??? ?????? ???? Arduino, ?????????? ????????????????? ?? ?????????? ?????- ?????? USB: ? Arduino Due ( ?? ????? ????? ????????????????? ????? ??????????????? ???????????????); ? LilyPad Arduino USB; ? Arduino Esplora; ? Arduino Leonardo; ? Arduino Micro. ????????? ????? Arduino ???????? ????????????? USB-?????, ??? ????????? ???????????? ? ??? ???????????? USB-?????????? (??????????, ????, ???????? ?? ???? Android). ???????????, ??? ????????? ???? ????????? ??????????? ???????- ??????? ????????. ????????, ?????? ?????? ??? ????????? ???-?????? ? Arduino Due ? ????? ?? ??????? ????????? ??????????. Arduino Due ???????????? ????? USB Host, ??? ????????? ?????????? ? USB-????? ?????????? ??? ????. Arduino Mega ADK ???????????? ???????? Android Open Accessory Protocol (AOA), ??? ??- ?????? ????? ??????? ????? Arduino ? ??????????? ?? ???? Android. ?????? ???- ??, ??? ????? ??? ?????????? ??????-??????? Arduino ?? ??????????, ?????????- ?? ?? ??????????? ?? ???? Android. ??????????? USB-????? ???????????? ??? ?????: Arduino Due ? Arduino Mega ADK (?? ?????? Mega 2560). ????? Arduino ? ?????????? ???????? ???????, ??????? ???????????? ???????????????? ?????????, - ????? ??? ???- ?????? ? Arduino ? ???????? ??????????. ? ?????????? ?????? ?? ???? ? ????? ???????? . ? ???? ??????? ????? ???????? ??????????? ?? ?????? ???????
?????????? ??????? ??????????, ??????? ???????? ?? ??????, ??????? ?? ??????- ????? ???????? ?? ? ????????. ?????- ????? ? ?????? ????, ?????? ???? ??????? Arduino. ??? ??? ???? ???? ??? ?????? ?????? ? ???????? ?????????? ??? ???????: ? Serial.begin (baud_rate); ? Serial.print (\"Message\"); ? Serial.println (\"Message\"), ??? baud_rate ? Message- ??????????, ?????????? ?????????????. ??? ?? ??? ??????, ??????? Serial. begin() ?????????? ???? ??? ? ?????? ??? ????????? ? setup(), ????? ????????? ???????????????? ???? ?????. ????? ????? ????? ??????? ??????? Serial.print() ? serial.println() ??? ???????? ?????? ? ???????????????? ????. ???????????? ???????? ????? ???? ??????? ? ???, ??? ??????? serial.println() ????????? ?????? ???????? ? ????? ??????. ??????- ????? ???????????????????? ? ????? ?????????, ??????? ??????? ?????, ???. 6.6. ??? ???????????? ? ???????? ?? ????? Arduino, ??? ???????? ?? ????? ??????????? ????????????? ????????? ??????? ?????????, ??????????? ? ??????? ? ???? ??????????? ???- ???????? 6.1, ??????? ????????? ????????????? ????? ? ? ?????????. ?3 2 10 98 76543210 §1111 DIGITAL £g £ Arduino (UNO; www.arduino.oc ANALOG IN 0 12 3 4 5 POWER 5V Gnd Vln tt mm ???. 6.6. ????? ??????????? ?????????????
??????? 6.1. ???? ???????? ???????????? ? ???????????????? ???? // ???????? ????????? ?????? ???????? ????????????? ? ???????????????? ???? const int POT=0; // ??????????? ????????????? ? ??????????? ????? ?? void setup() { Serial.begin(9600); // ????????????? ????????????????? ????? ?? ???????? 9600 } void loop() { int val = analogRead(POT); // ?????? ?????? ? ????????????? int per = map(val, 0, 1023, 0, 100), // ??????? ? ?????????? ???????? Serial.print(\"Analog Reading: \"); Serial.print(val); // ????? ??????????? ???????? Serial.print(\" Percentage: \"); Serial.print(per); // ????? ???????? ? ????????? Serial.println(\"%\"); delay(1000);// ???????? 1 ??? ????? ?????????? ????? ?????? } ?? ????? ?????? ?????????? ????????? \"???????????\" (??? ???????????) ?????- ??, ??????? ????????? ???????? ?????????????? ???????????????? ?????? ??? ??- ???? ?? ??????. ??????????? ?????? ?????????? ? ????????? ????? ()\\ , ?? ????- ??? ??????? ?????? ???????. ???? ????? ??????????? ????????, ?? ??? ?? ??? ??????. ???????????? ?????????? ???????: ????????? ? ??????? ?? ????? ????? ???????? ?????? ?????????, ????? ???????? ? ?????? ??????????? ?????????????- ????? \\t. ?????? ???????? ?? ????? ?????? ?????????, ???????? ? ?????? \\?. ??? ???????? ???????, ???? ?? ?????? ??????? ?? ????? ?????? ? ?????? ????- ???????? ??????, ? ?? ? ?????, ??? ?????? ??????? serial.println(). ????, ?? ????????? ????????, ?? ?? ????? ???? ?????? ?????????? ?????????????????? ???????? \\? ??? t\\ ? ??????, ??? ????? ??????? ? ??????? ??????????????????? ?\\ ??? \\t, ??????????????. ??????? 6.2 ???????????? ????? ??????????? ???- ????? 6.1, ?? ? ?????????????? ??????????? ???????? ??? ??????????? ?????? ? ????????? ?????. ??????? 6.2. ????????? ???????? ? ?????????????? ??????????? ???????? // ????????? ???????? ? ?????????????? ??????????? ???????? const int POT=0; // ??????????? ????????????? ? ??????????? ????? ?? void setup() { Serial.begin(9600); // ????????????? ????????????????? ????? ?? ???????? 9600 } void loop() { Serial.println(\"\\nAnalog Pint\\ Raw Valuet\\ Percentage\"); Serial, println (\" \") ; for (int i = 0; i < 10; i++) { int val = analogRead(POT); //?????? ?????? ????????????? int per = map(val, 0, 1023, 0, 100); //??????? ? ?????????? ???????? Serial.print(\"AO\\t\\t\") ; Serial.print(val); //????? ??????????? ???????? Serial.print(\"\\tt\\ \") ; Serial.print(per); //????? ??????????? ???????? Serial.println ( \"%\") ; delay(1000); //???????? 1 ??? ????? ?????????? ????? ?????? } }
??? ???????? ?????? ????????????? ??????, ?????????? ? ???????????????? ?????? ????????? ???. 6.7. ????, ???????? ???, ??? ?? <3 COM10(Arduino/GenuinoUno) DX ????????? Analog Pin Raw Value Percentage A ?? 1023 100% ?? 1023 100% ?? 1023 100% ?? 1023 100% ?? 962 94% ?? 961 93% ?? 787 76% ?? 764 74% ?? 4€ 0 £2% ?? 518 50% Analog Pin Raw Value Percentage ?? 520 50% ?? 437 42% ?? 282 27% ?? 219 21% ?? 5 0% ?? 4 0% ?? 4 0% ?? 4 0% ?? 5 0% ?? 230 22% V 0 ????????????? ??? ????? ?????? v 9600 ??? \\v ???????? ????? | ???. 6. 7. ???????? ????????? ????????????????? ????? ? ??????? ? ???? ??????? ??????? Serial.print() ? Serial.printin() ????????? ??????? ?????? ? ???- ??????? ???????. ???? ????? ??? ????????????? ?????? ? ????????? ????????, ??????? ?????????????????, ???????????? ? ????????. ?? ????????? ?????? ????- ?????? ?????? ASCII. ? ??????? Serial.print() ? Serial.println() ???? ?????- ????????? ?????? ????????, ??????? ?????????? ?????? ????????? ??????. ? ????. 6.1 ????????? ??????? ?????? ?????????? ?????? (????? 23) ? ??????- ??? ???????? ? ?? ??????????? ? ???????? ????????????????? ?????. ??????? 6.1. ??? ???????????????? ?????? ?????? ??? ??????????? ?????? Decimal Serial.println(23); 23 Serial.println(23,HEX); 17 Hexadecimal Serial.println(23,OCT); 27 Serial.println(23,BIN); 00010111 Octal Binary ??????? ? Arduino ??? ???????? ? ??????? ? Arduino, ???? ???????? ???? ?????? ? ????? ??????- ?????? ??????, ????? ?? ???????????, ??? Arduino ???????? ?????? ?? ??????- ??? , ???? ??????? ????????? ??? ???????. ??, ????????, ????????, ??? ? ???? ????- ????? ????????????????? ????? Arduino IDE ?????? ???? ???? ????? ??????, ? - ?????????????? ???? (???. 6.8).
@ COM10(Arduino/GenuinoUno) — ?X ????????? 0 ????????????? NL (????? ??????) v 9600 ??? ???????? ????? ???. 6.8. ???????? ????????? ????????????????? ????? ? ????? ????? ? ????????? ???? ?????? ?????? ????? ?????? ? ?????????????? ??-??????, ?????????, ??? ? ?????????????? ?????? ?????? ????? Newline. ??- ??? ? ?????????? ???? ??????????, ??? ??????????? ? ????? ???????? ??? ??- ?????? ?? ? Arduino. ??????? ? ????????? ???????? ????????????, ??? ?? ?????- ?? ????? Newline, ??????? ?????? ????????? \\? ? ????? ????? ??????, ???????- ??? ?? ???? ????? ?????? ? ??????? ????? ???? ???????? ????????????????? ???- ??. ? ??????? ?? ????????? ?????? ???????????? ????????, ??????? ?????????????- ???? ????? Arduino IDE ??? ??????? ??????? <Enter> ??? ?????? «?????????» ??- ?????? ??? ????????? ??????. ?????? ???????????????? ?????????, ???????? Putty, ???????? ??????? ????? ????? ?? ?????. ???????? ??????? ????????????????? ????? Arduino IDE, ?? ?????? ??????? ??- ???????? ??????? ? Arduino. ????? ??????????, ??? ?????????? ???????????????- ??? ???????? ? ??? ??????? ??????? ??????????? ????????? ??? ???????? ??????. ? ????????????????? ????? Arduino ???? ?????. ??????? ???????, ?? ?????? ????????? ????????? ???? ?????? ?????, ? Arduino ???????? ?? ? ??????? ? ??- ???????? ?? ? ??? ???????, ??? ???????? ? ????? ?????????. ???????? ???????? ?????? ?? ???????? ????????, ? ??? ???????? ??????? ???????? ?????? ?????? ????? ??????? ???????????? ?????? ? ?????? ??????????. ????? ????? ????????? ????? Arduino ??????????? ?? ???, ??? ????????. ??? ????? ????? Arduino ?????? ??????????, ? ????? ???????? ?????? ??????????
??????. ????? ??????? ???, ??????????? ??? ????? ???????: ? Serial.available() - ?????????? ????? ???????? (??? ??????), ??????? ?? ?????? ?????? ????????? ?? ??????? ???????????????? ?????? Arduino. ?????? ???, ????? ??? ????? ??????? ?? ????, ?????? ??????????? ? ???????????? ??????? ?? ?????????; ? serial.read() - ?????? ? ?????????? ????????? ??????, ??????? ????????? ? ??????. ???????? ????????, ??? ?????? ????? ? ??????? Serial.read() ????????? ?? ?????? ?????? ???? ????, ??????? ?? ?????? ????????? ??? ???????, ???? serial.available() ?????????? ????????? ????????. ?????? ???, ????? ??????? serial.read() ???????? ????, ????? ?????????, ? ????? ????????? ????????? ????. ?????? ????? ????????? ????????? ?? ???????? 6.3 ?? ????? Arduino. ??????? 6.3. ??? ????????????????? ????? // ??? ??????? ??????? char data; // ??????? ???????? ?????? void setup() { Serial.begin(9600); // ????????????? ????????????????? ????? ?? ???????? 9600 } void loop() { // ????? ?????? ??? ????????? ?????? if (Serial.available() > 0) { data = Serial.read(); // ?????? ????? ?? ?????? Serial.print(data); // ????? ? ???????????????? ???? } } ????????? ??????? ????????????????? ????? ? ??????????? ???-?????? ? ???? ????? ??????. ??? ?????? ?? ??????? ?????? «?????????», ???, ??? ?? ???????, ???????? ????? ? ????????? ? ??????????? ? ???? ???????? ????????????????? ?????. ????????? ? ???? ??????? ????? Newline, ??? ?????? ??????? ??????????? ?????? ???????? ?????? (\\?), ?????????????, ?????? ????? ???????????? ? ????? ??????. ?????? ??????? serial.printin() ? ???????? 6.3 ??????? ??????? ??????? Serial.print(). ??? ???????? ?????????-????????? ??????? ????? ??????? ????????????????? ????? ?? ?? ????? ???? ?? ?????????? \"5\" ??? \"?\" . ?? ???????? ????, ??????? ????????? ?????????????? ??? ??????. ? ?????? ???????????????? ????? ??? ????????????? ???? ????, ????, ???????? ? ??????????? ?????? ???????????? ??- ??????? ASCII. ???????? ????? ???????? ASCII (???. 6.9) ???????????? ????? 7- ??????? ?????, ?????????? 128 ???????? ? ??????. ??? ????????? ????????, ????????????? ? ??????????, ?????? ?????? ???? ???- ????, ??? char (??. ??????? 6.3). ???? ???? ?? ???????? ?? ????????????????? ????????? ???????? ?????, ??? ?????????? ????????? ????, ??? ??????, ? ????? ??? ????????????? ?????????????? ???. ???? ?? ???????? ????????? ???????? 6.3, ??????? ?????????? data ??? int, ??, ???????? ???????? 5, ? ?????????- ??????? ??????? ???????? ???????? 53 (?????????? ????????????? ??????? \"5\"). ?? ?????? ????????? ? ????, ????????? ?? ???. 6.9. ??? ?? ?????, ? Arduino ????? ?????????? ?????????? ???????? ????????. ??? ??? ???????? ?????????? ????????? ????????. ??-??????, ????? ?????? ???????? ???? ???????. ???? ?? ?????? ?????? ????????? ??? ???????? ?? ???????? ?????
1, ?? ????? ??????????????? ???????? ???????? ????????: if(Serial.read() == flf) ????????? ??????? ?????? ? 1? ????????, ??? ??????? ?????? ??????????????? ??? ??????. ?????? ??????? ??????????? ? ?????????????? ??????? ????????? ????? ? ????? ????? ????????? ??????? '0': int val = Serial.read() - f0f ????? ?????? ?? ??????? ??? ????? ?????? 9, ?????? ??? ??? ???????? ??- ???????? ? ??????? ????. ? ???? ?????? ??? ??????? ??????? parselnt(), ?????? ????? ???- Arduino IDE, ??????? ????????? ?? ????????????????? ?????? ??. ????? ?? ???????? ?????????? ????????? ??????. Dec Hex Char 1 1 Dec Hex Char 1 1 Dec Hex Char 1 1 Dec Hex Char 00 NUL 20 40 11 SOH 32 21 (sp) 64 41 3 96 60 ^ 22 STX 33 22 42 33 34 23 i 65 43 A 97 61 a 44 ETX 35 24 ti 1 66 44 ? 98 62 55 EOT 36 25 45 ? 99 63 b 66 37 26 # 67 46 D 100 64 77 ENQ 38 27 47 E 101 65 ? 88 39 28 $ 68 48 F 102 66 99 ACK 40 29 49 G 103 67 d 10 ? BEL 41 2A % 69 4A H 104 68 11 ? BS 42 2B 4B I 105 69 e 12 ? TAB 43 2C & 70 4C ] 106 6A 13 D LF 44 2D i 1 71 4D ? 107 6B f 14 ? VT 45 2E 4E L 108 6C 15 F FF 46 2F ( 72 4F M 109 6D 8 16 10 CR 47 30 ) 73 50 N 110 6E h 17 11 SO 48 31 51 0 111 6F i 18 12 SI 49 32 ? 74 52 P 112 70 19 13 DLE 50 33 53 • 20 14 DC1 51 34 |+ 75 54 Q 113 71 21 15 DC2 52 35 55 3 22 16 DC3 53 36 J 76 56 R 114 72 k 23 17 DC4 54 37 57 S 115 73 1 24 18 NAK 55 38 J 77 58 T 116 74 25 19 SYN 56 39 59 U 117 75 m 26 1? ETB 57 ?? • 1 78 5A V 118 76 27 1? CAN 58 3B 5B ? 119 77 n 28 1? EM 59 3C / 79 5C X 120 78 29 ID SUB 60 3D 5D Y 121 79 0 30 IE ESC 61 3E e 80 5E Z 122 7A 31 IF FS 62 3F 5F p GS l 81 [ 123 7B q RS | | 63 \\ 124 7C US 2 82 ] 125 7D r 3 83 ? 126 7E s 4 84 | 127 7F t 5 85 u 6 86 V w 7 87 X 8 88 ? 9 89 z 90• i { •i 1 • i 91 > ? ** 1< 92 DEL 1= 93 1> 94 1 1? 95 ???. 6.9. ????? ???????? ASCII
?????? ? ????????? ?????????, ??????? ?????????? ??????? ????????? ???????? ?????????? ??? ?????????? ?????????? ??????????. ?? ?????? ?????? \"1 \", ????? ????????? ???????? ?????????, ? \"?\", ????? ????????? ???. ????????? ? ??????- ??? 9 ????? Arduino, ??? ???????? ?? ???. 6.10. ???. 6.10. ????????????? ?????????? ? ???????? 9 ????? Arduino ??? ?? ??? ????????, ??? ???????? ?????????? ??????? ?????????? ????????? ?????? ??????? ?????????? ?????????. ?????? ???, ????? ???????? ? ??????, ?? ????????. ?????????? ??? ? «0» ??? «1» ? ????????? ?????? ????????? ? Arduino ???? ??? ???????? 6.4 ? ??????????????????? ? ????????? ??? ??????? ?? ?????- ???????????? ?????????.
??????? 6.4. ?????????? ??????????? ???????????????? ????????? ???????? // ???????????? ????????? ?????????? ????????? ?????????? ??????? ??? ???????? const int LED=9; char data; // ?????????? ??????????? ??????? void setup() { Serial.begin(9600); // ????????????? ????????????????? ????? ?? ???????? 9600 OUTPUT); pinMode(LED, } void loop() { // ???? ? ?????? ???? ?????? if (Serial.available() > 0) { data = Serial.read(); // ?????? ????? ?? ?????? // ????????? ?????????? if (data == ?') { digitalWrite(LED, HIGH); Serial.println ( \"LED ON\"); } // ?????????? ?????????? else if (data == f0f) { digitalWrite(LED, LOW); Serial.println ( \"LED OFF\"); } } } ???????? ????????, ??? ?????? ???????? ????????? else ???????? ???????? else if. ??? ??????????, ?????? ??? ? ????? ????????? ??????????? ???????? ??????? ???????? ?????? ??? ?????? ????????. ??????? ?????? ???????? ??????, ??????? Serial.read() ?????????, ??? ?? ?? ????? 0? ? ??? ! 1! , ? ?????????? ?? ??????????? ?????? ?? ??????????. ???? ?? ?? ???????????? ???????? else, ?? ???????? ? ' 0' ? ' 1' ????????? ?? ? ?????????? ??????????. ??? ???????? ? 1' ????????? ????? ??????? ? ?????????? ???????? ?????, ????? ????? ???????? ??- ???????????????? \\?! ???????? ?????? ???????????? ??????? ????????? ????????? ???????????? ???- ????? ?????????, ?? ??? ??????, ???? ????????? ????? ??????? ????????? ?????- ?????? ? ???? ??????? ?? ?????????? ???????? ?????????? ????? ????, ????????- ??? ???????, ??? ?????????? ?????????? ?????????. ????? ??????????? ? ???? ??????, ??????? ????? ??????????? RGB-?????????? ? ????? ???????, ??? ??????- ?? ?? ???. 6.11. ??? ?????????? RGB-??????????? ?? ???????? ??? ????????? 8-??????? ???????? (0-255), ????? ?????? ??????? ??????? ?????. ????????, ????? ?????????? ???- ????????? ??????? ???? ??????, ????? ??????? \"255,255,255?. ?????????? ???- ?????, ??????????? ??? ?????????? ?????? ??????: ? ?????????? ????????? ????? ? ???????; ? ?????????????????? ???????? ????? ???????? ? ?????????????? ???????, ????? ???????????? ??????? analogWrite(); ? ???????? ???????? ????? ???????? ?? ?????, ???? ??? ???? ????. ? ???????, ? Arduino IDE ???? ????? ??????? ??????? ??? ??????? ?????????- ??? ?????- ????????? ???? - Serial.parselnt(). ??? ?????? ?????? ???? ??????? ?? ? ????? ??????????? ?? ??????? ? ????? ?????????????????? ???? ? ????? ?????. ????????? ?????? ???????, ??????? ????????? ?????? ? ?????? ????????,
?????? ???????? ????? ???????, ????? ???????? ?????? ???????? ??????. ????? ??????????, ??? ????????? ??? ???????, ????????? ????????? ???????? 6.5 ?? ????? Arduino. ?3 2 1 09 8 76543210 illll DIGITAL ?? ™ Arduino ?9????•?•?%• }< ? UNO www.arduino.oc ANALOG IN 0 12 3 4 5 POWER _5V Gnd Vln • • <> • • <» •••? ???. 6.11. ??????????? RGB-?????????? ? Arduino ??????? 6.5. ???????????????? ?????????? RGB-??????????? // ???????? ??????????????? ???????? // ????????? ??????? RGB-?????????? const int RED =11; const int GREEN =10; const int BLUE =9; // ?????????? ???????? ??????? RGB int rval = 0, int gval =0 int bval =0
void setup() { Serial.begin(9600); // ????????????? ????????????????? ????? ?? ???????? 9600 // ?????????? ???????? ?? ????? OUT pinMode(RED, OUTPUT); OUTPUT); pinMode(GREEN, OUTPUT); pinMode(BLUE, } void loop() { // ???? ? ?????? ???? ?????? while (Serial.available() > 0) { rval = Serial, parselnt () ; // ?????? ????? // ?????? gval = Serial, parselnt () ; // ?????? ????? { // ????? ????? bval = Serial, parselnt () ; ?????????? ???????? if (Serial. read() == f\\nf) // ????????? ??????? analogWrite(RED, rval); analogWrite(GREEN, gval); analogWrite(BLUE, bval); } } } ????????? ???????????? ????? ???? ????????????? ????????, ???? ?? ????????? ?????? ???????? ?????? (?\\ ) . ??? ?????? ??? ??????????, ?????????? ???????? ?????????? ???????????? ??? ????????? ??????? ???????????. ???????? ??????? ????????????????? ????? ? ??????? ??? ???????? ?? 0 ?? 255, ??????????? ????- ???, ???????? \"200,30, 180\". ?????????? ???????? ????????? ?????, ????? ???- ??? ?????. ??????? ???????????? ?????????? ? ????? ??????, ??? ??????? \"???????\" ? ?????? Arduino ????? ??????? ?????- Arduino ???????????? ????? IDE. ??????? ??????? ???????? ? ???????????, ????- ?????-???? ?????? ?? ????? ????????????????, ??????? ?????????? ??? ?????? ?? ????????????????? ?????. ?? ?????? ???????????? ??? ??????? ???? ???????????- ????? ??? ????????? ?????????, ??????? ???????? ???????????????? ??????? ? ????? ?? Arduino ? ???????? ??????, ???????????? ?? Arduino ? ??????????. ? ???? ?????????? ?????? ???? ???????????????? Processing, ?????? ??? ????? ????? ?? ???? Arduino, ? ??????? ?? ??? ???????. ?? ????? ????, ???? ???????????????? Arduino ??????? ?? Processing! ?????? ?????????? ????? ???- ?????????????, ? ??????????? ??? ??????? ?????????? ???????? ?????????? ??? ?????? ?????- ???. ??????, - Python, PHP, Visual Basic, ?. ??????? ???????, ??? ?????? ???????????? ???????????????? ?????? ? Processing, ? ????? ??????, ??? ? ??? ??????? ??????? ??????? ??????????? ????????? ???????????? (GUI) ??? ???????? ?????? ?? ????? Arduino. ????????? ???????????????? ?? Processing ?????????? ????? ? ?? ????? ?? ??? ??? ???, ? ??????? ?? ??? ??????? ??? ???????????????? Arduino. ???????? ??????? ?????????? ?????????? Processing ?? ????? ??????. ??, ??? ? ? ????? 1, ????? ????????????? Arduino IDE. ??????? ?? ???????? ???????? ???????????????? http://processing.org/download/ ? ????? ? ????- ???????? ? ????? ???????????? ????????. ????? ?????????? ??? ? ????????? ??- ??? ?????? ? ??????! ????????? Processing, ? ?? ?????? ??????? ???? ?????????, ??????? ????????
??? ?? ???. 6.12. ??? ??????? ???????????? ? ??????????? ?? Processing ????????? ? ????? Arduino ????????????, ????? ????????? ?????? ???? ?? ????? ??????????. ????- ???? ?????, ???????????? ?? ???. 6.6. ????? Arduino ?????? ??????? ?????????? ???????? ?? ????????????? ? ??????????. ??? ????, ??? ?? ?????? ??????????? ???????????????? ?????? ? ?????????? ?? Processing, ?? ????? ???????? ????- ???, ??? ?? ????????? ??. ? sketch_ieC314a | Processing 3 ?.7 ?- Debug Tccls File Edit Sketch Help ???. 6.12. ??????????? ????????? Processing. ????????
?????????? ??? ?? ???????? 6.6 ? ????????? ??? ?? ????? Arduino. Arduino ???????? ????????????? ???????? ??????????? ?? ? ???????????????? ???? ?????- ?????? ????? ?????? 50 ??. ???? ?????????? ???????, ?????????? ?? Processing ? ????? ?? ????? ???????? ?? ???????????? ????????????????? ????? ?? ????? ?????????? ????????????. ??????? 6.6. ????????? ??? ???????? ?????? ? ????????? // ???????? ?????? ?? ????????????? ?? ????????? ??????????? const int POT=0; // ????????????? ? ?????? ?? // ?????????? ????????????? int val; ??? ???????? ???????? void setup() { Serial.begin(9600); // ????????????? ????????????????? ????? ?? ???????? 9600 } void loop() { val = map(analogRead(POT), 0, 1023, 0, 255);//?????? ???????? ????????????? //???????? ???????? Serial.println(val); //???????? 50 ?? delay(50); } ?????? ??????? ??? ??? ????????? ???????? ??????. ????????? ?? ???????? 6.7 ????????? ?????? ?? ?????? ????????????????? ???- ?? ? ?????????? ??????? ????? ?? ?????? ?????? ?????????? ? ??????????? ?? ??????????? ????????. ?????????? ??????? 6.7 ? ??????? ???? ?????? ?????????. ? ????????? ?? Processing ?????? ???? ?????? ?????????? ???????????????? ???? ????????? ??????. ???????? \"COM3\" ?? ????? ?????? ????????????????? ?????. ???????, ??? ? Linux ? ??? ?? ????? ????????? ???????? ??? /dev/ttyUSBO. ???? ?? ?? ???????, ?????????? ?????? ???????? ????? ?? Arduino IDE. ??????? 6.7. ??? Processing ??? ????????? ?????? ? ????????? ????? ?????? // ????????? ?? Processing ??? ?????? ?????????? ? ????????? ????? ?????? // ??????????? ? ????????????? ?????????? Serial import processing.serial.*; Serial port; float brightness =0; // ?????????? ??? ???????? ???????? ????????????? void setup() { // ?????? ???? size(500,500); // ????????????? ????????????????? ????? port = new Serial(this, \"COM3\", 9600); port.bufferUntil(f\\nf);// ?????? ????? ?????? } void draw() { background(0,0,brightness); } // ???????????? ???? // ???????? ?????????? void serialEvent(Serial port) { brightness = float(port.readStringUntil(fn\\ f)); } ????? ???????? ???? ? Processing IDE ? ?????????? ????????????? ?????????-
???????? ????? ?????????, ??? ??????? ????????????????? ????? Arduino IDE ?? ??????. ? ??????????? ????????????????? ????? ????? ????? ?????? ?????? ???? ????????? ?? ??????????. ? ???? Processing-?????????? ??????? ?????? «?????- ????» (?????? ? ???????????? ???????????? ? ??????? ????? ???? ????), ??? ???? ?????? ????????? ????????? ????. ??? ???????? ?????? ????????????? ???? ???? ?????? ???????? ?? ??????? ? ?????? (???. 6.13). ?????????? ???/ioi????? ??????? ???. 6.13. ????????? ????? ???? Processing-?????????? ??????, ????? ?? ?????? ?????????, ??? ??????? ????????? ??????????, ??? ??? ????????. ? ??????? ?? Arduino, ?????????? serial ?? ????????????? ????- ?????????. ??????? import processing.serial.* ? Serial port, ?? ???????????? ?????????? serial ? ???????? ?????? serial ??? ????????? port. ??? ? ? Arduino, ? Processing ???? ???? ??????? setup() , ??????? ???????? ?????? ? ?????? ?????????. ? ???? ??????? ??????? setup() ?????? ?????????- ??????? ???? ? ??????? ???? ???????? 500x500 ???????? ???????? size (500, 500). ??????? port = new Serial (this, \"COM3\", 9600) ???????? Processing ? ???????? ?????????? ????????????????? ?????. ????????? (??? ????????? port) ????? ???????? ? ???????? ?? COM3 (??? ?????? ???????????????? ?????) ?? ???- ?????? 9600 ???. ???????? ?????? ??????? ????? ?????? Arduino ? ?????????? ?? ?????????? ?????? ???? ?????? ??????????, ? ????????? ?????? ????????? ??????. ??????? port.bufferuntil (fn\\ f) ???????? Processing-?????????? ? ??????????? ???????- ?????????? ????? ?? ????????? ??????? ????? ?????? (??\\ ? ). ?????? loop() ? Processing ???? ?????? ??????????? ???????. ? ????? ??????? ???????????? ??????? draw() ? serialEvent() . ??????? draw() ?????? ?? loop () ? Arduino, ??? ???????? ?????????? ? ????????? ?????. ??????? background() ?????? ???? ????, ????? ??? ????????? ??? ????????? ???????? ????????, ????- ???? ? ?????? ??????????? ?????. ? ????? ??????? ???????? ? ????????????? ????????? ?????????????? ?????? ??????????, ? ??????? ? ??????? ??????????? ? ????. ??? ??????? ????????? ????? ??????????, ????? ???????????? ????????- ????? ?????? ???????????. ????????? ????????????? RGB ?????? ???????? 8- ???????? ?????????? ?? 0 ?? 255, ???????? ????????????? ?????????????? ????- ???? ???() ????? ?????????. ??????? serialEvent() ?????????? ?????? ???, ????? ??????????? ??????? bufferuntil(), ????????? ? ??????? setup(). ??? ?????? ????????? ??????? ??- ?????? ?????? ??????????? ??????? serialEvent(). ???????????? ?????? ???????- ?? ? ? ? ???? ?????? ? ??????? port.readStringUntil(fn\\ f). ?????? ???????????? ????? ?????????????????? ???????? ? ?? ?????????? ????????????? ? ????? ?
????????? ??????, ?????? ??????? float(). ????????? ????????????? ?????????? brigthness, ???????????? ???? ???? ???? ??????????. ????? ?????????? ????????? ? ??????? ???????????????? ????, ??????? ?????? «????» (??? ?????????, ????? ??????? ? ???? Processing-?????????? ????????????? ? «?????????»). ????????? ???1 - ???????? ?????? ?? Processing-?????????? ?? ????? Arduino. ???????????? RGB-????????? ? ????? Arduino, ??? ???????? ?? ???. 6.11, ? ????????? ? ??? ????????? ?????????? ?????? ?? ???? ????????, ??????????? ??- (??. ??????? ?????? ??? ????????? ???????, ??????? ? ????? ????????????? 6.5). ?????? ??????? ???, ????? ?????? ???????? ?????????????? ?????? ?? ??- ??????????????? ???????? ????? ???? ??????? ????, ????????? ??????? ??????. ????????? ? ????????? ??? ?? ???????? 6.8 ? Processing-??????????, ?? ????? ?????????? ???? ???????? ??? ????????????????? ?????, ??? ? ?????????? ?????- ??. ????????????? ????? ?? ????? ?????? (data) ????? ????????? ?????????????. ????? ??????? ???? hsv.jpg (??????????? ??? ?????? ?????). ????????? ??? ? ????? data ? ??? ?? ????????, ??? ? ?????????. Processing-?????????? ?? ????- ????? ????????? ????? ??????? ? ????? ??? ?????????. ????????? ????? ??????? ???????? ?? ???. 6.14. ^ ? ] proces*in<j_control_R6B ^^^^^? ??????? ?????????? ??? <- ?- > ???? ????????? > ????????? > Processing :? processing_control_RGB > ? v + ??????? ?????? ^^? ^^^S^k. ? Desktop B^| ^^^?^? ^ Downloads ^^^H \"^^PJ^^V ^1 ????????? < data processing_contr ? ol_RGB.pde ^• ?????????? A OneDrive v ?5? ???? ????????? ? Desktop ^ Downloads «? ?*— . ???. 6.14. ????????? ????? ??????? ??????? 6.8. Processing-?????????? ??? ????????? ????? RGB-?????????? import processing.serial.*;// ??????????? ?????????? serial ?Image img; Serial port; void setup() { size(640,256); img = loadimage(\"hsv.jpg\");// ???????? ??????? ????????
port=new Serial(this, \"C0M9\", 9600); // ??????? ???????????????? ???? } void draw() { background(0);// ???? ???? ??????????? image(img,0,0);// } void mousePressed() { color c=get(mouseX, mouseY); // ???????? RGB-???? ?? ??????? ??????? ???? ? Arduino String colors=int(red(c))+\",\"+int(green(c))+\",\"+int(blue(c))+\"\\n\"; // ???????????? ?????? ???????? ????? print(colors); // ????? ??? ??????? port.write(colors); // ???????? ?????????? } ??? ??????? ????????? ?? ??????? ??????????? ????, ?????????? ?? ???. 6.15. ???????? ? ????? Arduino ??????? ???????? ???????, ? ??? RGB ????? ???????? ? Arduino, ????- ??? ?????????? ?????? RGB-??????????. ???????, ???????????? ??????? ?????- ????? ????? ? ??????? ????????????????? ?????, ????? ????????? ????? . ???. 6.15. ????? ?????? ????? ? Processing
?????? ????????? ?? ??? ????????? ? ??????????????, ??? ?? ????????. ??? ? ?????????? ??????, ????????????? serial ? ????????? ?????? port. ????????? ????? ?????? Pimage ? ?????? img. ?? ????? ??????????? ??????? ???????????. ? ????????? setup() ???????????????? ???????????????? ????, ????????? ???? ??????? ? ?????? ???????????, ? ???? ??????????? ????????????? ? ?????? img ??????? img=LoadImage (\"hsv. jpg\"). ? ??????? draw() ??????????? ??????????? ? ???? ???????? image (img, 0, 0) ? ????? ???????????: img - ???? ???????????, ? 0, 0 - ?????????? ??? ???????- ??????????). ??? ??????????? (??????? ????? ???? ???? ??? ??????? ?????? ???? ?????????? ??????? mousePressed(). ???? ???????, ??? ?? ???????? ?????, ??????????? ? ??????? color ? ?????? ?. ????? get() ???????? ??????????, ?????? ????? ???????? ???? (? ?????? ?????? ?? ????????? ???????? ??????? ????). ????? ??????????? ? ??????, ????????? ?? ????? ?????- ??????????? ??? ????????, ???????? ? ?????? ?????. ??? ???????? ????? ????- ????? ? ??????? ????????????????? ?????. ???????? ????? Arduino ? ????????? ? ??? ??? ?? ???????? 6.5. ????????? Processing-?????????? ? ????????? ???? ??????????, ????????????? ? Arduino, ??????? ???? ?? ???????. Arduino Leonardo ? ?????? ? 32U4 Leonardo, ??? ? ?????? ?????, ??????????? ?? ????????????????? ? ?????????? ?????????? USB, ???????? ?????????? ???????????? ??????????? ????? ????????- ?? , ???, ????????, ?????????? ? ????. ????? ?????????? ???? ?????? ?????????. ??? ?????????? ???????? ??????? ????? ????????? ????????????. ????, ?????- ???, ?? ???????? ?????????, ??????? ????????? ???? ? ?????????? ?????? ?? ??- ????, ?? ????? ?????????? ???????? ??? ??????? ?????? «?????????» ? Arduino IDE. ? ???? ??????? ?? ?????? ????????? ???????, ??????? ???????? ???????? ???????? ???????. ?????: ???? ????? \"???????\" ? ?????? ???????? ???? ??? ??????????, ????? ???????- ???????????? ??, ??????? ? ????????? ?????? Reset, ????????? ??????? ?????? «?????????» ? Arduino IDE. ??? ?????? ??????????? ????? Leonardo ? ?????????? ?????????? ?????????? ????????, ??? ? ??? Arduino Uno (??. ????? 1) . ?????????? ??? ????????? Leonardo ????? ????? ?? ??????: http://arduino.cc/en/Guide/ArduinoLeonardoMicro#toc8 ????????? ?????????? ??????????? Leonardo ??????????? USB-??????????, ????? Arduino ????? ?????????? ? ??????????. ? ?????????? ????? ?????????? ???????- ??? ?????? ? ???? ?????? ?????????? ??? ?????????? ?????? ??????????????? ? ????, ???????? ?? ??????????. ????? Leonardo ????? ??????????? USB-??????????, ????????? ???? ??????? ?????? ? ?? ??????????. ?????????? ??? ???????????. ??????? ??????? ???????- ??, ??????? ?????????? ?????? ?? ?????????? ?????????? ???????? ? ????, ???- ????? ?? ???????? ????????? (?????? CSV), ??????? ????? ????? ??????? ? Excel ??? Google SpreadSheeets ??? ?????????? ???????. ????????, ??????? ????? ????????? ??? ????? ???????? ?????? ???????? ? ???????? ??? ? ? ??????? ????? ? ??????????? csv. ? ?????????? ???? «?????????» ????? ??- ????? ??? ????? ??? ????? ?????? ??? ????? ? ???????????, ???????? data.csv. ????? ??????? ??????? ?????, ??? ???????? ?? ???. 6.16. ?????????? ????? ??????? ?? ??????????? ??????????? ? ????????????, ???????????? ?? ?????????? ????????, ? ????? ? ???????? ?? ??? ??????????? ? ????? 3. ????? ????????,
???? ?????? ??? ????????? ? ?????????? ?????? ? ?????????, ??????? ????? ??- ???????? , ???? ?? ? ????????? ????? ?????? ??????. ????????? LED ?????? ?? ???? *??? ??? ??????????? ?????? ???. 6.16. ????? ??????????? ???????? ??????????? ? ???????????? ?????? ??? ?????????/?????????? ?????? ???????? ???????? ?????????? ??????- ?? (??. ????? 2). ? ???????? ?????? ????? Arduino ?????????? ??????? ? ??? ? ??????? ?????????? ? ????????? ??????, ??????????? ???????. ??? ???? ??????- ???? ???????????? ?????????. ????????? Arduino ????????? ?????????? ????????? ??????, ?? ???????? 1000 ?? ????? ?????? ????????? ?????? ????????? ?? ????- ??? delay(), ? ??????? millis(), ??????? ?????????? ?????????? ??????????? ? ?????????? ?????? ????? Arduino. ?? ?????? ???????? ?????? ?????? ???, ????? ??????? millis() ?????? ????????, ??????? 1000 ??, ?????????? ???????? ??- ?????? ????? ?????????, ?????? 1 ?. ??? ????????? ???????? ??????? ??????? ?? ?????? (%). ????, ????????, ?? ????????? ???????? 1000%1000, ?? ????????? ??- ??? ????? ????, ?. ?. 1000/1000 = 1 ? ??????? ????????. 1500%1000 ?????? 500, ?????? ??? 1500/1000= 1 ? ???????? 500. ???????? ??????? ?? ?????? millis() ?? 1000, ??????? ??????? ????????? ?????? ???, ????? millis() ?????? ?????- ???, ??????? 1000, ?. ?. ?????? ???????. ??????? ??? ???????? 6.9 ? ????????? ??? ?? ????? Arduino Leonardo. ?????- ???? , ??? ?? ??????? ????? Arduino Leonardo ?? ???? ??????????? -> Board ? Arduino IDE. ??????? 6.9. ?????? ?????? ???????????? ? ??????????? // ?????? ?????? ??????????? ? ????????????
const int TEMP=0; // ?????? ??????????? ? ??????????? ????? ? ????? 1 const int LIGHT=1; // ?????? ???????????? ? ??????????? const int LED=3; // ????????? ? ?????? 13 const int BUTT0N=2; // ?????? ? ?????? 2 boolean lastButton = LOW; //????????? ????????? ?????? = LOW; boolean currentButton //??????? ????????? ?????? false; boolean running = //?? ????????? ?????? ????????? int counter = 1; //?????? ???????????? ?????? void setup() { pinMode (LED, OUTPUT);// ??????? ?????????? ??? ????? OUTPUT Keyboard.begin();// ?????? ???????? ?????????? } void loop() { currentButton = debounce(lastButton);// ?????? ????????? if (lastButton == LOW && currentButton==HIGH) // ???? ???????. running = !running; // ??????????? ?????? ?????? lastButton = currentButton;// ?????????? ?????? ?????? if ( running) { // ?????? ???????? digitalWrite(LED, HIGH); // ???????? ????????? if (millis() % 1000 == 0) { // ?????? 1000 ?? int temperature = analogRead(TEMP) // ?????? ?????? // ? ??????? ??????????? int brightness = analogRead(LIGHT) // ?????? ?????? // ? ??????? ???????????? Keyboard.print(counter); // ????? ??????? ?????? Keyboard.print(\",\"); // ????? ??????????? Keyboard.print(temperature); // ????? ??????????? Keyboard.print(\",\"); // ????? ??????????? Keyboard.println(brightness); // ????? ???????????? //? ??????? ????? ?????? counter++;// ????????? ??????? } else { digitalWrite (LED, LOW) // ?????? ?????????, ???????? ????????? } * ??????? ?????????? ???????? ?????? * ???????? ?????????? ? ?????????? ??????? ??????. */ boolean debounce(boolean last) { boolean current = digitalRead(BUTTON); // ?????? ????????? ?????? if (last != current) { // ????????? ??????????... delay(5); // ???? 5 ?? current = digitalRead(BUTTON); // ?????? ????????? ?????? } return current; // ??????? ???????? ????????? ?????? } ????????? ?????????? ????????? ????? ?????????????? ???????????, ???????- ??? ? ???- ?????? ? ???? ?????????. ????? ??? ????????????? ????????????????? ? ??????? ?? , ?????????? ???????????????? ?????????? Keyboard.begin() setup () .
? ????? loop() Arduino ????????? ????????? ?????? ? ????????? ????????? ?????????? ????????. ??? ??????? ?? ?????? ???????? ?????????? ??????? ?????? ?????????????. ??? ??????????? ??????????? ????????? ! ? ?????????? running. ????? ????????? ????????? ? ?????? ??????, ???????? ?????? ??????????? ??? ? 1000 ??, ????????? ?????????? ????? ??????. ??????? ????????????? ????????- ?? ? ????????????????? ????? ????? ??????. ??????? Keyboard.print() ????????- ?? ?????? ? ?????????. ????? ????????? ?????? ?????????? ???????? ????????? ???????? ?????? ? ????????? ? ???? ??????? ??????. ????????? ??????? Keyboard.println() Arduino ????????? ??????? ??????? <Enter> (??? <Return>) ????? ???????? ??????. ?????? ?????? ? ??? ?????????? ???????? ??? ?????? ??????????? ???????. ?????????? ?????? ?? ?????? ? ????????? ????????? ? ??????? ?????? ??????- ??? ?????? ??????. ?? ?????? ???????, ??? ???????? ?????? ??????????? ?????- ??. ???????? ??????? ?????? ???????????? ??? ???????? ? ???? ?????? ?????????- ??, ???????? ?????? ??????????. ????? ??????? ?????? ??? ???, ????? ??????- ???? ???????? ??????. ????? ?????????? ????? ??? ????? ????????????? ? ????- ????? ???????, ????? ????????? ??????. ????? Leonardo ???????? ? ??? ???????? ??????? ?????????? ??????. ?? ?????- ?????? ? ???????????? ???????? Windows ??????? ?????????? ?????? <Windows>+<L> ????????? ????? ?????????? (? Linux ?????????? ?????????? <Ctrl>+<Alt>+<L>). ?????, ????????, ?? ??????? ?? ??????? ???????????? ?????- ???????? ?????????, ????? ??????????? ????. ? OS X ??? ?????????? ?????????? ????????????? ?????????? <Control>+<Shift>+<Eject> ??? <Control>+<Shift>+ +<Power>, ??????? Leonardo ?? ????? ????????????, ??? ??? ?????????? ???????- ?????? ??????? ?????? <Eject> ? <Power>. ??????????, ??? ????????????? ?????- ???? ? Windows. ???????? ?????, ?????????? ?? ???. 6.16, ???? ????? ????????- ?????? ?????? ??????. ????????? ?????????? ????????? ??? ?????????? ????????? ??????? ?????????- ??? ? ?????????? ?? ????????? ????????? ???????. ? ?????? ?????????? ?????? ????? ??????? ????????? ???????? ????????????, ???? ???????? ????????? ?????- ?? ????????????? (? ???? ??????? ??? ??????????? ????? ????????? ??????? ???- ?? 300, ? ??? ?????????? - 700, ? ?????? ????????? ???????? 500). ????? ???- ????? ?? ??????? ?????? ???? ??????????, ?? ????????? ????? ?????????? ?????- ?? ??????????. ????????, ??? ?????? ????????? ??????????? ?????? ???????? ??- ????. ??? ???????? 6.10 ?? ????? Arduino. ????????? ????? ???????????? ????????? ???? ????? ??????? ?????? ??? ????????? ????????????. ??? ????? ???????? ?????- ???????, ?? ????????? ????? ???? ???????????????, ?????? ?? ????????? ???! ??????? 6.10. ?????????? ?????????? ?? ??????? ?? ??????? ???????????? // ?????????? ?????????? ??? ?????????? ????? const int LIGHT=1; //?????? ???????????? ?? ??????? 1 //???????? ? ??????? ???????????? ??? ?????????? ?????????? THRESHOLD const int =500; void setup() { Keyboard.begin(); } void loop() { int brightness = analogRead(LIGHT); // ?????? ?????? ???????
if (brightness < THRESHOLD) { Keyboard.press (KEY_LEFT_GUI) ; Keyboard.press (f1f) ; delay (100) ; Keyboard.releaseAll(); } } ????? ??????? ????????? ?????????? ????????? ???? ? ???????. ??? ????????? ?????? ???????????????. ? ???? ??????? ??????????? ??? ????? ??????? ??? ????????? ??????????: Keyboard.press() ? Keyboard.releaseAll(). ?????? Keyboard.press() ?????????- ??? ????????? ??????? ???????. ???? ?? ?????? ???????????? ??????? ?????? <Windows> ? <L>, ????????? Keyboard.press() ??? ?????? ???????. ???????? ???- ??, ???????? ??????? Keyboard.releaseAll() , ????? ????????? ??????? ???????- ????? ?? ?????: ??? ??????. ?????? ??????????? ?????? ????? http://arduino.cc/en/Reference/KeyboardModifiers. <u.Ort<N£O9tt0 ARDUINO ????? ?????? ???? ??????? ?????? ???? ?????? ?????? ???? ???????? ???. 6.17. ????? ???? ?? ?????? ????????? ? ????? Leonardo ? ??????? ????????????????? ????????? ? ?????????? ?????? ????? ?????????? ????? Arduino Leonardo ? ????. ???????? ????? ?????????? ?????? ????, ? ????- ?? ????? ????????? ??????? ?????, ??????? ? ?????? ?????? ????. ??? ? ??? ??????????, ? ????? Arduino ???? ????? ?????????? ???????, ??????????? ?????-
?????? ???????????????? ????. ??????? ???????? ????? ? ?????????? ? ????????, ??? ???????? ?? ???. 6.17. ?? ?????????, ??? ?????? ????? ???????? ?????????????? ???????????. ???????? ???????????? ? ?????????? ??????? 0 ? 1. ????????? ???????? ??? ???????????- ??, ?????????????? ? ????????. ??? ??????????? ???????? ????????? ? ????????- ??? «?» ???????? ????????????? ?????? ?? ??????????????, ? ??????????? «?» ???????. ?? ???. 6.17 ????????? ???????? SparkFun, ?? ???????? ?????. ? ??????????? ?? ???? ?????????, ????????, ??????????? ??????????????? ???????? ???????? ???????? ???() ??? ???????? «?» ? «?» ? ???? ?????????. ?????? ?????, ????? ????????? ????????? ?? ????? Leonardo. ?????????? ? ??- ??????? ??? ???????? 6.11 ? ???????????? ???????? ? ??????? ????????? ? ???- ???; ?????? ?? ?????? ?????????? ?????? ??????????? ??????????????? ???????. ??????? 6.11. ????????? ?????????? ???????? ???? ??? Leonardo // ??????? ???? ! const int LEFT_BUTT0N=4; //???? ??? ????? ?????? ???? MIDDLE_BUTT0N=3; const int RIGHT_BUTTON //???? ??? ??????? ?????? ???? X_AXIS=0; const int Y_AXIS=1; =2; //???? ??? ?????? ?????? ???? const int //?????????? ???? ??? ??? ? ????????? const int //?????????? ???? ??? ??? ? ????????? void setup() { Mouse.begin(); } void loop() { int xVal=readJoystick(X_AXIS); //???????? ?????????? ????????? ?? ??? ? //???????? ????????? ?? ??? int yVal = readJoystick(Y_AXIS); //?????????? ?????????? ? ????????? Mouse.move (xVal, yVal, 0); ???? ????????? ????????? readButton(LEFT_BUTTON, MOUSE_LEFT); // ?????? ????? ?????? //?????? ?????? readButton(MIDDLE_BUTTON, MOUSE_MIDDLE); //?????? ??????? ?????? ?????? readButton(RIGHT_BUTTON, MOUSE_RIGHT); delay(5); } int readJoystick(int axis) { // ?????? ???????? ?????????, ??????????????? int val = analogRead(axis); // ?????? ??????????? ???????? val = map(val, 0, 1023, -10, 10); // ??????????????? ???????? if (val <= 2 && val >= -2) // ?????? ????? ???? return 0; else // ??????? ???????? return val; } // ?????? ????????? ?????? ? ???????? ?????? ???? void readButton(int pin, char mouseCommand) { // ???? ?????? ??????, ????????? ???????, ???? ??? ??? ?? ???? ?????? if (digitalRead(pin) == HIGH) { if ( ! Mouse.isPressed (mouseCommand) ){ Mouse.press(mouseCommand); } }
else { // ????????? ??????? ???? if (Mouse.isPressed(mouseCommand)) { Mouse.release(mouseCommand); } } } ???, ??????????, ???? ?? ???????? ??????? ???????? ?? ????, ????????????? ???. ???????? ???, ?? ??? ???????? ????? ?????? ????? ??????? ? ??? ???????- ??? ?????????. ? ?????? ????????? ?????????? ???????? ??? ??????????? ?????? ? ?????????, ?????????? ? ??????? setup() ?????????? ????????? ????. ? ????? loop() ?????- ????? ???????????? ???????? ????????? ? ???????? ???????? ??? ???????? ?????- ?? ????. ???????? ?????? ????? ???????????, ? ??? ??????? ?????? ?????? ????- ?????? ? ?????????. ???????? ????????? ? ???????????? ???????? ?? ?????????. ?? ??????? readJoystick() ?????? ??? ???????? ?? 0 ?? 1024, ?????????? ?? ?????? ???. ?????????? ?? ?????? ???? ???????????? ?? ????????????? ??????????? ? ???????? Mouse.move() ???????? ???????? ????????????? ?????????? ???????? ?? ???? ???. ???????? ?????????????? ???????? ??? ??? «?» ????? ?????????? ?????? ???? ??????, ? ?????????????? - ?????. ??? ?????? ????????, ??? ?????? ????? ????- ???????? ??????. ????? ???????, ? ??????? readJoystick() ???????? ?? 0 ?? 1023 ???????????? ? ????????? ?? -10 ?? 10. ??? ?????????? ?????? ???????????? ????????? ????? ? ?????? ????, ??? ???- ??? ???? ?????? ???? ??????????. ??? ??????? ? ???, ??? ?? ????? ?????????? ???????? ????????? ? ??????? ????????? ??????????? ???????? ????? ?????????? ?????? 512. ?? ?????? ???? ???????, ??? ??? ?????????? ????????? ?????? ???? ?? ????? ????????? ???????????????. ???????? «?» ? «?» ?????????? ??????? mouse.move(), ??? ???????? ? ??????????? ??????? ?? ??????. ?????? ???????? ??????? mouse.move() ?????????? ???????? ?????? ?????????. ??????? readButton() ?????? ??? ??????????? ????????? ?????? ?? ???? ???- ???. ??????? ?????????? ??????? ????????? ???? ? ??????? ??????? mouse.isPressed() ?????????? ???? Mouse.release() . ? ????? ??????? Mouse.press() ? (??????????? ???????)
????????????? ?????1 ? ?????????? ?????? ? ????????, ??? ??? ??????? ???? ??????? ????????????? ???? ??????? ??????? ????? ??????????? ? ???????? ?????. ????, ????? ?? ?????? ????? ???????? ???? ? ????? ??????? ??????? ?? ?? ???? ????????? ??????. ??-??????, ??? ????????????? ???? ?????????? ???? ? ??????? ?????? ????? ????????????? ????? ??????? ? ????????????? ? ????? ?????????????? ?????????. ? ??? ????? ?????? ??? ??????? ? ??????. ??-??????, ???? ??????? ???????? ?? ????? ? ?????? ???????. ? ?-???????, ????? ? ????? ????? ?????? ???????? ??? ?????????? ?????? ?????? ?????? (?????? ?? ???????- ??? ???????? ??????? ? ???????). ?? ??????????? — ????? ? ????? ?????? ???? ?????????. ??? ??? ?????? ??? ?????? ??? ?????????? ?? ???????. ??? ?????????? ?????? ? ???????? ?? ??????????? ????? ?? 24 ? (? ???? ???? ??????? ?????? 24 ?), ?????????????? ????? ?? ??? 2101 ? ????????? ????????- ?????? ??????? ?????? ???????? (?????????? ? ??????????? ??????? ?????, ?? ?? ????? ?? ?????? ? ????? ???????????????). ? ????? ? ????? ???????????????? ???? ?? ?????????? ????????????. ? ???? ???? ?? ??????? ????????? 0.2% ?????- ???? ??? ??????? ????? ??? ??? ???????? ???????? ???? ????????????? ? ??????? ? ??? ????, ?????????? ?????, ????? ???? ? ????????? ?? ???????. ??????, ??? ??????? ??????? ? ????????????, ? ?????? ?? ?? ?????????? ? ???? ???????????. ? ????????? ???????????? ????????? ???????? ?????????????? ???????? ??????????? ??????????. 1 ???????? ???????? ??????????? 2022-02-03 ??????
? ???? ??????? ?????????? ???? ??????????? ???????? (??? ?????-???? ?????- ???????? ??? ?????? ????? ?? ????????????? ????). ?? ??????-?? ?? ?????. ???? ? ???????? ?????? ?????? ???????? ?????? ???????????23. ????? ???????? ????? ????? ????? ????????? ???????? ??????, ????? ?? ?????? ???????? ?????-???? ??????, ????????, ?? ???????? ????????????? ????? (?????? ?????? ????). ?????? ???? ??????, ??? ??? ?? ???? ????? ? ?????? ? ??? ??? ??????????. ???? ?? ?????????? ????? ?????? ??????????????? ??????????, ?? ?????? ? ????? ????? ????????? ??? ???: ????? ???????, ?? ??? ????? ??????? ?? ???. ??? ????? ?????? ???? ????. ? ??????, ????. ???? ??????????? ??????????? ????? ???? ???????? ?? ??? ??????- ??, ??? ???????????????, ?? ???? ????? ??????? (? ? ????????? ???? ????????? ??? ?????????? ? ?????????????4) : ????? ???? ???? ??????? ?????? ?????????? ???????????, ?????? ????????? ??????????. ?????????? ?????, ? ????? ???????? ??? ??????? ???????? ? ??? ??- ?? ?????????? ?? ??????? ??????? ??????? ?????????????, ????? ?, ?????????- ??, ????????? ?????, ??????? ??????. ??? ???? ????? ??????? ????? ????? ???????? ???? ??????? ???? ?? ???????, ????? ???????? ?? ?????, ? ??? ????? ????????. 2 https://www.youtube.com/watch?v=ipqRylYb58M 3 : / /www. you tube. com/watch? v=MDL7 ABOMEqO &f eature=emb_imp_woy t v=VAOSFagzyrk&feature=emb_imp_woyt https 4 : / /www. you tube. com/watch? https
???? ??????????? ???? ? ????? ??????? ??????. ??? ???????? ? ????????? ???? ??????????? ??????????, ?????????? ????????? (????????, ?????? willmore) . ?? ????? ??????, ????????, ?? ?????. ?? ?? ?? ???? ?????? ????? ? ???????? ??????. ? ??????, ?????? ???? ?? ??????? ?????? ?? ????, ??? ???? ??? ?????, ? ??? ????????? ??? ??????? ?????? ??????????? (? ????????? ??? ?? ?????, ??? ??????). ???? ??????? ???????????? ????. ? ???????? ????????????? ?????? ???????????? ??????????? ??????????? ????5, ? ??? ???? ? ?????? ????????? 1 ? ? ????. ? ?? ? ????? ??????? ????? ?????????- ?????? ??? ???? ??????????? ??????????. ?? ? ???????? ???? ? ??? ?? ???????. ?? ? ???????, 1 ? ? ???? ??? ???? ?? ??????. ??????????, ? ?????? ?????? ???- ???? ? ???? ???? ???????? ??????? ????? ?????????? ???????? ????????? ??????. ???????? ????????? ?????????? ? ???. ? ????? ?????????? ? ???????? ????? 2?114? — ??? ?????????? ??????????? ( 50 ?? ??????????? ???? ? ?????? ?????? ??????????? ????????????? ?????? 50 ???, ???????? ??????????? ?— ??? ??? ??? ?????????? ?????) . ?? ???? ??????- ?????????? ?? IRFP460. ???? ???????? ??????? ? ???????, ???????? ???????? ???? ?? IRFP460 ? ???? ?? ????? ????????????? ???????????, ??????? ? ?????-?? ???????, ?? ?? ?????????. ???? ???? ? ???? ??? ??? ???????. ??? ? ? ???????? ? ????? ???????????. ??????? ?????? ??????????????? ?? ?????? ????????? ??- ???????? ??? ?????? ?????????? (??? 2?114? ????????? 10 ???, ?? ??? ??????, ??? ????? ????? ??????). ??? ????????? ? ??????? ???? ?????????????? ??????- ??? ????- ???? ??????? ? ??????? ??????????? ??????, ??? ????????? ?????????????? ??? ??? ?????????? ??????????, ??????????? ??? ?????? ????? ????-7/80?. ??????? ???????? ? ???? ????????????? (?????? ?? ??????? ????? ?? ?????????? ?????????????? ?? ??????? ???????), ?? ???????? ? ???? ???????? ????? ??????- ???? ??????, ? ??????, ??? ? ????????? ????? ?????. ??????? ??????????????? ? ???????? ???????? ? ???????? ????????? ???????? (?? ????? ???? ?? ????????) ?? 90 ????. ????? ?????????? ?????????? ?????????? ?????? ? ???????????? ???? ???????? ?????, ??? ????????????? ? ????????? ???? ????????? ??????? ???????- ?? ??????? — ???? ???? ?????????? ??? ?????????. ? ??? ?????? ???????. 5 http://csl.isc.irk.ru/BD/???????/??????? ? ??????? ???????????? 2012/?2/??? 98- 103.pdf
???????? ??? ????????? ? ????????? ???? ????? ????? ??????? ?????? ? ???????? ?????. ??????? ??????? ????????????? ?????? ?? ????? ??????????? ?? ?????????? ??- ??????? 24? ? 1200 ?. ??? ??????? ????? (??????? ??????) ? ?? ???????? ????- ???? ? ??????? ? ????????? ??????. ??????? ??? ?????? ?????????? ? ???????? ?? ???? ? ??????????? ?? ?????????. ???? ?????????? ???????? ??????? 2000 ??? ?? 0.6 ??????? ?? 800 ?, ??? ??? ? ????. ?????????? ??????? ? ???? ?????????????? ?????? ?????? ?????????? ? ?????- ?????? ?????????????? ?????????. ? ???????? ????????? ????? ???? ????????, ??? ? ?????? ????????? ???? ????????? ?????????, ? ??????? ?????? ?? ??????? ?????????????? ???????, ? ???? ?? ?????????? — ????????? ???? ?????-?? ?? 2 ??, ? ??????????? ??????? ??????? ??????. ???????? ????????? ??????????????? ?????????? ???? ?????? ??????, ?? ?????? ???????????? ???????? ??????? ? ??- ?????. ????? ? ????????? ????? ??????, ???? ????????? ???? ????? ????????? ??????????. ????? ????, ????? ?????? ? ?????? ???? ????????? ??????? ?? 130
???? (?? ????? ?? ????????), ?????????? ???????? ??????? ??????? ? ????????? ??????????? ?????? ?????. ????? ??????? ???????? ??? ?????????? ??????? ???- ?????, ??? ??? ?? ????? ???????? ????? ????????? ????? ?????? ? ????????? ? ?? ????? ??????????. ? ????? ???????? ??????? ???????? ??-1 ???????? 4 ??2, ?????????? ? ????? ? ????? ??? ???????, ??? ??? ???????? ???????? ?? ???????? ? ???????? ??????? ???????????. ???????? 2.5 ??2. ? ???????, ?????? ??????? ???? ?? ??????? ????. ?? ???? ???? ??????????? ??? ?? ??????? ????? ??????????, ??????? ????? ??- ???????? ???????? ?????-???????. ???? ?????? ? ???? ?????? ????????? ??? ??- ??????? ?????????? ?? ?????????????? ???????. ??, ??????, ?????? ???????????, ??????? ? ?????? ??????? ?????? ??????? ??????? ?? ?? ??? ??????????, ? ?? ???????. ????? ??????????. ???? ????????? ????? ?????????????? ???????? ????? ?????? ????????? ? ???- ??? ????????? (???????? ??? ???, ?? ?????? ??????, ???? ?? ??? — ?????????? ? ??????? ????? ?? ??????? ? ????? ????????????????). ?????? ?????????? ?????- ??? ???: ftp://homelab.homelinuxserver.org/pub/arhiv/2022-04-al.zip ????????????? ????????? ? ?? ?????? ?????? ????? ?????????? — ??? ??? ???- ???????? ?? ???????? ????????? ? ???????? ?????????, ???????????? ??? ?????- ??. ??? ????????????? ????? ?????????? ? ???????? ??????????? ?????????? ?????- ???? ????????? ???????? ???? lpv.c (???????? ????) ? ???????? ??? atmega8 (?????????? WinAVR) . ??? ???? ? ????? ??? ???????????? ??????? ?? GND ??? ????????? ?????? ? ????? ???????, ???? ??5 ???????????? ??? ?????? ?? ????? (?????? ???????? ?????? ?????? ?? ????????? ??????), ? ???? ??2 ???????????? ??? ?????? ?? ????????? ??????? ????? ???????. ? ?????? ?????? ??????? ??? ???? ??????? ?????????? ??????? 1.5 ?? ??? 800
? ?? ??????? ????????????? 2000 ???. ? ????? ???? ? ???????? ?????? ?????- ????? ?? 2-3 ??, ??? ??? ?????, ??? ??????? ?????? ? ????????? ? ?????? ???- ?? ????, ? ?? ? ?????????????. ???????????? ??????? ???? ???? ?????? ??????- ???????? ???????. ????????? ??????? ????? ???????? ??????? ????????????? ??- ??? ???????? ????? ??????, ?? ???? ? ????? ?? ????? — ? ??? ??????? ???????? ??? ??? ???? ???????. ?????-12, ????????, ?????? ?? ?????????? ???? ?? 6 ???. ????? ???????. ? ?????????, ????????? ????? ? ???? ?? ???? ????????? ? ????????? ??????, ??? ??? ???????? ?????? ? ???? ?????????? ???????? (8.5 ??) ? ? ????????? ?- ??- 107 ???????? ???? ???????? ?? ??????????. ????? ????????? ?????????? ??? ??????? ?????? ? ??????????????????, ?? ??? ???? ????????? ????????????? ???- ??? ???? ? ????????? ??????. ? ??? ??????, ??? ????????? ??? ? ??????????? ??? ?????? ?? ?????????. ??, ????????, ? ??????? ? ???-???? ??? ??????. ???? ??????? ? ???????? ????. ???? lpv.? ??? atmega8 // ?????????? //???????????? // 6 https://www.youtube.com/watch? v=gguluPnScuw&feature=emb_imp_woyt 7 : //www. you tube. com/watch? v=Muj 9 JT2K4q8&f eature=emb_imp_woyt com/watch? https com/watch? 8 : //www. you tube. v=Nf alSMBWPE4&f eature=emb_imp_woyt https 9 : //www. you tube. v=SgxYC-RdDlg&feature=emb_imp_woyt https
#include \"based.h\" #include \"mtl6s2d.h // //????????? z/ z/ //?????????? ?????????? // String[STRING_BUFFER_SIZE]///?????? extern char FireEnabled=false;//?????????? volatile bool ?? ??????? //???????????????? //**********************************************************^ //????? ?????? ??????? ? ?????? ???????? //**********************************************************^ #define MISO_DDR DDRB #define MISO_PORT PORTB #define MISO_PIN PINB #define 4 MISO #define MOSI_DDR DDRB #define MOSI_PORT PORTB #define MOSI_PIN PINB #define 3 MOSI #define SCK_DDR DDRB #define SCK_PORT PORTB #define SCK_PIN PINB #define 5 SCK #define RW_DDR DDRD #define RW_PORT PORTD #define RW_PIN PIND #define 6 RW //?????? ????????? ??????? #define FIRE_DDR DDRB #define FIRE_PORT PORTB #define 2 FIRE //**********************************************************^ //?????? ????????? ??????? //**********************************************************^ #define CHARGING_DDR DDRC #define CHARGING_PORT PORTC #define 5 CHARGING //**********************************************************^ //????????? ??????
//• #def ine LASER_ENABLED_DDR DDRC #def ine PORTC #define LASER_ENABLED_PORT PINC #define 3 LASER_ENABLED_PIN LASER ENABLED // //????????? ??????? // void InitAVR(void)///????????????? ??????????? ?????? uintl6_t GetData(void)///??????? void MOSI_Hi(void)///????????? ??????? ??????? ?? ?????? MOSI void MOSI_Lo(void)///????????? void SCK_Hi(void)///????????? ?????? ??????? ?? ?????? MOSI void SCK_Lo(void)///????????? ??????? ??????? ?? ?????? SCK bool GetMISOState(void)///???????? ?????? ??????? ?? ?????? SCK void FireEnable(void)///?????????? void FireDisable(void)///????????? ???????? ?????? ?? ????? MISO void ChargingEnable(void)///?????????? ??????? void ChargingDisable(void)///????????? ??????? bool IsLaserEnabled(void)///????????, ??????? ??????? ?? ????? ??????? z/ //???????? ??????? ????????? // int main (void) { InitAVR()/ _delay_ms(500) / MTl6S2D_Init() / float fire_u=0/ _delay_ms(100)/ MTl6S2D_SetTextUpLine(\"????????? ??????\")/ MTl6S2D_SetTextDownLine(\"?????? ????? ??1\")/ ChargingDisable()/ () / FireDisable while(1) value=GetData()/ ?? ????????????? ????????? { ???????? v=2.56*value/1023///?????????? ???????? uintl6_t float r_measure=13000///????????????? float float r_ballast=10200000///?????????? const const const float FIRE_U=800///?????????? ?????????? ? ??????? float i=v/r_measure///TOK ? ???? float u=i*(r_measure+r_ballast)/ ????????, //?????? ???? ???????????? ??????? ????????? ??? ?????????? ? ??????? ????????? ????? fire_u=0.5*fire_u+0.5*u/ if (fire_u>FIRE_U) { cli() / FireEnabled=true /
sei() ; } else { cli() ; FireEnabled=false; sei() ; } u=fire_u; sprintf(String,\"U,B:%i\",(int)(u)); MTl6S2D_SetTextUpLine(String); const float c=2000E-6;//??????? ??????? ????????????? uint32_t e=(uint32_t)(c*u*u/2); sprintf(String,\"?,??:%i\",(int)e); MTl6S2D_SetTextDownLine(String); _delay_ms(50); } return(0); } //????? ??????? //• //• z/ ??????????? //????????????? ????? // void InitAVR(void) { cli() ; //??????????? DDRB=0; DDRD=0; DDRC=0; RW_DDR | = (1«RW) ; MOSI_DDR| = (l«MOSI) ; SCK_DDR | = (1«SCK) ; MISO_DDR&=0xffA(l«MISO) ; FIRE_DDR| = (1«FIRE) ; CHARGING_DDR | = (1«CHARGING) ; LASER_ENABLED_DDR&=Oxf f A (1«LASER_ENABLED) ; //?????? ????????? ?????? PORTB=0x00; PORTD=0x00; PORTC=0x00; RW_PORT&=0xffA(l«RW) ; LASER_ENABLED_PORT|=(1«LASER_ENABLED);//???????? ????? ?????????? ?????? ?????? ?? 8 //??????????? ?????? ?? TCCR0=( (0«CS02) | (l«CS01) | (0«CS00) ) ;// ????? ??????? ???????? ????????? TCNT0=0///????????? ??????? ????????
TIMSK=(1«TOIEO) ///?????????? ?? ???????????? ??????? (?????? ?? ????????????) sei() ; } // //??????? ?????? // uintl6_t GetData(void) { //?????????? ??????, ???? ?? ??????? 32 ??????? ????? ???? uint8_t counter=0; bool zero=false; while(1) { SCK_Hi() ; _delay_ms(1); bool state=GetMISOState(); SCK_Lo(); _delay_ms(1); if (zero==false) { counter=0; if (state==false) zero=true; continue; } if (state==true) counter++;//??????? ??????? elseZ/?????? { counter=0; zero=false; continue; } if (counter==32) break; } //????????? ?????? uintl6_t mask=(l«0) ; uintl6_t for (intl6_t value=0; { n=0 ;n<sizeof (uintl6_t) *8 ;n++,mask«=l) SCK_Hi() ; _delay_ms(1); bool state=GetMISOState(); SCK_Lo(); value|=mask; _delay_ms(1); if (state==true) } return(value); } // //????????? ??????? ??????? ?? ?????? MOSI // I) ; void MOSI_Hi(void) ??????? { MOS I_PORT | = (1«M0S } // //????????? ?????? ?? ?????? MOSI
// //????????? ??????? ??????? ?? ?????? SCK // void SCK_Hi(void) { SCK_P0RT| = (1«SCK) ; } // //????????? ?????? ??????? ?? ?????? SCK // void SCK_Lo(void) { SCK_PORT&=0xffA(l«SCK) ; } // //???????? ???????? ?????? ?? ????? MISO z/ ; (true) bool GetMISOState(void) ; { ; if (MISO_PIN& (1«MIS0)) return return(false); } // //???????? ??????? // void FireEnable(void) { FIRE_PORT | = (1«FIRE) ; } // //????????? ??????? // void FireDisable(void) { FIRE_PORT&=0xffA (1«FIRE) ; } // //?????????? ??????? z/ void ChargingEnable(void) { CHARGING_P0RT| = (1«CHARGING) } // //????????? ??????? z/ void ChargingDisable(void) { CHARGING_PORT&=0xffA(l«CHARGING) } // //????????, ??????? ?? ?????
// //?????????? ??????? ?????????? ??????? ?? (8-?? ????????? ??????) ?? ???????????? ???????). // 488 ?? (?????? ISR (TIMER0_OVF_vect) { //??????? ??????? 0,002048 TCNT0=0; uintl6_t counter=0; static if (counter>0) { counter--; return; } typedef enum { MODE_WAIT, MODE_CHARGING, MODE_FIRE, MODE_WAIT_FIRE } MODE; static MODE mode=MODE_WAIT; if (mode==MODE_WAIT) { FireDisable(); if (IsLaserEnabled()==true) { mode=MODE_CHARGING ; ?????????? ChargingEnable(); counter=300;//??? 800 ? ????? ????????? 300 //125 =550 ? //250 =730 ? //350 =860 ? //U=1240*(1-exp(-t/295)), ??? t- ????? ? ?????? ??????? return; } } if (mode==MODE_CHARGING) { //if (FireEnabled==true) { ChargingDisable(); mode=MODE_FIRE ; counter=5; return; } }
if (mode==MODE_FIRE) { FireEnable () ; counter=10; mode=MODE_WAIT_FIRE ; return; } if (mode==MODE_WAIT_FIRE) { FireDisable () ; if (FireEnabled==false) { mode=MODE_WAIT; counter=5; return; } counter=10; mode=MODE_FIRE ; return; }
????????? ????????? ????????? ????????? (????. physical vapor deposition, PVD; ????????? ???- ????????? (???????) ????) ?? ??????? — ?????? ??????? ????????? ???????? (?????? ??????) ? ???????, ??? ??????? ???????? ?????????? ????? ?????? ???- ???????? ???? ?????????? ?????????. ????????? ????????? ?????? ?????????? ?????????: ? ???????? ???? (????) ?? ??????, ???????????? ?????????. ? ????????? ???? ? ????????. ? ??????????? ???? ?? ???????? ? ???????????? ????????. ? ?????? ??????? ?????????? ????????? ????????? ????????????? ???? ???????- ??? , ? ????? ?????????? ???????? ???? ?????????. ?????? ???????????? ?????????: ? ????????? ??????????? ????? (????. electron beam evaporation, electron beam physical vapor deposition, EBPVD). ? ????????? ???????? ????? (????. pulsed laser deposition, pulsed laser ablation). ? ????????? ????????? ????? (????. cathodic arc deposition, Arc-PVD): ??- ?????? ?????????? ? ???????? ????? ????????????? ????. ? ????????? ???????????? ????? (????. molecular beam epitaxy). ? ?????? ?????????? (????. sputtering): ???????? ???????? ??????????? ???- ??????????? ?????? ??????? ? ????????? ?? ????????. ? ???????????? ?????????? (????. magnetron sputtering) - ? ?????????? ??- ??? ????????????? ?????? ???. ? ????????? ? ?????? ??????????????? (????. ion beam assisted deposition,
IBAD); ? ?????-??????? ?????????. ? ??????????????? ?????? ?????. ????????? ????????? ????????? ??? ???????? ?? ??????????? ???????, ??????- ?????? ? ???????????? ?????????????? ???????? — ??????????, ???????????, ??- ????????????????, ??????- ??????????? , ???????????-???????, ???????????????, ??????, ????????? ? ?. ? ??????? ???????????? ??? ????????? ???????????? ????????, ???????? ??? ???- ????????? ????????? ????? ? ????????? ? ????? ??? ?????. ???? ?? ???????? ????????????????, ??? ??????????? ??? ????????? ?????????? ????? (?????????- ???) . ????????? ????????? ???????????? ??? ????????? ?????????? ????????: ?????????????, ??????????, ???????????. ??????????? ??? ????????? ?????? ?????? ?? ????????? ??????????, ???????? (??????, ????????, ?????????, ?????????, ??????, ??????, ????, ???????, ???- ??) , ?? ???????, ?????????? (Si02,Ti02,?1203) . ? ??????????????? ????? ????? ??- ???? ???????? ????????? ???????? ???, ????????, ???????? (??? ????????, ???????? ???????); ????, ????????. ?????????? ??????? ?? ??????????? ???????? ???????????? ????????, ???? ??- ???????? ???????. ? ???????????? ???? ??? ??? ???? ?????? ???????? ? ??????? ??????? ?????????? ????????? ???????? ???????? ???????? ?? ??- ?? ?????????? ??????, ??- ???????? ???????? ???????? ?????? ????? ????????? ?????? ??????????? ?? ??????? ?????????????? ?????????. ?????????? ???????? ?????????? ????????????, ? ??????? ??????????? ??????? ????????, ? ???????????? ?????? ?????????????? ?????????. ?????? ? ??????? ???????????????? ?????????? ??????????? ? ??? ?? ?????????? ??????????? ???- ????????? ???????, ???????? ?? ??????????? ?????????? ????????. ? ??????? ??- ?????? ?????????? ????????? ????, ??? ??????? ??? ???????? ???? ????????????. ?????? ?????????????? ??????????????? ??????? ?????????? ????????. ???????? ????????? ???????? ? ??????? ?? ???????? 1 ??. ????? ??????? ? ??????? ? ??????????? ????? ??????, ?? ???? ???? ?? ??????- ??????? ??????? ? ??????? ????????? ???????? - ?? ???????????? ?? 10 ? ????? 10 ??????? ??. ????????? ???????? ?? 15 ???????? ??????????? ?????????? ????- ?????? ??? ????????????? ???? ?????? ??????, ????????? ??????????????? ????- ???? ???????, ?????????? ???- ? ???? ?????? ????????? ????? ?, ?????????????, ?????? ??????? ??? ????????? ????????. ??? ??????? ???????? ? ????????? ???????? ? ????????????, ????????????? ????????????? ?????????? ? ????????? ????????????, ?? ???? ????????? ??????? ??? ??????? ???? ?????????? ???? ?? ???? ????????: ? ??????????? ???? ?? ???? ?????????? ? ???? ???????????? ??? ? ????????? ????? ????????? ???????, ?????? ??? ?????????????; ? ?????????? ???? ????? ???????, ?????????? ??????? ??? ??????????? ?????? ? ????????? ????????? ???????. ?? ??????? 1 ????????? ????????? ???????? ??? ????????? ????? ????????? ??- ????? . ? ??????? ????????? ???? ??????? ?????????????? ?? ???? ?????????????? ??- ??????? ?????? ??????? ??????. ???????? ???????????? ???????????? ??????? ??????????? ????????? ???? ???- ???????? ????????????? ???????? ????. ???????????? ?????? ???????????? ??????? ????? ????????? ????????? ??????- ??????? ???? ?????????????? ????????, ? ??????????? ??????? ?????????? ????- ?????? ????? ???? ??????? ????????. ??????????? ?????? ???????????? ??????? ????? ?? ???? ?? ??????? ?? ??????- ????? ??? ? ?????? ??????? ???.
???????? ?????-??????????? ??????? ???????? ?? ???????? ????? ? ???? ????? ????? ?? ???? ?????????????? ???? ? ??????? ????? ?? ??????????? ????????????. ?????????? ?????? ???????????? ??????? ????? ??????????? ???????????? ? ????? ?? ????????????, ??????????? ?? ??????????? (??????????) ??????????. ?????????? ??????????????? ??????? ???????? ??????????????? ? ??????????????? ??????. (?????? ?????? (??????? ??????) ??????? ?????? ???????????? ?????? 105 ?4 103 102 10 1,0 1??1 ?\"2 10~3 10\"4 1??5 10\"6 10\"7 10*8 ??9 10*10 ?'? ?? ???. 1. ??????? ???????? ????????? ??????? ?? ???????? ? ?????? ????????????? ??????????. ???????????? ?????????? — ?????????? ????????? ?????? ?????? ?? ???????? ? ??????? ????????? ?????????? ?????? ? ?????? ????????????? ??????? — ???????? ??????? ? ?????????? ?????. ??????????????? ??????????, ??????????????? ??? ?????????? ??????????????? ???? ??????????, ?????????? ????????????? ???????- ??, ???, ??????????, ???????????? (?? ?????? ? ?????????? ???????????? — ???- ?????????, ???????????????? ??? ????????? ???-?????????). ? ???? ???????, ???????????? ???????? ???????? ??????? ??????? ?????? ? ??????? ?????????? ????? (?????????? ???????????? ? ????????? ??????, ??? ????????????? ? ????????? ???? ???????????? ???? ?????; ??????? ????? ??????- ???? ???? ?????????? ??????? ????? ????): ???????? ????????? ????? ????, ???????????? ?????? ??? ??????? ? ?????? ???. 2. ??????? ???????? ????????????? ??????????
??????????????? ???????? ????????????? ?????????? ??????????? ? ???, ??? ?????????????? ??????????? ?????? (??????) ???? ????????? ??. ?? ???? ??????? ???????? ?????????? ????????????? ?????????, ? ????????? ????, ??? ????????- ??? ???????? ??????, ????????? ?? ????????, ????? ??????????? ??????? ?????? ???????? ??????? ?????????? ???????? ???????????? ?????????. ???????? ?? ?? ??? ??? ??? ????? ??????? ??? ??????? ?????????? ?????????? ? ???? ???????????, ??? ?? ?????, ?????????? ????? ???????? ???????? ?????- ??????????? ? ????? ??? ?? ????? ??????? ? ????????? ???????. ?????123, ???????? ??? ???????? ????????? ????? ???????????? ??????? ?? ????????. ??? ?????????????? ?????????, ? ???????? ???????????? ??? ??? ?????? ?????, ??? ?? ??????? ????. ? ???, ??? ????????, ??????????? ? ???? 95 ????: ???????? ???? — ???????????? ??????? ???????? ?? ? ????? (+) ???. 3. ??????? ??????? ????? ??????? ????????????? ? ?????? (-) ???? ??????????? ?????????? ???? ????????? ????, ?? ????? ????? ????????? ???????? ???: ? ????? (+) ???. 4. ????? ????????????? ??????? ????? ??????? ? ?????? (-) ????????????? ?????????? ????? ????????? ?????? ?????????? ???????????? ? ???? ??????? ?????????? ? ???????? ?????????? ???????????? ?????????? ?? ????, ??????????? «?? ?????- ??», ????????, ???????????? ???????????? — ???? ??????? ????? ?????????????, ? ?????????, ? ??????? ?????????????????? ???????, ??????? ??????????? ? ??- ??????????? ?????????? ???????? ???????? — ????????? ?????????, ????????? ??- 1 : //www. you tube. com/watch? v=w23bX9saG3Q&f eature=emb_imp_woyt : //www. you tube. com/watch? https : / /www. you tube. com/watch? v=v_3Sf knsmJc&f eature=emb_imp_woyt 2 v=7 PsDAWhwHUI &f eature=emb imp woy t https 3 https
?????? ??????????? ? ??? ????????????? ?????????, ? ??????????? ???????? ? ??????????? ??????????? ????????? ???????????? ????, ??? ???????? ????? ???- ??????, ??? ???????????? ?????????????, ??? ??? ?????????? ???????? ??????- ?????? ??? ????? ?????? ?????????? ???????? ?????, ???? ?????? ??????? ????- ???????? ???? ???????. ? ??????? ?? ?????????????????? ???????, ???????????? ?????????? ????? ??- ??????? ??-?? ?????????? ? ???????? ???????????? ???, ??????????? ?????? ? ?????????????? ??????????. ????? ???????? ????????? ???? ?????????? ????- ?? ??????????? ????????????? ??? ??????, ????? ??????? ????? ??????????? ?????, ???: ??????????? ???????, ????????????? ?????, ?????? ???????????????? ? ?????????????? ??????4. ????????? «??? ??????» — ??? ???? ?????????? ?????????? ??????????. ??? ??- ????????? ? ????????? ??????? ??????, ??? ????????? ??????? ???????? ??????- , ? ????? ???????????? ???????? ???????????? ???, «??? ??????»: ,/. 7 ft ::? ,/ ???. 5. ????????? ??????? ?????? ??????, ????????????? ????????????? ?????????? ????? ??????????????? ?????- ?????, ? ????? ???? ??????????, ? ????????? ???????? ???????? ????????? ????- ???????? ??? ?????????? ? ????? ??? ?????? ???????? ?????????, ? ?????????, ???????????? ? ?????? ??????????????????? ??????? ? ????????? ? ??? ??? ????? ???? ??????????, ??- ??????, ? ????? ???? ??????? ???? ? ??????????? ??????? ? ????????? ??????? ! ??? ????????????? ?????????? ??????? ???????, ??????????5 ? ??- ?????? ?????? ???????????? ??????, ?? ???????? ????????????????? ???? — ??- ????????????????? ?????, ??????? ????? ???? ????? ??????? ? ??????? ???????- ??, ? ?????????? ??????????????? ????? ????????? ????? ? ????????? ??????, ????? ???????????????? ????????. ??? ???????? ?????? ???????? ???????? ? ??????? ?? ??????? ???????????, ?????? ?????? ???????? ?????????? ?????????????? (?????????? ?????????? ????? ?? ???????, ???? ?? ???????????? ?????? ?????). 4 https://www.youtube.com/watch?v=oaxqioswNhs &feature=emb_imp_woyt 5 https://cyberleninka.ru/article/n/sintez-uglerodnyh-plenok-magnetronnym- raspyleniem-grafitovoy-misheni-s-ispolzovaniem-vodoroda-v-kachestve- plazmoobrazuyuschego-gaza/viewer
???, ? ???? ???????, ???? ??? ??????????? ???????????? ? ???????? ?????? ?????????? ?????????? ?????????, ????????, ???????. ??? ???????? ??? ???????? ??????? ?????? ????? ?? ???????????, ????????, ??????, ??? ???????? ????????? ???? ??????????? ?????? ? ????? ????????????? ??????????6. ? ????? ???????, ??? ???????? ????????????? ?????????? ?? ??????????? ??- ?????????? ???????, ?? ????????? ?????????? ????????????? ??????????????, ??- ??????? ?????? ???????? ???????? ??????? ????? ????????????????, ??? ???????, ??? ??? ?? ????????????? ????????, ? ????????? ???????????, ???? ??????????? ??????? ? ???????! ????????, ???????? ?? ??, ??? ?? ???????? ?????? ??????? ??????????? ??????????? ???????? ? ?????????, ????????????? ?? ??? ??????? ????? ??? ???????? ??????, ????????? ??????????? ????????? ?????????? ????- ?????? ?? ?? ??????????? ????????. ? ?????????? ?????, ??????????? ????? ?? ???????? ?????????????, ? ????????? ??????????? ?? ???? ??????? ???? ???????- ?????? ?????? (????, ???????? ??? ??? ???????)! ?????? ?????????? ??????????? ????????????? ????????? ???????? ???????? ??????????? ?????????????, ??? ?????????? ? ????????????? ?????????? ?????? (????? ? ??????? ?????? ? ??????? ?? ?????). ????????, ???? ???? ????????, ??? ?? ????? ????????? ????????? ?????, ???- ????????? ??? ?????? (??? ??????? ??????, ?????????, ????????????? ? ?.?.), - ????? ?? ?????????? ????????? ?????? ?????????? ?????????? ????????? ?????- ?????? ?????. ?????, ???? ???????????? ????????? ????????? ? ???????? ??????, ????? ????? ???????? ??????? ?? ??????? ???????????, ??? ????????? ?????? ??- ???????? ??????????? ?? ???????? ????????????? ?????????????? ????????, ??? ???????? ??????? ???????! ????????? ??????????, ????????? ????? ????????????? ??????????, ?????????? ??????????? ???? ????????? ??????????? ????????????????? ???????????! - ???????? ??????????? ? ??? ????? ?????????? (??? ??? ???? ??????? ????) ???????????? ?????????. ???? ???????? ??????? ???? ? ????? (?? ????, ?????????????? ????????? ???- ???? ?? ?? ????, ? ?? ?????) — ?? ?????????? ????????? ??? ???? ??????????: ???????????? ????????? ?????????! ??????? ????, ????? ???????, ??? ?????????? ????????????? ?????????? ?????- ?????????? ???? ?????? ?????? ???????? ? ????? ??????? ? ????????? ?????, ??- ????? ????? ???????? ??? ?????????? ??????????? ? ?????????? ?????? ??????? ????????????! ????- ???????, ??????, ? ????? ?????, ??????????? ???????????? ??????????, ?????? ???????- ?????????? ? ????, ????????? ??? ?????-???? ????????????? ?????? (?? ???????? ????????? ?????????? ? ????). ????? ???????, ??????? ??????????????, ???- ??? ? ??????????? ????????????? ??????????, ??? ???????, ?????????? ???????, — ??? ??????? ???????????????? ??????????. ??? ?????, ????? ???? ?? ???????????? ????????? ???? ????????????? ?????? . ???????? ?????????? ??????? ???????? ??????????? ???????????? ??????? ?? ??????????? ????????- ???????? ??????????? ????? ?? ???????????? ???????????? (??? ????????). ????- ???? ??????? ?????????? ?? ?????? ????????????? ???? ? ???????, ???????????? ??? ???????????. ????????? ????????????? ???? ??????????? ? ??????? ????? ??????????? ?????????????? ????. 6 : //www. you tube. com/watch?v=gJJh-FXk3Q8&f eature=emb_imp_woyt https
?? ????? ???????????? ?????? ????????, ??? ? ??????? ???? (??????? ?????- ???) ???????????????? ?? ??????? ?? ????????. ??? ????????? ???????? ??????????? ???????????????? ????, ??????????????, ?????????? ??????????? ????????????? ? ????????????? ?????-?.?.?. ??? ?????? ?????????, ????? ??????? ????? ???????? ??????? ??????? ?????? ???????? ???- ??????? ????? ???????? ????? ? ???????? ???????????, ???????????????? ???? ??????????????? ???????????? ???????????? (????????). (???. 6) ???????????? ??????????????? ????? ?????????? ??? ????????????? ??????, ? ??????? ?? ???? ?????? ??????????? ?????????????, ?? ???? ?????? ?????? ???????? ?????????, ????????????? ?? ???????-?????? ??? ???????- ???????. ????????? ????????? ? ??????????????, ??????? ??????????? ?????, ??? ????? ????????? ???? ?????????, ??- ???????????? ? ???????? ????????????????. ????????? ??????????????, ???????? ?????????? ?????-?.?.?, ???????? ??????? ?????????? ??????????????. ??????????? ????????? ???. 6. ????? ???????????? ??????????? ???????? ????????? ???????? ??????????? ???????????? ??????????? ??????? ?? ??????????? ??????? ???? ?????? ?????????????. ?????????? ??????????? ????? (????????? ???? ?????????????), ??????????? ????? ???????, ????? ??????? ???- ???????????? ????? ????????? ? ????????? ???????? ?????. ??? ???? ???????? ???????? ?????????????? ?????? ???????????? ???????????????? ??????????????? ????? ?? ?????????? ??????????????? ?????????? ???????? ? ????????? ???????. ?????????????? ?????????? ??????? ???????? ??????????? ???????????????? ??????? ?? ????????? ???? ??????????? ? ????????? ??????? ????, ?? ???????? ???????? ????? ? ????????. ????????? ??????? ???? ???????????? ???????????, ???????????? ???????????? ? ??????????? ??? ????????? ????????????? ????? ?????????, ?? ??????? ???????? ??????????- ???????????? ??????.
? ?????????? ??????? ???????????? ??????????????? ???????, ????????? ?? ??????? ????? ?????????? ?????, ??????? ????? ? ??????????????? ??????. ?? ???????? ?????????? +200 ? ???????????? ??????, ? ?? ?????????????? ????????? -50 ?. ??????? ????? ????????? ?? ???????????? ????????? ? ???? ???????. ??? ???????? ??????????????? ? ??? ????????????? ?? ??????? ???????????? ??? 3 ?. ???????????? ????? ??????????????? ????????? ?????????, ??????? ?????????? ??????????? ????? ? ???????? ? ??????? ?????. ???. 7. ????? ?????????????? ??????????? ????? ?????????? ????????? ? ???????????? ????? ??????? ?????? ? ????????- ???. ??? ??? ????????? ????? ????????????? ????????? ???????????? ??????, ????????? ??????????????? ? ???????? ???????? ??????? ? ??????? ?????. ? ??- ???????? ?? ???, ????????? ? ????? ?????????? ?????????, ??????, ?????? ??? ??????? 5 ?????????. ??? ? ??- ????????? ? ??????? ???????????? ?????????? ???????? ???? ?????????? ????????? ???????. ?????????????? ????????????? ??- ?? , ??????? ?? ?????????, ??????? ? ??? ???? ????????????? ???. ??? ????????- ?? ????, ??? ?????????? ?????? ????????? ?????? ??? ?????????? ????? ??????- ???????? ???????? ????. ????? ???????, ??? ????????? ???????? ?????????? ??? ???????? ??????????? ?????????? ???? ???????? ?????? ??? ? ????????? ?? ???????????????. ???????? ?????????? ???????????????? ????????????? ???????????? ??????? ? ??????????? ? ??????????????? ???????????????? ???????? ??????, ????????? ??- ???????? ??????????. ??????? ????? ??????????? ??? ?????? ????????? ???????? ? ????? ?????? ???? ?????? ??? ???????????? ??????? ?????????. ????? ????, ??????? ???????? ????- ????????. ?? ???????????? ?????? ?????? ?????????? ????????? ?????????? ????? ?? ?????, ??????????? ???????? ??????? ????????? ? ??????? ????? ???- ???????????????? ??- ??? ????????, ????? ???? ?????????? ?????????. ??? ?????
????????, ????? ????????? ????????? ? ???????????? ????????? ?? ??????????? ?????????? ??????? ?? ??????? ?? ????????? ?? ????????? ??????????. ????? ??- ????????? ????????? ??????? ???? ????? ??????????? ??????????? ??????????, ?????????. ??? ???????? ? ?????????? ???????????????? ???????? ??????? ?????- ???????????? ????????? ??? ?????????? ????? ???? ?????????? ? ???????? ??- ??????????? ?????????? ????, ??????????????? ?? ?????????. ?????????? ???????????? ??????????, ???????????? ?????????. ??????? ?????- ??? ????????? ???????????????? ??????? ?? ??????????? ???? ???????????????? ???????? ??????? ? ?????????? ????????? ? ????????????? ????? ?? ????????. ??????????? ???????, ?????????????? ??????????? ???????????????? ???????? ?????????? ??????? ??? ??????? ? ???????????? ???????, ?????? ?????. ? ????????? ??????? N ???. 8. ????? ?????????? ????????????????? ??????????? ???????? ????? ?????, ??????? ???????? ?????? 1, ? ???? ? ???? ?????????- ????? ?????? 2. ????? ??? ????? ????????? ?????????? ???????? 3 ????????? ??- ?? ? ????????? 0,05-0,2 ??. ????? ?????????? ???????? ?? ???? ???????? ????- ??? ????????????? ?????????? ??????? 2,5-3 ??. ?????? ?????????????? ????? ?????? ? ????????, ???????????? ???????????? ? ??????? ?????????????? ?? ??? ?? ?????. ??????????? ????????? ????, ?????- ??????? ??? ???????, ???????????? ???????????? ????? ?? ???? ??????????. ??- ????????? ????????? ???? ?? ??????? ????? ???? ?????? ?????????? ??????????? ??? ?????? ????????? ????. ???????????? ? ?????????? ????????? ??????? ????????? ????????, ??? ? ???- ?????? ?????????, ???? ?? ?????????? ??????????? ?, ? ????? ??????, ????? ??- ???????? ?????????, ?? ???????? ????? ????????? ?? ????. ????????? ?????????? ?????? ?????????????? ??????, ????? ????????? ? ??????????? ???????. ????? ?????????? ??????????? ?????????? ???????, ????????? ???? ? ??????????? ????- ??? ?????? ?????????????? ???? ?????, ????? ??????? ????? ?????????? ???? ?????????? ? ???? ?? ????? ??? ????????? ?????????? ????? ?????? ? ???????, ??? ????????? ???????? ?????? ? ??????????? ???????? ????. ???????????? ???????? ?????? ??? ????????? ???????? ?? 10 ? ????? 10 ?????- ?? ??.
??????????: ?????? ??????????? ????? ??????? ???????? ????????? ????????, ????????? ? ????????????? ??????. ??????. ??????????? - ???????? ??????????? ? ?????????? ???????? ??-?? ???- ?? ??????????? ????? ???? ???????? ??? ????? ????????. ??????????: ????????? ??????: ??????? ???????/ ?.?. ??????; ??????? ???????- 1. ?????? ???????????. - ?????: ???-?? ???????? ???????????????? ??????- ???????? 2012. - 114 ?. ??????,
Search
Read the Text Version
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 17
- 18
- 19
- 20
- 21
- 22
- 23
- 24
- 25
- 26
- 27
- 28
- 29
- 30
- 31
- 32
- 33
- 34
- 35
- 36
- 37
- 38
- 39
- 40
- 41
- 42
- 43
- 44
- 45
- 46
- 47
- 48
- 49
- 50
- 51
- 52
- 53
- 54
- 55
- 56
- 57
- 58
- 59
- 60
- 61
- 62
- 63
- 64
- 65
- 66
- 67
- 68
- 69
- 70
- 71
- 72
- 73
- 74
- 75
- 76
- 77
- 78
- 79
- 80
- 81
- 82
- 83
- 84
- 85
- 86
- 87
- 88
- 89
- 90
- 91
- 92
- 93
- 94
- 95
- 96
- 97
- 98
- 99
- 100
- 101
- 102
- 103
- 104
- 105
- 106
- 107
- 108
- 109
- 110
- 111
- 112
- 113
- 114
- 115
- 116
- 117
- 118
- 119
- 120
- 121
- 122
- 123
- 124
- 125
- 126
- 127
- 128
- 129
- 130
- 131
- 132
- 133
- 134
- 135
- 136
- 137
- 138
- 139
- 140
- 141
- 142
- 143
- 144
- 145
- 146
- 147
- 148
- 149
- 150
- 151
- 152
- 153
- 154
- 155
- 156
- 157
- 158
- 159
- 160
- 161
- 162
- 163
- 164
- 165
- 166
- 167
- 168
- 169
- 170
- 171
- 172
- 173
- 174
- 175
- 176
- 177
- 178
- 179
- 180
- 181
- 182
- 183
- 184
- 185
- 186
- 187
- 188
- 189
- 190
- 191
- 192
- 193
- 194
- 195
- 196
- 197
- 198
- 199
- 200
- 201
- 202
- 203
- 204
- 205
- 206
- 207
- 208
- 209
- 210
- 211
- 212
- 213
- 214
- 215
- 216
- 217
- 218
- 219
- 220
- 221
- 222
- 223
- 224
- 225
- 226
- 227
- 228
- 229
- 230
- 231
- 232
- 233
- 234
- 235
- 236
- 237
- 238
- 239
- 240
- 241
- 242
- 243
- 244
- 245
- 246
- 247
- 248
- 249
- 250
- 251
- 252
- 253
- 254
- 255
- 256
- 257
- 258
- 259
- 260
- 261
- 262
- 263
- 264
- 265
- 266
- 267
- 268
- 269
- 270
- 271
- 272
- 273
- 274
- 275
- 276
- 277
- 278
- 279
- 280
- 281
- 282
- 283
- 284
- 285
- 286
- 287
- 288
- 289
- 290
- 291
- 292
- 293
- 294
- 295
- 296
- 297
- 298
- 299
- 300
- 301
- 302
- 303
- 304
- 305
- 306
- 307
- 308
- 309
- 310
- 311
- 312
- 313
- 314
- 315
- 316
- 317
- 318
- 319
- 320
- 321
- 322
- 323
- 324
- 325
- 326
- 327
- 328
- 329
- 330
- 331