Перейти к контенту
МОРСКОЙ АКВАРИУМ - форум Аква Лого

Аква Лого / мы на связи
Аква Лого в VK
Аква Лого в Телеграмм
Аква Лого в соцсетях

МРТ для рыбок

Лопатоносы

Кольчужные сомы

svyaz

DIY 6-Канальный контроллер LED c тач-панелью "3.2"

Рекомендуемые сообщения

прикольно, нормально работает?

Смонтировал с утра и уехал на работу. Вечером, когда вернусь, буду тщательнее тестировать, но утром при настройке проблем вроде не было.

Изменено пользователем WattNik (см. историю изменений)

Поделиться этим сообщением


Ссылка на сообщение

Выявился один недостаток. Так как у меня подсветка дисплея диммируемая посредством ШИМ, то когда яркость не на 100%, а к примеру 10% (ночной режим), то возникают в в шлейфе наводки, из-за которых самопроизвольно срабатывает тач и иногда проскакивает цветные точки по экрану. Как только выставляю уровень яркости на 100% сразу все проблемы исчезают. Планирую на подсветку экрана кинуть отдельный экранированный провод.

Изменено пользователем WattNik (см. историю изменений)

Поделиться этим сообщением


Ссылка на сообщение

Доброго времени суток ! Не подскажете, какие диоды лучше ставить на луну?

Поделиться этим сообщением


Ссылка на сообщение

Пришел мне более точный часовой модуль на базе DS3231 вместо DS1307. Вопрос таков: подключать его также как и предыдущий, то есть

к 20 (SDA), 21(SCL), +5v(VCC) и GND ?

И еще , я так понимаю эти контакты у данной платки дублированные, так как с такими надписями "дырки" на одном конце и штекеры на другом. Они идентичны?

Изменено пользователем tiger33 (см. историю изменений)

Поделиться этим сообщением


Ссылка на сообщение

Подключение абсолютно аналогично.

Поделиться этим сообщением


Ссылка на сообщение

Спасибо, буим перепаивать.

Поделиться этим сообщением


Ссылка на сообщение

Доброе время суток.

Прочитал до 40-й ст. Так и не смог запустить arduino. Или со мной что-то не так то-ли с контроллером.

Мой комплект:

Arduino Mega 2560 R3,

TFT01 3.2'' Mega Touch LCD Shield V2.2,

LCD tft_320qvt (как определить какой имено, я так понял их много разных)

DS1307 I2C Real Time Clock Chip

Arduino 6 channel pwm high power led shield 0,35-0,7-1A

Ткните носом на простейший скетч.

Нужны 6 управляемых каналов, 2 датчика (вода/радиатор), 2 кулера. Банка всего 55л навороты мне не к чему.

Очень буду благодарен.

post-29182-0-96863100-1402405233_thumb.jpg

Поделиться этим сообщением


Ссылка на сообщение

А что значит - не смог запустить, экран не светится или что-то не функционирует?

И какой скетч, контроллера или тестовый?

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

Надо смотреть ошибки, которые выдаются при компиляции.

Поделиться этим сообщением


Ссылка на сообщение

Не могу залитб выдает ошиби. Я так понимаю надо где-то поменять строки под свой дисплей и шилд. Но не знаю где и на что.

Поделиться этим сообщением


Ссылка на сообщение

Надо конкретно каждую ошибку смотреть.

При компиляции снизу экрана пишется оранжевым цветом.

Изменено пользователем Railman (см. историю изменений)

Поделиться этим сообщением


Ссылка на сообщение

arduino-0022-JarduinoPatch

 

