DS3231 RTC Real Time Clock Module AT24C32

DS3231 RTC Real Time Clock Module AT24C32
DS3231 RTC Real Time Clock Module AT24C32DS3231 RTC Real Time Clock Module AT24C32
รหัสสินค้า C06002
หมวดหมู่ นาฬิกา Real Time Clock (RTC)
ราคา 90.00 บาท
ขนาด 5
สถานะสินค้า พร้อมส่ง
ลงสินค้า 20 พ.ค. 2562
อัพเดทล่าสุด 30 ก.ค. 2568
ความพึงพอใจ
5.00/5 จาก 1 คน
คงเหลือ 6 ชิ้น
จำนวน
ชิ้น
หยิบลงตะกร้า
บัตรประชาชน
บุ๊คแบ๊งค์
คุ้มครองโดย LnwPay

DS3231 RTC Real Time Clock AT24C32 Module นาฬิกาแบบเวลาแสดงเวลาจริง RTC (Real time clock) มีความถูกต้องแม่นยำสูง มาพร้อมแบตเตอร์รี่ ใช้งานได้แม้ไม่มีแหล่งจ่ายไฟจากภายนอก สามารถตั้งค่า วัน เวลาได้อย่างง่ายดย มีไลบารี่พนพร้อมใช้งานกับ Arduino สามารถแสดงผลเวลาแบบ 24 ชั่วโมงและแบบ 12 ชั่วโมงได้ นอกจากจะแสดงเวลาได้แล้ว ยังสามารถตั้งเวลาปลุกได้อีกด้วย การต่อใช้งานกับ Arduino ง่ายดายผ่าน I2C/IIC

To use the DS3231 with the Arduino IDE, you will need to install a library that provides functions for accessing the RTC's features. Here are the steps to get started:

  1. Connect the DS3231 to your Arduino according to the pinout diagram provided in the datasheet. Make sure to use the correct pins for I2C communication (usually A4 and A5 on the Arduino Uno).
  2. Open the Arduino IDE and go to Sketch > Include Library > Manage Libraries.
  3. Search for "DS3231" and install the library called "DS3231 RTC Library" by Joe Robertson.
  4. Go to Sketch > Include Library and make sure the library is listed at the top of the dropdown menu.
  5. In your Arduino sketch, include the library by adding #include <DS3231.h> at the top of the file.
  6. Initialize the DS3231 object by calling DS3231 rtc;.
  7. Set the time and date on the DS3231 by calling rtc.setTime(hour, minute, second, dayOfWeek, dayOfMonth, month, year);.
  8. Read the time and date from the DS3231 by calling rtc.getTime();, which returns a tm structure containing the current time and date.

 

You can find more examples and information on using the DS3231 with the Arduino in the library documentation and examples provided with the library.

ข้อมูลเพิ่มเติม

  • รองรับแรงดัน DC 5V
  • แบตเตอร์รี่ สำรองรองรับแรงดัน ในช่วง 2.5V ถึง 3V
  • กินกระแสต่ำใช้พลังงานต่ำ
  • การเชื่อมต่อ Interface แบบ I2C
  • มีการชดเชยอุณหภูมิทำให้เวลาแม่นยำมากขึ้น
  • สามารถตั้งการแจ้งเตือน Alarm ได้ 2 ชุด 
Download : http://download.ab.in.th/download.php?file=RTClib.zip

สินค้า 1 ชุดประกอบด้วย

  • DS3231 RTC Real Time Clock Module จำนวน 1 ชิ้น

Example of how you can use the DS3231 library to set and read the time and date on an Arduino:

#include <DS3231.h>
DS3231 rtc;

void setup() {
  // Initialize serial communication
  Serial.begin(9600);
  // Initialize the DS3231
  rtc.begin();

  // Set the time and date
  rtc.setTime(12, 34, 56, 7, 1, 1, 2021);  // 12:34:56, Sunday, January 1, 2021
}

void loop() {
  // Read the time and date from the RTC
  tm time = rtc.getTime();

  // Print the time and date to the serial monitor
  Serial.print(time.hour);
  Serial.print(":");
  Serial.print(time.min);
  Serial.print(":");
  Serial.print(time.sec);
  Serial.print(", ");
  Serial.print(time.mday);
  Serial.print("/");
  Serial.print(time.mon);
  Serial.print("/");
  Serial.print(time.year);
  Serial.println();

  // Delay for one second
  delay(1000);
}

 

ซื้อ Arduino ออกใบเสร็จเบิกมหาลัย

Arduino ถูกค่า ส่งฟรี

ตัวอย่าง โปรเจค Arduino  Arduino ถูกค่า ส่งฟรี

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

ธนาคารไทยพาณิชย์ จำกัด (มหาชน) สาขาบิกซี เอ็กซ์ตร้า หาดใหญ่ ออมทรัพย์
Scan this!
ABMaker
014-xxxxxx-9
Accept All Banks | รับเงินได้จากทุกธนาคาร
สินค้านี้ยังไม่มีคนถามคำถาม
ความพึงพอใจ:
jamezabasex
3 ก.ค. 2564 16:27 น.
ราคาถูกกว่าทุกเว็บเลย บริการหลังการขายดีมาก

Join เป็นสมาชิกร้านค้า

ร้านAB-Maker บทความ Arduino จำหน่าย Sensor Module Shield ราคาถูก AB.in.th
ร้านAB-Maker บทความ Arduino จำหน่าย Sensor Module Shield ราคาถูก AB.in.th
/www.ab.in.th/
Join เป็นสมาชิกร้าน
529
สมัครสมาชิกร้านนี้ เพื่อรับสิทธิพิเศษ

ติดต่อร้าน AB-Maker

075-808-080
064-208-3926

ติดต่อเวลา 10.00-17.00 น. 
จันทร์ ถึงวัน ศุกร์ 

Fanpage AB-Maker Arduino Line @AB-Maker Arduino

QR Coard Line

  • ค้นหา
*ใส่ เบอร์มือถือ หรือ email ที่ใช้ในการสั่งซื้อ

หน้าที่เข้าชม4,510,795 ครั้ง
ผู้ชมทั้งหมด2,466,567 ครั้ง
ร้านค้าอัพเดท6 ก.ย. 2568
รายการสั่งซื้อของฉัน
เข้าสู่ระบบด้วย
เข้าสู่ระบบ
สมัครสมาชิก

ยังไม่มีบัญชีเทพ สร้างบัญชีใหม่ ไม่มีค่าใช้จ่าย
สมัครสมาชิก (ฟรี)
รายการสั่งซื้อของฉัน
ข้อมูลร้านค้านี้
ร้านAB-Maker บทความ Arduino จำหน่าย Sensor Module Shield ราคาถูก AB.in.th
AB-Maker บทความ Arduino จำหน่าย Sensor Module Shield ราคาถูก AB.in.th
Arduino นครศรีธรรมราช หาดใหญ่ สงขลา ยะลา จำหน่าย Arduino อุปกรณ์อิเล็กทรอนิกส์ ไมโครคอนโทรลเลอร์ Uno R3 Nodemcu Esp8266 Esp32 Sensor Module ราคาถูกสุดๆ Support เร็วดูแลลูกค้าอย่างดี
เบอร์โทร : 075808080
อีเมล : [email protected]
ส่งข้อความติดต่อร้าน
เกี่ยวกับร้านค้านี้
สินค้าที่ดูล่าสุด
ดูสินค้าทั้งหมดในร้าน
สินค้าที่ดูล่าสุด
บันทึกเป็นร้านโปรด
Join เป็นสมาชิกร้าน
แชร์หน้านี้
แชร์หน้านี้

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