ALLNET DS1302 Absolutzeitgeber-Set (RTC) Mehrfarbig
Abholung/ Versand möglich am Donnerstag, den 28.11
Zustellung zw. 29.11 - 03.12
ALLNET DS1302. Produkttyp: Absolutzeitgeber-Set (RTC), Kompatibilität: 4Duino, Markenkompatibilität: ALLNET
Diese Artikel könnten Sie auch interessieren:
Beschreibung
ALLNET DS1302 Absolutzeitgeber-Set (RTC) Mehrfarbig
Description:
The DS1302 trickle-charge timekeeping chip contains a real-time clock/calendar and 31 bytes of static RAM. It communicates with a microprocessor via a simple serial interface. The real-time clock/calendar provides seconds, minutes, hours, day, date, month, and year information. The end of the month date is automatically adjusted for months with fewer than 31 days, including corrections for leap year. The clock operates in either the 24-hour or
12-hour format with an AM/PM indicator. Interfacing the DS1302 with a microprocessor is simplified by using synchronous serial communication. Only three
wires are required to communicate with the clock/RAM: CE, I/O data line, and SCLK serial clock. Data can be transferred to and from the clock/RAM 1 byte at a time or in a burst of up to 31 bytes. The DS1302 is designed to operate on very low power and retain data and clock information on less than 1W. The DS1302 is the successor to the DS1202. In addition to the basic timekeeping functions of the DS1202, the DS1302 has the additional features of dual power pins for primary and backup power supplies, programmable trickle charger for VCC1, and seven additional bytes of scratchpad memory.
FEATURES
- ?Real-Time Clock Counts Seconds, Minutes, Hours, Date of the Month, Month, Day of the Week, and Year with Leap-Year Compensation Valid Up to 2100
?Serial I/O for Minimum Pin Count
Uses Less than 300nA at 2.0V
Data Transfer for Read or Write of Clock or RAM Data
TTL-Compatible VCC = 5V
?DS1202 Compatible
4duino Example Sketch:
Code: / FILE:ARD_1302_RTC_Example_Sketch_HCMODU0035 VERSION: 0.1 REVISIONS: 20/09/13 Created version 0.1 This is an example of how to use the Hobby Components 1302 Real Time Clock http://www.henningkarlsen.com/electronics/. This example sketch demonstrates please see the following pinout: PINOUT: MODULEARDUINO VCC +5V I/O D3 You may copy, alter and reuse this code in any way you like, but please leave This software may not be used for the purpose of premoting or selling products MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE, ACCURACY OR LACK OF NEGLIGENCE. INCLUDING, BUT NOT LIMITED TO, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES FOR ANY #define SCK_PIN 4 #define RST_PIN 2 / Include the DS1302 library / DS1302 rtcRST_PIN, IO_PIN, SCK_PIN void setup / Clear the 1302s halt flag / / And disable write protection / Serial.begin9600 void loop rtc.setDOWMONDAY rtc.setDate3, 9, 2013 / Read the time and date once every second / Serial.print" Serial.print" delay 1000 |
Datenblatt
Merkmale | |
---|---|
Produkttyp: | Absolutzeitgeber-Set RTC |
Kompatibilität: | 4Duino |
Markenkompatibilität: | ALLNET |
Produktfarbe: | Mehrfarbig |
Hinweis: Die Beschreibung und das Datenblatt werden von Icecat zur Verfügung gestellt. Für die Richtigkeit und Vollständigkeit der aufgeführten Daten wird keine Haftung übernommen.
* Alle Preis zzgl. Versandkosten soweit nicht anders angegeben und gelten nur für Lieferungen nach Deutschland!