Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Robo-Tank v5.0 is Ready
Mit dem 3,3v Regler gehts auch nicht
Reply to top
(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?
Reply to top
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
Reply to top
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.
Reply to top
(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.
Reply to top
Die kabellänge zur Sonde beträgt bei mir 20 cm , wenn die einzige lösung gen 3 ist ,was kostet mich das ?
Reply to top
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.
Reply to top
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?
Reply to top
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.
Reply to top
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.
Reply to top
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.
Reply to top
In V5.01, is the second powerbar working on gen2 hardware and does the controller operate properly using Celsius instead of Fahrenheit
Reply to top
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.
Reply to top
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.
Reply to top
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.
Reply to top
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.
Reply to top
I'll try that tonight. Thanks Rob!
Reply to top
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.
Reply to top
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.
Reply to top
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.
Reply to top

Possibly Related Threads…
Thread Author Replies Views Last Post
  Robo-Tank v5.20 is Ready Rob F 51 11,422 05-31-2020, 05:45 PM
Last Post: Rob F
  Robo-Tank v5.13 is Ready Rob F 61 13,667 06-19-2019, 12:30 AM
Last Post: Rob F
  Robo-Tank v5.12 is Ready Rob F 34 8,444 04-30-2019, 12:35 PM
Last Post: fietsenrex
  Robo-Tank v5.10 is Ready Rob F 157 28,793 04-18-2019, 10:43 PM
Last Post: Rob F

Forum Jump:

Current time: 12-09-2021, 02:06 AM