skip to main | skip to sidebar

Friday, 22 July 2011

SIRC Part II - Arduino

04:21 RPS Deepan 2 comments

More Parameters:
Frame Timing:
The signal to be transmitted is encoded to a form known as a "Frame", which represent 13 bits including start bit. Each bit in the frame is a combination of high and low voltage levels (high followed by low). The pulse-width of each type of bit is listed below:
Pulse-Width: T = 0.6ms
Start Bit:(2.4 + 0.6) ms = 3 ms = 5T
'0' Bit:(0.6 + 0.6) ms = 1.2 ms = 2T
'1' Bit:(1.2 + 0.6) ms = 1.8 ms = 3T
Repeat Rate:
Each frame is repeated atleast 3 times during transmission at an interval of 45 ms.
What next?
We have necessary data to start our project. We'll do the following tasks to gain practical experience on this:
* Develop an algorithm for encoding the signal to be transmitted.
* Produce the encoded signal with the help of a micro-controller.
* Transmit the signal through an IR LED in the form of IR.
* Recieve the signal using an IR TSOP receiver.
* Develop an algorithm for decoding the encoded signal.
* Display decoded data on the monitor.


A Platform to Move on:Arduino, a stable, famous and easy-to-understand Platform.
What is Arduino?
Arduino is a prototyping platform(AVR uC with some generic circuitry) with its own Software Development IDE(Arduino). We dont study much about Arduino here. Instead, We just use it as a tool to test our knowlege. The pictoral representation of Arduino Duemilanove is given below:
The above figure will give you a good idea about the board. Either Atmega 168 or Atmega 328 can be used along with this board. It has 14(0 - 13) digital pins and 6(14 - 19) analog pins. We use one of those to produce the required signal. We connect an IR LED to that pin and convert the signal into IR form.
To know more about the features of Arduino Duemilanove, Click here.

Arduino IDE:
Arduino software is one of most user-friendly software built so far. The programs created using this IDE are called as "Sketches". General structure of sketch is

//beggining of sketch
//global declarations goes here
//function definitions also goes here
void setup()
{
// here initial settings are done.
// This function is executed only once
}
void loop()
{
// here exact set of instructions are written, which will be performed again
// and again by the controller
}
//end of sketch

All the standard functions to be used can be studied from the following link: Click Here....
Coming up next:
* Encoding and Decoding codes
* Practical model
* Building a project ( An Universal Remote)

2 comments:

Post a Comment

தங்களது கருத்துக்களை இங்கே வெளியிடவும்...

[フレーム]

Share

Popular Posts

  • BASICS    Wireless infrared communications refers to the use of free-space propagation of light waves in the near infrared band as a trans...
  •         Here we are going to discuss about data transfer instructions which move data between register or memory locations. ...
  • In this post, We examine sample codes for encoding and decoding using Arduino. Encoding:      The frequency of the carrier signal...
  •            Serial communications is the most popular and cheaper way of communicating between two devices. The obvious advantage is lesser n...
  •          In this post, we are going to learn a very old grand father of modern processors, named 8085 and his colleague 8255. Pins, Sign...
  • 8085-MICRO PROCESSOR INSTRUCTION SETS      8085 Micro Processor is 8 bit micro processor which has some instruction sets ...

Categories

 

AltStyle によって変換されたページ (->オリジナル) /