In the last post, we had little introduction of how the firmware is going to act. With that picture in mind, now we will go a little deeper.
Android <==> BtBee <==> USART <==> uC
USART Communication
Atmega16 contains one USART device. In this section we'll learn how to use it for receiving information. For using any of the peripherals in the uC, we need to do
+ Switch ON the peripheral.
+ Configure the peripheral.
...
Browse » Home » Archives for November 2012
Thursday, November 1, 2012
Firmware for uC | Introduction
This post marks the beginning of a new article series discussing the development of the firmware, we coded for the atmega16 micro-controller(we call it the, ORGAN) used in the project.
The firmware will not do anything unless the android(we call it the, BRAIN) asks it to do so. After lot of thinking, and experiments interrupt driven method is chosen for implementation. When it receives a command usually one the predefined set of values defined through these directives.
file: athena.h
/************************************************************
* Actual operations...
Subscribe to:
Posts (Atom)