ไฮไลท์
DS1307 Tiny RTC I2C modules 24C32 memory clock พร้อมแบตเตอรี่
ข้อมูล
น้ำหนัก
บาร์โค้ด
ลงสินค้า
อัพเดทล่าสุด
รายละเอียดสินค้า

DS1307 Tiny RTC I2C modules 24C32 memory clock

DS1307 I2C real time clock chip (RTC)
24C32 32K I2C EEPROM memory
Using LIR2032 rechargeable lithium battery and charging circuit with
DS1307 with battery backup can not solve the problem of literacy.
Fully charged, can provide DS1307 timing 1 year.
Compact design, 27mm * 28mm * 8.4mm
Leads to the DS1307 clock pin provides a clock signal for the microcontroller.
Other I2C devices can be cascaded.

DS1307 is a low power, with 56 bytes of non-volatile RAM clock calendar full BCD code real-time clock chip, the address and data via a two-wire bidirectional serial bus transmission, the chip provides seconds, minutes, hours and other information , the number of days of each month can be automatically adjusted. And there is a leap year compensation. AM / PM flag determines clock operates in 24 hours or 12 hours mode, the chip has a built-in power-sense circuit, brownout detect, and battery switching function.

DS1307 features:

Available on the second, hour, minute, number of days per month, month, week, count the number of days, and has a leap year compensation. Record on the line in 2100.

  • 56 bytes of non-volatile RAM
  • Two-wire serial interface
  • Programmable square-wave output
  • Automatic power-down detection and switching circuit
  • In battery backup mode, power consumption is less than 500nA



ดาวน์โหลดไลเบอรี่

https://github.com/adafruit/RTClib


การต่อใช้งาน

GND - GND

VCC - 5V

SDA - SDA

SCL - SCL



Code

#include

#include

#include "RTClib.h"

LiquidCrystal_I2C lcd(0x27,20,4); // LCD2004

RTC_Millis rtc;

String dt;

String ut;

void setup()

{

lcd.init(); // initialize the lcd

lcd.backlight();

lcd.print("start LCD2004");

rtc.begin(DateTime(F(__DATE__), F(__TIME__)));

delay(1000);

lcd.clear();

}

void loop()

{

lcd.setCursor(0,0);

lcd.print("S029:DS1307");

DateTime now = rtc.now();

dt = (String)now.year()+"/";

dt += (String)now.month()+"/";

dt += (String)now.day()+" ";

dt += (String)now.hour()+":";

dt += (String)now.minute()+":";

dt += (String)now.second();

lcd.setCursor(0,1);

lcd.print(dt);

ut = (String)now.unixtime();

lcd.setCursor(0,2);

lcd.print("unixtime="+ut);

}

DS1307 Tiny RTC I2C modules 24C32 memory clock พร้อมแบตเตอรี่
DS1307 Tiny RTC I2C modules 24C32 memory clock พร้อมแบตเตอรี่
เงื่อนไขอื่นๆ
Tags

วิธีการชำระเงิน

บมจ. ธนาคารกรุงไทย สาขาด่านขุนทด ออมทรัพย์
รายการสั่งซื้อของฉัน
เข้าสู่ระบบด้วย
เข้าสู่ระบบ
สมัครสมาชิก

ยังไม่มีบัญชีเทพ สร้างบัญชีใหม่ ไม่มีค่าใช้จ่าย
สมัครสมาชิก (ฟรี)
รายการสั่งซื้อของฉัน
ข้อมูลร้านค้านี้
ร้านIotShop
IotShop
จำหน่าย Arduino Micro Controller, Shield, Module, Sensor, และอุปกรณ์อิเล็กทรอนิกส์ต่างๆ ราคาถูกที่สุด มีสินค้าพร้อมส่งและสุ่มทดสอบให้ลูกค้าความมั่นใจว่าสินค้าใช้งานได้แน่นอน จัดส่งสินค้าทุกวัน สต๊อกในไทย ตัดรอบ 14.00 น. ***ลูกค้าที่ต้องการใบเสร็จ โปรดแจ้งรายละเอียดมาทางช่องแชท รายละเอียดที่ต้องแจ้ง - ชื่อหน่วยงาน เช่น มหาวิทยาลัย โรงเรียน บริษัท ห้างร้าน - ที่อยู่หน่วยงาน - เลขที่ประจำตัวผู้เสียภาษีของหน่วยงาน - สาขาที่ / หรือสำนักงานใหญ่
เบอร์โทร : 0902624118
อีเมล : nattaphumart@gmail.com
ส่งข้อความติดต่อร้าน
เกี่ยวกับร้านค้านี้
สินค้าที่ดูล่าสุด
ดูสินค้าทั้งหมดในร้าน
สินค้าที่ดูล่าสุด
บันทึกเป็นร้านโปรด
Join เป็นสมาชิกร้าน
แชร์หน้านี้
แชร์หน้านี้

TOP เลื่อนขึ้นบนสุด
พูดคุย-สอบถาม