Arduino Mega Server

Модератор: Alex

Хиасмер
Благодарил (а): 0
Поблагодарили: 0

Re: Arduino Mega Server

Сообщение Хиасмер » Пт ноя 27, 2015 5:55 pm

...
Последний раз редактировалось Хиасмер Вс апр 08, 2018 12:19 am, всего редактировалось 1 раз.
Alex
Сообщения: 2357
Зарегистрирован: Пт апр 20, 2012 12:53 pm
Благодарил (а): 42 раза
Поблагодарили: 262 раза

Re: Arduino Mega Server

Сообщение Alex » Пт ноя 27, 2015 6:45 pm

Переключение происходит выбором папки для скетчей:

Файл / Настройки / Размещение папки скетчей.

Либо

<стандартно>

либо

Sketches\ams_due\Arduino <--------------------
Вот это очень важный пункт инструкции. Без его выполнения будет примерно то же, что и у вас.
Хиасмер
Благодарил (а): 0
Поблагодарили: 0

Re: Arduino Mega Server

Сообщение Хиасмер » Пт ноя 27, 2015 8:15 pm

...
Последний раз редактировалось Хиасмер Вс апр 08, 2018 12:19 am, всего редактировалось 1 раз.
Alex
Сообщения: 2357
Зарегистрирован: Пт апр 20, 2012 12:53 pm
Благодарил (а): 42 раза
Поблагодарили: 262 раза

Re: Arduino Mega Server

Сообщение Alex » Пт ноя 27, 2015 9:10 pm

Здесь принципиальное значение имеет расположение папок. Попробуйте распаковать архив, начиная с папки «Sketches» включительно, ничего не менять и заново указать путь в ide.

C:\Sketches\ams_due\Arduino <--- вот такой должен быть путь указан, кроме диска, он может быть любым. Ну и файлы так расположить.

Если не заработает, то можно попробовать обновить драйвер 1307, но в архиве драйвер реально рабочий (взят из работающей системы).
roselines
Сообщения: 1
Зарегистрирован: Пт ноя 27, 2015 11:41 pm
Благодарил (а): 0
Поблагодарили: 0

Re: Arduino Mega Server

Сообщение roselines » Пт ноя 27, 2015 11:54 pm

Alex, добрый вечер!
Подскажите будет ли работать AMS на Ethernet чипе 28J60?
У меня есть работающая связка Мега+28J60 - на ней сделана простейшая система контроля и управления температурой с очень маленьким и неказистым вэб севером внутри для просмотра температуры и регулировки порогов срабатывания реле.
Хотел бы попробовать запустить AMS.
Как я понял из этой статьи http://habrahabr.ru/post/259615/ существует на чип 28J60 библиотека UIPEthernet.h которая позволяет не переписывать код написанный под библиотеку Ethernet.h
Хотелось бы выяснить ваше мнение и может быть рекомендации по подключению.
Alex
Сообщения: 2357
Зарегистрирован: Пт апр 20, 2012 12:53 pm
Благодарил (а): 42 раза
Поблагодарили: 262 раза

Re: Arduino Mega Server

Сообщение Alex » Сб ноя 28, 2015 9:21 am

Статья и обсуждение очень интересные, почерпнул для себя много идей.

По поводу вопроса. Концептуально, когда доступен Ethernet Shield 2 на чипе W5500, все остальные варианты не имеют никакого смысла. Если бы речь шла только обо мне, то я бы выбросил все Ethernet Shield и забыл о них как о страшном сне и купил бы себе Ethernet Shield 2, сколько их нужно.

Но я, так сказать, не один и у народа большое количество уже купленных Ethernet Shield и идея выкинуть их на помойку явно не найдёт отклика. Поэтому придётся поддерживать кодовую базу для этой платы.

А 28J60 стоит ещё на ступеньку ниже, чем Ethernet Shield и интеграция его в АМС может рассматриваться только в качестве академического интереса. Хотя плюс будет в расширении поддерживаемого железа и я «за».

Из статьи следует, что нужно только заменить вызов стандартных библиотек на специализированную. Вообще удивительно, - если заработает, то это будет чудо. Если не заработает, то, при соответствующем упорстве, я думаю, можно заставить это работать.
man8007
Сообщения: 15
Зарегистрирован: Сб ноя 28, 2015 9:50 pm
Благодарил (а): 4 раза
Поблагодарили: 0

Re: Arduino Mega Server

Сообщение man8007 » Вс ноя 29, 2015 9:09 pm