In file included from Jarduino_v1_1.pde:79:
/writeAnything.h: In function 'int EEPROM_writeAnything(int, const T&)':
writeAnything.h:3: error: expected initializer before '*' token
writeAnything.h:6: error: 'p' was not declared in this scope
/writeAnything.h: In function 'int EEPROM_readAnything(int, T&)':
writeAnything.h:12: error: 'byte' was not declared in this scope
writeAnything.h:12: error: 'p' was not declared in this scope
writeAnything.h:12: error: expected primary-expression before ')' token
writeAnything.h:12: error: expected primary-expression before 'void'
Jarduino_v1_1.pde: At global scope:
Jarduino_v1_1:92: error: 'ITDB02' does not name a type
Jarduino_v1_1:93: error: 'ITDB02_Touch' does not name a type
Jarduino_v1_1:125: error: 'OneWire' does not name a type
Jarduino_v1_1:127: error: 'DallasTemperature' does not name a type
Jarduino_v1_1:129: error: 'DeviceAddress' does not name a type
Jarduino_v1_1:130: error: 'DeviceAddress' does not name a type
Jarduino_v1_1:131: error: 'DeviceAddress' does not name a type
Jarduino_v1_1.pde: In function 'void SaveRTC()':
Jarduino_v1_1:663: error: 'RTC' was not declared in this scope
Jarduino_v1_1:664: error: 'DS1307_SEC' was not declared in this scope
Jarduino_v1_1:665: error: 'DS1307_MIN' was not declared in this scope
Jarduino_v1_1:666: error: 'DS1307_HR' was not declared in this scope
Jarduino_v1_1:668: error: 'DS1307_DATE' was not declared in this scope
Jarduino_v1_1:669: error: 'DS1307_MTH' was not declared in this scope
Jarduino_v1_1:670: error: 'DS1307_YR' was not declared in this scope
Jarduino_v1_1.pde: In function 'void TimeDateBar(boolean)':
Jarduino_v1_1:692: error: invalid conversion from 'int' to 'const char*'
Jarduino_v1_1:692: error: initializing argument 1 of 'String& String::operator=(const char*)'
Jarduino_v1_1:694: error: invalid conversion from 'int' to 'const char*'
Jarduino_v1_1:694: error: initializing argument 1 of 'String& String::operator=(const char*)'
Jarduino_v1_1:711: error: 'myGLCD' was not declared in this scope
Jarduino_v1_1:738: error: 'myGLCD' was not declared in this scope
Jarduino_v1_1.pde: In function 'void checkTempC()':
Jarduino_v1_1:924: error: 'sensors' was not declared in this scope
Jarduino_v1_1:926: error: 'waterThermometer' was not declared in this scope
Jarduino_v1_1:927: error: 'hoodThermometer' was not declared in this scope
Jarduino_v1_1:928: error: 'sumpThermometer' was not declared in this scope
Jarduino_v1_1.pde: In function 'void clearScreen()':
Jarduino_v1_1:1068: error: 'myGLCD' was not declared in this scope
Jarduino_v1_1.pde: In function 'void printButton(char*, int, int, int, int, boolean)':
Jarduino_v1_1:1078: error: 'myGLCD' was not declared in this scope
Jarduino_v1_1.pde: In function 'void printLedChangerP(char*, int, int, int, int, boolean)':
Jarduino_v1_1:1104: error: 'myGLCD' was not declared in this scope
Jarduino_v1_1.pde: In function 'void printLedChangerM(char*, int, int, int, int, boolean)':
Jarduino_v1_1:1131: error: 'myGLCD' was not declared in this scope
Jarduino_v1_1.pde: In function 'void printHeader(char*)':
Jarduino_v1_1:1156: error: 'myGLCD' was not declared in this scope
Jarduino_v1_1:1158: error: 'CENTER' was not declared in this scope
Jarduino_v1_1.pde: In function 'void setFont(boolean, byte, byte, byte, byte, byte, byte)':
Jarduino_v1_1:1164: error: 'myGLCD' was not declared in this scope
Jarduino_v1_1.pde: In function 'void waitForIt(int, int, int, int)':
Jarduino_v1_1:1175: error: 'myGLCD' was not declared in this scope
Jarduino_v1_1:1177: error: 'myTouch' was not declared in this scope
Jarduino_v1_1.pde: In function 'void waitForItSq(int, int, int, int)':
Jarduino_v1_1:1187: error: 'myGLCD' was not declared in this scope
Jarduino_v1_1:1189: error: 'myTouch' was not declared in this scope
Jarduino_v1_1.pde: In function 'void drawBarGraph()':
Jarduino_v1_1:1212: error: 'myGLCD' was not declared in this scope
Jarduino_v1_1.pde: In function 'void drawBarandColorValue()':
Jarduino_v1_1:1246: error: 'myGLCD' was not declared in this scope
Jarduino_v1_1.pde: In function 'void ledChangerGadget()':
Jarduino_v1_1:1267: error: 'myGLCD' was not declared in this scope
Jarduino_v1_1.pde: In function 'void TimeSaver(boolean)':
Jarduino_v1_1:1314: error: 'myGLCD' was not declared in this scope
Jarduino_v1_1:1327: error: 'myGLCD' was not declared in this scope
Jarduino_v1_1:1355: error: 'myGLCD' was not declared in this scope
Jarduino_v1_1.pde: In function 'void screenSaver()':
Jarduino_v1_1:1371: error: 'myTouch' was not declared in this scope
Jarduino_v1_1:1376: error: 'myGLCD' was not declared in this scope
Jarduino_v1_1.pde: In function 'void genSetSelect()':
Jarduino_v1_1:1389: error: 'myGLCD' was not declared in this scope
Jarduino_v1_1:1399: error: 'myGLCD' was not declared in this scope
Jarduino_v1_1:1409: error: 'myGLCD' was not declared in this scope
Jarduino_v1_1:1419: error: 'myGLCD' was not declared in this scope
Jarduino_v1_1:1429: error: 'myGLCD' was not declared in this scope
Jarduino_v1_1:1443: error: 'myGLCD' was not declared in this scope
Jarduino_v1_1:1457: error: 'myGLCD' was not declared in this scope
Jarduino_v1_1:1467: error: 'myGLCD' was not declared in this scope
Jarduino_v1_1:1477: error: 'myGLCD' was not declared in this scope
Jarduino_v1_1:1487: error: 'myGLCD' was not declared in this scope
Jarduino_v1_1:1496: error: 'myGLCD' was not declared in this scope
Jarduino_v1_1.pde: In function 'void feedingTimeOnOff()':
Jarduino_v1_1:1509: error: 'myGLCD' was not declared in this scope
Jarduino_v1_1:1514: error: 'myGLCD' was not declared in this scope
Jarduino_v1_1:1519: error: 'myGLCD' was not declared in this scope
Jarduino_v1_1:1524: error: 'myGLCD' was not declared in this scope
Jarduino_v1_1:1529: error: 'myGLCD' was not declared in this scope
Jarduino_v1_1:1534: error: 'myGLCD' was not declared in this scope
Jarduino_v1_1:1539: error: 'myGLCD' was not declared in this scope
Jarduino_v1_1:1544: error: 'myGLCD' was not declared in this scope
Jarduino_v1_1:1549: error: 'myGLCD' was not declared in this scope
Jarduino_v1_1.pde: In function 'void mainScreen(boolean)':
Jarduino_v1_1:1567: error: 'myGLCD' was not declared in this scope
Jarduino_v1_1:1575: error: 'CENTER' was not declared in this scope
Jarduino_v1_1:1603: error: 'myGLCD' was not declared in this scope
Jarduino_v1_1:1621: error: 'myGLCD' was not declared in this scope
Jarduino_v1_1:1639: error: 'myGLCD' was not declared in this scope
Jarduino_v1_1:1657: error: 'myGLCD' was not declared in this scope
Jarduino_v1_1:1675: error: 'myGLCD' was not declared in this scope
Jarduino_v1_1:1693: error: 'myGLCD' was not declared in this scope
Jarduino_v1_1:1711: error: 'myGLCD' was not declared in this scope
Jarduino_v1_1:1724: error: 'myGLCD' was not declared in this scope
Jarduino_v1_1.pde: In function 'void screenReturn()':
Jarduino_v1_1:1797: error: 'myTouch' was not declared in this scope
Jarduino_v1_1.pde: In function 'void menuScreen()':
Jarduino_v1_1:1821: error: 'myGLCD' was not declared in this scope
Jarduino_v1_1.pde: In function 'void clockScreen(boolean)':
Jarduino_v1_1:1848: error: 'myGLCD' was not declared in this scope
Jarduino_v1_1:1878: error: 'myGLCD' was not declared in this scope
Jarduino_v1_1.pde: In function 'void timeChange()':
Jarduino_v1_1:1915: error: 'myGLCD' was not declared in this scope
Jarduino_v1_1.pde: In function 'void timeCorrectFormat()':
Jarduino_v1_1:1931: error: 'myGLCD' was not declared in this scope
Jarduino_v1_1.pde: In function 'void tempScreen(boolean)':
Jarduino_v1_1:1991: error: 'myGLCD' was not declared in this scope
Jarduino_v1_1:2008: error: 'CENTER' was not declared in this scope
Jarduino_v1_1:2020: error: 'myGLCD' was not declared in this scope
Jarduino_v1_1:2020: error: 'CENTER' was not declared in this scope
Jarduino_v1_1.pde: In function 'void ledTestOptionsScreen()':
Jarduino_v1_1:2032: error: 'myGLCD' was not declared in this scope
Jarduino_v1_1.pde: In function 'void testArrayScreen(boolean)':
Jarduino_v1_1:2049: error: 'myGLCD' was not declared in this scope
Jarduino_v1_1:2066: error: 'myGLCD' was not declared in this scope
Jarduino_v1_1:2079: error: 'CENTER' was not declared in this scope
Jarduino_v1_1:2089: error: 'myTouch' was not declared in this scope
Jarduino_v1_1:2104: error: invalid conversion from 'int' to 'const char*'
Jarduino_v1_1:2104: error: initializing argument 1 of 'String& String::operator=(const char*)'
Jarduino_v1_1:2105: error: invalid conversion from 'int' to 'const char*'
Jarduino_v1_1:2105: error: initializing argument 1 of 'String& String::operator=(const char*)'
Jarduino_v1_1:2106: error: invalid conversion from 'int' to 'const char*'
Jarduino_v1_1:2106: error: initializing argument 1 of 'String& String::operator=(const char*)'
Jarduino_v1_1:2110: error: invalid conversion from 'int' to 'const char*'
Jarduino_v1_1:2110: error: initializing argument 1 of 'String& String::operator=(const char*)'
Jarduino_v1_1:2113: error: invalid conversion from 'int' to 'const char*'
Jarduino_v1_1:2113: error: initializing argument 1 of 'String& String::operator=(const char*)'
Jarduino_v1_1.pde: In function 'void testIndLedScreen()':
Jarduino_v1_1:2181: error: 'myGLCD' was not declared in this scope
Jarduino_v1_1.pde: In function 'void ledColorViewScreen()':
Jarduino_v1_1:2264: error: 'myGLCD' was not declared in this scope
Jarduino_v1_1.pde: In function 'void ledValuesScreen()':
Jarduino_v1_1:2353: error: 'myGLCD' was not declared in this scope
Jarduino_v1_1:2353: error: 'CENTER' was not declared in this scope
Jarduino_v1_1:2374: error: 'myGLCD' was not declared in this scope
Jarduino_v1_1:2386: error: 'myGLCD' was not declared in this scope
Jarduino_v1_1.pde: In function 'void ledChangeScreen()':
Jarduino_v1_1:2412: error: 'myGLCD' was not declared in this scope
Jarduino_v1_1.pde: In function 'void WaveMakerButtons()':
Jarduino_v1_1:2439: error: 'myGLCD' was not declared in this scope
Jarduino_v1_1.pde: In function 'void WaveMakerScreen()':
Jarduino_v1_1:2455: error: 'myGLCD' was not declared in this scope
Jarduino_v1_1:2462: error: 'CENTER' was not declared in this scope
Jarduino_v1_1.pde: In function 'void viewWaveTimes()':
Jarduino_v1_1:2471: error: 'myGLCD' was not declared in this scope
Jarduino_v1_1.pde: In function 'void WaveMakerStatusScreen()':
Jarduino_v1_1:2486: error: 'myGLCD' was not declared in this scope
Jarduino_v1_1:2494: error: 'CENTER' was not declared in this scope
Jarduino_v1_1:2511: error: 'CENTER' was not declared in this scope
Jarduino_v1_1:2536: error: 'CENTER' was not declared in this scope
Jarduino_v1_1:2574: error: 'CENTER' was not declared in this scope
Jarduino_v1_1:2605: error: 'CENTER' was not declared in this scope
Jarduino_v1_1:2620: error: 'myTouch' was not declared in this scope
Jarduino_v1_1.pde: In function 'void WaveMakerSettingsScreen()':
Jarduino_v1_1:2658: error: 'myGLCD' was not declared in this scope
Jarduino_v1_1:2683: error: 'CENTER' was not declared in this scope
Jarduino_v1_1.pde: In function 'void synchronousSynch()':
Jarduino_v1_1:2707: error: 'myGLCD' was not declared in this scope
Jarduino_v1_1:2721: error: 'CENTER' was not declared in this scope
Jarduino_v1_1:2739: error: 'CENTER' was not declared in this scope
Jarduino_v1_1:2759: error: 'CENTER' was not declared in this scope
Jarduino_v1_1.pde: In function 'void viewWaveTimesPage()':
Jarduino_v1_1:2775: error: 'myGLCD' was not declared in this scope
Jarduino_v1_1:2777: error: 'myGLCD' was not declared in this scope
Jarduino_v1_1:2780: error: 'myGLCD' was not declared in this scope
Jarduino_v1_1:2782: error: 'myGLCD' was not declared in this scope
Jarduino_v1_1:2784: error: 'myGLCD' was not declared in this scope
Jarduino_v1_1:2786: error: 'myGLCD' was not declared in this scope
Jarduino_v1_1:2788: error: 'myGLCD' was not declared in this scope
Jarduino_v1_1:2790: error: 'myGLCD' was not declared in this scope
Jarduino_v1_1:2792: error: 'myGLCD' was not declared in this scope
Jarduino_v1_1:2795: error: 'myGLCD' was not declared in this scope
Jarduino_v1_1:2797: error: 'myGLCD' was not declared in this scope
Jarduino_v1_1:2799: error: 'myGLCD' was not declared in this scope
Jarduino_v1_1:2801: error: 'myGLCD' was not declared in this scope
Jarduino_v1_1:2803: error: 'myGLCD' was not declared in this scope
Jarduino_v1_1.pde: In function 'void waveModePlusMinus()':
Jarduino_v1_1:2824: error: 'myGLCD' was not declared in this scope
Jarduino_v1_1:2825: error: 'myGLCD' was not declared in this scope
Jarduino_v1_1:2826: error: 'myGLCD' was not declared in this scope
Jarduino_v1_1:2828: error: 'myGLCD' was not declared in this scope
Jarduino_v1_1:2839: error: 'myGLCD' was not declared in this scope
Jarduino_v1_1:2846: error: 'myGLCD' was not declared in this scope
Jarduino_v1_1:2847: error: 'myGLCD' was not declared in this scope
Jarduino_v1_1:2849: error: 'myGLCD' was not declared in this scope
Jarduino_v1_1:2859: error: 'myGLCD' was not declared in this scope
Jarduino_v1_1:2869: error: 'myGLCD' was not declared in this scope
Jarduino_v1_1:2870: error: 'myGLCD' was not declared in this scope
Jarduino_v1_1:2871: error: 'myGLCD' was not declared in this scope
Jarduino_v1_1:2873: error: 'myGLCD' was not declared in this scope
Jarduino_v1_1:2884: error: 'myGLCD' was not declared in this scope
Jarduino_v1_1:2891: error: 'myGLCD' was not declared in this scope
Jarduino_v1_1:2892: error: 'myGLCD' was not declared in this scope
Jarduino_v1_1:2894: error: 'myGLCD' was not declared in this scope
Jarduino_v1_1:2904: error: 'myGLCD' was not declared in this scope
Jarduino_v1_1.pde: In function 'void generalSettingsScreen()':
Jarduino_v1_1:2916: error: 'myGLCD' was not declared in this scope
Jarduino_v1_1.pde: In function 'void autoFeederScreen()':
Jarduino_v1_1:2942: error: 'myGLCD' was not declared in this scope
Jarduino_v1_1.pde: In function 'void feedingTimeOutput()':
Jarduino_v1_1:3076: error: 'RTC' was not declared in this scope
Jarduino_v1_1:3094: error: 'RTC' was not declared in this scope
Jarduino_v1_1:3112: error: 'RTC' was not declared in this scope
Jarduino_v1_1:3130: error: 'RTC' was not declared in this scope
Jarduino_v1_1.pde: In function 'void setFeederTimesScreen(boolean)':
Jarduino_v1_1:3158: error: 'myGLCD' was not declared in this scope
Jarduino_v1_1.pde: In function 'void AboutScreen()':
Jarduino_v1_1:3189: error: 'myGLCD' was not declared in this scope
Jarduino_v1_1:3189: error: 'CENTER' was not declared in this scope
Jarduino_v1_1.pde: In function 'void processMyTouch()':
Jarduino_v1_1:3215: error: 'myTouch' was not declared in this scope
Jarduino_v1_1:3752: error: 'myGLCD' was not declared in this scope
Jarduino_v1_1:3755: error: 'myGLCD' was not declared in this scope
Jarduino_v1_1:3756: error: 'myGLCD' was not declared in this scope
Jarduino_v1_1:3757: error: 'myGLCD' was not declared in this scope
Jarduino_v1_1:3763: error: 'myGLCD' was not declared in this scope
Jarduino_v1_1:3792: error: 'myGLCD' was not declared in this scope
Jarduino_v1_1:3797: error: 'myGLCD' was not declared in this scope
Jarduino_v1_1:3800: error: 'myGLCD' was not declared in this scope
Jarduino_v1_1:3801: error: 'myGLCD' was not declared in this scope
Jarduino_v1_1:3802: error: 'myGLCD' was not declared in this scope
Jarduino_v1_1:3808: error: 'myGLCD' was not declared in this scope
Jarduino_v1_1:3937: error: 'myGLCD' was not declared in this scope
Jarduino_v1_1:3937: error: 'CENTER' was not declared in this scope
Jarduino_v1_1:3948: error: 'myGLCD' was not declared in this scope
Jarduino_v1_1:3948: error: 'CENTER' was not declared in this scope
Jarduino_v1_1:3995: error: 'myGLCD' was not declared in this scope
Jarduino_v1_1:4024: error: 'myGLCD' was not declared in this scope
Jarduino_v1_1:4036: error: 'myGLCD' was not declared in this scope
Jarduino_v1_1:4120: error: 'myGLCD' was not declared in this scope
Jarduino_v1_1:4288: error: 'myGLCD' was not declared in this scope
Jarduino_v1_1.pde: In function 'void setup()':
Jarduino_v1_1:4449: error: 'myGLCD' was not declared in this scope
Jarduino_v1_1:4449: error: 'LANDSCAPE' was not declared in this scope
Jarduino_v1_1:4452: error: 'myTouch' was not declared in this scope
Jarduino_v1_1:4453: error: 'PREC_MEDIUM' was not declared in this scope
Jarduino_v1_1:4455: error: 'sensors' was not declared in this scope
Jarduino_v1_1:4457: error: 'waterThermometer' was not declared in this scope
Jarduino_v1_1:4458: error: 'hoodThermometer' was not declared in this scope
Jarduino_v1_1:4459: error: 'sumpThermometer' was not declared in this scope
Jarduino_v1_1:4464: error: 'RTC' was not declared in this scope
Jarduino_v1_1.pde: In function 'void loop()':
Jarduino_v1_1:4477: error: 'myTouch' was not declared in this scope
Jarduino_v1_1:4480: error: 'myGLCD' was not declared in this scope
Jarduino_v1_1:4504: error: 'RTC' was not declared in this scope

 

