Let us look into the Random Access Mode functionality of APR9600 in my next post
Sunday, May 30, 2010
Introduction to Random Access Mode of APR 9600
Let us look into the Random Access Mode functionality of APR9600 in my next post
Thursday, April 29, 2010
Introduction to APR9600

Tuesday, April 13, 2010
Saline Level monitoring using LDR

The LDR sensor circuit consists of a comparator, an LDR and a pair of multi-turn preset resistor (10k ohm). The LDR is connected in series with a preset resistor forms a voltage divider configuration. When no laser beam falls on the LDR its resistance will be very high compared to 10k ohm. So by voltage divider rule small voltage will be available across the preset resistor. But when laser beam falls on the LDR its resistance becomes almost zero. So voltage across the preset will become nearly 5V. This change in voltage across the preset can be detected using a comparator. Comparator is constructed using UA741. The threshold voltage can set using another 10k ohm preset connected to the inverting input of the opamp.
In normal condition output of comparator remains at logic zero because the laser beam is distracted by the saline present in the bottle, but when saline level reduces, the distraction is lost and the laser beam falls on the LDR, because of this comparator output changes to logic one. This change is used by microcontroller to detect the quantity in the saline bottle.
Sunday, April 4, 2010
Introduction to EMAS-Wi Tech

Sunday, March 28, 2010
Emergency Announcement System In Hospital Using Wireless Technology
The advancement in technology had favored many fields. The Emergency announcement systems present in the hospitals nowadays, are not implemented real time and any crucial data is transmitted through wired means. There is a probability for the crucial data to get lost, by not reaching the right person at the right time. Our system is designed to overcome these drawbacks by transmitting the data obtained from sensors to the respected persons through wireless means. Sensors are provided to measure the physical values e.g. Saline level, heart beat, etc. The outputs from these sensors are fed to the microcontroller which is monitoring continuously. When abnormal input conditions were sensed by the microcontroller, it transmits respective message to the intended person immediately through wireless medium. The entire system is designed to provide a cost effective solution to save the life of people in need.
More details on my next post.....
NOTE: AU PERS center has been shutted down last year
Friday, November 28, 2008
The usage of ‘gets’ statement in C Programming
Well we have already discussed about the usage of ‘fflush’ statement, let us now discuss about the usage of ‘gets’ statement. String is an array of characters and we use the format specifier ‘%s’ to directly get these array of characters, which is not possible in the case of array of integers. In the case of array of integers we use the ‘for’ loop to get the values since we don't have any format specifier for array of integers.
To get array of characters we use the format specifier ‘%s’ as shown below
puts(“Enter the string”);
scanf(“%s”,ex_str);
puts(ex_str);
Enter a string
sample text
sample
puts(“Enter a string”);
gets(ex_str);
puts(ex_str);
Enter a string
sample text
sample text
Just think of getting a name of a person which contains first name, last name and middle name so this ‘gets’ statement is much useful in those situations. Happy Programming!!
Saturday, November 15, 2008
The usage of ‘fflush’ statement in C programming

{
int num;
char ch;
clrscr();
printf(“Enter a number\n”);
scanf(“%d”,&num);
printf(“Enter a character\n”);
scanf(“%c”,&ch);
printf(“The value of num is %d and ch is %c”,num,ch);
getch();
}
The output of the program is shown below
12
Enter a character
The value of num is 12 and ch is
Wonder why this happens? Well let us look at the problem. When you type the number 12 and press ‘Enter’ key, the value corresponding to key press ‘1’ and ‘2’ is read from the input buffer and gets assigned to the variable ‘num’ once you press the ‘Enter’ key(delimiter). Now the value of the ‘Enter’ key is stored in the input buffer. So when you want to read a character, the value of the ‘Enter’ key which is stored in the input buffer is assigned to the character variable ‘ch’. This results in giving a wrong output. This is where the ‘fflush’ command comes into picture. The ‘fflush’ clears the specified buffer, so after getting the integer value we need to clear the input buffer (which stores the ‘Enter’ key value) before getting the character value. So the C program is changed as shown below.
printf(“Enter a number\n”);
scanf(“%d”,&num);
fflush(stdin);
printf(“Enter a character\n”);
scanf(“%c”,&ch);
Hope you know understood the importance of ‘ffush’ statement
Monday, November 10, 2008
Types of ROM's
The OTP (one time programmable) are used for firmware applications.
The ROM is also known as the program memory or code memory and RAM is also known as the data memory.
The EEPROM are electrically erasable PROM and needs electrical supply to clear the data.
The UVPROM requires UV light to pass through the window to clear the data.
The FLASH ROM are the advanced ones where data is loaded and retrieved in blocks, where each block is greater than 2 bytes, so the operation is faster in the case of FLASH ROM, whereas in the case of EEPROM data is loaded and retrieved byte by byte so it would take much time to access data when compared to FLASH ROM.
Saturday, November 1, 2008
Hectic week approaching...
Wednesday, October 22, 2008
Code snippet for working with an ADC
#use delay(clock=4000000)
#include
#byte porta=0x05
#byte portd=0x08
Tuesday, October 14, 2008
Analog to digital converter module

