Hi there,
I am completely new in MCU. I got to know that AtMega8 has built in xtal and ADC. I want to measure temperature. In my country, LM35 is the only available temp sensor which is analog. thus i need to use the internal ADC with internal referance voltage ADCRef. After that i want to display the output in the LCD using nokia 3310 lcd display. I have the C header for lcd. now i need to know how can i first make the analog to digital conv (I mean C code for sample) and then after having the binary code for that analog digit say for 300mV, i have the digital value. then how can i print that value (300mV as 30C). I mean how can i display that digital 11001s to the 30 again??(Sample C code again or atleast suggestions...) Please help me in this regard...
LM 35 is not that good in this case but you dont have any other available in your country,,,, why dont you use an external ADC with pic I think it will be easier than. and if you want the same hardware then upload your circuit.
1) I dont have the C header for Nokia 3310 for PIC. And here the available PIC is 16F87. I did not found any LCD for Hitachi's HD seriese (2x16 DOT matrix)
2) The price of ATMega8 is cheaper or equal to the price of an external ADC.
Nokia 3310 LCD do not need header, simply apply reset pulse for a minimum of 100ns within 100ms after power -on, set your desired functions, you can now send data.
Consult data sheet of Philips PCD8544 48 x 84 pixels LCD controller/driver, much easier compared to HD44780 based LCDs.
Well, Now i got all the things.... An LM35, An AtMega8, a 2x16 LCD, a 4x20LCD, a Nokia 3310 LCD. Now i need "C" code. so i can do necessary editings where I need to make it perfectly working for me. Please help....
Well, Now i got all the things.... An LM35, An AtMega8, a 2x16 LCD, a 4x20LCD, a Nokia 3310 LCD. Now i need "C" code. so i can do necessary editings where I need to make it perfectly working for me. Please help....
Well, for 100 degree celsius, it will be 1V. Thus may be we need to amplify a little for 300mV to some volt. since my max range of temp is 60degree, so, adc in for 600mV ~ 5V. then after the amplify, how to read with the ADC??? actually all i need is to read through the ADC and language is C.