Jarduino_v1_1

 

Jarduino_v1_1.pde:41:27: error: writeAnything.h: No such file or directory
Jarduino_v1_1.pde:45:242: error: Pump.h: No such file or directory
Jarduino_v1_1.pde:46:28: error: EEPROMAnything.h: No such file or directory
Jarduino_v1_1:61: error: 'ITDB02tf' does not name a type
Jarduino_v1_1:63: error: 'ITDB02_Touch' does not name a type
Jarduino_v1_1:197: error: 'OneWire' does not name a type
Jarduino_v1_1:199: error: 'DallasTemperature' does not name a type
Jarduino_v1_1:201: error: 'DeviceAddress' does not name a type
Jarduino_v1_1:202: error: 'DeviceAddress' does not name a type
Jarduino_v1_1:203: error: 'DeviceAddress' does not name a type
Jarduino_v1_1.pde: In function 'void SaveMoonLEDToEEPROM()':
Jarduino_v1_1:644: error: 'EEPROM_writeAnything' was not declared in this scope
Jarduino_v1_1.pde: In function 'void SaveWaveToEEPROM()':
Jarduino_v1_1:657: error: 'EEPROM_writeAnything' was not declared in this scope
Jarduino_v1_1.pde: In function 'void SaveTempToEEPROM()':
Jarduino_v1_1:666: error: 'EEPROM_writeAnything' was not declared in this scope
Jarduino_v1_1.pde: In function 'void SaveGenSetsToEEPROM()':
Jarduino_v1_1:674: error: 'EEPROM_writeAnything' was not declared in this scope
Jarduino_v1_1.pde: In function 'void SaveFeedTimesToEEPROM()':
Jarduino_v1_1:689: error: 'EEPROM_writeAnything' was not declared in this scope
Jarduino_v1_1.pde: In function 'void SaveTimerToEEPROM()':
Jarduino_v1_1:708: error: 'EEPROM_writeAnything' was not declared in this scope
Jarduino_v1_1.pde: In function 'void ReadFromEEPROM()':
Jarduino_v1_1:722: error: 'EEPROM_readAnything' was not declared in this scope
Jarduino_v1_1.pde: In function 'void ReadWeatherEEPROM()':
Jarduino_v1_1:786: error: 'EEPROM_readAnything' was not declared in this scope
Jarduino_v1_1.pde: In function 'void SaveRTC()':
Jarduino_v1_1:801: error: 'RTC' was not declared in this scope
Jarduino_v1_1:802: error: 'DS1307_SEC' was not declared in this scope
Jarduino_v1_1:803: error: 'DS1307_MIN' was not declared in this scope
Jarduino_v1_1:804: error: 'DS1307_HR' was not declared in this scope
Jarduino_v1_1:807: error: 'DS1307_DATE' was not declared in this scope
Jarduino_v1_1:808: error: 'DS1307_MTH' was not declared in this scope
Jarduino_v1_1:809: error: 'DS1307_YR' was not declared in this scope
Jarduino_v1_1.pde: In function 'void SaveWeatherEEPROM()':
Jarduino_v1_1:827: error: 'EEPROM_writeAnything' was not declared in this scope
Jarduino_v1_1.pde: In function 'void TimeDateBar(boolean)':
Jarduino_v1_1:838: error: invalid conversion from 'int' to 'const char*'
Jarduino_v1_1:838: error: initializing argument 1 of 'String& String::operator=(const char*)'
Jarduino_v1_1:840: error: invalid conversion from 'int' to 'const char*'
Jarduino_v1_1:840: error: initializing argument 1 of 'String& String::operator=(const char*)'
Jarduino_v1_1:849: error: 'myGLCD' was not declared in this scope
Jarduino_v1_1:879: error: 'myGLCD' was not declared in this scope
Jarduino_v1_1.pde: In function 'void checkTempC()':
Jarduino_v1_1:1012: error: 'sensors' was not declared in this scope
Jarduino_v1_1:1014: error: 'waterThermometer' was not declared in this scope
Jarduino_v1_1:1015: error: 'hoodThermometer' was not declared in this scope
Jarduino_v1_1:1016: error: 'sumpThermometer' was not declared in this scope
Jarduino_v1_1.pde: In function 'void clearScreen()':
Jarduino_v1_1:1125: error: 'myGLCD' was not declared in this scope
Jarduino_v1_1.pde: In function 'void printButton(char*, int, int, int, int, boolean)':
Jarduino_v1_1:1131: error: 'myGLCD' was not declared in this scope
Jarduino_v1_1.pde: In function 'void printLedChangerP(char*, int, int, int, int, boolean)':
Jarduino_v1_1:1148: error: 'myGLCD' was not declared in this scope
Jarduino_v1_1.pde: In function 'void printLedChangerM(char*, int, int, int, int, boolean)':
Jarduino_v1_1:1164: error: 'myGLCD' was not declared in this scope
Jarduino_v1_1.pde: In function 'void drawUpButton(int, int)':
Jarduino_v1_1:1179: error: 'myGLCD' was not declared in this scope
Jarduino_v1_1.pde: In function 'void drawDownButton(int, int)':
Jarduino_v1_1:1187: error: 'myGLCD' was not declared in this scope
Jarduino_v1_1.pde: In function 'void printButtonWth(char*, int, int, int, int, boolean)':
Jarduino_v1_1:1197: error: 'myGLCD' was not declared in this scope
Jarduino_v1_1.pde: In function 'void printHeader(char*)':
Jarduino_v1_1:1209: error: 'myGLCD' was not declared in this scope
Jarduino_v1_1:1211: error: 'CENTER' was not declared in this scope
Jarduino_v1_1.pde: In function 'void setFont(boolean, byte, byte, byte, byte, byte, byte)':
Jarduino_v1_1:1214: error: 'myGLCD' was not declared in this scope
Jarduino_v1_1.pde: In function 'void waitForIt(int, int, int, int)':
Jarduino_v1_1:1220: error: 'myGLCD' was not declared in this scope
Jarduino_v1_1:1222: error: 'myTouch' was not declared in this scope
Jarduino_v1_1.pde: In function 'void waitForItSq(int, int, int, int)':
Jarduino_v1_1:1227: error: 'myGLCD' was not declared in this scope
Jarduino_v1_1:1229: error: 'myTouch' was not declared in this scope
Jarduino_v1_1.pde: In function 'void drawBarGraph()':
Jarduino_v1_1:1239: error: 'myGLCD' was not declared in this scope
Jarduino_v1_1.pde: In function 'void drawBarandColorValue()':
Jarduino_v1_1:1270: error: 'myGLCD' was not declared in this scope
Jarduino_v1_1.pde: In function 'void ledChangerGadget()':
Jarduino_v1_1:1288: error: 'myGLCD' was not declared in this scope
Jarduino_v1_1.pde: In function 'void TimeSaver(boolean)':
Jarduino_v1_1:1323: error: 'myGLCD' was not declared in this scope
Jarduino_v1_1:1337: error: 'myGLCD' was not declared in this scope
Jarduino_v1_1:1367: error: 'myGLCD' was not declared in this scope
Jarduino_v1_1.pde: In function 'void screenSaver()':
Jarduino_v1_1:1397: error: 'myTouch' was not declared in this scope
Jarduino_v1_1:1398: error: 'myGLCD' was not declared in this scope
Jarduino_v1_1.pde: In function 'void genSetSelect()':
Jarduino_v1_1:1404: error: 'myGLCD' was not declared in this scope
Jarduino_v1_1:1413: error: 'myGLCD' was not declared in this scope
Jarduino_v1_1:1423: error: 'myGLCD' was not declared in this scope
Jarduino_v1_1:1432: error: 'myGLCD' was not declared in this scope
Jarduino_v1_1:1442: error: 'myGLCD' was not declared in this scope
Jarduino_v1_1:1455: error: 'myGLCD' was not declared in this scope
Jarduino_v1_1:1469: error: 'myGLCD' was not declared in this scope
Jarduino_v1_1:1478: error: 'myGLCD' was not declared in this scope
Jarduino_v1_1:1488: error: 'myGLCD' was not declared in this scope
Jarduino_v1_1:1497: error: 'myGLCD' was not declared in this scope
Jarduino_v1_1:1506: error: 'myGLCD' was not declared in this scope
Jarduino_v1_1.pde: In function 'void feedingTimeOnOff()':
Jarduino_v1_1:1515: error: 'myGLCD' was not declared in this scope
Jarduino_v1_1:1520: error: 'myGLCD' was not declared in this scope
Jarduino_v1_1:1525: error: 'myGLCD' was not declared in this scope
Jarduino_v1_1:1530: error: 'myGLCD' was not declared in this scope
Jarduino_v1_1:1535: error: 'myGLCD' was not declared in this scope
Jarduino_v1_1:1540: error: 'myGLCD' was not declared in this scope
Jarduino_v1_1:1545: error: 'myGLCD' was not declared in this scope
Jarduino_v1_1:1550: error: 'myGLCD' was not declared in this scope
Jarduino_v1_1:1554: error: 'myGLCD' was not declared in this scope
Jarduino_v1_1.pde: In function 'void mainScreen(boolean)':
Jarduino_v1_1:1566: error: 'myGLCD' was not declared in this scope
Jarduino_v1_1:1574: error: 'CENTER' was not declared in this scope
Jarduino_v1_1:1627: error: 'myGLCD' was not declared in this scope
Jarduino_v1_1:1641: error: 'myGLCD' was not declared in this scope
Jarduino_v1_1:1655: error: 'myGLCD' was not declared in this scope
Jarduino_v1_1:1669: error: 'myGLCD' was not declared in this scope
Jarduino_v1_1:1683: error: 'myGLCD' was not declared in this scope
Jarduino_v1_1:1699: error: 'myGLCD' was not declared in this scope
Jarduino_v1_1:1714: error: 'myGLCD' was not declared in this scope
Jarduino_v1_1:1726: error: 'myGLCD' was not declared in this scope
Jarduino_v1_1.pde: In function 'void screenReturn()':
Jarduino_v1_1:1783: error: 'myTouch' was not declared in this scope
Jarduino_v1_1.pde: In function 'void menuScreen()':
Jarduino_v1_1:1796: error: 'myGLCD' was not declared in this scope
Jarduino_v1_1.pde: In function 'void clockScreen(boolean)':
Jarduino_v1_1:1822: error: 'myGLCD' was not declared in this scope
Jarduino_v1_1:1852: error: 'myGLCD' was not declared in this scope
Jarduino_v1_1.pde: In function 'void timeChange()':
Jarduino_v1_1:1892: error: 'myGLCD' was not declared in this scope
Jarduino_v1_1.pde: In function 'void timeCorrectFormat()':
Jarduino_v1_1:1908: error: 'myGLCD' was not declared in this scope
Jarduino_v1_1.pde: In function 'void tempScreen(boolean)':
Jarduino_v1_1:1958: error: 'myGLCD' was not declared in this scope
Jarduino_v1_1:1980: error: 'CENTER' was not declared in this scope
Jarduino_v1_1:1992: error: 'myGLCD' was not declared in this scope
Jarduino_v1_1:1992: error: 'CENTER' was not declared in this scope
Jarduino_v1_1.pde: In function 'void ledTestOptionsScreen()':
Jarduino_v1_1:2002: error: 'myGLCD' was not declared in this scope
Jarduino_v1_1.pde: In function 'void testArrayScreen(boolean)':
Jarduino_v1_1:2015: error: 'myGLCD' was not declared in this scope
Jarduino_v1_1:2029: error: 'myGLCD' was not declared in this scope
Jarduino_v1_1:2046: error: 'CENTER' was not declared in this scope
Jarduino_v1_1:2053: error: 'myTouch' was not declared in this scope
Jarduino_v1_1:2063: error: invalid conversion from 'int' to 'const char*'
Jarduino_v1_1:2063: error: initializing argument 1 of 'String& String::operator=(const char*)'
Jarduino_v1_1:2064: error: invalid conversion from 'int' to 'const char*'
Jarduino_v1_1:2064: error: initializing argument 1 of 'String& String::operator=(const char*)'
Jarduino_v1_1:2071: error: invalid conversion from 'int' to 'const char*'
Jarduino_v1_1:2071: error: initializing argument 1 of 'String& String::operator=(const char*)'
Jarduino_v1_1.pde: In function 'void testIndLedScreen()':
Jarduino_v1_1:2126: error: 'myGLCD' was not declared in this scope
Jarduino_v1_1.pde: In function 'void ledColorViewScreen()':
Jarduino_v1_1:2205: error: 'myGLCD' was not declared in this scope
Jarduino_v1_1.pde: In function 'void ledValuesScreen()':
Jarduino_v1_1:2256: error: 'myGLCD' was not declared in this scope
Jarduino_v1_1:2256: error: 'CENTER' was not declared in this scope
Jarduino_v1_1:2277: error: 'myGLCD' was not declared in this scope
Jarduino_v1_1:2286: error: 'myGLCD' was not declared in this scope
Jarduino_v1_1.pde: In function 'void ledChangeScreen()':
Jarduino_v1_1:2303: error: 'myGLCD' was not declared in this scope
Jarduino_v1_1.pde: In function 'void WaveMakerButtons()':
Jarduino_v1_1:2324: error: 'myGLCD' was not declared in this scope
Jarduino_v1_1.pde: In function 'void WaveMakerScreen()':
Jarduino_v1_1:2339: error: 'myGLCD' was not declared in this scope
Jarduino_v1_1:2346: error: 'CENTER' was not declared in this scope
Jarduino_v1_1.pde: In function 'void viewWaveTimes()':
Jarduino_v1_1:2353: error: 'myGLCD' was not declared in this scope
Jarduino_v1_1.pde: In function 'void WaveMakerStatusScreen()':
Jarduino_v1_1:2366: error: 'myGLCD' was not declared in this scope
Jarduino_v1_1:2374: error: 'CENTER' was not declared in this scope
Jarduino_v1_1:2391: error: 'CENTER' was not declared in this scope
Jarduino_v1_1:2413: error: 'CENTER' was not declared in this scope
Jarduino_v1_1:2443: error: 'CENTER' was not declared in this scope
Jarduino_v1_1:2468: error: 'CENTER' was not declared in this scope
Jarduino_v1_1:2480: error: 'myTouch' was not declared in this scope
Jarduino_v1_1.pde: In function 'void WaveMakerSettingsScreen()':
Jarduino_v1_1:2501: error: 'myGLCD' was not declared in this scope
Jarduino_v1_1:2525: error: 'CENTER' was not declared in this scope
Jarduino_v1_1.pde: In function 'void synchronousSynch()':
Jarduino_v1_1:2544: error: 'myGLCD' was not declared in this scope
Jarduino_v1_1:2557: error: 'CENTER' was not declared in this scope
Jarduino_v1_1:2574: error: 'CENTER' was not declared in this scope
Jarduino_v1_1:2593: error: 'CENTER' was not declared in this scope
Jarduino_v1_1.pde: In function 'void viewWaveTimesPage()':
Jarduino_v1_1:2606: error: 'myGLCD' was not declared in this scope
Jarduino_v1_1:2608: error: 'myGLCD' was not declared in this scope
Jarduino_v1_1:2611: error: 'myGLCD' was not declared in this scope
Jarduino_v1_1:2613: error: 'myGLCD' was not declared in this scope
Jarduino_v1_1:2615: error: 'myGLCD' was not declared in this scope
Jarduino_v1_1:2617: error: 'myGLCD' was not declared in this scope
Jarduino_v1_1:2619: error: 'myGLCD' was not declared in this scope
Jarduino_v1_1:2621: error: 'myGLCD' was not declared in this scope
Jarduino_v1_1:2623: error: 'myGLCD' was not declared in this scope
Jarduino_v1_1:2626: error: 'myGLCD' was not declared in this scope
Jarduino_v1_1:2628: error: 'myGLCD' was not declared in this scope
Jarduino_v1_1:2630: error: 'myGLCD' was not declared in this scope
Jarduino_v1_1:2632: error: 'myGLCD' was not declared in this scope
Jarduino_v1_1:2634: error: 'myGLCD' was not declared in this scope
Jarduino_v1_1.pde: In function 'void waveModePlusMinus()':
Jarduino_v1_1:2650: error: 'myGLCD' was not declared in this scope
Jarduino_v1_1:2651: error: 'myGLCD' was not declared in this scope
Jarduino_v1_1:2652: error: 'myGLCD' was not declared in this scope
Jarduino_v1_1:2654: error: 'myGLCD' was not declared in this scope
Jarduino_v1_1:2663: error: 'myGLCD' was not declared in this scope
Jarduino_v1_1:2668: error: 'myGLCD' was not declared in this scope
Jarduino_v1_1:2669: error: 'myGLCD' was not declared in this scope
Jarduino_v1_1:2671: error: 'myGLCD' was not declared in this scope
Jarduino_v1_1:2679: error: 'myGLCD' was not declared in this scope
Jarduino_v1_1:2684: error: 'myGLCD' was not declared in this scope
Jarduino_v1_1:2685: error: 'myGLCD' was not declared in this scope
Jarduino_v1_1:2686: error: 'myGLCD' was not declared in this scope
Jarduino_v1_1:2688: error: 'myGLCD' was not declared in this scope
Jarduino_v1_1:2696: error: 'myGLCD' was not declared in this scope
Jarduino_v1_1:2700: error: 'myGLCD' was not declared in this scope
Jarduino_v1_1:2701: error: 'myGLCD' was not declared in this scope
Jarduino_v1_1:2703: error: 'myGLCD' was not declared in this scope
Jarduino_v1_1:2710: error: 'myGLCD' was not declared in this scope
Jarduino_v1_1.pde: In function 'void generalSettingsScreen()':
Jarduino_v1_1:2717: error: 'myGLCD' was not declared in this scope
Jarduino_v1_1.pde: In function 'void autoFeederScreen()':
Jarduino_v1_1:2739: error: 'myGLCD' was not declared in this scope
Jarduino_v1_1.pde: In function 'void feedingTimeOutput()':
Jarduino_v1_1:2867: error: 'RTC' was not declared in this scope
Jarduino_v1_1:2882: error: 'RTC' was not declared in this scope
Jarduino_v1_1:2894: error: 'RTC' was not declared in this scope
Jarduino_v1_1:2906: error: 'RTC' was not declared in this scope
Jarduino_v1_1.pde: In function 'void setFeederTimesScreen(boolean)':
Jarduino_v1_1:2923: error: 'myGLCD' was not declared in this scope
Jarduino_v1_1.pde: In function 'void timerScreen()':
Jarduino_v1_1:2966: error: 'myGLCD' was not declared in this scope
Jarduino_v1_1.pde: In function 'void graficoScreen()':
Jarduino_v1_1:2993: error: 'myGLCD' was not declared in this scope
Jarduino_v1_1.pde: In function 'void tempgScreen(boolean)':
Jarduino_v1_1:3003: error: 'myGLCD' was not declared in this scope
Jarduino_v1_1:3110: error: 'file' was not declared in this scope
Jarduino_v1_1:3110: error: 'O_READ' was not declared in this scope
Jarduino_v1_1.pde: In function 'void orpScreen()':
Jarduino_v1_1:3132: error: 'myGLCD' was not declared in this scope
Jarduino_v1_1.pde: In function 'void phScreen()':
Jarduino_v1_1:3233: error: 'myGLCD' was not declared in this scope
Jarduino_v1_1.pde: In function 'void wthScreen(boolean)':
Jarduino_v1_1:3345: error: 'myGLCD' was not declared in this scope
Jarduino_v1_1:3408: error: 'myTouch' was not declared in this scope
Jarduino_v1_1:3410: error: 'myTouch' was not declared in this scope
Jarduino_v1_1.pde: In function 'void timer1Screen(boolean)':
Jarduino_v1_1:3492: error: 'myGLCD' was not declared in this scope
Jarduino_v1_1.pde: In function 'void timer2Screen(boolean)':
Jarduino_v1_1:3590: error: 'myGLCD' was not declared in this scope
Jarduino_v1_1.pde: In function 'void timer3Screen(boolean)':
Jarduino_v1_1:3631: error: 'myGLCD' was not declared in this scope
Jarduino_v1_1.pde: In function 'void dozer1Screen()':
Jarduino_v1_1:3682: error: 'myGLCD' was not declared in this scope
Jarduino_v1_1.pde: In function 'void dozer2Screen()':
Jarduino_v1_1:3749: error: 'myGLCD' was not declared in this scope
Jarduino_v1_1.pde: In function 'void dozer3Screen()':
Jarduino_v1_1:3816: error: 'myGLCD' was not declared in this scope
Jarduino_v1_1.pde: In function 'void dozer4Screen()':
Jarduino_v1_1:3883: error: 'myGLCD' was not declared in this scope
Jarduino_v1_1.pde: In function 'void logtempgraf()':
Jarduino_v1_1:3949: error: invalid conversion from 'int' to 'const char*'
Jarduino_v1_1:3949: error: initializing argument 1 of 'String& String::operator=(const char*)'
Jarduino_v1_1:3950: error: 'file' was not declared in this scope
Jarduino_v1_1:3950: error: 'O_CREAT' was not declared in this scope
Jarduino_v1_1:3950: error: 'O_APPEND' was not declared in this scope
Jarduino_v1_1:3950: error: 'O_WRITE' was not declared in this scope
Jarduino_v1_1.pde: In function 'void logparametros()':
Jarduino_v1_1:3964: error: invalid conversion from 'int' to 'const char*'
Jarduino_v1_1:3964: error: initializing argument 1 of 'String& String::operator=(const char*)'
Jarduino_v1_1:3965: error: 'file' was not declared in this scope
Jarduino_v1_1:3965: error: 'O_CREAT' was not declared in this scope
Jarduino_v1_1:3965: error: 'O_APPEND' was not declared in this scope
Jarduino_v1_1:3965: error: 'O_WRITE' was not declared in this scope
Jarduino_v1_1.pde: In function 'void processMyTouch()':
Jarduino_v1_1:4074: error: 'myTouch' was not declared in this scope
Jarduino_v1_1:4405: error: 'myGLCD' was not declared in this scope
Jarduino_v1_1:4408: error: 'myGLCD' was not declared in this scope
Jarduino_v1_1:4409: error: 'myGLCD' was not declared in this scope
Jarduino_v1_1:4410: error: 'myGLCD' was not declared in this scope
Jarduino_v1_1:4416: error: 'myGLCD' was not declared in this scope
Jarduino_v1_1:4440: error: 'myGLCD' was not declared in this scope
Jarduino_v1_1:4445: error: 'myGLCD' was not declared in this scope
Jarduino_v1_1:4448: error: 'myGLCD' was not declared in this scope
Jarduino_v1_1:4449: error: 'myGLCD' was not declared in this scope
Jarduino_v1_1:4450: error: 'myGLCD' was not declared in this scope
Jarduino_v1_1:4456: error: 'myGLCD' was not declared in this scope
Jarduino_v1_1:4517: error: 'myGLCD' was not declared in this scope
Jarduino_v1_1:4521: error: 'CENTER' was not declared in this scope
Jarduino_v1_1:4529: error: 'myGLCD' was not declared in this scope
Jarduino_v1_1:4533: error: 'CENTER' was not declared in this scope
Jarduino_v1_1:4554: error: 'myGLCD' was not declared in this scope
Jarduino_v1_1:4576: error: 'myGLCD' was not declared in this scope
Jarduino_v1_1:4582: error: 'myGLCD' was not declared in this scope
Jarduino_v1_1:4625: error: 'myGLCD' was not declared in this scope
Jarduino_v1_1:4696: error: 'myGLCD' was not declared in this scope
Jarduino_v1_1.pde: In function 'void setup()':
Jarduino_v1_1:4927: error: 'myGLCD' was not declared in this scope
Jarduino_v1_1:4927: error: 'LANDSCAPE' was not declared in this scope
Jarduino_v1_1:4930: error: 'file' was not declared in this scope
Jarduino_v1_1:4932: error: 'myTouch' was not declared in this scope
Jarduino_v1_1:4933: error: 'PREC_MEDIUM' was not declared in this scope
Jarduino_v1_1:4935: error: 'sensors' was not declared in this scope
Jarduino_v1_1:4937: error: 'waterThermometer' was not declared in this scope
Jarduino_v1_1:4938: error: 'hoodThermometer' was not declared in this scope
Jarduino_v1_1:4939: error: 'sumpThermometer' was not declared in this scope
Jarduino_v1_1:4944: error: 'RTC' was not declared in this scope
Jarduino_v1_1.pde: In function 'void loop()':
Jarduino_v1_1:4954: error: 'myTouch' was not declared in this scope
Jarduino_v1_1:4957: error: 'myGLCD' was not declared in this scope
Jarduino_v1_1:4969: error: 'RTC' was not declared in this scope

