iAqua: My Touch Interface Aquarium Controller (Arduino) - Page 92 - The Planted Tank Forum
 198Likes
 
LinkBack Thread Tools Display Modes
post #1366 of 2124 (permalink) Old 11-18-2015, 10:29 PM
Planted Tank Obsessed
 
PTrader: (7/100%)
Join Date: Oct 2008
Location: Round Rock, TX
Posts: 363
I would like to see what you have for the lights. I looked at it a little to see what needed to be changed, but have not done anything with it.

If it helps I can PM you my email.

thanks
david

Quote:
Originally Posted by alphabeta View Post
i guess the general answer is no. I had to update the code to hove two periods for CO2, light1, and light2.

i could share the code if that will help. I also added the third pump.

Bump:

yes, agree. but if you run the relay through the same regulator, then it will get hot mine was 5v, tried, and after measuring the amps got that it drays a lot.
lovingHDTV is offline  
Sponsored Links
Advertisement
 
post #1367 of 2124 (permalink) Old 11-18-2015, 11:00 PM
Planted Tank Obsessed
 
alphabeta's Avatar
 
PTrader: (6/100%)
Join Date: Jul 2014
Location: Chicago Area
Posts: 386
pm me your email, and I will send the codes.

46 Bowfront:
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

CAPS - Chicago Aquatic Plant Society
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
alphabeta is offline  
post #1368 of 2124 (permalink) Old 11-19-2015, 02:39 AM
Planted Tank Obsessed
 
PTrader: (7/100%)
Join Date: Oct 2008
Location: Round Rock, TX
Posts: 363
Thanks for the code. I was able to use it to update what I was using to be able to schedule 2 times for lights 1 and 2. I didn't mess with the CO2 schedule.

It took me a bit to figure out I needed to force an EEPROM update, but after that it all worked great.

david

Quote:
Originally Posted by alphabeta View Post
pm me your email, and I will send the codes.
lovingHDTV is offline  
 
post #1369 of 2124 (permalink) Old 11-19-2015, 02:43 AM
Planted Tank Obsessed
 
alphabeta's Avatar
 
PTrader: (6/100%)
Join Date: Jul 2014
Location: Chicago Area
Posts: 386
excellent! good luck with finishing the project.

46 Bowfront:
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

CAPS - Chicago Aquatic Plant Society
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
alphabeta is offline  
post #1370 of 2124 (permalink) Old 12-02-2015, 11:55 AM
Newbie
 
PTrader: (0/0%)
Join Date: Dec 2015
Posts: 4
for some reason I cant get this to load. keep getting error

Arduino: 1.6.6 (Windows 10), Board: "Arduino/Genuino Mega or Mega 2560, ATmega2560 (Mega 2560)"

C:\Users\******\AppData\Local\Temp\Temp3_iAqua.zip \iAqua\iAqua.ino:88:61: fatal error: UTFT.h: No such file or directory

#include <UTFT.h> // used to interface with the TFT display

^

compilation terminated.

What am I doing wrong thanks Matt

exit status 1
Error compiling.

This report would have more information with
"Show verbose output during compilation"
enabled in File > Preferences.
mattj2479 is offline  
post #1371 of 2124 (permalink) Old 12-02-2015, 04:12 PM
Algae Grower
 
PTrader: (0/0%)
Join Date: Jul 2015
Location: Chicago area
Posts: 17
^ did you install UTFT library?. UTFT is not included in standard Adruino IDE libraries you have to install it.
cairo is offline  
post #1372 of 2124 (permalink) Old 12-02-2015, 05:38 PM
Newbie
 
PTrader: (0/0%)
Join Date: Dec 2015
Posts: 4
Quote:
Originally Posted by cairo View Post
^ did you install UTFT library?. UTFT is not included in standard Adruino IDE libraries you have to install it.
Thanks that fixed that now I get:





WARNING: Category '' in library OneWire is not valid. Setting to 'Uncategorized'
arial_bold.c:9: error: variable 'arial_bold' must be const in order to be put into read-only section by means of '__attribute__((progmem))'

