Robo-Tank 2.0 for reef-pi

robsworld78

Well-Known Member
View Badges
Joined
Feb 14, 2020
Messages
952
Reaction score
1,280
Location
Edmonton, Canada
Rating - 0%
0   0   0
Hi, so I've been working on Robo-Tank 2.0 for the last while based on feedback, issues and other ideas. I got a prototype about a week ago and with the testing I've done so far I'm happy with it and thought I would show it off, a faceplate will be coming down the road.

The main objective was to bring down the ripple on power rails with inductive DC loads and isolate the high powered 12v section of the board better. On the current board when dosing pumps and 12v LEDs were switched and load climbed there was quite a bit of noise getting to the 5v rail and beyond which I believe was the cause of low voltage buggering up the pH circuit. Enabling the brown out detector did solve that issue but the root problem was still there. Now the isolated voltage going into the pH circuit is much more stable when switching DC loads so I believe the source is fixed.

I also replaced the current Texas Instruments +5v regulator with a TPS5430 so the input voltage can be 24v at 90-95% efficiency. Now you can connect 24v DC equipment directly to the DC ports if your input power is the same. A lot of people use 20v-24v LED lights and needed to mess with external power supply, no longer.

The PCB is 4 layers vs the current 2 layer, this is my first one so quite happy it actually works. The ground plain on the 2 layer is so chopped up I felt this had to happen despite an increase in cost and it appears it was probably worth it. The layout is different but the physical size wasn't changed.

The usability changes are as follows.
  • Added 2nd permanent 1-wire bus for DS18B20 sensors.
  • Added extra jumper to each of the 3 sensor ports so they can be configured for extra 1-wire buses, you can run a total of 5 without mods. This insures one sensor won't affect another.
  • Removed one DC port due to no space, now a total of 6 available.
  • Used signal from removed DC port to add speed control to the cooling fan for the Pi. They can be noisy so you can slow down a bit which help a lot.
  • Added two float switch / regular switch backup ports for two AC outlets. These are like the backups for some DC ports, the switch cuts signal to relay so it turns off no matter what system says. Great for an ATO pump etc.
  • Added three 3.5mm jacks for plug and play compatibility with Kessil lights, Nicrew lights, Jebao pumps and other 0-10v controllable equipment. These piggy back the existing 8 switchable 0-5v/0-10v PWM or Analog ports. Each 3.5mm jack has 2 signals and ground.
  • Added female header so user can plug in a DS3231 real time clock module
  • Replaced USB port for sensor extension to a RJ45 Ethernet socket. Reason for this is I need 5 wires and I've discovered not all USB cables are the same, there's at least 3 pinouts when messing with the shielding.
  • Replaced dip switches for 0-10v ports with pluggable jumpers. I do prefer the dip switches but it was impossible to fit, I think I did lose out on this one but the gains are worth it.
This is the configuration of the 43 available ports + 5 backups.
  • 6 sensor ports for optical, non-contact, float switches, normal switches, DS18B20's, DHT22's and some other 5v Arduino compatible water sensors.
  • 2 dedicated 1-wire bus ports for DS18B20 temperature sensors, shared among 3 plugs.
  • 1 auto feeder output for Ehiem and other feeders, technically this is a low powered DC port so can be used for small fans etc.
  • 6 heavy duty DC ports, each port can handle a max of 3 amps or 3 amps shared among them. Good for dosing pumps, LED strip lights etc.
  • 8 independent switchable 0-5v/0-10v PWM or Analog ports.
  • 16 ports configured for two AC power bars. These 16 ports are just an extension of 16 GPIO pins untouched meaning they can be used for anything if an additional circuit is added. I have various extensions for extra sensors or DC ports so its easy to reconfigure if desired.
  • 1 pH port
  • 1 speed controllable 12v DC internal plug for 40mm x 10mm cooling fan to bring temps down on Raspberry Pi.
  • 1 socket for DS3231 real time clock
  • 1 external I2C port at 5v.
  • 3 backup ports for 3 DC ports, cuts power to ports no matter what system says.
  • 2 backup ports for 2 AC outlets, cuts power to outlets no matter what system says.
Now for the fun stuff, pics. In the next week or two I'm going to make a video testing and measuring everything on the scope, should be interesting haha.

These show how clean the power rails are, this is without any DC devices turned on, scope settings all the same and the same method of measuring.

