2018年4月17日 星期二

ARDUINO LIBRARIES


Qwik-find menuGeneral
Top
Download
Datasheet
Compatibility
Manual
License
        Qwik-find

  HOME    PROJECTS    LIBRARIES    RESOURCES    LINKS    CONTACT  Tue 17.04.2018
Select category:
Arduino
  DS1302
  DS1307
  DS3231
  DS3234
  KeyPad
  LCD5110_Basic
  LCD5110_Graph
  LCD5110_SPIflash
  LEDmatrix7219
  MCP4725
  MGLCD
  OLED_I2C
  OLED_SPIflash
  OLED_StatusIcons
  relay8
  SPIflash
  tinyFAT
  URTouch
  UTFT
  UTFT_Buttons
  UTFT_Geometry
  UTFT_SPIflash
  UTFT_tinyFAT
  WiiChuck
chipKit
TI LaunchPad

IF YOU LIKE,
and use any of my projects or libraries, and would like to encourage further development you can donate through PayPal here:
 

Rather donate hardware directly? Then click here



Library: DS1302

This library was made because I wanted an easy way to interface and use the DS1302trickle-charge timekeeping chip.
DS1302DS1302 pinoutMy Arduino running the DS1302_LCD Demo
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 (The library only support the 24-hour mode).

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 1µW.

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.

Download:

DS1302.zip
(Filesize is 367.75 KiB. Downloaded 35200 times)


Four demos are included to demonstrate most of the functions.
Changes:
v1.06 Aug 2010initial release
v2.023 Aug 2010Added functions to use on-chip RAM.
v2.117 Nov 2010Added setTCR();
v2.226 Jan 2012Added support for Arduino 1.0 IDE

Datasheet:

CLICK HERE TO VIEW

Compatibility:

WorkingArduino Duemilanove w/ATmega328
WorkingArduino Uno
Not tested, UnsupportedArduino Leonardo
WorkingArduino Mega
WorkingArduino Mega2560
Not tested, UnsupportedArduino Due
Not tested, UnsupportedBobuino
Not tested, UnsupportedTeensy 3.1
Working = Working   Not working: Not working
Not tested, Unsupported = Not tested, Unsupported

Manual:

CLICK HERE TO VIEW
The manual is included in the download

License:

By downloading the library you accept the following license:
Creative Commons BY-NC-SA Logo
Creative Commons (CC BY-NC-SA 3.0)
View SummaryView Legal

沒有留言:

張貼留言

Messaging API作為替代方案

  LINE超好用功能要沒了!LINE Notify明年3月底終止服務,有什麼替代方案? LINE Notify將於2025年3月31日結束服務,官方建議改用Messaging API作為替代方案。 //CHANNEL_ACCESS_TOKEN = 'Messaging ...