You can see the input pins where the analog data comes from, which are connected to the inputs of an analog multiplexer. The function of the analog multiplexer is to connect the selected input channel to the holding capacitor. The holding capacitor is connected to the output of the analog multiplexer and when a conversion is initiated, the analog multiplexer disconnects all inputs from the holding capacitor, and the successive approximation converter performs the conversion on the voltage stored on the holding capacitor thus providing a digital value at the output.
Sunday, October 12, 2008
The need for Analog to Digital Converters
In this example, an input voltage of 2.343 volts is converted to 87. The user’s software can use the value 87 as the representation of the original input voltage. The analog input voltage must be within the valid input range of the A/D for accurate conversion. Hope you would have heard about the quantization process of rounding off and the quantization error. The A/D converter which is having higher resolution gives less quantization errors. Hence a 12-bit converter which has 4096 states is much efficient than a 10-bit converter that has 1024 states. Wednesday, October 8, 2008
About 8085 simulator's
Day 3 at AU PERS center
The government holidays are affecting my embedded system course at
Hurray got into Visteon!!
Sunday, October 5, 2008
Get Together
Wednesday, October 1, 2008
SimBot at NIT Trichy


The robot which reaches the finish line first wins the game. We used DC motors with 150 RPM but those who came for the competition used 300 RPM twice the speed of us, so we lost in timing but anyway we had a good experience out there. I couldn't take a video at the time of the race but here is the sample video where our line follower tracks the line.
The best book for C Programming
C Programming is a strong high level language invented by Dennis Ritche. It forms the base for many programming languages. Where ever you go for an interview they will test your C Programming skills and if you are strong in C then you get a job for sure. Because C being the base to learn other programming languages. Learning C is basic like learning ABC in your primary classes. Well C is that much powerful and the best book for learning C language is Let Us C by Yashvant Kanethkar. There are also other books on C written by the same author and you can get it to have a through knowledge in C Programming. The book is simple and easy to learn and there is lot of practical examples. If you are mastering the book Let Us C then you can be sure in clearing the written test for any interview which has C language. In Embedded systems also C Language forms a basic part, because most of us use Embedded C language to program the microcontrollers and ALP and BASIC are out of use. Even if you join in any Embedded Training Centers then the first module will be C Programming, so if you are a beginner please concentrate in C Programming well. Practical knowledge matters more than theoretical one.
My WaterBot drowned in Water

This was the first robot which we completed before time which was quite unusual to us. Then we went to the college, the day before the event for practice. But our robot started to get drown as the wood absorbed water. So the design was an entire flop and all our hard work went in vain. But we never wanted to give up, and then we designed a robot with thermocole basement so that it can float well in water. We worked the whole day without sleeping and finally completed our design. The day came for the event and we didn't even have a practice match. Who ever pushes maximum number of balls into the goal post wins the game, but unfortunately because of latch up problem our robot got drowned and all the circuits got collapsed. Our team got totally frustrated and didn't no what to do. Then finally with the help of a long stick we got our robot back, but the entire circuit got short circuited. It was the worst day and we came back sad. Here is the photo of our drowned robot.You can also see the video of the robot which took the first prize, the robot had a good simple design and turned perfectly in every directions.

