OP
OP
S

Sral

Valuable Member
View Badges
Joined
May 2, 2022
Messages
1,006
Reaction score
978
Location
Germany
Rating - 0%
0   0   0
As mentioned in the doser-thread, I have finished my doser module:
E2460A2E-A77A-490A-9795-DAE61701992B.jpeg

I have also updated the circuit drawing:
DosingCircuit_schem.png

I added a 470µF bypass capacitor and realized PWM dimming, in case I want this feature in the future. Note the diodes which enable me to PWM dimm two channels with one PWM signal without the channels interfering with each other. The diodes will of course mean that I can only pull the input signal to one diode drop above GND (e.g. ~0.8V) but since the same is true for the ULN2801 transistor inputs, that should effectively cancel the motor activation by the ULN2801 during the PWM's high phase.

This way I can switch the Motors on and off with a reliable GPIO, but still dim with PWM.
 
Last edited:
OP
OP
S

Sral

Valuable Member
View Badges
Joined
May 2, 2022
Messages
1,006
Reaction score
978
Location
Germany
Rating - 0%
0   0   0
Tested the doser-module with a lab bench power supply before blowing up my ReefPi. I gave it both 5V and 12V and tested the motors by pulling up the signal input to VCC with a 16k resistor as I didn’t have a 3.3V signal at hand. Using this large resistor creates a 3.3V or lower on the signal input. The motors worked in both cases, even though the signal current for the 5V drive was only about 0.2mA, much lower than in the real circuit !

My Setup is starting to grow too large for my desk though :grinning-face-with-sweat:
795B3AA4-FCD9-4FE4-8296-61D672C8D259.jpeg

Main PI unit on the left with 2 DS18B20 temperature sensors, 12V power supply unit with relays in the middle and Doser module on the right.
GPIO Signals are carried by the gray DB9 connectors, power is carried by the yellow, red and black 4 MOLEX cables (AWG18 wire).
I2C is carried by a shielded USB cable to the small air quality sensor mentioned before, which you can see just below the power supply unit.
 

Ranjib

7500 Club Member
View Badges
Joined
Apr 16, 2016
Messages
9,848
Reaction score
17,081
Location
Pleasant Hill, Concord
Rating - 0%
0   0   0
As mentioned in the doser-thread, I have finished my doser module:
E2460A2E-A77A-490A-9795-DAE61701992B.jpeg

I have also updated the circuit drawing:
DosingCircuit_schem.png

I added a 470µF bypass capacitor and realized PWM dimming, in case I want this feature in the future. Note the diodes which enable me to PWM dimm two channels with one PWM signal without the channels interfering with each other. The diodes will of course mean that I can only pull the input signal to one diode drop above GND (e.g. ~0.8V) but since the same is true for the ULN2801 transistor inputs, that should effectively cancel the motor activation by the ULN2801 during the PWM's high phase.

This way I can switch the Motors on and off with a reliable GPIO, but still dim with PWM.
Looks super nice. For past 5 years I’m using only single head dosers, but now since the reefer 300 use, I feel I need more dosing heads. This housing looks awesome. I am thinking of going with off the she,f 12v pwm controller since I realized I barely change the speed, direction. And when I need it, I actualy prefer to do it with physical controls over software. But I can see the benefits of software .. specially if we do titration, I feel.
 
OP
OP
S

Sral

Valuable Member
View Badges
Joined
May 2, 2022
Messages
1,006
Reaction score
978
Location
Germany
Rating - 0%
0   0   0
Looks super nice. For past 5 years I’m using only single head dosers, but now since the reefer 300 use, I feel I need more dosing heads. This housing looks awesome. I am thinking of going with off the she,f 12v pwm controller since I realized I barely change the speed, direction. And when I need it, I actualy prefer to do it with physical controls over software. But I can see the benefits of software .. specially if we do titration, I feel.
Yeah, thinking about changing direction with software for @Wolfw28 made me realize that it’s not very secure most of the time, so physical Switches would be better. I think there are even flip switches that allow you to switch direction seamlessly with one switch if they offer two isolated rows of 3 pins each.

what switches and PWM controller do you plan on using ?

For titration I currently can’t think of a reason to switch direction. Do you need that to get single drops accurately without spurious flow after shutoff ?
 

Wolfw28

Active Member
View Badges
Joined
Mar 13, 2022
Messages
201
Reaction score
139
Location
Myakka City
Rating - 0%
0   0   0
Yeah, thinking about changing direction with software for @Wolfw28 made me realize that it’s not very secure most of the time, so physical Switches would be better. I think there are even flip switches that allow you to switch direction seamlessly with one switch if they offer two isolated rows of 3 pins each.

what switches and PWM controller do you plan on using ?

For titration I currently can’t think of a reason to switch direction. Do you need that to get single drops accurately without spurious flow after shutoff ?
@Sral i have an auto feeder( dosing pump) that feeds live copepods to my system. thought it would be cool to be able to reverse the flow to clear the tubing and maintain same fluid level in my feed container.
 
OP
OP
S

Sral

Valuable Member
View Badges
Joined
May 2, 2022
Messages
1,006
Reaction score
978
Location
Germany
Rating - 0%
0   0   0
@Sral i have an auto feeder( dosing pump) that feeds live copepods to my system. thought it would be cool to be able to reverse the flow to clear the tubing and maintain same fluid level in my feed container.
Right, in that case I would definitely recommend simply using the L293D circuit from the guide. You can get some off Amazon or other pages, like Win-source.

Or if you do not care about PWM dimming the speed, just use the L9110 from Adafruit. The datasheet mentions the wiring on the last page, if you need any help, let me know. The IC also includes kickback diodes already as well. You will need 2 GPIO pins, one to activate forward, one to activate backward. If you trigger both accidentally the motor stands still ^^
 
OP
OP
S

Sral

Valuable Member
View Badges
Joined
May 2, 2022
Messages
1,006
Reaction score
978
Location
Germany
Rating - 0%
0   0   0
As you can see in my DIY LED Controller/Driver thread, I have more or less finished my dimmable LED driver unit. It basically runs on a PCA9685, connected to my 5V I2C-network with a shielded USB-A cable and supplied by the lamps 24V power supply:
264abc24-e704-48bd-a91f-42891b30b11e-jpeg.3071206
1bca2310-1d4b-458a-acf9-3f3a25a497ec-jpeg.3071211


The whole setup is getting larger and larger though and I'm still missing my sensor module and camera ... both will likely add another one of these medium-sized boxes :grinning-face-with-sweat:
D3B0792F-1FDD-4CB8-B4EA-452CCD702226.jpeg
 
Last edited:

Broady2067

Active Member
View Badges
Joined
Jun 21, 2023
Messages
157
Reaction score
90
Location
Sheffield. UK
Rating - 0%
0   0   0
@robsworld78
Looks like it was ^^

I’ll calculate the expected load on the 2x5V + 12V rails and get back to you. Good thing I have a spare DS18B20 and drilled a few extra holes because I decided not to connect the AC wires to the lid after all.

BTW to anybody who is interested: I created all holes by drilling, since I had a drill lying around, and filed them out using Tamiya modeling files. Small enough for the job and only cost about 10 bucks for a set of three.
You can get a good selection of step drills down to about 4mm all the way up to 40mm.
 
Back
Top