chana1900.blogspot.com
Chandana's Blog: July 2008
http://chana1900.blogspot.com/2008_07_01_archive.html
This is my private web log. Enjoy! Wednesday, July 30, 2008. This time I am using another PIC, 16F628, which is better than 16F84 in number of ways. It has internal Oscillator, more IO pins, PWM, more space (twice) etc. As my first program with 16F628, I wrote this quick and dirty code segment to simulate an oil lamp. It uses the built in PWM to change the duty cycle of the LED. Here is the video. Here is the code in MikroC. Unsigned short j, oj,i;. PORTB = 0x0; / set PORTB to 0. PWM Start(); / start PWM.
chana1900.blogspot.com
Chandana's Blog: May 2008
http://chana1900.blogspot.com/2008_05_01_archive.html
This is my private web log. Enjoy! Friday, May 23, 2008. Finally I managed to build the initial version of the Desktop clock using PIC16F84. Still its in the vero board as you see in below video. Include "Display utils.h". Unsigned short zz, v, j, countsec,displaysec;. Unsigned int i;. Unsigned short por[4];. Unsigned char sec, mins, hrs, ticks, correction;. Char oldstate min, oldstate hr;. TMR0=101; / 96; / 102. If (correction= 180) / Correction routine. PORTA = 0;. PORTB = por[v];. TMR0 = 0;. PORTA = 0;.
chana1900.blogspot.com
Chandana's Blog: Altimeter
http://chana1900.blogspot.com/2009/03/altimeter.html
This is my private web log. Enjoy! Thursday, March 19, 2009. Pressure is given by. P = (Vout/Vs .095)/0.009 kPa. Where Vs, supply voltage = 3v. Vout, Output voltage measured from ADC. Altitude is given by. Three variables have to be measured:. T - average temperature in degrees Kelvin. Po - atmospheric pressure at ‘zero’ level. P - atmospheric pressure at current level. Remaining values are fixed constants:. R – universal gas constant = 286. G – gravitational acceleration = 9.81. October 04, 2011 7:57 PM.
chana1900.blogspot.com
Chandana's Blog: April 2009
http://chana1900.blogspot.com/2009_04_01_archive.html
This is my private web log. Enjoy! Tuesday, April 21, 2009. MAX187 12-bit ADC with 3v external reference provided a sufficient resolution for the altimeter. To make the calculation accurate, a temperature sensor (DS18S20) is also attached to the microcontroller. The following picture shows the Altimeter in action displaying pressure, height, temperature and output voltage of the pressure sensor. Subscribe to: Posts (Atom). View my complete profile. Digg / Technology News.
chana1900.blogspot.com
Chandana's Blog: March 2009
http://chana1900.blogspot.com/2009_03_01_archive.html
This is my private web log. Enjoy! Thursday, March 19, 2009. Pressure is given by. P = (Vout/Vs .095)/0.009 kPa. Where Vs, supply voltage = 3v. Vout, Output voltage measured from ADC. Altitude is given by. Three variables have to be measured:. T - average temperature in degrees Kelvin. Po - atmospheric pressure at ‘zero’ level. P - atmospheric pressure at current level. Remaining values are fixed constants:. R – universal gas constant = 286. G – gravitational acceleration = 9.81. Tuesday, March 03, 2009.
chana1900.blogspot.com
Chandana's Blog: PIC Relay – 230v
http://chana1900.blogspot.com/2009/03/pic-relay-230v.html
This is my private web log. Enjoy! Tuesday, March 03, 2009. PIC Relay – 230v. This simple PIC circuit can be used to pre-program the on/off time of 230v electrical appliances. The PIC is programmed as a clock and at specified times, it can turn on/off a relay to control the appliance. I found a broken power guard (which protects electrical equipments from over and under voltage) in my old parts ‘yard’ at home. It was good source for the relay, diods, . PIC Relay - 230v. Oscillator: XT, 04.0000 MHz.
chana1900.blogspot.com
Chandana's Blog: May 2009
http://chana1900.blogspot.com/2009_05_01_archive.html
This is my private web log. Enjoy! Friday, May 15, 2009. Hygrometer: Back on track. Here it is in action;. It shows temperature, relative humidity, atmospheric pressure and height from sea level. If you could refer my previous photo of the hygrometer, the reading was around 62% and that was in January. After 5 months, the reading is 76% for the same temperature. This explains the hot humid condition we are experiencing currently. Subscribe to: Posts (Atom). View my complete profile. Digg / Technology News.
chana1900.blogspot.com
Chandana's Blog: June 2008
http://chana1900.blogspot.com/2008_06_01_archive.html
This is my private web log. Enjoy! Thursday, June 26, 2008. Subscribe to: Posts (Atom). View my complete profile. Digg / Technology News.
chana1900.blogspot.com
Chandana's Blog: Father & Son: Conversation
http://chana1900.blogspot.com/2009/07/father-son-conversation.html
This is my private web log. Enjoy! Thursday, July 02, 2009. Father and Son: Conversation. I was traveling in the car with my kid (who is 2 years and 9 months old) on the way to his pre-school. A thick black smoke came from a double-cab in front of us, he couldn’t see the vehicle but he saw the smoke. And here is the conversation between us,. 8220;Thatha (father) what’s that smoke? 8220;It’s coming out from that double-cab”. 8220;The one in front of us”. 8220;Why is it smoking? 8220;What double cab?