Добрый вечер форумчяни. Нужна ваша помошь. Неделю пытаюсь установить мега сервер (по покрышкам стучал , фары протирал :cry: ) лезит кучя ошибок драва бросил(в библиотеку) а (библиотекарша) ругается что книг нету :twisted: (1.0.1)
arduino_mega_server.cpp:1276:23: warning: Ethernet2.h: No such file or directory
arduino_mega_server.cpp:1279:26: warning: EthernetUdp2.h: No such file or directory
arduino_mega_server.cpp:1280:21: warning: Twitter.h: No such file or directory
arduino_mega_server.cpp: In function 'void setup()':
arduino_mega_server.cpp:301: warning: only initialized variables can be placed into program memory area
arduino_mega_server.cpp:332: warning: only initialized variables can be placed into program memory area
arduino_mega_server.cpp:334: warning: only initialized variables can be placed into program memory area
arduino_mega_server.cpp:337: warning: only initialized variables can be placed into program memory area
arduino_mega_server.cpp: In function 'void loop()':
arduino_mega_server.cpp:420: warning: comparison between signed and unsigned integer expressions
arduino_mega_server:283: error: 'freqWorks' was not declared in this scope
arduino_mega_server:287: error: 'freqWorks' was not declared in this scope
arduino_mega_server.cpp: In function 'void electroWorks()':
arduino_mega_server.cpp:714: warning: deprecated conversion from string constant to 'char*'
arduino_mega_server.cpp: In function 'void sendReqSensorFloat(char*, float)':
arduino_mega_server.cpp:1256: warning: format '%F' expects type 'double', but argument 4 has type 'float'
arduino_mega_server.cpp: At global scope:
mega:45: error: redefinition of 'byte modulRtc'
arduino_mega_server:50: error: 'byte modulRtc' previously defined here
mega:46: error: redefinition of 'byte modulEthernet'
arduino_mega_server:51: error: 'byte modulEthernet' previously defined here
mega:47: error: redefinition of 'byte modulSdCard'
arduino_mega_server:52: error: 'byte modulSdCard' previously defined here
mega:48: error: redefinition of 'byte modulServer'
arduino_mega_server:53: error: 'byte modulServer' previously defined here
mega:49: error: redefinition of 'byte modulMajor'
arduino_mega_server:54: error: 'byte modulMajor' previously defined here
mega:50: error: redefinition of 'byte modulLaurent'
arduino_mega_server:55: error: 'byte modulLaurent' previously defined here
mega:51: error: redefinition of 'byte modulPing'
arduino_mega_server:56: error: 'byte modulPing' previously defined here
mega:52: error: redefinition of 'byte modulUpload'
arduino_mega_server:57: error: 'byte modulUpload' previously defined here
mega:53: error: redefinition of 'byte modulPirs'
arduino_mega_server:58: error: 'byte modulPirs' previously defined here
mega:54: error: redefinition of 'byte modulContacts'
arduino_mega_server:59: error: 'byte modulContacts' previously defined here
mega:55: error: redefinition of 'byte modulTemp'
arduino_mega_server:60: error: 'byte modulTemp' previously defined here
mega:56: error: redefinition of 'byte modulElectro'
arduino_mega_server:61: error: 'byte modulElectro' previously defined here
mega:57: error: redefinition of 'byte modulLeds'
arduino_mega_server:62: error: 'byte modulLeds' previously defined here
mega:58: error: redefinition of 'byte modulKeys'
arduino_mega_server:63: error: 'byte modulKeys' previously defined here
mega:61: error: redefinition of 'char buf [200]'
arduino_mega_server:66: error: 'char buf [200]' previously declared here
mega:64: error: redefinition of 'time_t prevEventElectroCycle'
arduino_mega_server:90: error: 'time_t prevEventElectroCycle' previously declared here
mega:65: error: redefinition of 'time_t prevEventMegaLive'
arduino_mega_server:91: error: 'time_t prevEventMegaLive' previously declared here
mega:67: error: redefinition of 'char fn [20]'
arduino_mega_server:94: error: 'char fn [20]' previously defined here
mega:68: error: redefinition of 'char SELF_NAME []'
arduino_mega_server:95: error: 'char SELF_NAME [5]' previously defined here
mega:70: error: redefinition of 'byte MODE_SERVER'
arduino_mega_server:97: error: 'byte MODE_SERVER' previously defined here
mega:71: error: redefinition of 'byte MODE_UPDATE'
arduino_mega_server:98: error: 'byte MODE_UPDATE' previously defined here
mega:72: error: redefinition of 'byte mode'
arduino_mega_server:99: error: 'byte mode' previously declared here
mega:74: error: redefinition of 'boolean LED_state [4]'
arduino_mega_server:101: error: 'boolean LED_state [4]' previously defined here
mega:75: error: redefinition of 'boolean LED_state2 [4]'
arduino_mega_server:102: error: 'boolean LED_state2 [4]' previously defined here
mega:76: error: redefinition of 'boolean buttonElectro'
arduino_mega_server:103: error: 'boolean buttonElectro' previously defined here
mega:79: error: redefinition of 'long unsigned int timeSec'
arduino_mega_server:107: error: 'long unsigned int timeSec' previously declared here
mega:80: error: redefinition of 'long unsigned int timer1s'
arduino_mega_server:108: error: 'long unsigned int timer1s' previously declared here
mega:80: error: redefinition of 'boolean cycle1s'
arduino_mega_server:108: error: 'boolean cycle1s' previously defined here
mega:81: error: redefinition of 'long unsigned int timer4s'
arduino_mega_server:109: error: 'long unsigned int timer4s' previously declared here
mega:81: error: redefinition of 'boolean cycle4s'
arduino_mega_server:109: error: 'boolean cycle4s' previously defined here
mega:82: error: redefinition of 'long unsigned int timer20s'
arduino_mega_server:110: error: 'long unsigned int timer20s' previously declared here
mega:82: error: redefinition of 'boolean cycle20s'
arduino_mega_server:110: error: 'boolean cycle20s' previously defined here
mega:83: error: redefinition of 'long unsigned int timer30s'
arduino_mega_server:111: error: 'long unsigned int timer30s' previously declared here
mega:83: error: redefinition of 'boolean cycle30s'
arduino_mega_server:111: error: 'boolean cycle30s' previously defined here
mega:84: error: redefinition of 'long unsigned int timer1m'
arduino_mega_server:112: error: 'long unsigned int timer1m' previously declared here
mega:84: error: redefinition of 'boolean cycle1m'
arduino_mega_server:112: error: 'boolean cycle1m' previously defined here
mega:85: error: redefinition of 'long unsigned int timer3m'
arduino_mega_server:113: error: 'long unsigned int timer3m' previously declared here
mega:85: error: redefinition of 'boolean cycle3m'
arduino_mega_server:113: error: 'boolean cycle3m' previously defined here
mega:86: error: redefinition of 'long unsigned int timer5m'
arduino_mega_server:114: error: 'long unsigned int timer5m' previously declared here
mega:86: error: redefinition of 'boolean cycle5m'
arduino_mega_server:114: error: 'boolean cycle5m' previously defined here
mega:87: error: redefinition of 'int startSendTime'
arduino_mega_server:115: error: 'int startSendTime' previously defined here
mega:90: error: redefinition of 'File SDroot'
arduino_mega_server:118: error: 'File SDroot' previously declared here
mega:91: error: redefinition of 'File SDdir'
arduino_mega_server:119: error: 'File SDdir' previously declared here
mega:92: error: redefinition of 'File entry'
arduino_mega_server:120: error: 'File entry' previously declared here
mega:93: error: redefinition of 'Sd2Card card'
arduino_mega_server:121: error: 'Sd2Card card' previously declared here
mega:94: error: redefinition of 'SdVolume volume'
arduino_mega_server:122: error: 'SdVolume volume' previously declared here
mega:95: error: redefinition of 'SdFile root'
arduino_mega_server:123: error: 'SdFile root' previously declared here
mega:96: error: redefinition of 'const int chipSelect'
arduino_mega_server:124: error: 'const int chipSelect' previously defined here
mega:101: error: redefinition of 'const int LED_EMPTY'
arduino_mega_server:129: error: 'const int LED_EMPTY' previously defined here
mega:102: error: redefinition of 'const int LED_PIR_01'
arduino_mega_server:130: error: 'const int LED_PIR_01' previously defined here
mega:103: error: redefinition of 'const int LED_ANALOG_01'
arduino_mega_server:131: error: 'const int LED_ANALOG_01' previously defined here
mega:104: error: redefinition of 'int MODE'
arduino_mega_server:132: error: 'int MODE' previously defined here
arduino_mega_server.cpp: In function 'void setup()':
mega:110: error: redefinition of 'void setup()'
arduino_mega_server:157: error: 'void setup()' previously defined here
arduino_mega_server.cpp:1389: warning: only initialized variables can be placed into program memory area
arduino_mega_server.cpp: In function 'void loop()':
mega:193: error: redefinition of 'void loop()'
arduino_mega_server:239: error: 'void loop()' previously defined here
arduino_mega_server.cpp:1509: warning: comparison between signed and unsigned integer expressions
arduino_mega_server.cpp: In function 'void pirsWorks()':
arduino_mega_server.cpp:1651: warning: deprecated conversion from string constant to 'char*'
arduino_mega_server.cpp:1660: warning: deprecated conversion from string constant to 'char*'
arduino_mega_server.cpp:1671: warning: deprecated conversion from string constant to 'char*'
arduino_mega_server.cpp:1680: warning: deprecated conversion from string constant to 'char*'
arduino_mega_server.cpp:1711: warning: deprecated conversion from string constant to 'char*'
arduino_mega_server.cpp:1720: warning: deprecated conversion from string constant to 'char*'
arduino_mega_server.cpp:1731: warning: deprecated conversion from string constant to 'char*'
arduino_mega_server.cpp:1740: warning: deprecated conversion from string constant to 'char*'
arduino_mega_server.cpp:1750: warning: deprecated conversion from string constant to 'char*'
arduino_mega_server.cpp:1759: warning: deprecated conversion from string constant to 'char*'
arduino_mega_server.cpp: In function 'void SDcardInit()':
arduino_mega_server.cpp:1972: warning: deprecated conversion from string constant to 'char*'
arduino_mega_server.cpp: In function 'void serverWorks()':
arduino_mega_server.cpp:2167: warning: array subscript has type 'char'
arduino_mega_server.cpp:2181: warning: deprecated conversion from string constant to 'char*'
arduino_mega_server.cpp: In function 'void sendXMLtitle(EthernetClient)':
arduino_mega_server.cpp:2275: warning: only initialized variables can be placed into program memory area
arduino_mega_server.cpp: In function 'void parseRequest(EthernetClient)':
arduino_mega_server.cpp:2326: warning: deprecated conversion from string constant to 'char*'
arduino_mega_server.cpp:2326: warning: deprecated conversion from string constant to 'char*'
arduino_mega_server.cpp:2330: warning: deprecated conversion from string constant to 'char*'
arduino_mega_server.cpp:2330: warning: deprecated conversion from string constant to 'char*'
arduino_mega_server.cpp:2336: warning: deprecated conversion from string constant to 'char*'
arduino_mega_server.cpp:2336: warning: deprecated conversion from string constant to 'char*'
arduino_mega_server.cpp:2351: warning: deprecated conversion from string constant to 'char*'
arduino_mega_server.cpp:2351: warning: deprecated conversion from string constant to 'char*'
arduino_mega_server.cpp:2352: warning: deprecated conversion from string constant to 'char*'
arduino_mega_server.cpp:2353: warning: deprecated conversion from string constant to 'char*'
arduino_mega_server.cpp:2354: warning: deprecated conversion from string constant to 'char*'
arduino_mega_server.cpp:2355: warning: deprecated conversion from string constant to 'char*'
arduino_mega_server.cpp:2366: warning: deprecated conversion from string constant to 'char*'
arduino_mega_server.cpp:2371: warning: deprecated conversion from string constant to 'char*'
arduino_mega_server.cpp:2375: warning: deprecated conversion from string constant to 'char*'
arduino_mega_server.cpp:2379: warning: deprecated conversion from string constant to 'char*'
arduino_mega_server.cpp:2384: warning: deprecated conversion from string constant to 'char*'
arduino_mega_server.cpp:2388: warning: deprecated conversion from string constant to 'char*'
arduino_mega_server.cpp:2392: warning: deprecated conversion from string constant to 'char*'
arduino_mega_server.cpp: In function 'void sendContacts(EthernetClient)':
arduino_mega_server.cpp:2400: warning: deprecated conversion from string constant to 'char*'
arduino_mega_server.cpp:2401: warning: deprecated conversion from string constant to 'char*'
arduino_mega_server.cpp: In function 'void sendFreeRAM(EthernetClient)':
arduino_mega_server.cpp:2406: warning: deprecated conversion from string constant to 'char*'
arduino_mega_server.cpp:2406: warning: deprecated conversion from string constant to 'char*'
arduino_mega_server.cpp: In function 'void sendPirs(EthernetClient)':
arduino_mega_server.cpp:2411: warning: deprecated conversion from string constant to 'char*'
arduino_mega_server.cpp:2412: warning: deprecated conversion from string constant to 'char*'
arduino_mega_server.cpp:2413: warning: deprecated conversion from string constant to 'char*'
arduino_mega_server.cpp:2414: warning: deprecated conversion from string constant to 'char*'
arduino_mega_server.cpp:2415: warning: deprecated conversion from string constant to 'char*'
arduino_mega_server.cpp:2416: warning: deprecated conversion from string constant to 'char*'
arduino_mega_server.cpp: In function 'void sendElectro(EthernetClient)':
arduino_mega_server.cpp:2422: warning: deprecated conversion from string constant to 'char*'
arduino_mega_server.cpp:2422: warning: deprecated conversion from string constant to 'char*'
arduino_mega_server.cpp:2423: warning: deprecated conversion from string constant to 'char*'
arduino_mega_server.cpp:2424: warning: deprecated conversion from string constant to 'char*'
arduino_mega_server.cpp:2425: warning: deprecated conversion from string constant to 'char*'
arduino_mega_server.cpp:2426: warning: deprecated conversion from string constant to 'char*'
arduino_mega_server.cpp:2427: warning: deprecated conversion from string constant to 'char*'
arduino_mega_server.cpp:2428: warning: deprecated conversion from string constant to 'char*'
arduino_mega_server.cpp:2429: warning: deprecated conversion from string constant to 'char*'
arduino_mega_server.cpp:2430: warning: deprecated conversion from string constant to 'char*'
arduino_mega_server.cpp:2431: warning: deprecated conversion from string constant to 'char*'
arduino_mega_server.cpp:2432: warning: deprecated conversion from string constant to 'char*'
arduino_mega_server.cpp:2433: warning: deprecated conversion from string constant to 'char*'
arduino_mega_server.cpp:2434: warning: deprecated conversion from string constant to 'char*'
arduino_mega_server.cpp:2435: warning: deprecated conversion from string constant to 'char*'
arduino_mega_server.cpp: In function 'void sendEventsList(EthernetClient)':
arduino_mega_server.cpp:2441: warning: deprecated conversion from string constant to 'char*'
arduino_mega_server.cpp:2442: warning: deprecated conversion from string constant to 'char*'
arduino_mega_server.cpp:2443: warning: deprecated conversion from string constant to 'char*'
arduino_mega_server.cpp:2444: warning: deprecated conversion from string constant to 'char*'
arduino_mega_server.cpp:2445: warning: deprecated conversion from string constant to 'char*'
arduino_mega_server.cpp:2446: warning: deprecated conversion from string constant to 'char*'
arduino_mega_server.cpp:2447: warning: deprecated conversion from string constant to 'char*'
arduino_mega_server.cpp:2448: warning: deprecated conversion from string constant to 'char*'
arduino_mega_server.cpp:2449: warning: deprecated conversion from string constant to 'char*'
arduino_mega_server.cpp:2450: warning: deprecated conversion from string constant to 'char*'
arduino_mega_server.cpp: In function 'void sendModules(EthernetClient)':
arduino_mega_server.cpp:2455: warning: deprecated conversion from string constant to 'char*'
arduino_mega_server.cpp:2455: warning: deprecated conversion from string constant to 'char*'
arduino_mega_server.cpp:2456: warning: deprecated conversion from string constant to 'char*'
arduino_mega_server.cpp:2456: warning: deprecated conversion from string constant to 'char*'
arduino_mega_server.cpp:2457: warning: deprecated conversion from string constant to 'char*'
arduino_mega_server.cpp:2457: warning: deprecated conversion from string constant to 'char*'
arduino_mega_server.cpp:2458: warning: deprecated conversion from string constant to 'char*'
arduino_mega_server.cpp:2458: warning: deprecated conversion from string constant to 'char*'
arduino_mega_server.cpp:2459: warning: deprecated conversion from string constant to 'char*'
arduino_mega_server.cpp:2459: warning: deprecated conversion from string constant to 'char*'
arduino_mega_server.cpp:2460: warning: deprecated conversion from string constant to 'char*'
arduino_mega_server.cpp:2460: warning: deprecated conversion from string constant to 'char*'
arduino_mega_server.cpp:2461: warning: deprecated conversion from string constant to 'char*'
arduino_mega_server.cpp:2461: warning: deprecated conversion from string constant to 'char*'
arduino_mega_server.cpp:2462: warning: deprecated conversion from string constant to 'char*'
arduino_mega_server.cpp:2462: warning: deprecated conversion from string constant to 'char*'
arduino_mega_server.cpp:2463: warning: deprecated conversion from string constant to 'char*'
arduino_mega_server.cpp:2463: warning: deprecated conversion from string constant to 'char*'
arduino_mega_server.cpp:2464: warning: deprecated conversion from string constant to 'char*'
arduino_mega_server.cpp:2464: warning: deprecated conversion from string constant to 'char*'
arduino_mega_server.cpp:2465: warning: deprecated conversion from string constant to 'char*'
arduino_mega_server.cpp:2465: warning: deprecated conversion from string constant to 'char*'
arduino_mega_server.cpp:2466: warning: deprecated conversion from string constant to 'char*'
arduino_mega_server.cpp:2466: warning: deprecated conversion from string constant to 'char*'
arduino_mega_server.cpp:2467: warning: deprecated conversion from string constant to 'char*'
arduino_mega_server.cpp:2467: warning: deprecated conversion from string constant to 'char*'
arduino_mega_server.cpp:2468: warning: deprecated conversion from string constant to 'char*'
arduino_mega_server.cpp:2468: warning: deprecated conversion from string constant to 'char*'
arduino_mega_server.cpp: In function 'void sendDigitalPorts(EthernetClient)':
arduino_mega_server.cpp:2472: warning: deprecated conversion from string constant to 'char*'
arduino_mega_server.cpp:2472: warning: deprecated conversion from string constant to 'char*'
arduino_mega_server.cpp:2473: warning: deprecated conversion from string constant to 'char*'
arduino_mega_server.cpp:2473: warning: deprecated conversion from string constant to 'char*'
arduino_mega_server.cpp:2474: warning: deprecated conversion from string constant to 'char*'
arduino_mega_server.cpp:2474: warning: deprecated conversion from string constant to 'char*'
arduino_mega_server.cpp:2475: warning: deprecated conversion from string constant to 'char*'
arduino_mega_server.cpp:2475: warning: deprecated conversion from string constant to 'char*'
arduino_mega_server.cpp:2476: warning: deprecated conversion from string constant to 'char*'
arduino_mega_server.cpp:2476: warning: deprecated conversion from string constant to 'char*'
arduino_mega_server.cpp:2477: warning: deprecated conversion from string constant to 'char*'
arduino_mega_server.cpp:2477: warning: deprecated conversion from string constant to 'char*'
arduino_mega_server.cpp:2478: warning: deprecated conversion from string constant to 'char*'
arduino_mega_server.cpp:2478: warning: deprecated conversion from string constant to 'char*'
arduino_mega_server.cpp:2479: warning: deprecated conversion from string constant to 'char*'
arduino_mega_server.cpp:2479: warning: deprecated conversion from string constant to 'char*'
arduino_mega_server.cpp:2480: warning: deprecated conversion from string constant to 'char*'
arduino_mega_server.cpp:2480: warning: deprecated conversion from string constant to 'char*'
arduino_mega_server.cpp:2481: warning: deprecated conversion from string constant to 'char*'
arduino_mega_server.cpp:2481: warning: deprecated conversion from string constant to 'char*'
arduino_mega_server.cpp:2482: warning: deprecated conversion from string constant to 'char*'
arduino_mega_server.cpp:2482: warning: deprecated conversion from string constant to 'char*'
arduino_mega_server.cpp:2483: warning: deprecated conversion from string constant to 'char*'
arduino_mega_server.cpp:2483: warning: deprecated conversion from string constant to 'char*'
arduino_mega_server.cpp:2484: warning: deprecated conversion from string constant to 'char*'
arduino_mega_server.cpp:2484: warning: deprecated conversion from string constant to 'char*'
arduino_mega_server.cpp:2485: warning: deprecated conversion from string constant to 'char*'
arduino_mega_server.cpp:2485: warning: deprecated conversion from string constant to 'char*'
arduino_mega_server.cpp:2486: warning: deprecated conversion from string constant to 'char*'
arduino_mega_server.cpp:2486: warning: deprecated conversion from string constant to 'char*'
arduino_mega_server.cpp:2487: warning: deprecated conversion from string constant to 'char*'
arduino_mega_server.cpp:2487: warning: deprecated conversion from string constant to 'char*'
arduino_mega_server.cpp:2488: warning: deprecated conversion from string constant to 'char*'
arduino_mega_server.cpp:2488: warning: deprecated conversion from string constant to 'char*'
arduino_mega_server.cpp: In function 'void sendUptime(EthernetClient)':
arduino_mega_server.cpp:2492: warning: deprecated conversion from string constant to 'char*'
arduino_mega_server.cpp:2492: warning: deprecated conversion from string constant to 'char*'
arduino_mega_server.cpp:2493: warning: deprecated conversion from string constant to 'char*'
arduino_mega_server.cpp:2493: warning: deprecated conversion from string constant to 'char*'
arduino_mega_server.cpp: In function 'void sendCPUload(EthernetClient)':
arduino_mega_server.cpp:2532: warning: deprecated conversion from string constant to 'char*'
arduino_mega_server.cpp:2532: warning: deprecated conversion from string constant to 'char*'
arduino_mega_server.cpp:2533: warning: deprecated conversion from string constant to 'char*'
arduino_mega_server.cpp:2533: warning: deprecated conversion from string constant to 'char*'
arduino_mega_server.cpp: In function 'void SetLEDs()':
arduino_mega_server.cpp:2583: warning: deprecated conversion from string constant to 'char*'
arduino_mega_server.cpp:2586: warning: deprecated conversion from string constant to 'char*'
arduino_mega_server.cpp:2592: warning: deprecated conversion from string constant to 'char*'
arduino_mega_server.cpp:2595: warning: deprecated conversion from string constant to 'char*'
arduino_mega_server.cpp:2601: warning: deprecated conversion from string constant to 'char*'
arduino_mega_server.cpp:2604: warning: deprecated conversion from string constant to 'char*'
arduino_mega_server.cpp:2610: warning: deprecated conversion from string constant to 'char*'
arduino_mega_server.cpp:2613: warning: deprecated conversion from string constant to 'char*'
arduino_mega_server.cpp: In function 'void responseNetwork(EthernetClient)':
arduino_mega_server.cpp:2682: warning: deprecated conversion from string constant to 'char*'
arduino_mega_server.cpp:2683: warning: deprecated conversion from string constant to 'char*'
arduino_mega_server.cpp:2684: warning: deprecated conversion from string constant to 'char*'
arduino_mega_server.cpp:2685: warning: deprecated conversion from string constant to 'char*'
arduino_mega_server.cpp:2686: warning: deprecated conversion from string constant to 'char*'
arduino_mega_server.cpp:2687: warning: deprecated conversion from string constant to 'char*'
arduino_mega_server.cpp:2688: warning: deprecated conversion from string constant to 'char*'
arduino_mega_server.cpp:2689: warning: deprecated conversion from string constant to 'char*'
arduino_mega_server.cpp:2690: warning: deprecated conversion from string constant to 'char*'
arduino_mega_server.cpp:2691: warning: deprecated conversion from string constant to 'char*'
arduino_mega_server.cpp: In function 'void SetLEDs_electro()':
arduino_mega_server.cpp:2715: warning: deprecated conversion from string constant to 'char*'
arduino_mega_server.cpp:2718: warning: deprecated conversion from string constant to 'char*'
arduino_mega_server.cpp:2724: warning: deprecated conversion from string constant to 'char*'
arduino_mega_server.cpp:2727: warning: deprecated conversion from string constant to 'char*'
arduino_mega_server.cpp:2734: warning: deprecated conversion from string constant to 'char*'
arduino_mega_server.cpp:2737: warning: deprecated conversion from string constant to 'char*'
arduino_mega_server.cpp:2744: warning: deprecated conversion from string constant to 'char*'
arduino_mega_server.cpp:2747: warning: deprecated conversion from string constant to 'char*'
arduino_mega_server.cpp: In function 'void responseElectroControl(EthernetClient)':
arduino_mega_server.cpp:2760: warning: deprecated conversion from string constant to 'char*'
arduino_mega_server.cpp:2760: warning: deprecated conversion from string constant to 'char*'
arduino_mega_server.cpp: In function 'void responseElectro(EthernetClient)':
arduino_mega_server.cpp:2790: warning: deprecated conversion from string constant to 'char*'
arduino_mega_server.cpp:2790: warning: deprecated conversion from string constant to 'char*'
arduino_mega_server.cpp: In function 'void responseSDcard(EthernetClient)':
arduino_mega_server.cpp:2802: warning: deprecated conversion from string constant to 'char*'
arduino_mega_server.cpp:2802: warning: deprecated conversion from string constant to 'char*'
arduino_mega_server.cpp:2802: warning: deprecated conversion from string constant to 'char*'
arduino_mega_server.cpp:2804: warning: deprecated conversion from string constant to 'char*'
arduino_mega_server.cpp:2804: warning: deprecated conversion from string constant to 'char*'
arduino_mega_server.cpp:2805: warning: deprecated conversion from string constant to 'char*'
arduino_mega_server.cpp:2805: warning: deprecated conversion from string constant to 'char*'
arduino_mega_server.cpp:2806: warning: deprecated conversion from string constant to 'char*'
arduino_mega_server.cpp:2806: warning: deprecated conversion from string constant to 'char*'
arduino_mega_server.cpp: In function 'void responseDash(EthernetClient)':
arduino_mega_server.cpp:2822: warning: deprecated conversion from string constant to 'char*'
arduino_mega_server.cpp:2822: warning: deprecated conversion from string constant to 'char*'
arduino_mega_server.cpp:2838: warning: deprecated conversion from string constant to 'char*'
arduino_mega_server.cpp:2838: warning: deprecated conversion from string constant to 'char*'
arduino_mega_server.cpp:2839: warning: deprecated conversion from string constant to 'char*'
arduino_mega_server.cpp:2839: warning: deprecated conversion from string constant to 'char*'
arduino_mega_server.cpp: In function 'char StrContains(char*, char*)':
arduino_mega_server.cpp:2967: warning: comparison between signed and unsigned integer expressions
arduino_mega_server.cpp:2970: warning: array subscript has type 'char'
arduino_mega_server.cpp:2970: warning: array subscript has type 'char'
arduino_mega_server.cpp:2972: warning: comparison between signed and unsigned integer expressions
Alex
Сообщения: 2357
Зарегистрирован: Пт апр 20, 2012 12:53 pm
Благодарил (а): 42 раза
Поблагодарили: 262 раза