Новый точечный рисунок.bmp

Новый точечный рисунок (2).bmp

Поделиться этим сообщением


Ссылка на сообщение

у меня на шлейфе под экраном написано T32-1289 это значит мне нужно прописывать ?

UTFT myGLCD(ITDB32S, 38,39,40,41);

Поделиться этим сообщением


Ссылка на сообщение

У тебя библиотеки не соответсвуют скетчу или путь к ним не прописан (могу ошибаться, если что, пусть более опытные коллеги меня поправят :mad:)

Поделиться этим сообщением


Ссылка на сообщение

Для начала подкинуть библиотеки недостающие:

'RTC' 'myGLCD' 'myTouch'

Поделиться этим сообщением


Ссылка на сообщение

У меня последняя прошивка от svyaz, но я не нашел распиновку по ней. Может у кого то есть или кто нить подскажет куда подключать:

1. Все каналы света

2. нагреватель и холодильник для терморегуляции воды.

3. Кулеры охлаждения радиаторов светильника,

4. пины таймеров.

5. Датчики температуры. Читал еще, что их номера надо где то прописывать. У меня 3 датчика но уже заизолированные с металличеким наконечником. Каким образом их прописать?

6. Помпы

7. Звонилку

8. Автокормушку

9. Если предусмотрены прошивкой еще элементы.

