Send pH, Redox and temperature values to domoticz
-
Hello,
In first time, sorry but my english is not very good.I will explain my project:
I put in place a pool regulation with an arduino Mega and an LCD screen.
- pH value of the water pool
- Redox value
- temperature of the water
- pump to inject Chlore for the redox
- pump to inject acid for the pH
My system works as I want.
My next step is:
- Send the pH value to domoticz ( between 6.8 and 8.0 ) (float)
- Send the Redox value to domoticz ( between 400 and 1000 ) (int)
- send the temperature value
I would like to be able to control the light and the heat pump of the pool throught domoticz.
I allready have some mysensors nodes at home ( light level, temperature and motion sensors ) wiches are working perfectly.
I don't know how to send the pH and the Redox values
It will be kind of you if someone could help me.Best regards
Jerome
Belgium -
Hello,
In first time, sorry but my english is not very good.I will explain my project:
I put in place a pool regulation with an arduino Mega and an LCD screen.
- pH value of the water pool
- Redox value
- temperature of the water
- pump to inject Chlore for the redox
- pump to inject acid for the pH
My system works as I want.
My next step is:
- Send the pH value to domoticz ( between 6.8 and 8.0 ) (float)
- Send the Redox value to domoticz ( between 400 and 1000 ) (int)
- send the temperature value
I would like to be able to control the light and the heat pump of the pool throught domoticz.
I allready have some mysensors nodes at home ( light level, temperature and motion sensors ) wiches are working perfectly.
I don't know how to send the pH and the Redox values
It will be kind of you if someone could help me.Best regards
Jerome
BelgiumWelcome @Jérôme-Mathues-Koody !
I think you could use S_WATER_QUALITY and V_ORP + V_PH. See https://www.mysensors.org/download/serial_api_20#sensor-types for a complete list of the supported sensor types.
See https://www.openhardware.io/view/381/Floating-Swimming-Pool-Sensor-Water-Quality for a similar project, maybe you can reuse some of Ric's ideas/code.
-
thanks @mfalkvidd I will have a look at this.
-
I have a look at https://www.openhardware.io/view/381/Floating-Swimming-Pool-Sensor-Water-Quality
In fact, in my arduino code, I take the average value of the ph and the redox to keep stability of the values. I record it into 2 variables:
- float pH
- int Redox
So I have to use the "var1_msg( 0 , V_VAR1 )," to send my variables as I can see in the "sensor water quality" project.
I will try this
-
Oups!
Unfortunatly, my LCD allready use the PIN 2 of the arduino.
As I need to connect my NRF24L01+ on my Arduino mega, I need to use the PIN 2 also for the RF.Do you know if it's possible to map the LCD on other PIN?
For the moment, it's map like this:LiquidCrystal lcd(12, 11, 5, 4, 3, 2);
Thank you for your help
Jerome
-
Oups!
Unfortunatly, my LCD allready use the PIN 2 of the arduino.
As I need to connect my NRF24L01+ on my Arduino mega, I need to use the PIN 2 also for the RF.Do you know if it's possible to map the LCD on other PIN?
For the moment, it's map like this:LiquidCrystal lcd(12, 11, 5, 4, 3, 2);
Thank you for your help
Jerome
-
I try to change the pin 2 by another but my lcd doesn't works.
I don't know if it's possible to change the assignment for the pin lcd.
To put in place the lcd I have used a tutorial. I have a look on google but a lot of tutorials have the same pin assignment.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login