Re: Arduino Mega Server

Сообщение Alex » Вс ноя 29, 2015 9:22 pm

Устанавливаете чистую Arduino IDE 1.6.5
Переносите библиотеки из архива 0.13 версии в папку libraries Arduino IDE
Переносите файлы из архива на microSD
Заливаете скетч
Выставляете 2-ю подсеть на компьютере
Заходите на 192.168.2.37

Это рабочий алгоритм, если у вас что-то не работает, значит вы допускаете какую-то ошибку. Если всё сделать аккуратно по шагам — положительный результат гарантирован.
serghei
Сообщения: 2575
Зарегистрирован: Пт ноя 06, 2015 10:22 am
Откуда: Кишинёв
Благодарил (а): 303 раза
Поблагодарили: 282 раза

Re: Arduino Mega Server

Сообщение serghei » Пн ноя 30, 2015 1:41 pm

Приветствую форумчан!Сразу скажу-завелось с полоборота!Советская реальность научила слушать магнитофон по его фото.А теперь по-существу.На компе XP,IDE 1.6.4.Распаковываем архив и запускаем скеч.Проверяем-конечно ругается-нет библиотек.Устанавливаем.Проверяем-если библиотеки все,то IDE выдаст всё ок. Дальше подключил Пустую Ардуину к компу-она определилась.Далее залил АМС-IDE выдал все ок.Если начинает ругаться-проблемы с ардуиной(у меня с алиэхпресса,но сделано в италии).Открываем сериал монитор и видим-Mega started..Init CD card...failed....Скеч в ардуине и он РАБОТАЕТ!Далее файлы в карту.шилд на место.в сериал-мониторе видим -карта-ок,index.htm....found....датчиков нет,температуры нет-Но АМС работает!Начинается настройка домашней сети.Все это заняло полчаса при моих ясельных познаниях настройки сетей.Восторг неописуемый!Даже в таком виде мониторить 10 температур и 13(15)мощностей и за смешные деньги-низкий поклон Вам всем!!!!
AMS : ESP32 + NRF24 + 1Wire-I2C мост DS2482 + счетчик DS2423 + сеть MySensors + редактирование страниц в браузере + Upload по воздуху + SPIFFS
Alex
Сообщения: 2357
Зарегистрирован: Пт апр 20, 2012 12:53 pm
Благодарил (а): 42 раза
Поблагодарили: 262 раза

Re: Arduino Mega Server

Сообщение Alex » Пн ноя 30, 2015 4:46 pm

Даже в таком виде мониторить 10 температур и 13(15)мощностей и за смешные деньги
Фишка в том, что у этой системы практически неограниченные возможности и «10 температур и 13(15)мощностей» это 0.0001% того, что она потенциально может, нужно только этот функционал «проявить», переводя идеи в код.

Здесь трудности чисто количественные — это требует усилий и времени. Я всё больше склоняюсь к мысли, что наиболее адекватное определение АМС это операционная система для контроллеров, а не просто «сервер».
Ответить