uint8_t arial_bold[3044] PROGMEM={

^

exit status 1
variable 'arial_bold' must be const in order to be put into read-only section by means of '__attribute__((progmem))'

I'm ok with electronics side this Arduino thing is really new to me
mattj2479 is offline  
post #1373 of 2124 (permalink) Old 12-02-2015, 07:05 PM
Algae Grower
 
PTrader: (0/0%)
Join Date: Jul 2015
Location: Chicago area
Posts: 17
Open arial_bold.c and Sinclair_S.c files in the editor and add
"const" before "uint8_t arial_bold[3044] PROGMEM={"
should be like this:
const uint8_t arial_bold[3044] PROGMEM={......

const uint8_t Sinclair_S[764] PROGMEM={.......

Last edited by cairo; 12-02-2015 at 07:23 PM. Reason: Correct error
cairo is offline  
post #1374 of 2124 (permalink) Old 12-02-2015, 10:17 PM
Newbie
 
PTrader: (0/0%)
Join Date: Dec 2015
Posts: 4
Quote:
Originally Posted by cairo View Post
Open arial_bold.c and Sinclair_S.c files in the editor and add
"const" before "uint8_t arial_bold[3044] PROGMEM={"
should be like this:
const uint8_t arial_bold[3044] PROGMEM={......

const uint8_t Sinclair_S[764] PROGMEM={.......
Your a star thanks
mattj2479 is offline  
post #1375 of 2124 (permalink) Old 12-04-2015, 05:00 AM
Planted Member
 
MrMan's Avatar
 
PTrader: (0/0%)
Join Date: Dec 2014
Location: Vancouver
Posts: 224
For anyone using an iAqua with an e-series, does your program properly save the LED values to your light? I've found that the controller will adjust the lights up/down but when it does the save routine it just changes the light to the old M1-4 setting. IE if all spots are set to all lights at 0 and i adjust white to 100 and press save the light just goes back to 0.
MrMan is offline  
post #1376 of 2124 (permalink) Old 12-15-2015, 06:16 PM
Newbie
 
PTrader: (0/0%)
Join Date: Dec 2015
Posts: 4
Got the controller up and running. Now to move on with the build


AnotherHobby was there a reason u moved screendim from 13 to 8?


Just wish I could get a SD card to run full speed now can only have it set to HIGH. Even tried the libraries swap to SDraw but can not seem to get it to work and not sure if it would run the SD card any faster anyway.
mattj2479 is offline  
post #1377 of 2124 (permalink) Old 12-22-2015, 12:04 PM
Planted Tank Obsessed
 
fietsenrex's Avatar
 
PTrader: (0/0%)
Join Date: Oct 2014
Location: Netherlands
Posts: 421
if you adopted the changes fernando mentioned it is at its limit..
the reason for the change was to free analog pins if I remember correctly but it is somewhere here in the thread.
fietsenrex is offline  
post #1378 of 2124 (permalink) Old 12-23-2015, 03:29 PM
Algae Grower
 
PTrader: (0/0%)
Join Date: Dec 2015
Location: Plainfield, IL
Posts: 13
I have the iAqua controller functioning and have my Chinese Black Box LED's under it's control. It was easier than I thought to connect the led fixtures to the channels. Only two wires needed, pwm signal and gnd. I did have issues with putting them at 100%. At first I was only able to get them at about 38% but found the logic in the sketch was only allowing for brightness setting to max out at 100. I did set the variable "lightCSP = false" but it did not make a difference with the if...else statements that clearly set maxRGBW = 255 if lightCSP = false. So I changed the int maxRGBW = 100 to maxRGBW = 255.

// if you have a Current Satellite Plus, this is true
// if you are controlling your lights directly with PWM, this is false
boolean lightCSP = false;
int maxRGBW = 100;

I didn't dig deep into the code to see what was causing the logic to not recognize when lightCSP was set to false.

I will post pictures of the Chinese Black Box connections if anyone is interested. My led boxes had drivers that had Analog, PWM, and resistive controlling capabilities so I had it easy and used the PWM output of the mega.
Sting64 is offline  
post #1379 of 2124 (permalink) Old 12-23-2015, 06:34 PM
Algae Grower
 
PTrader: (0/0%)
Join Date: Jul 2015
Location: Chicago area
Posts: 17
Quote:
Originally Posted by Sting64 View Post
I have the iAqua controller functioning and have my Chinese Black Box LED's under it's control. It was easier than I thought to connect the led fixtures to the channels. Only two wires needed, pwm signal and gnd. I did have issues with putting them at 100%. At first I was only able to get them at about 38% but found the logic in the sketch was only allowing for brightness setting to max out at 100. I did set the variable "lightCSP = false" but it did not make a difference with the if...else statements that clearly set maxRGBW = 255 if lightCSP = false. So I changed the int maxRGBW = 100 to maxRGBW = 255.

// if you have a Current Satellite Plus, this is true
// if you are controlling your lights directly with PWM, this is false
boolean lightCSP = false;
int maxRGBW = 100;

I didn't dig deep into the code to see what was causing the logic to not recognize when lightCSP was set to false.

I will post pictures of the Chinese Black Box connections if anyone is interested. My led boxes had drivers that had Analog, PWM, and resistive controlling capabilities so I had it easy and used the PWM output of the mega.
Maybe you need 10v PWM to control black box.
cairo is offline  
post #1380 of 2124 (permalink) Old 12-23-2015, 08:01 PM
Algae Grower
 
PTrader: (0/0%)
Join Date: Dec 2015
Location: Plainfield, IL
Posts: 13
Quote:
Originally Posted by cairo View Post
Maybe you need 10v PWM to control black box.
After I set maxRGBW = 255, I was able to adjust the brightness beyond the 100 limit that was imposed. I now can set brightness to 255.
The brightness of the led's can be maxed out now.
Sting64 is offline  
Reply

Tags
None

Quick Reply
Message:
Options

Register Now



In order to be able to post messages on the The Planted Tank Forum forums, you must first register.
Please enter your desired user name, your email address and other required details in the form below.

User Name:
Password
Please enter a password for your user account. Note that passwords are case-sensitive.

Password:


Confirm Password:
Email Address
Please enter a valid email address for yourself.

Email Address:
OR

Log-in










Thread Tools
Show Printable Version Show Printable Version
Email this Page Email this Page
Display Modes
Linear Mode Linear Mode



Posting Rules  
You may post new threads
You may post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

 
For the best viewing experience please update your browser to Google Chrome