Поделиться этим сообщением


Ссылка на сообщение

А как скетч называется (котрый от svyaz) ?

Поделиться этим сообщением


Ссылка на сообщение

// Define the PWM PINS for the LEDs (50-53 for SD Card) myTouch(46,45,44,43,42)

const int ledPinWhite = 12; // White Led pin 7 (4)

const int ledPinBlue = 8; // Blue Led pin 8 (3)

const int ledPinRoyBlue = 9; // RoyBlue Led pin 9 (5)

const int ledPinRed = 10; // Red Led pin 10 (6)

const int ledPinUV = 11; // UV Led pin 11

const int ledPinOrange = 7; // Orange Led pin 12 (2)

const int ledPinGr = 1; // Green Led pin

const int ledPinMoon = 13; // Moon Led pin 13 (Modification to Shield & NOT controlled by an array)

const byte LCDbrightPin = 1; // подсветка LCD

// Define the other DIGITAL and/or PWM PINS being used

const int tempHeatPin = A5; //52 Нагреватель on/off (set thermostat on heater to highest desired level)

const int tempChillPin = A6; //53 Холодильник on/off (set thermostat on chiller to lowest desired level)

const int WaveMakerTop = 42; //42 Hydor Koralia Evolution (Top Plug)

const int WaveMakerBottom = 43; //43 Hydor Koralia Evolution (Bottom Plug)

