Запрошуємо, Гість
Ім'я користувача: Пароль: Запам’ятати мене
  • Сторінка:
  • 1
  • 2

ТЕМА: Thermostat for personal use

Thermostat for personal use 25 жовт. 2017 23:41 #1

  • FlorinNTh
  • FlorinNTh аватар
  • Оффлайн
  • Harness is online
  • Дописи: 39
  • Подякували: 8
Hello

I have completed a project debated on this forum with Soir's help and I want to thank him.
I saw that you are a community that is debating issues for improving your personal environment.
I dare to please you to help me in my next project.
It is a thermostat for the apartment gas boiler. Requirements are minimal.
I'll start from Soir's project that has some useful elements for me: Time/Date/ Temperature.
I need this thermostat to have the following options:
1. Hour
2. Date
3. Temperature
4. Daytime
5. Night time
6. Daytime temperature
7. Night temperature
8. Delay day
9. Delay night
... and the light mode option
I want to use Atmega8 and DS1B20.
Please, if you have free time, help me with this project.
Best regards
Florin NAE

Увійдіть до облікового запису, щоб писати повідомлення.

Thermostat for personal use 26 жовт. 2017 08:07 #2

  • Soir
  • Soir аватар
  • Оффлайн
  • Moderator
  • Дописи: 14111
  • Подякували: 5431
  • sxem.org 2019,2020,2021,2022,2023 Respect Author
What is "Delay day" and "Delay night"?
Увійдіть до облікового запису, щоб писати повідомлення.

Thermostat for personal use 26 жовт. 2017 13:05 #3

  • FlorinNTh
  • FlorinNTh аватар
  • Оффлайн
  • Harness is online
  • Дописи: 39
  • Подякували: 8
It is the temperature differential at which the boiler stops / starts.
If it is complicated with two day / night differential values, only the delay option can be made.



or



when the temperature drops below the set value (23-0.6C), the boiler starts and when it rises above the set value (23 + 0.9C) the boiler stops
I think this is a lot better
Останнє редагування: 26 жовт. 2017 13:35 від FlorinNTh.
Увійдіть до облікового запису, щоб писати повідомлення.

Thermostat for personal use 26 жовт. 2017 16:02 #4

  • Soir
  • Soir аватар
  • Оффлайн
  • Moderator
  • Дописи: 14111
  • Подякували: 5431
  • sxem.org 2019,2020,2021,2022,2023 Respect Author
I want to use Atmega8 and DS1B20.
Correct DS18B20?

And RTC DS1307?
I think this is a lot better
Should there be two delays for the night and two delays for the day?
Останнє редагування: 26 жовт. 2017 16:09 від Soir.
Увійдіть до облікового запису, щоб писати повідомлення.

Thermostat for personal use 26 жовт. 2017 17:36 #5

  • FlorinNTh
  • FlorinNTh аватар
  • Оффлайн
  • Harness is online
  • Дописи: 39
  • Подякували: 8
Correct:
Atmega8
DS18B20
RTC DS1307

No, one delay.
For delay I want the same as in the project here: Here

I also modified my simulation with a small addition to the main panel, if it is possible for Rel: ON to be framed.

Останнє редагування: 26 жовт. 2017 19:35 від FlorinNTh.
Увійдіть до облікового запису, щоб писати повідомлення.

Thermostat for personal use 26 жовт. 2017 21:44 #6

  • Soir
  • Soir аватар
  • Оффлайн
  • Moderator
  • Дописи: 14111
  • Подякували: 5431
  • sxem.org 2019,2020,2021,2022,2023 Respect Author
if it is possible for Rel: ON to be framed.
It is a bad idea. But if you draw characters by pixels then I can do it.

Test firmware.
Now there are 3 control buttons. Select the menu by the SET button. It needs to be held down for more than 1.5 seconds.
If you need 4 buttons - inform me.
If you find any problems in the work of the device - inform me.
If the device does not work properly - inform me.

Attention. The project in Proteus is not a circuit.
Before making the circuit board, first show the complete wiring diagram to me.
Останнє редагування: 27 жовт. 2017 08:29 від Soir.
Увійдіть до облікового запису, щоб писати повідомлення.

Thermostat for personal use 26 жовт. 2017 22:56 #7

  • FlorinNTh
  • FlorinNTh аватар
  • Оффлайн
  • Harness is online
  • Дописи: 39
  • Подякували: 8
The main screen is ok but does not find the options where you can set the desired temperature, day / night and other settings.
We found settings only for time and date and a c = 0s option



I need to set:
Day / night temperature
Time day / night
Delay
and I want the same light mode option to the '' Timer '' project

It would be ok if I had 4 buttons, menu, set, plus, minus



Press SET button = set date and time
Press the MENU button;
= day / night temperature setting screen
= daytime / nighttime setting screen
= delay setting screen
= screen light mode

