DIY Alkalinity Monitor

OP
OP
Borat

Borat

Valuable Member
View Badges
Joined
Apr 4, 2021
Messages
1,606
Reaction score
1,913
Location
United Kingdom
Rating - 0%
0   0   0
To measure which pairs form a single coil - I normally use multimeter, unconnected coils would not "ring" when using connection tester...
 
OP
OP
Borat

Borat

Valuable Member
View Badges
Joined
Apr 4, 2021
Messages
1,606
Reaction score
1,913
Location
United Kingdom
Rating - 0%
0   0   0
а в какой программе была спроектирована плата?
It's called Fritzing.. I believe it's mostly free, I paid a small licence fee of about 8 Euro some time ago...
 

cronys

New Member
View Badges
Joined
Jan 27, 2022
Messages
8
Reaction score
1
Location
omsk
Rating - 0%
0   0   0
Это называется Fritzing.. Я считаю, что это в основном бесплатно, я заплатил небольшую плату за лицензию около 8 евро некоторое время назад...
Спасибо. Вы можете увидеть последний из компонентов, которые я выбрал. они все подходят? если не сложно

Спасибо.
 
OP
OP
Borat

Borat

Valuable Member
View Badges
Joined
Apr 4, 2021
Messages
1,606
Reaction score
1,913
Location
United Kingdom
Rating - 0%
0   0   0
Finally, I re-read the topic several times and seemed to take everything into account. Please, if it's not difficult, can you check whether I have chosen everything correctly for this? To less rewrite the code, I'm not very good at it yet :(
The question is whether it is possible to replace the pumps for draining and filling the chamber with cheap ones? such https://aliexpress.ru/item/10050015....productlist.search_results.18.712f4aa6iG2zGj

the rest i found

RS PRO PCB Mount Switching Regulator, 5V dc Output Voltage, 8 → 36V dc Input Voltage, 1A Output Current - I did not understand what it is and did not find it

Stepper Motors

3x TMC 2209 stepper motor drivers

Adafruit 4-channel Bi-directional Logic Level Converter

Arduino Mega 2560 Mini

ESP32 Dev

DF Robot SEN 0161 PH board v1.2
v2 only

fan 40x10mm

Relay Module DC 5V with Optocoupler

Seamuing 2pcs I2C OLED Display Module I2C Screen

DS3231 RTC clock

5 pin Rotary Encoder + Adafruit QT Rotary Encoder I2C breakout board
analogue only

I hope I didn't forget anything
v2 works just fine (and it's a better board than v1 because it has a built-in voltage regulator)- but the code would need to be adapted to use DF Robot's library (my code bypass any libraries - but relies on v1).

Encoder used in my project is analogue, but it uses I2C expansion board. If you don't have an I2C (SCL/SDA) expansion board, you would need to research how to connect the encoder yourself. There are different ways of doing it - but to use what's called Interrupt, the encoder would have to be connected to specific pins that support those interrupts. Best to google - and do your own research.
 

cronys

New Member
View Badges
Joined
Jan 27, 2022
Messages
8
Reaction score
1
Location
omsk
Rating - 0%
0   0   0
v2 works just fine (and it's a better board than v1 because it has a built-in voltage regulator)- but the code would need to be adapted to use DF Robot's library (my code bypass any libraries - but relies on v1).

Encoder used in my project is analogue, but it uses I2C expansion board. If you don't have an I2C (SCL/SDA) expansion board, you would need to research how to connect the encoder yourself. There are different ways of doing it - but to use what's called Interrupt, the encoder would have to be connected to specific pins that support those interrupts. Best to google - and do your own research.
and what do you say about using such pumps to fill the chamber and drain?
 
OP
OP
Borat

Borat

Valuable Member
View Badges
Joined
Apr 4, 2021
Messages
1,606
Reaction score
1,913
Location
United Kingdom
Rating - 0%
0   0   0
Last edited:

BassamKassem

Active Member
View Badges
Joined
Mar 8, 2023
Messages
158
Reaction score
60
Location
Egypt
Rating - 0%
0   0   0
I bought the right screws . M3 x 10 flat head they fit perfectly .

Now am waiting for
Adafruit components
Preistatic heads
RS Pro switch regulator
PCBs
 

Attachments

  • 20230329_204001.jpg
    20230329_204001.jpg
    84.4 KB · Views: 94

cliffE

Community Member
View Badges
Joined
Mar 31, 2023
Messages
84
Reaction score
56
Location
Alaska
Rating - 0%
0   0   0
This was such an awesome read.

Does your Alk monitor control your calcium regulator? Or do you still have to manually adjust calcium effluent based on alk readings?
 
OP
OP
Borat

Borat

Valuable Member
View Badges
Joined
Apr 4, 2021
Messages
1,606
Reaction score
1,913
Location
United Kingdom
Rating - 0%
0   0   0
This was such an awesome read.

Does your Alk monitor control your calcium regulator? Or do you still have to manually adjust calcium effluent based on alk readings?
No, currently it does not.

I have been runing my tank as follows (for a few years now):

- I have a separate DIY aquarium controller that, amongst things like temperature control also controls CO2 solenoid for my DIY calcium reactor: it has 2 PH probes in each of calcium reactor chambers and turns CO2 on/off depending on PH
- I have a DIY peristaltic dosing pump that then doses the effluent into the tank. I adjust the flow rate on the peristaltic pump very infrequently (maybe one a month if that)
- I receive 4 emails a day from my alk monitor - wihch tell me the measured Alk level. When I observe the long term level shift - I dial peristaltic pump up or down, perhaps by 0.5ml/min at a time

My peristaltic pump doses 66% during the day and 33% during night currently, obviously because it's DIY everything is fully custimisable.

The links to other builds mentioned here are below..

DIY Peristaltic pump:

DIY Calcium Reactor, aquarium controller

There are other DIY threads that I run - currently my Boratronic project is on pause (https://www.reef2reef.com/threads/diy-robotic-tester-boratronic.883748/) and I am working on a DIY LED fixture that I need badly..

 

BassamKassem

Active Member
View Badges
Joined
Mar 8, 2023
Messages
158
Reaction score
60
Location
Egypt
Rating - 0%
0   0   0
@Borat , in order to have the 4th pump act according to DKH result i need to add these values manually and the most suitable input method here is though the rotary encoder meu
{"System Volume", "Sol to +0.1 DKH/100ml", "Required DKH"}
so i can add these values to sub as follows

#define SUB_MENU3_ITEMS_COUNT 9
char sub_menu3[][maxItemLength] = {"System Volume","Sol to +0.1 DKH/100ml","Required DKH","Manual Dosing Volume","Refill","Calibrate","KH Container Size","Set Speed","Exit"};

but the issue here is that I don't know how these values can be recalled

- the first one System Volume it should hold an int value
- Sol to +0.1 DKH / 100ml = the number of mls of my KH solution to increase each 100ml of tank water by 0.1 DKH
- Required DKH = it should hold the needed DKH value that i need my system be stable at

can you help me out please in the code
 
OP
OP
Borat

Borat

Valuable Member
View Badges
Joined
Apr 4, 2021
Messages
1,606
Reaction score
1,913
Location
United Kingdom
Rating - 0%
0   0   0
@Borat , in order to have the 4th pump act according to DKH result i need to add these values manually and the most suitable input method here is though the rotary encoder meu
{"System Volume", "Sol to +0.1 DKH/100ml", "Required DKH"}
so i can add these values to sub as follows

#define SUB_MENU3_ITEMS_COUNT 9
char sub_menu3[][maxItemLength] = {"System Volume","Sol to +0.1 DKH/100ml","Required DKH","Manual Dosing Volume","Refill","Calibrate","KH Container Size","Set Speed","Exit"};

but the issue here is that I don't know how these values can be recalled

- the first one System Volume it should hold an int value
- Sol to +0.1 DKH / 100ml = the number of mls of my KH solution to increase each 100ml of tank water by 0.1 DKH
- Required DKH = it should hold the needed DKH value that i need my system be stable at

can you help me out please in the code
You may be mis-understanding what these menus do, so don't change them.. Also there is no "4th pump", there are only 3 pumps in the design?

The meaning of these menus is for the user to choose what he/she wants to do. The code then performs certain action depending on choice (chosen using rotary encoder)..

Here's' the latest version of the code..
 

Attachments

  • ALKMON_MEGA.zip
    7.9 KB · Views: 133

BassamKassem

Active Member
View Badges
Joined
Mar 8, 2023
Messages
158
Reaction score
60
Location
Egypt
Rating - 0%
0   0   0
You may be mis-understanding what these menus do, so don't change them.. Also there is no "4th pump", there are only 3 pumps in the design?

The meaning of these menus is for the user to choose what he/she wants to do. The code then performs certain action depending on choice (chosen using rotary encoder)..

Here's' the latest version of the code..
Thank you for your speedy reply , however am not mistaken i added in your PCB a 4th pump in which it will dose the KH solution upon the chosen values from the menus

but am confused as am not expert with Arduino code "IDE" so if you are in my place how would you write this parts in Arduino
 
OP
OP
Borat

Borat

Valuable Member
View Badges
Joined
Apr 4, 2021
Messages
1,606
Reaction score
1,913
Location
United Kingdom
Rating - 0%
0   0   0
Thank you for your speedy reply , however am not mistaken i added in your PCB a 4th pump in which it will dose the KH solution upon the chosen values from the menus

but am confused as am not expert with Arduino code "IDE" so if you are in my place how would you write this parts in Arduino
You should first get the device to work in its basic form, before you start adding features..
 

BassamKassem

Active Member
View Badges
Joined
Mar 8, 2023
Messages
158
Reaction score
60
Location
Egypt
Rating - 0%
0   0   0
Ok I can see from your last version of code that you have increased the menus a bit and added an amazing features in addition to scheduled tests 3 times per day an so much more amazing stuff

wish me luck my friend most of items are now available am missing only three items waiting for them to be delivered including the fabricated board . once every thing is connected i will seek your help as usual to help me out with the needed tweak for adding a fourth pump :)

thanks a million for this @Borat
 

cronys

New Member
View Badges
Joined
Jan 27, 2022
Messages
8
Reaction score
1
Location
omsk
Rating - 0%
0   0   0
Доброе время суток.
А как вы компенсируете потраченную на тест воду из аквариума?
 
OP
OP
Borat

Borat

Valuable Member
View Badges
Joined
Apr 4, 2021
Messages
1,606
Reaction score
1,913
Location
United Kingdom
Rating - 0%
0   0   0
Доброе время суток.
А как вы компенсируете потраченную на тест воду из аквариума?
I don't compensate for it, it's returned back to the tank - being 0 DKH water. This has no harm whatsoever..

Obviously I do dose Alkalinity with calcium reactor (each minute) - and it more than covers the depleted DKH returned to the tank (probably a single minute of dosing replenishes DKH of the 100ml sample).
 

BassamKassem

Active Member
View Badges
Joined
Mar 8, 2023
Messages
158
Reaction score
60
Location
Egypt
Rating - 0%
0   0   0
Hello again @Borat . Can i substitute RS PRo Switching regulator by this
 

Attachments

  • 20230402_160130.jpg
    20230402_160130.jpg
    303.8 KB · Views: 85
  • Screenshot_20230402-160056_Samsung Internet.jpg
    Screenshot_20230402-160056_Samsung Internet.jpg
    74.1 KB · Views: 85

TOP 10 Trending Threads

Back
Top