This is from the 12v power supply I was using before I plugged it in controller, it has 162mV peak-peak ripple. For cheap power supply not to bad but certainly can be better.

CAM02412-optimized.jpg


This pic is checking directly on the 2.1mm barrel connector where the 12v goes in, you can see immediately that noisy power supply got cleaned up and now it's only 42mV peak to peak.

CAM02415-optimized.jpg


This pic is the +5v rail, I couldn't see any change measuring at different points. You can see it's down to 36mV peak to peak. When I put a 4 amp 12v load on this increases to around 50mV.

CAM02418-optimized.jpg


This is the +3.3v rail for the auto feeder, it has similar results as +5v rail.

CAM02421-optimized.jpg


And this is the isolated 3.3v for the pH circuit, it only has 8mV peak to peak and when I switch the 4amp load it doesn't budge. With that said if I connect an old noisy dosing pump it spikes to around 12-16mV periodically but I think that's still very good and definitely better than current board. With LED's and a newer motor about the same size that doesn't happen.

CAM02426-optimized.jpg


Still need to check the PWM and analog signals so that will be next.

CAM02429-optimized.jpg


CAM02435-optimized.jpg


CAM02440-optimized.jpg


Just above the fish is where the 40mm x 40mm x 10mm cage fan goes, it blows towards and across the Pi, I can't quite remember but brings temps down about 20 degrees or maybe more.

You can see where the RTC goes, definitely need a barrier between it and the PCB or good chance you get smoke. I'm going to look around to see if I can find some of those cardboard type isolators so I can ship it with, I can see someone not realizing something needs to be there.

CAM02441-optimized.jpg
 

attiland

2500 Club Member
View Badges
Joined
Jul 22, 2020
Messages
2,594
Reaction score
4,800
Location
United Kingdom
Rating - 0%
0   0   0
Hi, so I've been working on Robo-Tank 2.0 for the last while based on feedback, issues and other ideas. I got a prototype about a week ago and with the testing I've done so far I'm happy with it and thought I would show it off, a faceplate will be coming down the road.

The main objective was to bring down the ripple on power rails with inductive DC loads and isolate the high powered 12v section of the board better. On the current board when dosing pumps and 12v LEDs were switched and load climbed there was quite a bit of noise getting to the 5v rail and beyond which I believe was the cause of low voltage buggering up the pH circuit. Enabling the brown out detector did solve that issue but the root problem was still there. Now the isolated voltage going into the pH circuit is much more stable when switching DC loads so I believe the source is fixed.

I also replaced the current Texas Instruments +5v regulator with a TPS5430 so the input voltage can be 24v at 90-95% efficiency. Now you can connect 24v DC equipment directly to the DC ports if your input power is the same. A lot of people use 20v-24v LED lights and needed to mess with external power supply, no longer.

The PCB is 4 layers vs the current 2 layer, this is my first one so quite happy it actually works. The ground plain on the 2 layer is so chopped up I felt this had to happen despite an increase in cost and it appears it was probably worth it. The layout is different but the physical size wasn't changed.

The usability changes are as follows.
  • Added 2nd permanent 1-wire bus for DS18B20 sensors.
  • Added extra jumper to each of the 3 sensor ports so they can be configured for extra 1-wire buses, you can run a total of 5 without mods. This insures one sensor won't affect another.
  • Removed one DC port due to no space, now a total of 6 available.
  • Used signal from removed DC port to add speed control to the cooling fan for the Pi. They can be noisy so you can slow down a bit which help a lot.
  • Added two float switch / regular switch backup ports for two AC outlets. These are like the backups for some DC ports, the switch cuts signal to relay so it turns off no matter what system says. Great for an ATO pump etc.
  • Added three 3.5mm jacks for plug and play compatibility with Kessil lights, Nicrew lights, Jebao pumps and other 0-10v controllable equipment. These piggy back the existing 8 switchable 0-5v/0-10v PWM or Analog ports. Each 3.5mm jack has 2 signals and ground.
  • Added female header so user can plug in a DS3231 real time clock module
  • Replaced USB port for sensor extension to a RJ45 Ethernet socket. Reason for this is I need 5 wires and I've discovered not all USB cables are the same, there's at least 3 pinouts when messing with the shielding.
  • Replaced dip switches for 0-10v ports with pluggable jumpers. I do prefer the dip switches but it was impossible to fit, I think I did lose out on this one but the gains are worth it.