Button +/-
setting time (00: 00-00: 24)
setting temperature (10.0C-40.0C example)
delay setting (0.1-2.0C)
Останнє редагування: 26 жовт. 2017 23:13 від FlorinNTh.
Увійдіть до облікового запису, щоб писати повідомлення.

Thermostat for personal use 27 жовт. 2017 07:30 #8

  • Soir
  • Soir аватар
  • Оффлайн
  • Moderator
  • Дописи: 14111
  • Подякували: 5431
  • sxem.org 2019,2020,2021,2022,2023 Respect Author
FlorinNTh пише:
I need to set:
All settings are available. Go to other menus holding the SET button for more than 1.5 seconds.
Увійдіть до облікового запису, щоб писати повідомлення.

Thermostat for personal use 27 жовт. 2017 08:04 #9

  • FlorinNTh
  • FlorinNTh аватар
  • Оффлайн
  • Harness is online
  • Дописи: 39
  • Подякували: 8
Sorry, I checked, yes, you're right. However, when you have time to enter and button 4 (Menu), it is more useful for settings.
Thank you
Увійдіть до облікового запису, щоб писати повідомлення.

Thermostat for personal use 27 жовт. 2017 08:29 #10

  • Soir
  • Soir аватар
  • Оффлайн
  • Moderator
  • Дописи: 14111
  • Подякували: 5431
  • sxem.org 2019,2020,2021,2022,2023 Respect Author
4 buttons.

N.B.
Parameter: c = 0sec is the daily correction of the accuracy of the clock.
Долучення:
Увійдіть до облікового запису, щоб писати повідомлення.

Thermostat for personal use 27 жовт. 2017 08:53 #11

  • FlorinNTh
  • FlorinNTh аватар
  • Оффлайн
  • Harness is online
  • Дописи: 39
  • Подякували: 8
It's ok. Thank you.
I have noticed a small problem, a delay character appears after a C character.
Today I put on the test board and if this little impediment persists, I'll let you know.
A good day
Увійдіть до облікового запису, щоб писати повідомлення.

Thermostat for personal use 27 жовт. 2017 09:27 #12

  • Soir
  • Soir аватар
  • Оффлайн
  • Moderator
  • Дописи: 14111
  • Подякували: 5431
  • sxem.org 2019,2020,2021,2022,2023 Respect Author
FlorinNTh пише:
a delay character appears after a C character.
Some displays (and Proteus) do not always support all characters.
In the new firmware this problem will not be. And the file LCDALPHA.DLL for Proteus.. Place it in the project folder or in the folder ...\MODELS\ of Proteus.
Долучення:
Увійдіть до облікового запису, щоб писати повідомлення.
Користувачі які сказали Дякую: FlorinNTh

Thermostat for personal use 27 жовт. 2017 14:36 #13

  • FlorinNTh
  • FlorinNTh аватар
  • Оффлайн
  • Harness is online
  • Дописи: 39
  • Подякували: 8
Hi
I assembled the test board on the test board, all the functions are ok, the only one that does not work is the clock setting. If you press the +/- button, it goes 7-8-7-8 instead of 7-8-9-10 example. Both versions have the same problem.
Proteus works normally

''Later edit''

I changed the DS1307 and it works ok.
Thank you

P.S. I design the PCB and come back
Останнє редагування: 27 жовт. 2017 15:26 від FlorinNTh.
Увійдіть до облікового запису, щоб писати повідомлення.

Thermostat for personal use 28 жовт. 2017 09:37 #14

  • FlorinNTh
  • FlorinNTh аватар
  • Оффлайн
  • Harness is online
  • Дописи: 39
  • Подякували: 8
Good morning
I finished the PCB for the thermostat, I will check it, then post it on the forum.
A good day
Увійдіть до облікового запису, щоб писати повідомлення.

Thermostat for personal use 28 жовт. 2017 10:14 #15

  • Soir
  • Soir аватар
  • Оффлайн
  • Moderator
  • Дописи: 14111
  • Подякували: 5431
  • sxem.org 2019,2020,2021,2022,2023 Respect Author
There are errors in the PCB.
Soir пише:
Before making the circuit board, first show the complete wiring diagram to me.
Увійдіть до облікового запису, щоб писати повідомлення.

Thermostat for personal use 28 жовт. 2017 11:12 #16

  • FlorinNTh
  • FlorinNTh аватар
  • Оффлайн
  • Harness is online
  • Дописи: 39
  • Подякували: 8
I did not finish, so I posted. I do not have a complete diagram.
Please help me where there are errors.
Увійдіть до облікового запису, щоб писати повідомлення.

Thermostat for personal use 28 жовт. 2017 12:26 #17

  • Soir
  • Soir аватар
  • Оффлайн
  • Moderator
  • Дописи: 14111
  • Подякували: 5431
  • sxem.org 2019,2020,2021,2022,2023 Respect Author
