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

Бородатая Бородатая агама - крупная ящерица, она вырастает до 60 см в длину, примерно треть от всей ее длины составляет хвост. Благодаря неприхотливости в содержании и дружелюбному характеру бородатая агама стала популярным домашним питомцем. Для её содержания необходим большой террариум, так как это достаточно крупная ящерица.

Механический морской змей

Эхолокация

Морские канарейки

svyaz

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

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

ПомогитЕ!! Не могу согласовать экран 3.2 inch TFT LCD module Display with touch panel SD card 240x320 than 128x64 lcd

с Arduino mega2560.Может есть схема согласования!можно и на словах обрисовать этот процесс!

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


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

Добрый день гуру поделитесь рабочем скетчем на русском на стандартный шилд

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


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

Доброго времени суток всем.. Помогите разобраться в причинах почему не устанавливается время в ртс.. плата уно, батарейки пробывал разные заряд больше 3, соединено по схеме но время не становится и все.

Видает: 2165/165/165 165:165:85

Заранее спасибо

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


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

Проверяй качество контактов и пайки и правильность подключения SDA SCL контактов

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


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

Повторю вопрос. Как можно к ардуино вместо охлаждающих кулеров на терморегуляцию подключить нагрузку 12 вольт 120-150 ватт?

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


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

С предыдущим вопросом разобрался, спасибо. Но вот не могу настроить обдув через реле 2 канальное 12в. Реле подключено по такой схеме но не могу понять в чем дело и куда подключать вентиляторы на какие выходы...

 

1.png

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


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

Подскажите где ошибка.

Нужно чтобы свет плавно включался

 

void loop()