This is the configuration of the 43 available ports + 5 backups.
  • 6 sensor ports for optical, non-contact, float switches, normal switches, DS18B20's, DHT22's and some other 5v Arduino compatible water sensors.
  • 2 dedicated 1-wire bus ports for DS18B20 temperature sensors, shared among 3 plugs.
  • 1 auto feeder output for Ehiem and other feeders, technically this is a low powered DC port so can be used for small fans etc.
  • 6 heavy duty DC ports, each port can handle a max of 3 amps or 3 amps shared among them. Good for dosing pumps, LED strip lights etc.
  • 8 independent switchable 0-5v/0-10v PWM or Analog ports.
  • 16 ports configured for two AC power bars. These 16 ports are just an extension of 16 GPIO pins untouched meaning they can be used for anything if an additional circuit is added. I have various extensions for extra sensors or DC ports so its easy to reconfigure if desired.
  • 1 pH port
  • 1 speed controllable 12v DC internal plug for 40mm x 10mm cooling fan to bring temps down on Raspberry Pi.
  • 1 socket for DS3231 real time clock
  • 1 external I2C port at 5v.
  • 3 backup ports for 3 DC ports, cuts power to ports no matter what system says.
  • 2 backup ports for 2 AC outlets, cuts power to outlets no matter what system says.
Now for the fun stuff, pics. In the next week or two I'm going to make a video testing and measuring everything on the scope, should be interesting haha.

These show how clean the power rails are, this is without any DC devices turned on, scope settings all the same and the same method of measuring.

This is from the 12v power supply I was using before I plugged it in controller, it has 162mV peak-peak ripple. For cheap power supply not to bad but certainly can be better.

CAM02412-optimized.jpg


This pic is checking directly on the 2.1mm barrel connector where the 12v goes in, you can see immediately that noisy power supply got cleaned up and now it's only 42mV peak to peak.

CAM02415-optimized.jpg


This pic is the +5v rail, I couldn't see any change measuring at different points. You can see it's down to 36mV peak to peak. When I put a 4 amp 12v load on this increases to around 50mV.

CAM02418-optimized.jpg


This is the +3.3v rail for the auto feeder, it has similar results as +5v rail.

CAM02421-optimized.jpg


And this is the isolated 3.3v for the pH circuit, it only has 8mV peak to peak and when I switch the 4amp load it doesn't budge. With that said if I connect an old noisy dosing pump it spikes to around 12-16mV periodically but I think that's still very good and definitely better than current board. With LED's and a newer motor about the same size that doesn't happen.

CAM02426-optimized.jpg


Still need to check the PWM and analog signals so that will be next.

CAM02429-optimized.jpg


CAM02435-optimized.jpg


CAM02440-optimized.jpg


Just above the fish is where the 40mm x 40mm x 10mm cage fan goes, it blows towards and across the Pi, I can't quite remember but brings temps down about 20 degrees or maybe more.

You can see where the RTC goes, definitely need a barrier between it and the PCB or good chance you get smoke. I'm going to look around to see if I can find some of those cardboard type isolators so I can ship it with, I can see someone not realizing something needs to be there.

CAM02441-optimized.jpg
Really nice. For version 2.1 put an RTC on too ;)
 
OP
OP
robsworld78

robsworld78

Well-Known Member
View Badges
Joined
Feb 14, 2020
Messages
952
Reaction score
1,280
Location
Edmonton, Canada
Rating - 0%
0   0   0
Thanks guys. I thought about putting the RTC on the board but not much room left and the cost is the same or cheaper for a breakout board so I'll go this route for now and offer them with the header so they plug directly in, I'm sure I'll eventually mount it though. I like the DS3231 they are very accurate, I've been running one about 3 years and haven't touched and it's still right on.



24v will be nice, it's definitely a pain messing with external power supply.
 

theatrus

Valuable Member
View Badges
Joined
Mar 26, 2016
Messages
1,941
Reaction score
3,329
Location
Sacramento, CA area
Rating - 0%
0   0   0
Very nice :)

4-layer boards have come down in price so fast from the small volume shops it doesn't make sense to do anything two layer anymore unless the board is huge. The RoboTank is bordering on huge but it just makes routing so easy its worth it in cost alone.
 
OP
OP
robsworld78

robsworld78

