As if I didn’t have enough things on my “to try when I have the time” list already, I recently did a little shopping in both Adafruit and SparkFun. Both had several nifty breakout boards available that promised to speed up and streamline my breadboard projects a lot. In addition to some SMD breakouts that are still in their sealed bags, here’s what I got:
- A four-channel bi-directional level shifter, promised to work also with I2C and SPI
- A similar 2+2 level converter from SparkFun
- A MAX3232 breakout – it cost the same as the DIP version here in Finland, and came with SMD capacitors. Nice!
- A 3-axis accelerometer with I2C interface
- MCP4725 12-bit DAC with I2C interface
- A NCP1402 5V step-up converter
- A DS1077 programmable oscillator (frequency generator)
- Useful breadboard adapters for 3.5mm audio, micro-USB, touch screen and Wii Nunchuck connectors (saves me from dangling wires)
- Finally, a DS1307 realtime clock breakout
I had a lot of fun soldering the breadboard headers to these little guys. Many are for future projects, like the frequency generator which I’m planning to use for some RFID experiments, and some are just to avoid stripping apart stuff like the connector breakouts. As today’s main topic, I’m covering the DS1307 realtime clock (RTC) breakout in more detail. If you are interested in some of the other items, drop me a comment and I’ll get back to it!
DS1307 Realtime Clock
A realtime clock is simply something that keeps record of the time. Usually, these types of clocks are paired with a small coin cell battery that enables them to keep on counting even if the rest of the circuit is powered of. Such is the case with this breakout, too. Adafruit has an excellent tutorial covering the assembly of this device, all you need is some solder and an iron.
After getting it together, it took me a while to get it working. I used Bus Pirate to communicate with the chip, with the following connections:
Continue reading Breakout Bonanza and DS1307 Realtime Clock