const int tempAlarmPin = 49; //49 Buzzer Alarm for Temperature offsets

const int Heatsink1_FansPWM = 44; // Fan-PWM0 Heatsink1 Fan, Timer5 Вентилятор на радиаторе 1

const int Heatsink2_FansPWM = 45; // Fan-PWM1 Heatsink2 Fan, Timer5 Вентилятор на радиаторе 2

const int Heatsink3_FansPWM = 46; // Fan-PWM2 Heatsink3 Fan, Timer5 Вентилятор на радиаторе 3

const int PowerSwitch2 = A13; // Вентилятор на радиаторе 1 on/off

const int PowerSwitch3 = A14; // Вентилятор на радиаторе 2 on/off

// Таймеры

const int timer1 = A0; // pin analog 0

const int timer2 = A1; // pin analog 1

const int timer3 = A2; // pin analog 2

const int timer4 = A3; // pin analog 3

const int timer5 = A4; // pin analog 4

// DS18B20 Temperature sensors plugged into pin 51 (Water, Hood)

OneWire OneWireBus(A15); // Датчик температуры (Dallas pin)

const int SDchipSelect = 53; // SD card attached to SPI bus

Поделиться этим сообщением


Ссылка на сообщение

Это мне? Спасибо! Я так понимаю если на вентиляторах радиатора 3 провода их можно только в режиме ON/off использовать? Последний файл с прошивкой назывался jarduino mod вроде бы.

