Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Can I make LM335 temperature output into 4bits?

Status
Not open for further replies.
lm335 pic

did u mean that i should not use 0000=22'c this method to transmit?
Yes! you have 10 bit (1024) resulution if you send the whole 10 bit data! Much more precise than 4 bit data only.

send the 10 bit ADC data at 3 transmission as data1,2,3??
Can explain detail how it work?
Like this example code:
Code:
void sendPT2262(unsigned char c){
unsigned int  wait;
     datapins = c & 0x0F;           //PT2262 data pins     
     TE = 0;                        //PT2262 Transmit Enable 
     wait = 0xffff; while (wait--);
     TE = 1;
     wait = 0xffff; while (wait--);    
};

void main(void){
char ADRESH, ADRESL;
     sendPT2262( ADRESH    ); // bit 8 & 9
     sendPT2262((ADRESL>>4)); // bit 4..7
     sendPT2262( ADRESL    ); // bit 0..3
}

I intend to do the project using PT2272 to transmit the tempearture signal and receive by PT2262.
Are you sure?
From the datasheet:
PT2262 is a remote control encoder paired with PT2272
PT2272 is a remote control decoder paired with PT2262
 

    Cleong

    Points: 2
    Helpful Answer Positive Rating
+working of lm335 sensor

budhy said:
did u mean that i should not use 0000=22'c this method to transmit?
Yes! you have 10 bit (1024) resulution if you send the whole 10 bit data! Much more precise than 4 bit data only.

send the 10 bit ADC data at 3 transmission as data1,2,3??
Can explain detail how it work?
Like this example code:
Code:
void sendPT2262(unsigned char c){
unsigned int  wait;
     datapins = c & 0x0F;           //PT2262 data pins     
     TE = 0;                        //PT2262 Transmit Enable 
     wait = 0xffff; while (wait--);
     TE = 1;
     wait = 0xffff; while (wait--);    
};

void main(void){
char ADRESH, ADRESL;
     sendPT2262( ADRESH    ); // bit 8 & 9
     sendPT2262((ADRESL>>4)); // bit 4..7
     sendPT2262( ADRESL    ); // bit 0..3
}

I intend to do the project using PT2272 to transmit the tempearture signal and receive by PT2262.
Are you sure?
From the datasheet:
PT2262 is a remote control encoder paired with PT2272
PT2272 is a remote control decoder paired with PT2262

yes,i know that pt2272 is a remote control decoder.
and it only can send 4 bits as i know.
thats y i mention i wan to send 0000=22'c in the begining.
since it only can send 4 bit , then how it can send until 10bits?
 

lm355 replacement or equivalent

yes,i know that pt2272 is a remote control decoder.
and it only can send 4 bits as i know.
I mean use PT2262 to send data, and PT2272 to receive data

since it only can send 4 bit , then how it can send until 10bits?
My C sample code demonstrate how to send 10 bit data at 3 transmissions! Please read it carefully
 

lm335 an

I am using LM335 ST microelectronics temp sensor and interfacing with on chip ADC of cygnal c8051f020. This ADC has Vref of 2.4 V and Temp sensor is working at 10mV/Kelvin. The ADC is saturating at 2.4 V. I am not able to use the ADC for Sensor (voltage) output more than 2400 mV, please tell me how to use for greater temp range, i.e > 2400 mV?
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top