ycliper

Популярное

Музыка Кино и Анимация Автомобили Животные Спорт Путешествия Игры Юмор

Интересные видео

2025 Сериалы Трейлеры Новости Как сделать Видеоуроки Diy своими руками

Топ запросов

смотреть а4 schoolboy runaway турецкий сериал смотреть мультфильмы эдисон
Скачать

Arduino - SSR-25 DA solid state relay and DS3231 RTC Automatic timer lamp

arduino

arduino uno

diy arduino project

diy arduino

diy electronics

ds3231 timer

ds3231 arduino

ds3231 timer relay

ssr-25 AD

SSr-25

solid state relay arduino

arduino solid state

arduino solid state relay

arduino projects

diy projects arduino

diy projects

projects for arduino

ssr-25 DA timer

automatic timer lamp

timer lamp

automatic lamp

arduino timer

Автор: BlueCore Tech (arduinosensorsDOTnl)

Загружено: 2017-10-19

Просмотров: 7258

Описание: Hello world! Today i made a code to automate your solid state relay as a timer with a DS3231 RTC clock and arduino.
I made this project to automate a lamp for a growing room for example, so it is used for growing periods. Between 4:00 and 22:00 for grow period during day and 16:00 to 10:00 for grow period during night.

In the video i set 17:59:45 as a time. which you can set in the code at
setTime(17, 59, 45, 20, 10, 2017)

In the if statement at void AutomaticProgram()
I set the value for the relay to be HIGH to 17
and the value for the relay to be LOW to 18
These values i set for the video demonstration.
Change these values to the ones you want to use.
Remember you can only use hours, or you need to change the code to also be able to read seconds and minutes.
So you can only use a value between 0 and 23 using 0:00:00 to 23:00:00 will not work.

The code is very easy to understand, it simply reads the value "hour" and ignores everything after 17 as you can see in the video.
The output in the serial monitor is the following below:
17:00:00
so those are hours:minutes:seconds
But the Code only reads 17.
The rest of the output, so :00:00 is ignored in the code

You will need 3 libraries.
DS3232RTC.h
Download here: http://github.com/JChristensen/DS3232RTC
Time.h (included in arduino libraries)
Wire.h (included in arduino libraries)

I noticed some people run into a Compiling error with Time.h the fix for them was to use TimeLib.h Library.


Follow the following links for the Schematic, code and parts list.
https://www.instructables.com/id/Ardu...
http://blog.arduinosensors.nl/2017/10...

Buy sensors here: http://arduinosensors.nl
See more on my blog! http://blog.arduinosensors.nl/

Не удается загрузить Youtube-плеер. Проверьте блокировку Youtube в вашей сети.
Повторяем попытку...
Arduino - SSR-25 DA solid state relay and DS3231 RTC Automatic timer lamp

Поделиться в:

Доступные форматы для скачивания:

Скачать видео

  • Информация по загрузке:

Скачать аудио

Похожие видео

© 2025 ycliper. Все права защищены.



  • Контакты
  • О нас
  • Политика конфиденциальности



Контакты для правообладателей: [email protected]