По поводу датчиков температур так и не понятно как их разграничить.

И еще узнать бы как подключить управление к грелке ,работающей от 220 в.

Изменено пользователем tiger33 (см. историю изменений)

Поделиться этим сообщением


Ссылка на сообщение

Каждый датчик температуры имеет свой уникальный адрес и в данном скетче пропишется автоматически на станице 1 меню настроек.

все датчики подключатся параллельно: +5 вольт, GND, сигнал на А15 ножку Arduino. Сигнальный конец (ножка А15) соединяется с +5 вольт

через резистор 4,7к. Схема подключения есть в сообщении #1 данной темы.

Изменено пользователем Railman (см. историю изменений)

Поделиться этим сообщением


Ссылка на сообщение

Грелка подключается к контакту А5 Arduino через реле в сообщении #2241 или подобное.

http://www.ebay.com/...sd=200965053926

http://cgi.ebay.com/ws/eBayISAPI.dll?ViewItem&item=270914974591&ssPageName=STRK:MESE:IT

Изменено пользователем Railman (см. историю изменений)

Поделиться этим сообщением


Ссылка на сообщение

Спасибо. Насчет датчиков-а как потом определяется который в воде,а который например на радиаторе?

К через такое реле можно и переменку и постоянку коммутировать?

просто его мне посоветовали для управления нагрузкой 12 в 60 вт постоянного тока. Грелку с переменным 200 втоже через такой же?

