rw6cm Меню витков 460@60 480@60 corner: 560@180 460@60 corner: 580@180 506.0d@73.5d 340@60 360@60 corner: 420@100 340@60 corner: 440@100 379.0d@73.5d 250@40 270@40 corner: 310@100 250@40 corner: 330@100 281.5d@53.5d 450@190 470@190 corner: 510@250 450@190 corner: 530@250 478.5d@203.5d 450@220 470@220 450@210 corner: 470@230 250@190 270@190 corner: 310@250 250@190 corner: 330@250 281.5d@203.5d 170@130 190@130 corner: 217.0d@150 170@130 corner: 237.0d@150 194@143.5d 237.0d@140 1 Кн+ 27 19.0d 7.0d 0.0d 223.0d@140 V+ 460@150 480@150 237.0d@140 corner: 237.0d@220 250@220 270@220 150@160 170@160 corner: 194.0d@180 150@160 corner: 214.0d@180 174@173.5d 214.0d@170 Кн- 29 16.0d 7.0d 0.0d 200.0d@170 V- 460@170 480@170 214.0d@170 corner: 214.0d@240 250@240 270@240 330@240 3 Q 9.0d 310@240 330@240 corner: 330@240 450@240 470@240 450@230 corner: 470@250 510@230 corner: 530@250 530@240 9.0d 510@240 250@70 corner: 250@240 532@236.5d corner: 544.0d@243.5d 236.0d@66.5d corner: 248.0d@73.5d L1 250@70 270@70 250@60 corner: 270@80 150@100 170@100 corner: 208.0d@120 150@100 corner: 228.0d@120 174@113.5d 228.0d@110 Меню 23 30.0d 7.0d 0.0d 214.0d@110 MU 460@110 480@110 228.0d@90 corner: 228.0d@110 250@90 270@90 250@80 corner: 270@100 310@80 corner: 330@100 330@90 4 9.0d 310@90 330@90 corner: 330@90 EN 340@90 360@90 340@80 corner: 360@100 420@80 corner: 440@100 440@90 10000 9.0d 420@90 440@90 corner: 440@220 En 460@90 480@90 460@80 corner: 480@100 460@100 corner: 480@120 MD 460@130 480@130 460@120 corner: 480@140 460@140 corner: 480@160 460@160 corner: 480@180 600@100 620@100 corner: 660@180 600@100 corner: 680@180 625.0d@113.5d 600@130 2 600@150 620@150 596.0d@150.5d ValStr 32.0d 560@170 580@170 580@170 corner: 580@170 3 600@170 620@170 700@120 720@120 corner: 800@180 700@120 corner: 820@180 747.5d@133.5d EN 700@150 720@150 680.0d@153.5d 700@170 2 16 27 D 720@170 680@170 corner: 680@170 9.0d 660@170 680@170 1 620@130 580@130 corner: 580@150 Name 29.0d 560@150 580@150 560@140 corner: 580@160 560@160 corner: 580@180 Menu 473863461 W1_M1 262770313 Graphics.ColorValue blue r0g0b31 dec 1 0 W2_M1 480130896 2 WithAcceleration 2000 500 4000 250 70@40 70@40 corner: 209.0d@85.0d left меню: вкл по нажатию, она же выбор позиции 10сек бездействия - выход меню: вкл по нажатию, 114.0d 3@9.0d 6.0d она же выбор позиции 110.0d 3@23.0d 9.0d 10сек бездействия - выход 133.0d 3@37.0d 9.0d 90 Плата управления 590@270 610@270 corner: 690@430 590@270 corner: 710@430 623.5d@284.5d 430@270 450@270 corner: 530@310 430@270 corner: 550@310 451.0d@284.5d 430@370 450@370 corner: 510@430 430@370 corner: 530@430 469.0d@383.5d 340@270 360@270 corner: 400@330 340@270 corner: 420@330 371.5d@283.5d 230@270 250@270 corner: 290@310 230@270 corner: 310@310 256.5d@284.5d 130@270 150@270 corner: 190@310 130@270 corner: 210@310 162.5d@283.5d 30@290 50@290 corner: 116.0d@310 30@290 corner: 136.0d@310 54@303.5d 136.0d@300 старт_стоп 28 58.0d 7.0d 0.0d 122.0d@300 130@300 corner: 130@300 T 130@300 150@300 210@300 Q 9.0d 190@300 230@370 250@370 corner: 290@410 230@370 corner: 310@410 256.5d@384.5d 230@400 340@370 360@370 corner: 400@430 340@370 corner: 420@430 371.5d@383.5d 340@400 240@410 260@410 corner: 277.0d@430 240@410 corner: 297.0d@430 264@423.5d 240@420 297.0d@420 R 9.0d 7.0d 0.0d 277.0d@420 297.0d@420 corner: 297.0d@420 340@420 360@420 R 430@420 450@420 420@420 corner: 420@420 9.0d 400@420 420@420 360@400 310@400 corner: 310@400 9.0d 290@400 310@400 I 244@400 210@300 corner: 210@400 230@300 250@300 310@300 9.0d 290@300 310@300 corner: 310@300 340@300 360@300 230@310 250@310 corner: 290@350 230@310 corner: 310@350 256.5d@324.5d 340@10 360@10 corner: 420@250 340@10 corner: 440@250 375.0d@24.5d v0 340@40 360@40 320.0d@43.5d 280@50 300@50 corner: 321.0d@70 280@50 corner: 341.0d@70 304@63.5d 280@60 341.0d@60 R1 13.0d 7.0d 0.0d 327.0d@60 v5 340@140 360@140 340@60 corner: 340@140 v1 340@60 360@60 230@70 250@70 corner: 291.0d@90 230@70 corner: 311.0d@90 254@84.5d 311.0d@80 конц 2 32 33.0d 9.0d 0.0d 291.0d@80 v6 340@160 360@160 321.0d@80 corner: 321.0d@160 v2 340@80 360@80 230@90 250@90 corner: 291.0d@110 230@90 corner: 311.0d@110 254@104.5d 311.0d@100 конц 3 34 33.0d 9.0d 0.0d 291.0d@100 311.0d@100 corner: 311.0d@100 v3 340@100 360@100 230@110 250@110 corner: 291.0d@130 230@110 corner: 311.0d@130 254@124.5d 311.0d@120 конц 6 40 33.0d 9.0d 0.0d 291.0d@120 311.0d@120 corner: 311.0d@120 v4 340@120 360@120 230@170 250@170 corner: 291.0d@190 230@170 corner: 311.0d@190 254@184.5d 311.0d@180 конц 7 42 33.0d 9.0d 0.0d 291.0d@180 311.0d@180 corner: 311.0d@180 v7 340@180 360@180 230@190 250@190 corner: 292.0d@210 230@190 corner: 312.0d@210 254@204.5d 312.0d@200 конц 4 36 34.0d 9.0d 0.0d 292.0d@200 312.0d@200 corner: 312.0d@200 v8 340@200 360@200 230@210 250@210 corner: 291.0d@230 230@210 corner: 311.0d@230 254@224.5d 311.0d@220 конц 5 38 33.0d 9.0d 0.0d 291.0d@220 311.0d@220 corner: 311.0d@220 v9 340@220 360@220 Sel 340@240 360@240 440@240 9.0d 420@240 230@240 corner: 230@340 216.0d@336.5d corner: 228.0d@343.5d 442@236.5d corner: 454.0d@243.5d L1 230@340 244@340 310@340 9.0d 290@340 310@320 corner: 310@340 340@320 360@320 420@320 9.0d 400@320 420@320 corner: 420@400 C 430@400 450@400 530@400 540@410 560@410 corner: 577.0d@430 540@410 corner: 597.0d@430 564@423.5d 540@420 577.0d@420 597.0d@420 9.0d 7.0d 560@420 530@420 corner: 530@420 >L 14.0d 510@420 530@420 10 up V 10.0d 510@400 DSSV 590@320 610@320 480@10 500@10 corner: 560@250 480@10 corner: 580@250 515.0d@24.5d v0 OFF 480@40 500@40 459.0d@43.5d 480@30 corner: 500@50 v1 M1 480@60 500@60 465.0d@63.5d 480@50 corner: 500@70 v2 M2 480@80 500@80 464.0d@83.5d 480@70 corner: 500@90 v3 M3 480@100 500@100 464.0d@103.5d 480@90 corner: 500@110 v4 M5 480@120 500@120 464.0d@123.5d 480@110 corner: 500@130 v5 M1 480@140 500@140 465.0d@143.5d 480@130 corner: 500@150 v6 M2 480@160 500@160 464.0d@163.5d 480@150 corner: 500@170 v7 M5 480@180 500@180 464.0d@183.5d 480@170 corner: 500@190 v8 M3,4 480@200 500@200 454.0d@204.0d 480@190 corner: 500@210 v9 M4 480@220 500@220 463.0d@223.5d 480@210 corner: 500@230 480@230 corner: 500@250 620@90 640@90 corner: 680@250 620@90 corner: 700@250 645.0d@103.5d 620@120 2 W= 620@140 640@140 600.0d@144.0d 870@20 890@20 corner: 930@60 870@20 corner: 950@60 893.5d@33.5d 730@0 750@0 corner: 810@80 730@0 corner: 830@80 769.0d@13.5d 620@20 640@20 corner: 680.0d@40 620@20 corner: 700.0d@40 644@34.5d 700.0d@30 конц 1 30 32.0d 9.0d 0.0d 686.0d@30 700.0d@30 corner: 700.0d@30 C 730@30 750@30 610@40 630@40 corner: 685.0d@60 610@40 corner: 705.0d@60 634@54.0d 610@50 630@50 610@40 corner: 630@60 685.0d@40 corner: 705.0d@60 705.0d@50 Витки М1 47.0d 8.0d 0.0d 685.0d@50 730@90 750@90 corner: 790@130 730@90 corner: 810@130 753.5d@103.5d 730@110 corner: 750@130 5 620@200 640@200 630@120 corner: 630@200 812@116.5d corner: 826.0d@123.5d 604.0d@196.5d corner: 618.0d@203.5d L4 Q 9.0d 790@120 810@120 790@110 corner: 810@130 730@120 I 750@120 705.0d@50 corner: 705.0d@120 L 730@50 750@50 640@60 660@60 corner: 681.0d@80 640@60 corner: 701.0d@80 664@73.5d 640@70 701.0d@70 13.0d 7.0d 0.0d 681.0d@70 701.0d@70 corner: 701.0d@70 R 730@70 750@70 830@50 870@60 890@60 corner: 911.0d@80 870@60 corner: 931.0d@80 894@73.5d 870@70 911.0d@70 931.0d@70 13.0d 7.0d 890@70 870@90 890@90 corner: 945.0d@130 870@90 corner: 965.0d@130 894@114.0d 870@100 890@100 862.0d@103.5d 870@120 47.0d 8.0d En 890@120 830@70 corner: 830@120 >L 14.0d 810@70 830@70 V 10.0d 810@50 830@50 corner: 830@50 870@50 890@50 950@50 9.0d 930@50 620@50 corner: 620@160 605.0d@156.5d corner: 618.0d@163.5d 952@46.5d corner: 965.0d@53.5d L3 3 620@160 640@160 4 620@180 640@180 616.0d@180.5d 6 St- 620@220 640@220 602.0d@224.0d 730@140 750@140 corner: 790@180 730@140 corner: 810@180 753.5d@153.5d 730@170 750@170 810@170 9.0d 790@170 620@170 corner: 620@240 812@166.5d corner: 825.0d@173.5d 605.0d@236.5d corner: 618.0d@243.5d L5 7 620@240 640@240 730@190 750@190 corner: 830@250 730@190 corner: 850@250 777.5d@203.5d 730@220 750@220 710.0d@223.5d 730@240 750@240 700@240 corner: 700@240 9.0d 680@240 700@240 1 640@120 580@120 corner: 580@240 9.0d 560@240 580@240 560@230 corner: 580@250 480@240 Sel 500@240 340@170 corner: 340@400 532@396.5d corner: 545.0d@403.5d 325.0d@236.5d corner: 338.0d@243.5d 575.0d@316.5d corner: 588.0d@323.5d 465.0d@236.5d corner: 478.0d@243.5d 415.0d@296.5d corner: 428.0d@303.5d 715.0d@166.5d corner: 728.0d@173.5d L2 Value 430@300 450@300 550@300 Q 9.0d 530@300 550@300 corner: 550@300 DSS 590@300 610@300 590@290 corner: 610@310 590@310 corner: 610@330 720@290 740@290 corner: 789.0d@310 720@290 corner: 809.0d@310 744@304.5d 720@300 Мотор 1 31 41.0d 9.0d 740@300 710@300 corner: 710@300 М1 15.0d 690@300 710@300 690@290 corner: 710@310 720@310 740@310 corner: 790.0d@330 720@310 corner: 810.0d@330 744@324.5d 720@310 corner: 740@330 720@320 Мотор 2 33 42.0d 9.0d 740@320 710@320 corner: 710@320 М2 16.0d 690@320 710@320 690@310 corner: 710@330 720@330 740@330 corner: 790.0d@350 720@330 corner: 810.0d@350 744@344.5d 720@330 corner: 740@350 720@340 Мотор 3 35 42.0d 9.0d 740@340 710@340 corner: 710@340 М3 16.0d 690@340 710@340 690@330 corner: 710@350 830@330 850@330 corner: 910@370 830@330 corner: 930@370 868.5d@343.5d 830@360 960@350 980@350 corner: 1031.0d@370 960@350 corner: 1051.0d@370 984@364.5d 960@360 Мотор 4 37 43.0d 9.0d 980@360 930@360 corner: 930@360 9.0d 910@360 930@360 1000 850@360 710@360 corner: 710@360 М4 17.0d 690@360 710@360 690@350 corner: 710@370 720@370 740@370 corner: 790.0d@390 720@370 corner: 810.0d@390 744@384.5d 720@380 Мотор 5 5 39 42.0d 9.0d 740@380 710@380 corner: 710@380 М5 16.0d 690@380 710@380 690@370 corner: 710@390 730@400 750@400 corner: 790@440 730@400 corner: 810@440 756.5d@414.5d 730@430 960@400 980@400 corner: 1035.0d@440 960@400 corner: 1055.0d@440 984@424.0d 820@380 840@380 corner: 920@420 820@380 corner: 940@420 852.0d@393.5d 940@410 Q 9.0d 920@410 940@410 corner: 940@410 960@410 980@410 960@430 47.0d 8.0d 980@430 810@430 corner: 810@430 9.0d 790@430 810@430 I 750@430 710@400 corner: 710@430 1ус М1 35.0d 690@400 710@400 690@390 corner: 710@410 730@460 750@460 corner: 790@500 730@460 corner: 810@500 756.5d@474.5d 730@490 960@460 980@460 corner: 1035.0d@500 960@460 corner: 1055.0d@500 984@484.0d 820@440 840@440 corner: 920@480 820@440 corner: 940@480 852.0d@453.5d 940@470 9.0d 920@470 940@470 corner: 940@470 960@470 980@470 960@490 47.0d 8.0d 980@490 810@490 corner: 810@490 9.0d 790@490 810@490 6 750@490 720@420 corner: 720@490 2ус М1 36.0d 690@420 710@420 690@410 corner: 710@430 135503960 140406851 129028707 164218629 134500011 Витки цикл 1 195055477 Витки цикл 2 184076526 Шаг 0 Стоп 255809151 Шаг 1 Вкл М1 20930224 Шаг 2 Вкл М2 13874478 Шаг 3 Вкл М3 193489491 Шаг 4 Вкл М5 254578547 Шаг 5 Вкл М1 72572001 Шаг 6 Вкл М2 50146803 Шаг 7 Вкл М5 760651 Шаг 8 Вкл М3, М4 266968111 Шаг 9 М4 216398638 уставка циклов 111676571 constant reset toMax 150@70 150@70 corner: 230.0d@227.0d Шаги: 0. Выкл 1. Мотор 1 2. Мотор 2 3. Мотор 3 4. Мотор 5 5. Мотор 1 6. Мотор 2 7. Мотор 5 8. Мотор 3 и 4 9. Мотор 4 Шаги: 29.0d 3@10.0d 7.0d 0. Выкл 39.0d 3@23.0d 8.0d 1. Мотор 1 56.0d 3@37.0d 9.0d 2. Мотор 2 55.0d 3@51.0d 9.0d 3. Мотор 3 55.0d 3@65.0d 9.0d 4. Мотор 5 55.0d 3@79.0d 9.0d 5. Мотор 1 57.0d 3@93.0d 9.0d 6. Мотор 2 57.0d 3@107.0d 9.0d 7. Мотор 5 55.0d 3@121.0d 9.0d 8. Мотор 3 и 4 74.0d 3@135.0d 9.0d 9. Мотор 4 56.0d 3@149.0d 9.0d (0 to: 90) (90 to: 180) пауза 26 W_m1 W_m2 Arduino Mega 2560 7 8 9 11 12 13 14 15 17 18 19 20 21 22 24 25 41 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 Общие сведения Arduino Mega построена на микроконтроллере ATmega2560 . Плата имеет 54 цифровых входа/выходов (14 из которых могут использоваться как выходы ШИМ), 16 аналоговых входов,4 последовательных порта UART, кварцевый генератор 16 МГц, USB коннектор, разъем питания, разъем ICSP и кнопка перезагрузки. Для работы необходимо подключить платформу к компьютеру посредством кабеля USB или подать питание при помощи адаптера AC/DC, или аккумуляторной батареей. Arduino Mega 2560 совместима со всеми платами расширения, разработанными для платформ Uno или Duemilanove. Краткие характеристики Микроконтроллер ATmega2560 Рабочее напряжение 5В Входное напряжение (рекомендуемое) 7-12В Входное напряжение (предельное) 6-20В Цифровые Входы/Выходы 54 (14 из которых могут работат также как выходы ШИМ) Аналоговые входы 16 Постоянный ток через вход/выход 40 mA Постоянный ток для вывода 3.3 В 50 mA Флеш-память 256 KB (из которых 8 КB используются для загрузчика) ОЗУ 8 KB Энергонезависимая память 4 KB Тактовая частота 16 MHz Питание Arduino Mega может получать питание как через подключение по USB, так и от внешнего источника питания. Источник питания выбирается автоматически. Внешнее питание (не USB) может подаваться через преобразователь напряжения AC/DC (блок питания) или аккумуляторной батареей. Преобразователь напряжения подключается посредством разъема 2.1 мм с положительным полюсом на центральном контакте. Провода от батареи подключаются к выводам Gnd и Vin разъема питания (POWER). Платформа может работать при внешнем питании от 6 В до 20 В. При напряжении питания ниже 7 В, вывод 5V может выдавать менее 5 В, при этом платформа может работать нестабильно. При использовании напряжения выше 12 В регулятор напряжения может перегреться и повредить плату. Рекомендуемый диапазон от 7 В до 12 В. Плата Mega2560, в отличие от предыдущих версий плат, не использует FTDI USB микроконтроллер. Для обмена данными по USB используется микроконтроллер Atmega8U2, запрограммированный как конвертер USB-to-serial. Выводы питания: VIN. Вход используется для подачи питания от внешнего источника (в отсутствие 5 В от разъема USB или другого регулируемого источника питания). Подача напряжения питания происходит через данный вывод. Если питание подается на разьем 2.1mm, то на этот вход можно запитаться. 5V. Регулируемый источник напряжения, используемый для питания микроконтроллера и компонентов на плате. Питание может подаваться от вывода VIN через регулятор напряжения, или от разъема USB, или другого регулируемого источника напряжения 5 В. 3V3. Напряжение на выводе 3.3 В генерируемое микросхемой FTDI на платформе. Максимальное потребление тока 50 мА. GND. Выводы заземления. Память Микроконтроллер ATmega2560 имеет: 256 кБ флеш-памяти для хранения кода программы (4 кБ используется для хранения загрузчика), 8 кБ ОЗУ и 4 Кб EEPROM Входы и Выходы Каждый из 54 цифровых выводов Mega, может настраиваться как вход или выход. Выводы работают при напряжении 5 В. Каждый вывод имеет нагрузочный резистор (стандартно отключен) 20-50 кОм и может пропускать до 40 мА. Некоторые выводы имеют особые функции: Последовательная шина: 0 (RX) и 1 (TX); Последовательная шина 1: 19 (RX) и 18 (TX); Последовательная шина 2: 17 (RX) и 16 (TX); Последовательная шина 3: 15 (RX) и 14 (TX). Выводы используются для получения (RX) и передачи (TX) данных TTL. Выводы 0 и 1 подключены к соответствующим выводам микросхемы последовательной шины ATmega8U2. Внешнее прерывание: 2 (прерывание 0), 3 (прерывание 1), 18 (прерывание 5), 19 (прерывание 4), 20 (прерывание 3), и 21 (прерывание 2). Данные выводы могут быть сконфигурированы на вызов прерывания либо на младшем значении, либо на переднем или заднем фронте, или при изменении значения. PWM: 2 до 13 и 44-46. Любой из выводов обеспечивает ШИМ с разрешением 8 бит при помощи функции analogWrite(). SPI: 50 (MISO), 51 (MOSI), 52 (SCK), 53 (SS). Посредством данных выводов осуществляется связь SPI, например, используя библиотеку SPI. Также выводы SPI могут быть выведены на блоке ICSP, который совместим с платформами Uno, Duemilanove и Diecimila. LED: 13. Встроенный светодиод, подключенный к цифровому выводу 13. Если значение на выводе имеет высокий потенциал, то светодиод горит. I2C: 20 (SDA) и 21 (SCL). Посредством выводов осуществляется связь I2C (TWI). Расположение выводов на платформе Mega не соответствует расположению Duemilanove или Diecimila. На платформе Mega2560 имеется 16 аналоговых входов, каждый разрешением 10 бит (т.е. может принимать 1024 различных значения). Дополнительная пара выводов платформы: AREF. Опорное напряжение для аналоговых входов. Reset. Низкий уровень сигнала на выводе перезагружает микроконтроллер. Обычно применяется для подключения кнопки перезагрузки на плате расширения, закрывающей доступ к кнопке на самой плате Arduino. Связь На платформе Arduino Mega2560 установлено несколько устройств для осуществления связи с компьютером, другими устройствами Arduino или микроконтроллерами. ATmega2560 поддерживает 4 порта последовательной передачи данных UART для TTL. Установленная на плате микросхема ATmega8U2 направляет один из интерфейсов через USB, предоставляя виртуальный COM порт программам на компьютере (машинам под упровлением Windows для корректной работы с виртуальным COM портом необоходим .inf файл, системы на базе OSX и Линукс, автоматически распознаю COM порт). Утилита мониторинга последовательной шины (Serial Monitor) среды разработки Arduino позволяет посылать и получать текстовые данные при подключении к платформе. Светодиоды RX и TX на платформе будут мигать при передаче данных через микросхему ATmega8U2 и USB подключение (но не при использовании последовательной передачи через выводы 0 и 1). ATmega2560 поддерживает интерфейсы I2C (TWI) и SPI. Автоматическая (программная) перезагрузка Mega разработана таким образом, чтобы перед записью нового кода перезагрузка осуществлялась самой программой, а не нажатием кнопки на платформе. Одна из линий ATmega8U2, управляющих потоком данных (DTR), подключена к выводу перезагрузки микроконтроллера ATmega2560 через конденсатор 100 нФ. Активация данной линии, т.е. подача сигнала низкого уровня, перезагружает микроконтроллер. Программа Arduino, используя данную функцию, загружает код одним нажатием кнопки Upload в самой среде программирования. Подача сигнала низкого уровня по линии DTR скоординирована с началом записи кода, что сокращает таймаут загрузчика. Функция имеет еще одно применение. Перезагрузка Mega2560 происходит каждый раз при подключении к программе Arduino на компьютере с ОС Mac X или Linux (через USB). Следующие полсекунды после перезагрузки работает загрузчик. Во время программирования происходит задержка нескольких первых байтов кода во избежание получения платформой некорректных данных (всех, кроме кода новой программы). Если производится разовая отладка скетча, записанного в платформу, или ввод каких-либо других данных при первом запуске, необходимо убедиться, что программа на компьютере ожидает в течение секунды перед передачей данных. На Mega2560 имеется возможность отключить линию автоматической перезагрузки разрывом соответствующей линии. Контакты микросхем с обоих концов линии затем могут быть соединены с целью восстановления. Линия маркирована «RESET-EN». Отключить автоматическую перезагрузку также возможно подключив резистор 110 Ом между источником 5 В и данной линией. Токовая защита разъема USB В Arduino Mega2560 встроена перезагружаемая плавкая вставка, защищающая порт USB компьютера от токов короткого замыкания и сверхтоков. Хотя практически все компьютеры имеют подобную защиту, тем не менее, данный предохранитель обеспечивает дополнительный барьер. Предохранитель автоматически прерывает обмен данных при прохождении тока более 500 мА через USB порт. Физические характеристики и совместимость с платами расширения Длинна и ширина печатной платы Mega2560 составляют 10,2 и 5.3 см соответственно. Разъем USB и силовой разъем выходят за границы данных размеров. Три отверстия в плате позволяют закрепить ее на поверхности. Расстояние между цифровыми выводами 7 и 8 равняется 0,4 см, хотя между другими выводами оно составляет 0,25 см. Arduino Mega2560 совместима со всеми платами расширения, разработанными для платформ Uno, Duemilanove или Diecimila. Расположение выводов 0 – 13 (и примыкающих AREF и GND), аналоговых входов 0 – 5, силового разъема, блока ICSP, порта последовательной передачи UART (выводы 0 и 1) и внешнего прерывания 0 и 1 (выводы 2 и 3) на Mega соответствует расположению на вышеприведенных платформах. Связь SPI может осуществляться через блок ICSP, как на платформах Duemilanove / Diecimila, так и на Mega2560. Однако расположение выводов (20 и 21) связи I2C на платформе Mega не соответствуют расположению тех же выводов (аналоговые входы 4 и 5) на Duemilanove / Diecimila. 9804 6eecad4c-bea7-4184-8a1c-e561047851ff.png c6b614c0-06c5-4439-90f8-9a55510ecd93.png D D 4096 uno mega atmega2560 General information The Arduino Mega is built on ATmega2560 microcontroller . The Board has 54 digital inputs/outputs (of which 14 can be used as PWM outputs), 16 analog inputs,4 serial port UART crystal oscillator 16 MHz, USB connector, power Jack, ICSP and the reset button. For the work necessary to connect the platform to a computer via a USB cable or power it with a AC/DC adapter or battery to get started. Arduino Mega 2560 compatible with all expansion boards designed for duemilanove or Duemilanove. A brief description Microcontroller ATmega2560 Working voltage 5V Input voltage (recommended) 7-12V Input voltage (limits) 6-20V Digital Inputs/Outputs 54 (14 of which can the work is also as outputs PWM) Analog inputs 16 DC current through input/output 40 mA DC current for 3.3 V pin 50 mA Flash memory 256 KB (from which 8 KV are used for loader) RAM 8 KB Nonvolatile memory 4 KB Clock speed 16 MHz Food Arduino Mega can be powered via USB connection or with an external power source. The power source is selected automatically. External power (not USB) can be supplied via an AC/DC adapter (wall-wart) or battery. The voltage Converter is connected by connector 2.1 mm with positive pole at the Central contact. The wires from the battery connect to the Gnd and Vin pin headers of the POWER connector). The platform can work with external supply from 6 V to 20 V. When the supply voltage is below 7 V, the output of 5V can give less than 5, the platform may become unstable. When using voltage higher than 12V, the voltage regulator may overheat and damage the Board. The recommended range is from 7 V to 12 V. Board Mega2560, unlike previous versions of the boards does not use the FTDI USB microcontroller. To communicate over USB uses the Atmega8U2 microcontroller programmed as a USB Converter to serial. Power pins: VIN. Input is used to supply power from an external source (in the absence of the 5 volts from the USB connection or other regulated power source). The power supply takes place through this pin. If power is available on connector 2.1 mm, this input can be energized. 5V. Voltage source used to power the microcontroller and other components on the Board. Power may be supplied from VIN via a voltage regulator or from USB or another regulated voltage source of 5 V. 3V3. The voltage at the output of the 3.3 V FTDI chip generated on the platform. The maximum current consumption of 50 mA. GND. The conclusions of the ground. Memory Microcontroller ATmega2560 has 256 KB of flash memory for storing program code (4 KB is used to store the bootloader), 8 KB of SRAM and 4 KB EEPROM Inputs and Outputs Each of the 54 digital pins of the Mega, can be configured as input or output. Insights operate at a voltage of 5 V. Each output has a load resistor (default off) 20-50 ohms and can handle up to 40 mA. Some pins have special functions: Serial bus: 0 (RX) and 1 (TX); Serial bus 1: 19 (RX) and 18 (TX); Serial bus 2: 17 (RX) and 16 (TX); Serial bus 3: 15 (RX) and 14 (TX). Pins are used to receive (RX) and transmit (TX) TTL serial data. Pins 0 and 1 connected to the corresponding pins of the serial chip the ATmega8U2. External interrupt: 2 (interrupt 0), 3 (interrupt 1), 18 (interrupt 5), 19 (interrupt 4), 20 (interrupt 3), and 21 (interrupt 2). These pins can be configured for call interruption or the lower value, either for front or rear front or when you change the value. PWM: 2 to 13 and 44 to 46. Any insights provides PWM resolution of 8 bits by using the analogWrite(). SPI: 50 (MISO), 51 (MOSI), 52 (SCK), 53 (SS). These pins support SPI communication, for example, using the SPI library. Also the SPI pins are to be out on the ICSP header, which is compatible with Uno, Duemilanove and Diecimila. LED: 13. Built-in led connected to digital pin 13. If the value on the output is held high, the led is illuminated. I2C: 20 (SDA) and 21 (SCL). By means of pins communicates I2C (TWI). The Pinout on the Mega platform doesn't match the location Duemilanove or Diecimila. On the platform Mega2560 has 16 analog inputs each with 10 bits of resolution (i.e. 1024 different values). An additional pair of pins on the Board: AREF. The reference voltage for the analog inputs. Reset. The low level signal at pin resets the microcontroller. Typically used to connect the reset button on the expansion card, closing access to the button on the Arduino Board. Link The Arduino Mega2560 has a number of facilities for communicating with a computer, another Arduino, or other microcontrollers. ATmega2560 supports 4 ports serial data UART to TTL. Mounted on the Board chip ATmega8U2 sends one of the interfaces via USB providing a virtual COM port to software on the computer (machines under control of Windows to work correctly with virtual COM port neobhodim .inf file, a system based on OSX and Linux automatically recognize COM port). Monitoring utility Serial Monitor of the Arduino development environment allows you to send and receive text data when you connect to the platform. The RX and TX LEDs on the Board will flash when data transfer via the ATmega8U2 chip and USB connection (but not for serial communication via pins 0 and 1). The ATmega2560 also supports I2C (TWI) and SPI communication. Automatic (software) reset Mega is designed in such a way that the new code before recording a restart is performed by the program, instead of pressing buttons on the platform. One of the lines the ATmega8U2 that controls the data flow (DTR), connected to the output of the restart of the microcontroller ATmega2560 via a 100 nF capacitor. Activation of this line, i.e. the signal of the low level, resets the microcontroller. The Arduino software uses this capability to upload code by simply pressing the Upload button in the Arduino environment. Supply low-level signal at the DTR coordinated with the beginning of writing code that reduces the loader timeout. The function has another use. Mega2560 reboot happens every time you connect to the Arduino program on a computer with Mac OS X or Linux (via USB). Following half a second after the reboot bootloader works. During programming intercept the first few bytes of code to avoid incorrect data platform (all except the code of the new program). If you are debugging one-off sketch recorded in the platform or entering any other data when you first start, you must make sure that the computer waits for a second before transmitting the data. On the Mega2560 has an option to disable the auto-restart gap of the respective line. The contacts of the chips with both ends of the line can then be connected to restore. The line labeled "RESET-EN". Disable automatic restart also possible by connecting a 110 Ohm resistor with a 5 V source and this line. Current protection of the USB connector The Arduino Mega2560 has a resettable fuse that protects the computer's USB ports from short-circuit currents and overcurrents. Although virtually all computers have this protection, however, this fuse provides an additional barrier. The fuse automatically interrupts the exchange of data with the passage of the current more than 500 mA via USB port. Physical characteristics and compatibility Length and width of the Mega2560 PCB are 10.2 and 5.3 cm, respectively. USB connector and power Jack extending beyond the former dimensions. Three screw holes allow the Board to secure it to the surface. The distance between digital pins 7 and 8 is equal to 0.4 cm, although other findings, it is 0,25 m. Arduino Mega2560 compatible with all expansion boards designed for the Uno, Duemilanove or Diecimila. The location of the pins 0 – 13 (and the adjacent AREF and GND pins), analog inputs 0 – 5, power Jack, ICSP header port serial UART (pins 0 and 1) and the external interrupts 0 and 1 (pins 2 and 3) on the Mega corresponds to the location on the above platforms. SPI communication can be done through the ICSP header on both the Duemilanove / UNO and Mega2560. However, the arrangement of leads (20 and 21) I2C communication on the platform of Mega not correspond to the location of the same pins (analog inputs 4 and 5) on the Duemilanove / Diecimila. 9600 arduinoIDE 0@0 LibraryRoot LibraryGroup-Базовые элементы LibraryGroup-Триггеры LibraryGroup-Таймеры LibraryGroup-Счетчики LibraryGroup-Переключатель LibraryGroup-Дисплеи LibraryGroup-Строки LibraryGroup-Массивы LibraryGroup-Конвертация типов LibraryGroup-Другие LibraryGroup-Меню LibraryGroup-Командоаппарат 0@-1224 536 0@-60 262 367 0@-48 root input globalVariable