Logo video2dn
  • Сохранить видео с ютуба
  • Категории
    • Музыка
    • Кино и Анимация
    • Автомобили
    • Животные
    • Спорт
    • Путешествия
    • Игры
    • Люди и Блоги
    • Юмор
    • Развлечения
    • Новости и Политика
    • Howto и Стиль
    • Diy своими руками
    • Образование
    • Наука и Технологии
    • Некоммерческие Организации
  • О сайте

Скачать или смотреть Arduino Tutorial #23 How to make Arduino Real Time Clock with Real Time Temperature.

  • Robotica DIY
  • 2017-10-31
  • 3045
Arduino Tutorial #23 How to make Arduino Real Time Clock with Real Time Temperature.
Arduino tutorialarduino tutorial for beginnersArduino Tutorial #23 How to make Arduino Real Time Clock with Real Time Temperature.How to make Arduino Real Time Clockmake Arduino Real Time Clock with Real Time Temperature.DS 1302RTCReal Time ClockDHT22
  • ok logo

Скачать Arduino Tutorial #23 How to make Arduino Real Time Clock with Real Time Temperature. бесплатно в качестве 4к (2к / 1080p)

У нас вы можете скачать бесплатно Arduino Tutorial #23 How to make Arduino Real Time Clock with Real Time Temperature. или посмотреть видео с ютуба в максимальном доступном качестве.

Для скачивания выберите вариант из формы ниже:

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

Cкачать музыку Arduino Tutorial #23 How to make Arduino Real Time Clock with Real Time Temperature. бесплатно в формате MP3:

Если иконки загрузки не отобразились, ПОЖАЛУЙСТА, НАЖМИТЕ ЗДЕСЬ или обновите страницу
Если у вас возникли трудности с загрузкой, пожалуйста, свяжитесь с нами по контактам, указанным в нижней части страницы.
Спасибо за использование сервиса video2dn.com

Описание к видео Arduino Tutorial #23 How to make Arduino Real Time Clock with Real Time Temperature.

Arduino Tutorial #23 How to make Arduino Real Time Clock (DS 1302) with Real Time Temperature.
Scroll down for code.....
Please like & Subscribe for more videos

DHT22 library Github link
https://github.com/adafruit/DHT-senso...

Real Time Clock (DS1302) library
http://www.rinkydinkelectronics.com/l...


If you want to support my video please buy any product through my amazon affiliate link. I will receive a commission, at no extra cost to you.

LIST OF COMPONENT (affiliate links)

http://amzn.to/2fvSRJq (Arduino)
http://amzn.to/2gRFSiv (RTC DS1302)
http://amzn.to/2yBk7eT (LCD display)
http://amzn.to/2vqIKJP (DHT22)
http://amzn.to/2vYitnO (Potentiometer)
http://amzn.to/2vmSK8l (Resistor)
http://amzn.to/2wxPmWz (Breadboard)
http://amzn.to/2vJ3lvo (Jumper wire)

#include (LiquidCrystal.h) //instead of parenthesis () put angle bracket as YouTube description does not allow angle bracket
#include (DS1302.h)
#include "DHT.h"
#define DHTPIN 10
#define DHTTYPE DHT22
DHT dht(DHTPIN, DHTTYPE);

// Init the DS1302
DS1302 rtc(2, 3, 4);

// Init the LCD
LiquidCrystal lcd(12, 11, 8, 7, 6, 5);

void setup()
{
// Set the clock to run-mode, and disable the write protection
rtc.halt(false);
rtc.writeProtect(false);
dht.begin();

// Setup LCD to 16x2 characters
lcd.begin(16, 2);

// The following lines can be commented out to use the values already stored in the DS1302
rtc.setDOW(MONDAY); // Set Day-of-Week to FRIDAY
rtc.setTime(12, 11, 0); // Set the time to 12:00:00 (24hr format)
rtc.setDate(30, 10, 2017); // Set the date to August 6th, 2010
}

void loop()
{
// Display time on the left conrner upper line
lcd.setCursor(0, 0);
lcd.print(rtc.getTimeStr());

// Display abbreviated Day-of-Week in the lower left corner
lcd.setCursor(0, 1);
lcd.print(rtc.getDOWStr(FORMAT_SHORT));

// Display date in the lower right corner
lcd.setCursor(6, 1);
lcd.print(rtc.getDateStr());
float t = dht.readTemperature();
// Display tempreture right side corner on the upper line
lcd.setCursor(9, 0);
lcd.print(t);
lcd.print("*C");

// Wait one second before repeating
delay (1000);
}

Комментарии

Информация по комментариям в разработке

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

  • О нас
  • Контакты
  • Отказ от ответственности - Disclaimer
  • Условия использования сайта - TOS
  • Политика конфиденциальности

video2dn Copyright © 2023 - 2025

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