Изменено пользователем tiger33 (см. историю изменений)

Поделиться этим сообщением


Ссылка на сообщение

Там в программе каждому датчику присваивается название: вода, радиатор 1 или радиатор 2.

Вообще, реально, все гораздо проще, чем описывать словами.

На корпусе любого реле пишется коммутируемое напряжение и ток. По второй ссылке только для переменного тока.

Поделиться этим сообщением


Ссылка на сообщение

Ура дочитал всю тему до конца...правда с телефона это заняло куда больше времени чем хотелось бы.

Люды огромная прозьба выкинуть (скетч+все библиотеки по возможности маленькую инструкцию одним архивом)

У меня шилд 2.2, как я понял спросом он не пользуется (видел только у кого то одного и теперь не могу найти). На шлейфе под экраном написано T32-1289

Очень по душе скетч от svyaz(#1451) и Олега ( #1184)

Всем спасибо

Изменено пользователем hurma (см. историю изменений)

Поделиться этим сообщением


Ссылка на сообщение

Вот сам скетч от Вадима (svyaz)

 

Jarduino_mod(2).rar

 

и библиотеки

 

libraries(3).rar

 

Там в программе каждому датчику присваивается название: вода, радиатор 1 или радиатор 2.

Вообще, реально, все гораздо проще, чем описывать словами.

На корпусе любого реле пишется коммутируемое напряжение и ток. По второй ссылке только для переменного тока.

 

 

Ну это понятно что каждому свое датчику. Просто они все подключаются на один пин и как понять какой он подо что определил?

Поделиться этим сообщением


Ссылка на сообщение

Берем в руку, например, датчик для воды - его температура повышается градусов до 30.

Нажимаем кнопку "поиск датчиков" - появляется список найденных и у одного из них отображается темп. 30 гр.

Для него выбираем название ВОДА из прилагаемого списка. Теперь - это датчик для воды :))

 

Jarduino_mod прекрасный скетч (большое спасибо автору !!!). У меня работает без нареканий - проверено.

 

Хотя пришлось основательно подкорректировать под свои нужды.

Изменено пользователем Railman (см. историю изменений)

Поделиться этим сообщением


Ссылка на сообщение

Пожалуйста, авторизуйтесь, чтобы оставить комментарий

Вы сможете оставлять комментарии после авторизации



Войти

×
×
  • Создать...

Политика обработки персональных данных