Well-Known Member
View Badges
Joined
Feb 14, 2020
Messages
952
Reaction score
1,280
Location
Edmonton, Canada
Rating - 0%
0   0   0
Very nice :)

4-layer boards have come down in price so fast from the small volume shops it doesn't make sense to do anything two layer anymore unless the board is huge. The RoboTank is bordering on huge but it just makes routing so easy its worth it in cost alone.
Thanks, I think the 4 layer was double the cost but it's still reasonable. The board is 140mm x 102mm so not to big but yeah not small either. I'm really happy with how clean the pH power rail is, that was already low at 16mV but now cut in half.
 

TCoach

Well-Known Member
View Badges
Joined
Feb 21, 2021
Messages
587
Reaction score
651
Location
SC
Rating - 0%
0   0   0
Nice! I’ll most likely be ordering when these are released. Almost pulled the trigger several times on one. Need to get better monitoring and control of my tank. :)
 

Kobain72

New Member
View Badges
Joined
Aug 23, 2021
Messages
4
Reaction score
21
Location
le mans, sarthe
Rating - 0%
0   0   0
bonjour, J’ai un problème impossible pour faire fonctionner mon pilote LDD avec une carte PCA 9685.merci pour votre aide
 

Freefaller

New Member
View Badges
Joined
Aug 26, 2021
Messages
1
Reaction score
1
Location
Uk
Rating - 0%
0   0   0
Hi @robsworld78 - this looks great !

I’m setting up a new tank soon and wanted to incorporate a robo-tank. Do you have any idea when the V2 will be ready for general purchase? (Wondering if I hold off or just get the current version)

Thanks
 
OP
OP
robsworld78

robsworld78

Well-Known Member
View Badges
Joined
Feb 14, 2020
Messages
952
Reaction score
1,280
Location
Edmonton, Canada
Rating - 0%
0   0   0
Hi @robsworld78 - this looks great !

I’m setting up a new tank soon and wanted to incorporate a robo-tank. Do you have any idea when the V2 will be ready for general purchase? (Wondering if I hold off or just get the current version)

Thanks
Thanks Freefaller. I was planning to order some around this time but I've busy with other things so this got pushed off a bit. It'll be a month at least till I have them and maybe two depending what route I go, I haven't made my mind up yet. Sorry I don't have a firm date right now.
 

MoKan Reefer

Active Member
View Badges
Joined
Jun 7, 2018
Messages
224
Reaction score
184
Rating - 0%
0   0   0
I'm sure nothing is set in stone and being that this control system seems to be more advanced and more involved, I'm sure there will be a difference in price but do you have a price point in mind by chance?

I looked through the post but saw no mention so figured I'd ask.

I'd been looking into the original for about a year trying to do my homework as I don't have a lot of programming experience but I think I've got a decent grasp but think I may have to wait for the 2.0 to come out with the upgrades lol
 
OP
OP
robsworld78

robsworld78

Well-Known Member
View Badges
Joined
Feb 14, 2020
Messages
952
Reaction score
1,280
Location
Edmonton, Canada
Rating - 0%
0   0   0
I'm sure nothing is set in stone and being that this control system seems to be more advanced and more involved, I'm sure there will be a difference in price but do you have a price point in mind by chance?

I looked through the post but saw no mention so figured I'd ask.

I'd been looking into the original for about a year trying to do my homework as I don't have a lot of programming experience but I think I've got a decent grasp but think I may have to wait for the 2.0 to come out with the upgrades lol
Yeah sadly I do need to charge more but I am keeping things as low possible. Fully assembled this will be $109 possibly $119, it's impossible to DIY for this, let alone time. With an AC power bar assembled it won't go over $200.

I'm thinking I might skip the Kickstarter idea for now as that'll take time, I have nothing for it haha. I'm actually just revising the board to add RTC and get the faceplate etc made. I did just need to get a batch of v1.0 so I'll probably wait 2-3 weeks to order and should have in around a month. Whatever is left of 1.0 I'll be blowing out the DIY version at $60, there's a lot less to solder as I have some parts pre mounted now so if you want a deal it might be worth waiting for that.

As the price is over the $100 I'm going to put together a basic version, I hope to order a beta when I order 2.0 and then shortly after I'll get them. I'm hoping assembled these will be $50 - $70 depending what I add, that's the hard part. I know for pennies more I can add this or that so I never stop, those pennies do start to add up though.
 
Back
Top