Using the PCF8583 as a clock component on the I2C bus of the Raspberry Pi
Conclusion
The PCF8583 chip offers a surprising array of functions. At first glance, it is not immediately apparent that so many capabilities have been packed into an 8-pin "bug." Although it's not easy to program, the chip does offer a myriad of potential applications making it possible for the user to consider scenarios like the creation of a watchdog timer or a time-controlled wake-up function for the Raspberry Pi.
The counter function opens up even more opportunities. For example, it can count rapidly occurring signals that ordinarily would not register on the standard GPIO interface. In general, the chip is very flexible, and application ideas almost suggest themselves.
Infos
- PCF8583: http://www.nxp.com/products/interface_and_connectivity/real_time_clocks/i2c_real_time_clocks_rtc/series/PCF8583.html#
- Data sheet NXP PCF8583: http://www.nxp.com/documents/data_sheet/PCF8583.pdf
- Code and schematics: ftp://ftp.linux-magazine.com/pub/listings/raspberry-pi-geek.com/11
- gEDA Project: http://www.geda-project.org/
- GPIO extension board: https://www.raspberrypi.org/adafruits-new-raspberry-pi-breakout-kit-the-pi-t-cobbler/
« Previous 1 2 3 Next »
Buy this article as PDF
Pages: 8
(incl. VAT)