Robo-Tank DIY Aquarium Controller Forum
New Proyect!! Some questions... - 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: DIY Hardware Questions (https://www.robo-tank.ca/forum/forum-18.html)
+--- Thread: New Proyect!! Some questions... (/thread-272.html)



New Proyect!! Some questions... - jmcadsl - 02-18-2018

Hi to all!! i'm Jorge from Spain.
I just order a PCB's Kit to add to my old arduino controller and shields from my old aquarium.
Now i will start a new proyect, a Red Sea 250 Max , and i want to update my old arduino controller with this FANTASTIC controller.

My firts question its about the PH ....i have a small shield that read the value from a Ph probe and send this value to an arduino analog input .
Can i use it with Robo Tank? 
I see Rono tank its ready to use with Atlas scientific (SPI signal), but i dontknow if i can do it with "my" analog Ph shield.

Thanks!!


RE: New Proyect!! Some questions... - Rob F - 02-18-2018

Hi Jorge, thanks again for your order, I appreciate it!

There is some code added for the analog ph circuit that should work.

You'll use port 18 on the accessory board, you'll want pin 2 on the 3rd plug from the RJ45 socket, that pin is Analog A0. In that file I sent you with all the green plug diagrams the plug is referred to as "sensor 1".

You'll have to make a small change in the controller sketch to enable the code, I haven't added an option to the display as I don't really recommend the Analog circuit because they aren't as reliable, if you use other probes in the tank it could affect it because they aren't isolated. I will be adding this setting so this doesn't need to be adjusted with code in the future.

In v4.10 controller sketch find line 126 which is

       bool phCircuit = 0; // 0 = Atlas Scientific   1 = Analog Circuit

change the = 0 to = 1 and upload and you should get a ph value on the display.


RE: New Proyect!! Some questions... - jmcadsl - 02-18-2018

Hi!!
Great!! I will try it!!
I know the analog ph shield its not very reliable, i will order an atlas shield next month.....
Now i spend a lot of money to start the aquarium you know ! jejeje


RE: New Proyect!! Some questions... - Rob F - 02-18-2018

Yeah I hear you things add up quick and before you know it the money is gone haha.