Showing posts with label Integrated Circuits. Show all posts
Showing posts with label Integrated Circuits. Show all posts

3/14/2013

DS1302

I wanted an easy way to interface and use the DS1302 trickle-charge timekeeping chip.




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.

11/28/2012

Headphone Amplifier - NE5532





NE5532 is a low-distortion, low-noise Hi-Fi OP-Amp.
NE5532 is able to drive low-impedance Loads to a full
Voltage swing while maintaining low distortion.

NE5532 output is short-circuit proof.



Headphone Amp

This Circuit was implemented with a single 5532 Chip forming a pair of inverting Amplifiers, having an AC Gain of about 3.5 and capable of delivering up to 3.6V Peak-to-peak into a 32Ω Load (corresponding to 50mW RMS) at less than 0.025% total harmonic distortion (THD).