International Research Journal of Engineering and Technology (IRJET)
e-ISSN: 2395 -0056
Volume: 04 Issue: 04 | Apr -2017
p-ISSN: 2395-0072
www.irjet.net
µ-Smart Rohit U Shetty 1, Dheemanth B M 2, Vishal H 3, Bhargav V 4, Anand Srivatsa 5 Department of Electronics & Communication Engineering The National Institute of Engineering, Mysuru ---------------------------------------------------------------------***--------------------------------------------------------------------2. INTERFACING AVR WITH REAL TIME CLOCK
Abstract - µSmart is a quasi smart watch running on
Atmega16 and esp8266. This project contains base firmware for pseudo-kernel and infrastructure to build your own apps on µsmart!. µSmart gives you an infrastructure where you can write your own apps on this hardware. (like multimeter on watch, your own small game, a calculator etc, also has wireless capability) µSmart contains a monochrome Nokia 5110 screen, user interface consisting of small joystick and press buttons, RTC DS1307, LM35 and ESP8266 for wireless communication.
The DS1307 serial real-time clock (RTC) is a low power, full binary-coded decimal (BCD) clock/calendar plus 56 bytes of NV SRAM. Address and data are transferred serially through an I2C, bidirectional bus. The 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 24hour or 12hour format with AM/PM indicator. The DS1307 has a built-in power-sense circuit that detects power failures and automatically switches to the backup supply.
Key Words: AVR, ESP8266 ,MQTT, RTC.
1. INTRODUCTION A plethora of smart watches have been introduced into the market like I-watch, moto 360 and pebble. But unfortunately, we cannot tweak the source code to define our own custom applications. µSmart provides a software-hardware framework for the developers to model their own applications such as accessing a database for some lookup table, designing a game, controlling home automation, accessing a remote network to send a initiate a task etc to be embedded in the code memory space of watch. A userfriendly interface is developed to register the applications, secure protocol is implemented using MQTT broker, Internet connectivity is achieved via ESP8266 module and cloud integration is an added advantage. A pseudo structure is as follows:
2.1 Data Transfer Between Microcontroller and RTC:
Fig 2.1 Interfacing between RTC and microcontroller
Fig 1.1 Structure of the prototype
© 2017, IRJET
|
Impact Factor value: 5.181
Fig 2.2 Data transfer on the I2C bus.
|
ISO 9001:2008 Certified Journal
|
Page 3419