Robo-Tank DIY Aquarium Controller Forum
Robo-Tank v5.0 is Ready - Printable Version

+- Robo-Tank DIY Aquarium Controller Forum (https://www.robo-tank.ca/forum)
+-- Forum: Robo-Tank Arduino Based - NO LONGER AVAILABLE (https://www.robo-tank.ca/forum/forum-16.html)
+--- Forum: Current News and Design Ideas (https://www.robo-tank.ca/forum/forum-22.html)
+--- Thread: Robo-Tank v5.0 is Ready (/thread-386.html)

Pages: 1 2 3 4 5 6 7 8 9 10 11


RE: Robo-Tank v5.0 is Ready - Addi - 02-15-2019

Mit dem 3,3v Regler gehts auch nicht


RE: Robo-Tank v5.0 is Ready - Rob F - 02-15-2019

(02-15-2019, 11:12 AM)Rob Wheatley Wrote: Hi Rob
Did put v5.01 on but forgot to do the sd files......
Done now and keyboard is fine.
ATO now appears to be working, the float readout does keep saying open randomly when it is definitely closed (fully submerged)
Going to change to optical sensors soon (can I use optical on ports 1 to 5 as well) and make a combined 24v 240v power bar using one 25 way connecting control cable instead of 2 VGA ones.
Any idea how long the deg C update will take, deg F is confusing lol

Ah so you're viewing the ATO float in one of the boxes on the home screen and you're not referring to the ATO icon below the time?

If so I'm guessing when this happens the pump doesn't actually start up for a quick second nor does the ATO icon turn green?

I think this is just a visual error, on mine I've noticed a couple times a long invalid number on a flow meter where I have to leave the home page and return to clear it all as it prints off the meter. You're likely getting something similar which is why that box changes. It's not serious though as the numbers on the controller are definitely correct, but every so often when the data is coming into the display it gets overridden with new data because it's sent every second. I know what's going on and just have to tweak some things.

It shouldn't be so long for C, I can't believe I screwed that up. :(

I like the idea of a combo AC/DC power bar, might have to copy you one day. :)

You can use optical sensors for the main ATO and the 5 analog ports but you need to change a resistor and add a resistor. I started typing instructions here but instead I'm going to start a new thread showing how to wire those up.

(02-15-2019, 01:20 PM)Addi Wrote: Mit dem 3,3v Regler gehts auch nicht

Well that's disappointing and has me stumped, I'm pounding my head trying to think of why this could be happening. 

One more time, with all your circuits connected, open the serial monitor on the controller, after 20 seconds you'll see the print outs appear in the serial monitor showing 0.0 for all the possible circuits, does that stop or go forever? On the display does the clock change / freeze or does the time keep getting updated?

Does anyone have an Atlas circuit working other than me?


RE: Robo-Tank v5.0 is Ready - Addi - 02-15-2019

Im seriellen Monitor sehe ich nichts , die uhr auf dem Display zeigt immer wenn die ph sonde einfriert jahr 2009 an , die sonde wird dan über i2c nicht mehr angesprochen, blinkt nicht mehr pro sekunde. Nach neustart läuft es wieder


RE: Robo-Tank v5.0 is Ready - Rob F - 02-15-2019

That says it's hardware related not code and because you see it work a little while shows the code does what it should. The I2C bus is definitely dropping out which is why the clock goes to 2009. I'm curious, what is the length of cable between controller and Atlas circuits? Are your connections soldered or header pin cables?

I know it worked with v4.2 but the problem you have is expected with gen2 hardware but shouldn't be a problem with gen3 because gen3 has an I2C buffer which increases the capacitive load of the I2C bus allowing for longer cable and more devices. When I was using gen2 without the buffer I could only use 1ft of cable between an I2C device and the controller reliably. If I used 6ft of cable it never worked. Overtime I've also noticed different results with gen2 and I2C, for example I've never been able to connect more than 2 devices using 1 cable at 1ft reliably. So the fact some of you could run more is honestly a surprise. Gen2 has nothing special for I2C so it's what the Arduino delivers, I believe the max capactive load for an Arduino is 400pf, any traces, connectors, wire, devices and other factors will add up to a load and it must not exceed this limit. By default there are already 3 devices on the bus, clock, LED driver and eeprom. If the load exceeds the limit the I2C will lock up and at some point it becomes unreliable because it's nearing it's limit and possible other things connected could add noise to the I2C bus causing a surge which knocks it out until the Arduino is reset.

Once I decided to go with I2C power bars this all became very clear to me and I really realized how touchy the I2C bus can be. I search and tried but had lots of problems so I actually hired someone on a website to help me get it worked out. In the end I used the PCA9507 I2C buffer which increases the capactive load to 1800pf from 400pf and has made a world of difference.

Now with all that said I'm not trying to sell you gen3 as it should work again but you might have to change cable length, I'm just trying to explain. Whatever the setup for just the ph circuit is on the edge and why another device knocks it out completely.


RE: Robo-Tank v5.0 is Ready - Rob F - 02-15-2019

(02-15-2019, 11:12 AM)Rob Wheatley Wrote: Going to change to optical sensors soon (can I use optical on ports 1 to 5 as well) 

Here's a link showing how to connect.

https://www.robo-tank.ca/forum/Thread-Connecting-Optical-Water-Sensor


RE: Robo-Tank v5.0 is Ready - Addi - 02-16-2019

Die kabellänge zur Sonde beträgt bei mir 20 cm , wenn die einzige lösung gen 3 ist ,was kostet mich das ?


RE: Robo-Tank v5.0 is Ready - Rob F - 02-16-2019

Ah this is so crazy, you shouldn't need gen3 as you had it working. I've gone through the code many times to compare with v4.2 and I didn't change anything for how the I2C is setup. Can you do me a favor and try reverting back to v4.2 and verifying they all circuits still work? If so don't breath on anything and try v5.01 again. 20cm of cable should be fine, that's how I have mine setup right now bypassing the buffer so it matches yours and its working ok. I'm going to bang my head some more to see what else I can try.


RE: Robo-Tank v5.0 is Ready - johnrc - 02-17-2019

Hello ,

something happens at the fading to off mode........
When the lights are allmost 10%-15% on and fading, suddenly switch off to to 0%.
Do someone has the same problem?
Rob ?did i sth wrong with the setup?


RE: Robo-Tank v5.0 is Ready - Rob F - 02-17-2019

Sounds like a wiring or settings issue, if you can't find anything with wiring maybe try deleting all the light modes and set them up again in case there is a problem in the code. The code is ok for dimming if settings are ok. Let me know what you try and what works.


RE: Robo-Tank v5.0 is Ready - aquaalgae - 02-19-2019

Rob, I'm not able to control the second relay box. It's showing up but whenever I manually turn an outlet on or off that is on box 2, the respective relay on box 1 turns on or off.


RE: Robo-Tank v5.0 is Ready - Rob F - 02-19-2019

Hi aquaalgae, oops I messed up, I checked the sketch and there was a simple thing I missed. I emailed you a controller sketch to upload which should get that 2nd bar working.


RE: Robo-Tank v5.0 is Ready - fietsenrex - 02-20-2019

In V5.01, is the second powerbar working on gen2 hardware and does the controller operate properly using Celsius instead of Fahrenheit


RE: Robo-Tank v5.0 is Ready - Rob F - 02-20-2019

Yeah 2nd power bar works, the problem was only with the ones connecting via I2C, I had the same address set for all 8 power bars.

I'm going to fix that heater Celsius issue now and upload v5.02, should have it done in an hour or so but my uploads are really slow so we'll see.


RE: Robo-Tank v5.0 is Ready - Rob F - 02-20-2019

You guys can download v5.02 now, the password is the same. This fixes the heaters so they work in Celsius and fixed the I2C addresses for the power bars. The updates going forward will have the separate folder to update from v5.01 to v5.02 for example, only the files you need will be there. If you update from v4.2 use the fresh install folder.


RE: Robo-Tank v5.0 is Ready - aquaalgae - 02-20-2019

Rob, the v5.02 update did fix the issue with the second relay box.

I am having an issue with labeling the different relays though. I added a name for Box 1 Relay 1, then Box 1 Relay 2, then Box 1 Relay 3. At this point i realized that the name I put for Relay 2 is on Relay 1 and the name I put for Relay 3 is on Relay 2. I tried this a few times, and it keeps moving the names over.


RE: Robo-Tank v5.0 is Ready - Rob F - 02-20-2019

Ah I see that now when you change them from the customize icon screen. For now use the customize label screen to change them. Thanks for letting me know.


RE: Robo-Tank v5.0 is Ready - aquaalgae - 02-20-2019

I'll try that tonight. Thanks Rob!


RE: Robo-Tank v5.0 is Ready - aquaalgae - 02-20-2019

I was able to change the names using the customize label screen although the icons at the bottom are not lined up and it's difficult to click on some of them.


RE: Robo-Tank v5.0 is Ready - Rob F - 02-20-2019

Yeah I have to shift them about 10px, when I did the page I had 3 power bars showing so thought it was centered, I did see it like that but always got side tracked and didn't changed. For touching those lines you definitely can't use the tip of your finger. I've got in the habit of using the tip of my nail on my middle finger. I face my nail to the screen and tap with the tip and it's quite precise, 9 out of 10 times I get the correct line. You don't need long nails either, just need to touch the tip. Another option is a stylus, some people have one stuck to the side of the display.


RE: Robo-Tank v5.0 is Ready - aquaalgae - 02-20-2019

Yeah, I was using a stylus. I think I'm having another issue though. I was on some settings screen (I don't remember which one) I went upstairs to get something and came back down and clicked the button on the bottom to go back to the home screen and the controller and display restarted. When it came back up, all of the relays that I had set to be always on were off. I pressed resume several times but they wouldn't come back on. If I manually turn them on individually they do turn on. I restarted the controller but that didn't help.