I need help in creating the program of an automatic irrigation system with lcd

Hi, I searched the net for the problem with our lcd. I found on some forums that some people had the same problem with the contrast of the Nokia5110 lcd.They said that the library is the problem.I don t know if the library cand be our problem too,i just said what i find on that forum.I don t want to upset you my frient,i just try to help our project:).So if I’m wrong please don’t be mad at me, I’m just trying to help how I can.You know this project is important for me :slight_smile:

Hey there. I’m sorry but my day job has taken over my life the past few days. I came back to see TEN messages from you!

I think there’s a setting in the code for the contrast. I’ll have a look now…

EDIT:

You can try different values rather than the 60 on this line:

#define LCD_CONTRAST 60

I didn’t want to insist, I’m sorry. I am just very enthusiastic about this project :slight_smile: I will try to adjust the resolution as you have taught me. Thanks.

1 Like

It works🎉

:tada::blush:thanks my friend!I try to send a video but i can t.But pictures i can

1 Like

When you have time my friend, we can continue what remains to be done.
The temperature and humidity of the air only on the serial display are displayed as a percentage, on the lcd as you can see in pictures,no.Can these two appear on lcd in percent?Thank you in advance :slight_smile:

1 Like

Hello my friend i hope you are ok.In my country the population is quarantined at home for a mounth…i wish you all the best!God help us!

1 Like

Hi,i hope everything is fine and you are just busy with work :)Have a great weekend!

1 Like

We’re in lockdown here as well now. Working from home means I can work from 7am until 6pm or later and then hate the sight of a keyboard. :laughing:

I only have a little cough at the moment - hope it doesn’t get worse and is not COVID-19. Time will tell.

I have not forgotten this project but right now I have so much more on my mind and my children are back home with us from university so I’m spending more time with them as well. Sorry it’s been such a long time since I looked at improving things. :frowning:

1 Like

Heloo,I’m glad you are fine:) We will continue the project when the time is right for you my friend.

Hello friend, I hope the cough is over and you’re good😊!

Hi, sorry for the long time away. Could you remind me what you still want to do on the project please?

Hello,i m glad you ar fine:)I wanted to display the temperature and humidity as a percentage on nokia display not only on serial display. Values displayed to fit on the display in the same row,and the 3or4 buttons(i m not shure) you proposed:)One for closed or reset, as you see fit,and and the other to set the temperature and air humidity at which the fan should start, it was as we had decided together,i think…? I don’t remember exactly, but it’s something like this,no​:blush:?If is to much trouble my friend the buttons can do what you think they must do :blush:

1 Like

I have confidence that you will give the buttons a function perhaps more useful than I would give😊

Hello, do you think you can find some time this weekend for our project :slight_smile: ?

1 Like
1 Like

A menu like this would be fantastic :slight_smile: But to have our functions, air humidity, air temperature, soil moisture. Can we adjust from the menu everything we are interested in,like in this video?I apologize if I exaggerate :blush:

1 Like

The first thing I see from your photos above (a long time ago now - I’m sorry) is that the lines are all one character too long. I’ll fix that first.

Thank you very much my friend :slight_smile: I am confident that in time we will be able to complete the project :blush:

I think it should have displayed the air temperature in addition to what is already seen on the nokia lcd :slight_smile:

Whilst looking at the formatting of the values (lines too long for the display) I noticed that I’m not formatting float values for humidity and temperature correctly. So I started looking into that and which function I should use, then decided to trial that code on an Arduino by writing it to the serial communication. This led to a search of my electronics boxes and ending up not finding my Arduino Nano so hours of fun - NOT. Sorry about the delay because after that I had a lot of other chores around the house I had to do. I’m still doing them today but wanted to let you know why I’ve not replied. I’m going to order another nano now (or a few of them) and then I’ve got to get back to my chores.

1 Like