Code Monkey home page Code Monkey logo

tiny_rtc_i2c_board's Introduction

Atmel Studio firmware for the Tiny RTC board.


Project brief

The Tiny RTC board incorporates two I2C modules, one RTC IC (DS1307) and one EEPROM IC (AT24C32), which is ideal for learning how to setup a multi-client I2C bus communication. The main purpose of this repository is to provide an I2C reference solution running on Arduino HW implemented in Atmel Studio.


TWI - I2C

This firmware uses the C-implementation of the Arduino TWI-library (minor patch for the SDA/SCL pull-ups) which is then abstracted by an I2C-wrapper. The test and verifications has been done on an Arduino Mega which holds an ATmega2560 MCU. Due to trademark issues the Atmel MCUs names it's I2C function to TWI (Two Wire Interface) but the functions are more or less identical (and compatible with each other). More information about this can be found [here] (http://www.i2c-bus.org/twi-bus).


HW Info

The are many variants of the board but, essentially, the ICs and the pin-outs are the same. A good description of the board's functions and accompanied connections can be found here.

RTC DS1307 datasheet

EEPROM AT24C32 datasheet

A cheap place to buy the board from:

http://www.elecrow.com/sensor-c-111/misc-c-111_115/tiny-rtc-for-arduino-p-323.html

tiny_rtc_i2c_board's People

Watchers

Daniel Nordahl avatar  avatar aleksandar rodzevski avatar

Forkers

gsshch

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.