{

hours = RTC.get(DS1307_HR,true);

minutes = RTC.get(DS1307_MIN,false);

 

lcd.setCursor(0,0);

 

lcd.print(hours); // печатаем час

lcd.print(":"); // печатаем разделитель

lcd.print(minutes); // печатаем минуты

lcd.print(":"); // печатаем разделитель

lcd.print(RTC.get(DS1307_SEC,false:); // печатаем секунды

 

lcd.setCursor(0,2);

On_Time=(13*60+14);

Off_Time=(13*60+15);

Curent_Time=RTC.get(DS1307_HR,true)*60+RTC.get(DS1307_MIN,false);//текущее время

if(On_Time < Off_Time) //Проверка, таймер в течении одних суток?

{

if (Curent_Time >= On_Time && Curent_Time <= Off_Time)

{

for(int fadeValue = 0; fadeValue <= 255; fadeValue +=3)

{

analogWrite(LR, fadeValue);

}

}

}

}

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


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

Вот для этого кода нужно плавное включение света в заданное время и плавное выключение в другое заданное время.

 

// Библиотеки необходимые для работы модуля часов
#include "Wire.h"
#include "DS1307new.h"

// библиотека экрана
#include "LiquidCrystal.h"
LiquidCrystal lcd(8, 9, 4, 5, 6, 7);[/background][/size][/font]
[font=Verdana, Tahoma, Arial, 'Trebuchet MS', sans-serif, Georgia, Courier, 'Times New Roman', serif][size=3][background=rgb(238, 242, 243)]int hours;
int minutes;
int LW = 3;	
int LR = 11;
int LB = 12;	
int On_Time =0;
int Off_Time =0;
int Curent_Time =0;

void setup(){
 Serial.begin(9600);
 lcd.begin(16, 2); // запускаем библиотеку экрана
 pinMode(LW, OUTPUT);
 pinMode(LR, OUTPUT);
 pinMode(LB, OUTPUT);
}

void loop(){
 analogWrite(10, 100);
 RTC.getTime();// получить время от модуля
 RTC.hour;
 RTC.minute;
 printTimeToSerial(); // выводим полученное время в лог
 printTimeToLCD();; // выводи время на экран
 lcd.setCursor(0, 1);	    // Set the cursor to column 0, line 1
 doSerialCommands(); // слушаем и выполняем команды из Serial[/background][/size][/font]
[font=Verdana, Tahoma, Arial, 'Trebuchet MS', sans-serif, Georgia, Courier, 'Times New Roman', serif][size=3][background=rgb(238, 242, 243)]On_Time=(20*60+27);
Off_Time=(20*60+29);
Curent_Time=RTC.hour*60+RTC.minute;//текущее время
if(On_Time < Off_Time) //Проверка, таймер в течении одних суток?
 {
   if (Curent_Time >= On_Time && Curent_Time <= Off_Time)
    for(int fadeValue = 0; fadeValue <= 255; fadeValue +=3)
  {
    analogWrite(LR, fadeValue);
}
 else 
  for(int fadeValue = 255; fadeValue >= 0; fadeValue -=3)
  {
    analogWrite(LR, fadeValue);
 }
}
else // если сутки сменились
{
    if ((Curent_Time >= On_Time && Curent_Time <= 2820)||(Curent_Time >= 0 && Curent_Time <= Off_Time))//2820=24часа*60
    for(int fadeValue = 0; fadeValue <= 255; fadeValue +=3)
  {
    analogWrite(LR, fadeValue);
   }
   else
  for(int fadeValue = 255; fadeValue >= 0; fadeValue -=3)
  {
    analogWrite(LR, fadeValue);
  }
  }
}

// Выводит текущие время в Serial
void printTimeToSerial(){

 byte static prevSecond=0; // тут будем хранить, сколько секунд было при прошлом отчете

 if(RTC.second!=prevSecond){ // что-то делаем только если секунды поменялись
   Serial.print(RTC.hour); // часы

   Serial.print(":"); // разделитель
   Serial.print(RTC.minute);

   Serial.print(":");
   Serial.println(RTC.second);

   prevSecond=RTC.second; // запомнили когда мы "отчитались"
 }
}[/background][/size][/font]
[font=Verdana, Tahoma, Arial, 'Trebuchet MS', sans-serif, Georgia, Courier, 'Times New Roman', serif][size=3][background=rgb(238, 242, 243)]// Выводит текущие время на LCD

void printTimeToLCD(){
   byte static prevSecond=0; // тут будем хранить, сколько секунд было при выводе

   if(RTC.second!=prevSecond){ // что-то делаем только если секунды поменялись
   lcd.setCursor(11,0); // устанавливаем позицию курсора

  if(RTC.hour<10)lcd.print(" ");
  lcd.print(RTC.hour); // часы

  lcd.print( (RTC.second % 2)?" ":":"); // разделитель моргает

  if(RTC.minute<10)lcd.print(0); // лидирующий ноль, если нужен
  lcd.print(RTC.minute);

   prevSecond=RTC.second; // запомнили когда мы "отчитались"
 }
}

// устанавливает часы модуля на какое-то заранее определенное время
void setSomeTime(){
 RTC.stopClock();// останавливаем часы
 RTC.fillByHMS(20,24,0); // "подкручиваем стрелки на 20:24:00
 RTC.setTime();// отправляем "подкрученное время" самому модулю
 RTC.startClock(); // и опять запускаем часы
}

// слушает из Serial команды и выполняет их. Каждая команда - один символ.
// доступны команды:
//  s - установить время указанное в функции setSomeTime()
void doSerialCommands(){
 if(Serial.available()){ // что-нибудь пришло?
   char ch=Serial.read(); // читаем что пришло

   switch(ch){
  case 's': // команда установки времени
	   setSomeTime(); // устанавливаем
	   break;

   // тут, в будущем, мы можем добавлять дополнительные команды
  default:;
	   // на неизвестную команду - ничего не делаем
   };
 }
}

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


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

Бодрого дня,

 

Собрал светильник на мега 2560 + шилд от Олега + тач 3.2". Вчера в процессе его переделки закатился болтик под ардуину и видать чего-то коротнул на ней в районе первых ног разъема для подключения экрана.

Как результат, сейчас у экрана горит только подсветка, сам экран ничего не показывает на тычки не реагирует, но когда перепрошиваешь посветкой моргает. При этом ардуина светильником управляет как надо.

Ну и да, перепрошивка/ресет/сброс питания не помогают. Видать что-то таки сдохло.

Вопрос - что наиболее вероятно сдохло? Т.е что менять в первую очередь? Все скопом менять не охота.

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


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

Собрал светильник на мега 2560 + шилд от Олега + тач 3.2". Вчера в процессе его переделки закатился болтик под ардуину и видать чего-то коротнул на ней в районе первых ног разъема для подключения экрана.

Как результат, сейчас у экрана горит только подсветка, сам экран ничего не показывает на тычки не реагирует, но когда перепрошиваешь посветкой моргает. При этом ардуина светильником управляет как надо.

Ну и да, перепрошивка/ресет/сброс питания не помогают. Видать что-то таки сдохло.

Вопрос - что наиболее вероятно сдохло? Т.е что менять в первую очередь? Все скопом менять не охота.

Судя по тому, что светом контроллер все еще управляет - сдохли какие-то из портов вывода данных идущих на экран(по моему, это пины 38,39,40,41 у ардуины). Экран даже при повреждении одной линии не будет показывать ничего.

 

Начал бы с замены ардуины - она, IMHO, наиболее вероятный претендент на повреждение. Затем, если не поможет - менять экран. В шилде от Олега, вроде на линиях дисплея только сборки, согласующие уровни, гореть вроде особо нечему.

 

Кстати, если есть осциллограф - можно более детально проверить, просто взглянув на сигналы на ногах данных, идущик к экрану. Они должны быть примерно одинаковы, на всех линиях. Если на порте вывода данных "мельтешение" около нуля или около 1 - скорее всего он где-то поврежден. Останется только понять где, но это просто.

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


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

Добрый вечер! помогите пожалуйста приобрел Arduino 2560 + Lcd 3.2 шилд 2.2 на микросхемах!

не могу ни как в нее залить ни чего!((( не выходит уже часа 3 бьюсь

Драйвера стоят диспетчер ее видит на COM 3

Лью Jarduino_v1_1 бьет ошибку!!!

Arduino: 1.5.6-r2 (Windows 8), Board: "Arduino Mega or Mega 2560, ATmega2560 (Mega 2560)"

 

Jarduino_v1_1.pde:75:27: error: writeAnything.h: No such file or directory

Jarduino_v1_1:87: error: 'ITDB02' does not name a type

Jarduino_v1_1:88: error: 'ITDB02_Touch' does not name a type

Jarduino_v1_1:120: error: 'OneWire' does not name a type

Jarduino_v1_1:122: error: 'DallasTemperature' does not name a type

Jarduino_v1_1:124: error: 'DeviceAddress' does not name a type

Jarduino_v1_1:125: error: 'DeviceAddress' does not name a type

Jarduino_v1_1:126: error: 'DeviceAddress' does not name a type

Jarduino_v1_1.pde: In function 'void SaveMoonLEDToEEPROM()':

Jarduino_v1_1:522: error: 'EEPROM_writeAnything' was not declared in this scope

Jarduino_v1_1.pde: In function 'void SaveWaveToEEPROM()':

Jarduino_v1_1:537: error: 'EEPROM_writeAnything' was not declared in this scope

Jarduino_v1_1.pde: In function 'void SaveTempToEEPROM()':

Jarduino_v1_1:548: error: 'EEPROM_writeAnything' was not declared in this scope

Jarduino_v1_1.pde: In function 'void SaveGenSetsToEEPROM()':

Jarduino_v1_1:558: error: 'EEPROM_writeAnything' was not declared in this scope

Jarduino_v1_1.pde: In function 'void SaveFeedTimesToEEPROM()':

Jarduino_v1_1:575: error: 'EEPROM_writeAnything' was not declared in this scope

Jarduino_v1_1.pde: In function 'void ReadFromEEPROM()':

Jarduino_v1_1:594: error: 'EEPROM_readAnything' was not declared in this scope

Jarduino_v1_1.pde: In function 'void SaveRTC()':

Jarduino_v1_1:652: error: 'RTC' was not declared in this scope

Jarduino_v1_1:653: error: 'DS1307_SEC' was not declared in this scope

Jarduino_v1_1:654: error: 'DS1307_MIN' was not declared in this scope

Jarduino_v1_1:655: error: 'DS1307_HR' was not declared in this scope

Jarduino_v1_1:657: error: 'DS1307_DATE' was not declared in this scope

Jarduino_v1_1:658: error: 'DS1307_MTH' was not declared in this scope

Jarduino_v1_1:659: error: 'DS1307_YR' was not declared in this scope

Jarduino_v1_1.pde: In function 'void TimeDateBar(boolean)':

Jarduino_v1_1:681: error: ambiguous overload for 'operator=' in 'rtc2 = 12'

C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino/WString.h:86: note: candidates are: String& String::operator=(const String&) <near match>

C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino/WString.h:87: note: String& String::operator=(const char*) <near match>

C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino/WString.h:88: note: String& String::operator=(const __FlashStringHelper*) <near match>

Jarduino_v1_1:683: error: ambiguous overload for 'operator=' in 'rtc2 = (rtc[2] + -0x00000000c)'

C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino/WString.h:86: note: candidates are: String& String::operator=(const String&) <near match>

C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino/WString.h:87: note: String& String::operator=(const char*) <near match>

C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino/WString.h:88: note: String& String::operator=(const __FlashStringHelper*) <near match>

Jarduino_v1_1:700: error: 'myGLCD' was not declared in this scope

Jarduino_v1_1:727: error: 'myGLCD' was not declared in this scope

Jarduino_v1_1.pde: In function 'void checkTempC()':

Jarduino_v1_1:912: error: 'sensors' was not declared in this scope

Jarduino_v1_1:914: error: 'waterThermometer' was not declared in this scope

Jarduino_v1_1:915: error: 'hoodThermometer' was not declared in this scope

Jarduino_v1_1:916: error: 'sumpThermometer' was not declared in this scope

Jarduino_v1_1.pde: In function 'void clearScreen()':

Jarduino_v1_1:1047: 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:1056: 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:1081: 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:1107: error: 'myGLCD' was not declared in this scope

Jarduino_v1_1.pde: In function 'void printHeader(char*)':

Jarduino_v1_1:1132: error: 'myGLCD' was not declared in this scope

Jarduino_v1_1:1134: 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:1139: error: 'myGLCD' was not declared in this scope

Jarduino_v1_1.pde: In function 'void waitForIt(int, int, int, int)':

Jarduino_v1_1:1149: error: 'myGLCD' was not declared in this scope

Jarduino_v1_1:1151: error: 'myTouch' was not declared in this scope

Jarduino_v1_1.pde: In function 'void waitForItSq(int, int, int, int)':

Jarduino_v1_1:1160: error: 'myGLCD' was not declared in this scope

Jarduino_v1_1:1162: error: 'myTouch' was not declared in this scope

Jarduino_v1_1.pde: In function 'void drawBarGraph()':

Jarduino_v1_1:1183: error: 'myGLCD' was not declared in this scope

Jarduino_v1_1.pde: In function 'void drawBarandColorValue()':

Jarduino_v1_1:1216: error: 'myGLCD' was not declared in this scope

Jarduino_v1_1.pde: In function 'void ledChangerGadget()':

Jarduino_v1_1:1236: error: 'myGLCD' was not declared in this scope

Jarduino_v1_1.pde: In function 'void TimeSaver(boolean)':

Jarduino_v1_1:1282: error: 'myGLCD' was not declared in this scope

Jarduino_v1_1:1295: error: 'myGLCD' was not declared in this scope

Jarduino_v1_1:1323: error: 'myGLCD' was not declared in this scope

Jarduino_v1_1.pde: In function 'void screenSaver()':

Jarduino_v1_1:1338: error: 'myTouch' was not declared in this scope

Jarduino_v1_1:1343: error: 'myGLCD' was not declared in this scope

Jarduino_v1_1.pde: In function 'void genSetSelect()':

Jarduino_v1_1:1355: error: 'myGLCD' was not declared in this scope

Jarduino_v1_1:1365: error: 'myGLCD' was not declared in this scope

Jarduino_v1_1:1375: error: 'myGLCD' was not declared in this scope

Jarduino_v1_1:1385: error: 'myGLCD' was not declared in this scope

Jarduino_v1_1:1395: error: 'myGLCD' was not declared in this scope

Jarduino_v1_1:1409: error: 'myGLCD' was not declared in this scope

Jarduino_v1_1:1423: error: 'myGLCD' was not declared in this scope

Jarduino_v1_1:1433: error: 'myGLCD' was not declared in this scope

Jarduino_v1_1:1443: error: 'myGLCD' was not declared in this scope

Jarduino_v1_1:1453: error: 'myGLCD' was not declared in this scope

Jarduino_v1_1:1462: error: 'myGLCD' was not declared in this scope

Jarduino_v1_1.pde: In function 'void feedingTimeOnOff()':

Jarduino_v1_1:1474: error: 'myGLCD' was not declared in this scope

Jarduino_v1_1:1479: error: 'myGLCD' was not declared in this scope

Jarduino_v1_1:1484: error: 'myGLCD' was not declared in this scope

Jarduino_v1_1:1489: error: 'myGLCD' was not declared in this scope

Jarduino_v1_1:1494: error: 'myGLCD' was not declared in this scope

Jarduino_v1_1:1499: error: 'myGLCD' was not declared in this scope

Jarduino_v1_1:1504: error: 'myGLCD' was not declared in this scope

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.pde: In function 'void mainScreen(boolean)':

Jarduino_v1_1:1532: error: 'myGLCD' was not declared in this scope

Jarduino_v1_1:1540: error: 'CENTER' was not declared in this scope

Jarduino_v1_1:1568: error: 'myGLCD' was not declared in this scope

Jarduino_v1_1:1586: error: 'myGLCD' was not declared in this scope

Jarduino_v1_1:1604: error: 'myGLCD' was not declared in this scope

Jarduino_v1_1:1622: error: 'myGLCD' was not declared in this scope

Jarduino_v1_1:1640: error: 'myGLCD' was not declared in this scope

Jarduino_v1_1:1658: error: 'myGLCD' was not declared in this scope

Jarduino_v1_1:1676: error: 'myGLCD' was not declared in this scope

Jarduino_v1_1:1689: error: 'myGLCD' was not declared in this scope

Jarduino_v1_1.pde: In function 'void screenReturn()':

Jarduino_v1_1:1762: error: 'myTouch' was not declared in this scope

Jarduino_v1_1.pde: In function 'void menuScreen()':

Jarduino_v1_1:1786: error: 'myGLCD' was not declared in this scope

Jarduino_v1_1.pde: In function 'void clockScreen(boolean)':

Jarduino_v1_1:1813: error: 'myGLCD' was not declared in this scope

Jarduino_v1_1:1843: error: 'myGLCD' was not declared in this scope

Jarduino_v1_1.pde: In function 'void timeChange()':

Jarduino_v1_1:1880: error: 'myGLCD' was not declared in this scope

Jarduino_v1_1.pde: In function 'void timeCorrectFormat()':

Jarduino_v1_1:1896: error: 'myGLCD' was not declared in this scope

Jarduino_v1_1.pde: In function 'void tempScreen(boolean)':

Jarduino_v1_1:1956: error: 'myGLCD' was not declared in this scope

Jarduino_v1_1:1973: error: 'CENTER' was not declared in this scope

Jarduino_v1_1:1985: error: 'myGLCD' was not declared in this scope

Jarduino_v1_1:1985: error: 'CENTER' was not declared in this scope

Jarduino_v1_1.pde: In function 'void ledTestOptionsScreen()':

Jarduino_v1_1:1997: error: 'myGLCD' was not declared in this scope

Jarduino_v1_1.pde: In function 'void testArrayScreen(boolean)':

Jarduino_v1_1:2014: error: 'myGLCD' was not declared in this scope

Jarduino_v1_1:2031: error: 'myGLCD' was not declared in this scope

Jarduino_v1_1:2044: error: 'CENTER' was not declared in this scope

Jarduino_v1_1:2054: error: 'myTouch' was not declared in this scope

Jarduino_v1_1:2069: error: ambiguous overload for 'operator=' in 'HOURS = hours'

C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino/WString.h:86: note: candidates are: String& String::operator=(const String&) <near match>

C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino/WString.h:87: note: String& String::operator=(const char*) <near match>

C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino/WString.h:88: note: String& String::operator=(const __FlashStringHelper*) <near match>

Jarduino_v1_1:2070: error: ambiguous overload for 'operator=' in 'hrsPM = (hours + -0x00000000c)'

C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino/WString.h:86: note: candidates are: String& String::operator=(const String&) <near match>

C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino/WString.h:87: note: String& String::operator=(const char*) <near match>

C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino/WString.h:88: note: String& String::operator=(const __FlashStringHelper*) <near match>

Jarduino_v1_1:2071: error: ambiguous overload for 'operator=' in 'hrs = 12'

C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino/WString.h:86: note: candidates are: String& String::operator=(const String&) <near match>

C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino/WString.h:87: note: String& String::operator=(const char*) <near match>

C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino/WString.h:88: note: String& String::operator=(const __FlashStringHelper*) <near match>

Jarduino_v1_1:2075: error: ambiguous overload for 'operator=' in 'hrs = 12'

C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino/WString.h:86: note: candidates are: String& String::operator=(const String&) <near match>

C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino/WString.h:87: note: String& String::operator=(const char*) <near match>

C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino/WString.h:88: note: String& String::operator=(const __FlashStringHelper*) <near match>

Jarduino_v1_1:2078: error: ambiguous overload for 'operator=' in 'mins = minut'

C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino/WString.h:86: note: candidates are: String& String::operator=(const String&) <near match>

C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino/WString.h:87: note: String& String::operator=(const char*) <near match>

C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino/WString.h:88: note: String& String::operator=(const __FlashStringHelper*) <near match>

Jarduino_v1_1.pde: In function 'void testIndLedScreen()':

Jarduino_v1_1:2146: error: 'myGLCD' was not declared in this scope

Jarduino_v1_1.pde: In function 'void ledColorViewScreen()':

Jarduino_v1_1:2229: error: 'myGLCD' was not declared in this scope

Jarduino_v1_1.pde: In function 'void ledValuesScreen()':

Jarduino_v1_1:2318: error: 'myGLCD' was not declared in this scope

Jarduino_v1_1:2318: error: 'CENTER' was not declared in this scope

Jarduino_v1_1:2339: error: 'myGLCD' was not declared in this scope

Jarduino_v1_1:2351: error: 'myGLCD' was not declared in this scope

Jarduino_v1_1.pde: In function 'void ledChangeScreen()':

Jarduino_v1_1:2377: error: 'myGLCD' was not declared in this scope

Jarduino_v1_1.pde: In function 'void WaveMakerButtons()':

Jarduino_v1_1:2404: error: 'myGLCD' was not declared in this scope

Jarduino_v1_1.pde: In function 'void WaveMakerScreen()':

Jarduino_v1_1:2420: error: 'myGLCD' was not declared in this scope

Jarduino_v1_1:2427: error: 'CENTER' was not declared in this scope

Jarduino_v1_1.pde: In function 'void viewWaveTimes()':

Jarduino_v1_1:2436: error: 'myGLCD' was not declared in this scope

Jarduino_v1_1.pde: In function 'void WaveMakerStatusScreen()':

Jarduino_v1_1:2451: error: 'myGLCD' was not declared in this scope

Jarduino_v1_1:2459: error: 'CENTER' was not declared in this scope

Jarduino_v1_1:2476: error: 'CENTER' was not declared in this scope

Jarduino_v1_1:2501: error: 'CENTER' was not declared in this scope

Jarduino_v1_1:2539: error: 'CENTER' was not declared in this scope

Jarduino_v1_1:2570: error: 'CENTER' was not declared in this scope

Jarduino_v1_1:2585: error: 'myTouch' was not declared in this scope

Jarduino_v1_1.pde: In function 'void WaveMakerSettingsScreen()':

Jarduino_v1_1:2623: error: 'myGLCD' was not declared in this scope

Jarduino_v1_1:2648: error: 'CENTER' was not declared in this scope

Jarduino_v1_1.pde: In function 'void synchronousSynch()':

Jarduino_v1_1:2672: error: 'myGLCD' was not declared in this scope

Jarduino_v1_1:2686: error: 'CENTER' was not declared in this scope

Jarduino_v1_1:2704: error: 'CENTER' was not declared in this scope

Jarduino_v1_1:2724: error: 'CENTER' was not declared in this scope

Jarduino_v1_1.pde: In function 'void viewWaveTimesPage()':

Jarduino_v1_1:2740: error: 'myGLCD' was not declared in this scope

Jarduino_v1_1:2742: error: 'myGLCD' was not declared in this scope

Jarduino_v1_1:2745: error: 'myGLCD' was not declared in this scope

Jarduino_v1_1:2747: error: 'myGLCD' was not declared in this scope

Jarduino_v1_1:2749: error: 'myGLCD' was not declared in this scope

Jarduino_v1_1:2751: error: 'myGLCD' was not declared in this scope

Jarduino_v1_1:2753: error: 'myGLCD' was not declared in this scope

Jarduino_v1_1:2755: error: 'myGLCD' was not declared in this scope

Jarduino_v1_1:2757: error: 'myGLCD' was not declared in this scope

Jarduino_v1_1:2760: error: 'myGLCD' was not declared in this scope

Jarduino_v1_1:2762: error: 'myGLCD' was not declared in this scope

Jarduino_v1_1:2764: error: 'myGLCD' was not declared in this scope

Jarduino_v1_1:2766: error: 'myGLCD' was not declared in this scope

Jarduino_v1_1:2768: error: 'myGLCD' was not declared in this scope

Jarduino_v1_1.pde: In function 'void waveModePlusMinus()':

Jarduino_v1_1:2789: error: 'myGLCD' was not declared in this scope

Jarduino_v1_1:2790: error: 'myGLCD' was not declared in this scope

Jarduino_v1_1:2791: error: 'myGLCD' was not declared in this scope

Jarduino_v1_1:2793: error: 'myGLCD' was not declared in this scope

Jarduino_v1_1:2804: error: 'myGLCD' was not declared in this scope

Jarduino_v1_1:2811: error: 'myGLCD' was not declared in this scope

Jarduino_v1_1:2812: error: 'myGLCD' was not declared in this scope

Jarduino_v1_1:2814: error: 'myGLCD' was not declared in this scope

Jarduino_v1_1:2824: error: 'myGLCD' was not declared in this scope

Jarduino_v1_1:2834: error: 'myGLCD' was not declared in this scope

Jarduino_v1_1:2835: error: 'myGLCD' was not declared in this scope

Jarduino_v1_1:2836: error: 'myGLCD' was not declared in this scope

Jarduino_v1_1:2838: error: 'myGLCD' was not declared in this scope

Jarduino_v1_1:2849: error: 'myGLCD' was not declared in this scope

Jarduino_v1_1:2856: error: 'myGLCD' was not declared in this scope

Jarduino_v1_1:2857: 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.pde: In function 'void generalSettingsScreen()':

Jarduino_v1_1:2881: error: 'myGLCD' was not declared in this scope

Jarduino_v1_1.pde: In function 'void autoFeederScreen()':

Jarduino_v1_1:2907: error: 'myGLCD' was not declared in this scope

Jarduino_v1_1.pde: In function 'void feedingTimeOutput()':

Jarduino_v1_1:3041: error: 'RTC' was not declared in this scope

Jarduino_v1_1:3059: error: 'RTC' was not declared in this scope

Jarduino_v1_1:3077: error: 'RTC' was not declared in this scope

Jarduino_v1_1:3095: error: 'RTC' was not declared in this scope

Jarduino_v1_1.pde: In function 'void setFeederTimesScreen(boolean)':

Jarduino_v1_1:3123: error: 'myGLCD' was not declared in this scope

Jarduino_v1_1.pde: In function 'void AboutScreen()':

Jarduino_v1_1:3154: error: 'myGLCD' was not declared in this scope

Jarduino_v1_1:3154: error: 'CENTER' was not declared in this scope

Jarduino_v1_1.pde: In function 'void processMyTouch()':

Jarduino_v1_1:3180: error: 'myTouch' was not declared in this scope

Jarduino_v1_1:3717: error: 'myGLCD' was not declared in this scope

Jarduino_v1_1:3720: error: 'myGLCD' was not declared in this scope

Jarduino_v1_1:3721: error: 'myGLCD' was not declared in this scope

Jarduino_v1_1:3722: error: 'myGLCD' was not declared in this scope

Jarduino_v1_1:3728: error: 'myGLCD' was not declared in this scope

Jarduino_v1_1:3757: error: 'myGLCD' was not declared in this scope

Jarduino_v1_1:3762: error: 'myGLCD' was not declared in this scope

Jarduino_v1_1:3765: error: 'myGLCD' was not declared in this scope

Jarduino_v1_1:3766: error: 'myGLCD' was not declared in this scope

Jarduino_v1_1:3767: error: 'myGLCD' was not declared in this scope

Jarduino_v1_1:3773: error: 'myGLCD' was not declared in this scope

Jarduino_v1_1:3902: error: 'myGLCD' was not declared in this scope

Jarduino_v1_1:3902: error: 'CENTER' was not declared in this scope

Jarduino_v1_1:3913: error: 'myGLCD' was not declared in this scope

Jarduino_v1_1:3913: error: 'CENTER' was not declared in this scope

Jarduino_v1_1:3960: error: 'myGLCD' was not declared in this scope

Jarduino_v1_1:3989: error: 'myGLCD' was not declared in this scope

Jarduino_v1_1:4001: error: 'myGLCD' was not declared in this scope

Jarduino_v1_1:4085: error: 'myGLCD' was not declared in this scope

Jarduino_v1_1:4253: error: 'myGLCD' was not declared in this scope

Jarduino_v1_1.pde: In function 'void setup()':

Jarduino_v1_1:4384: error: redefinition of 'void setup()'

sketch_apr26a:1: error: 'void setup()' previously defined here

Jarduino_v1_1:4414: error: 'myGLCD' was not declared in this scope

Jarduino_v1_1:4414: error: 'LANDSCAPE' was not declared in this scope

Jarduino_v1_1:4417: error: 'myTouch' was not declared in this scope

Jarduino_v1_1:4418: error: 'PREC_MEDIUM' was not declared in this scope

Jarduino_v1_1:4420: error: 'sensors' was not declared in this scope

Jarduino_v1_1:4422: error: 'waterThermometer' was not declared in this scope

Jarduino_v1_1:4423: error: 'hoodThermometer' was not declared in this scope

Jarduino_v1_1:4424: error: 'sumpThermometer' was not declared in this scope

Jarduino_v1_1:4429: error: 'RTC' was not declared in this scope

Jarduino_v1_1.pde: In function 'void loop()':

Jarduino_v1_1:4440: error: redefinition of 'void loop()'

sketch_apr26a:6: error: 'void loop()' previously defined here

Jarduino_v1_1:4442: error: 'myTouch' was not declared in this scope

Jarduino_v1_1:4445: error: 'myGLCD' was not declared in this scope

Jarduino_v1_1:4469: error: 'RTC' was not declared in this scope

 

This report would have more information with

"Show verbose output during compilation"

enabled in File > Preferences.

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


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

Так мне никто и не отвечает ,но я все таки еще раз спрошу.

Как подключить к ардуино вместо охлаждающих воду вентиляторов нагрузку 12 вольт 60-120 ватт? через реле? может у кого схемка есть?

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

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


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

А можно вообще, вот такpost-28810-0-44011700-1398712633.png

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


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

Эх...А готового решения нет? Я в электронике неочень. 14N05 это транзистор? питание это которое 10А идет или с ардуины? минус через землю?

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


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

Почему нету? Куча. Набираешь в поисковой строке на Ебэее "Relay Module Board Arduino"... И выбирай. Хоть такой - $_12.JPG

 

 

 

Да, транзистор. Очень хорошо подходят полевички со старых мат.плат.

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

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


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

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

 

http://www.ebay.com/itm/1-Channel-12V-Relay-Expansion-Board-Module-High-Level-Triger-for-Arduino-/200965053926?pt=LH_DefaultDomain_0&hash=item2eca735de6

вот такой думаю подойдет

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

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


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

подойдёт.

vcc - питание (+12 вольт)

gnd - земля (минус)

in - сигнал с ноги ардуины

 

на винтовом клеммнике у реле, выбираешь два, которые не "звонятся". При подаче сигнала на модуль они будут замыкать цепь.

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


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

Спасибо. Я так понимаю, 48 пин в этих прошивках идет на управление вентилятором? Или это охлаждение радиатора?

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


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

Здравствуйте Уважаемые Форумчане. Помогите пожалуйста разобраться. Очень Вас прошу.

Немогу разобраться в назначении пинов (на первой странице). Там получается что 42 и 43 пин на Ардуине подключается и к монитору и управляет помпами - не судите строго, прочитав все страницы так и ненашел ответ.

Знающие люди направьте в правильное русло (ткните меня носом в каждый PIN - вот это сюда а это сюда). Очень хочется собрать этот контроллер.

Дочка постоянно забывает кормить рыбок :))))))))

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


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

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

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


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

Если кому будет интересно, то я сегодня подключил дисплей (вмонтированный в аквариумную крышку) к ардуино с шилдом (установлены в тумбе под аквариумом) посредством шлейфа, длиной 2,5 метра. Полет нормальный.

post-28477-0-24699900-1401776046_thumb.jpg

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

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


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

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

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


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

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

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


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

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

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


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

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

Комментарии могут оставлять только зарегистрированные пользователи

Создать аккаунт

Зарегистрировать новый аккаунт в нашем сообществе. Это несложно!

Зарегистрировать новый аккаунт

Войти

Есть аккаунт? Войти.

Войти

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