FlorinNTh пише:
I do not have a complete diagram.
You must draw. Without a complete diagram it is difficult to explain and it is possible to make mistakes.
Capacitors RS-GND and EN-GND must be removed. Pin 7 ATMEGA8 must be connected to +5V.
It is advisable to connect the capacitor 0,1uF +5V-GND as close as possible to the chip DS1307.

Maybe more ...
Увійдіть до облікового запису, щоб писати повідомлення.

Thermostat for personal use 28 жовт. 2017 13:17 #18

  • FlorinNTh
  • FlorinNTh аватар
  • Оффлайн
  • Harness is online
  • Дописи: 39
  • Подякували: 8
Soir пише:
It is advisable to connect the capacitor 0,1uF +5V-GND as close as possible to the chip DS1307.
Can I add a 01uF capacitor to the DS1307 power supply?
Pin 7 I connect it to 5v directly or through a resistor?
I added the RS-GND and EN-GND capacitors because at Timer we had interference and we eliminated them with two 10nF capacitors. I did this preventively, now we've eliminated them.

Останнє редагування: 28 жовт. 2017 15:28 від FlorinNTh.
Увійдіть до облікового запису, щоб писати повідомлення.

Thermostat for personal use 19 груд. 2017 16:28 #19

  • FlorinNTh
  • FlorinNTh аватар
  • Оффлайн
  • Harness is online
  • Дописи: 39
  • Подякували: 8
Hi Soir
Thanks for the project.
Please, within your available time, help me with an update to the Thermostat project. I added a 20X4 LCD, the menu is slightly different but the functions are the same.
I've attached the schema and menu you want to implement.
The software is at # 12



In other words, I wonder if a NRF24L01 module can be implemented in the project. In the future, you would want to implement wireless remote control at the thermostat.

Thank you.

Вкладений файл:

Назва файлу: Thermostat_20x4.rar
Розмір файлу:28 KB
Останнє редагування: 19 груд. 2017 16:31 від FlorinNTh.
Увійдіть до облікового запису, щоб писати повідомлення.

Thermostat for personal use 19 груд. 2017 21:36 #20

  • Soir
  • Soir аватар
  • Оффлайн
  • Moderator
  • Дописи: 14111
  • Подякували: 5431
  • sxem.org 2019,2020,2021,2022,2023 Respect Author
FlorinNTh пише:
the menu is slightly different but the functions are the same.
Ok.

FlorinNTh пише:
In the future, you would want to implement wireless remote control at the thermostat.
Probably, not.
Долучення:
Останнє редагування: 19 груд. 2017 21:36 від Soir.
Увійдіть до облікового запису, щоб писати повідомлення.
Користувачі які сказали Дякую: FlorinNTh

Thermostat for personal use 19 груд. 2017 22:03 #21

  • FlorinNTh
  • FlorinNTh аватар
  • Оффлайн
  • Harness is online
  • Дописи: 39
  • Подякували: 8
So fast?
Thank you.
Увійдіть до облікового запису, щоб писати повідомлення.

Thermostat for personal use 20 груд. 2017 22:36 #22

  • AnKach73
  • AnKach73 аватар
  • Оффлайн
  • Користувач
  • Дописи: 16
Уважаемый Soir!
Возможно ли на базе этого термостата создать недельный термостат с четырьмя программируемыми периодами на каждый день? Или это уже другой проект?
Увійдіть до облікового запису, щоб писати повідомлення.

Thermostat for personal use 21 груд. 2017 07:39 #23

  • Soir
  • Soir аватар
  • Оффлайн
  • Moderator
  • Дописи: 14111
  • Подякували: 5431
  • sxem.org 2019,2020,2021,2022,2023 Respect Author
Наверно, можно. Только это уже другой проект. Создайте тему и распишите подробно все с самого начала.

Да и были уже на сайте такие таймеры...
Вот, например.
Там же есть ссылка вот сюда.
И еще какие-то были...
Останнє редагування: 21 груд. 2017 07:47 від Soir.
Увійдіть до облікового запису, щоб писати повідомлення.

Thermostat for personal use 26 груд. 2017 16:23 #24

  • Flexx123
  • Flexx123 аватар
  • Оффлайн
  • Користувач
  • Дописи: 4
Уважаемый Soir!
Если можно, добавьте еще два периода - утро и вечер.
Так термостат будет более функционален.
В наличии имеются индикаторы 1602 и 1604.
Останнє редагування: 26 груд. 2017 20:17 від Oto. Причина: пред.модерация
Увійдіть до облікового запису, щоб писати повідомлення.

Thermostat for personal use 26 груд. 2017 20:42 #25

  • Soir
  • Soir аватар
  • Оффлайн
  • Moderator
  • Дописи: 14111
  • Подякували: 5431
  • sxem.org 2019,2020,2021,2022,2023 Respect Author
Нарисуйте, каким образом должна выглядеть информация на таких дисплеях.
Увійдіть до облікового запису, щоб писати повідомлення.
  • Сторінка:
  • 1
  • 2
Модератори: Wolf, Vakula, Айнцвайдрайченко, Soir