Help with a new project

hi people, hope your all good,

so my next project that i would like to do is looking a bit tricky and was wondering if i could get some help.

so i am looking to create what is effectively a digital thermostat using relays to control AC on and off determined by a threshold with a tolerance of 1 maybe 2 degrees. for example if i set that i want it at 30 degrees if it reaches 1 or 2 degrees over then it will turn off and the same for under 30.

i would like to be able to change the desired temp up and down using buttons.

eventually i would like to be able to make it talk to an app on ios and andriod but thats not key yet.

the main issue i am having is the coding. was wondering if anyone could shed some light.

so to recap and put all the things i want to start with.

input temp sensor
16x2 or 20x4 lcd driven with i2c
output to relay to then turn on and off relay. depending on the temp.

where do i start lol

any help would be greatly appreciated.

Kind Regards

Marc

Start off simple.
Write a sketch that reads your sensor and prints out the result.
Then expand it to print out messages when certain threshold values are reached.
Then write something to set those thresholds.

Finally add the relays and control to those messages.

No one writes all the code all at once. The way is to write little and test each step of the way.

I agree 100% with @Grumpy_Mike

You might find some ideas in planning and implementing a program

...R