Anirban Danny Shaw
Newbie level 1
![Newbie level 1](/styles/images/ranks/alevel1.gif)
Hello,"
I'm currently making a green house wireless sensor project.
In this project im using a LM35 and Humidity sensor,which goes into the IN ports of the ADC 0808.
From there im using a microcontroller (AT989s52) to program the conversion of the analog signals to digital using the ADC.
From there the micrcontroller will be sending data to the zigbee1.
That will wirelessly transmit data to the Zigbee2, which is connected to the PC.
Uptil now the interfacing between the ADC and 8051 has been done.
Both the zigbees have been tested to communicate with each other.
Hyperterminal is being used to receive the data on the PC.
I have two places which is really confusing me.
1. To send the data from the AT89s52 to the xbee via the Rx and Tx, do i have to write a seperate program? Or does the data from the microcontroller go to the Tx and therefore the Din of the Xbee.
If i do have to write a program ..where do i write it, as the 8051 is flashed with the program interfacing the ADC and 8051.
2. I need to send a control signal back to the microcontroller to light a LED if the temp exceeds a certain amount. How do i do that?
Any help will be greatly appreciated.
I'm currently making a green house wireless sensor project.
In this project im using a LM35 and Humidity sensor,which goes into the IN ports of the ADC 0808.
From there im using a microcontroller (AT989s52) to program the conversion of the analog signals to digital using the ADC.
From there the micrcontroller will be sending data to the zigbee1.
That will wirelessly transmit data to the Zigbee2, which is connected to the PC.
Uptil now the interfacing between the ADC and 8051 has been done.
Both the zigbees have been tested to communicate with each other.
Hyperterminal is being used to receive the data on the PC.
I have two places which is really confusing me.
1. To send the data from the AT89s52 to the xbee via the Rx and Tx, do i have to write a seperate program? Or does the data from the microcontroller go to the Tx and therefore the Din of the Xbee.
If i do have to write a program ..where do i write it, as the 8051 is flashed with the program interfacing the ADC and 8051.
2. I need to send a control signal back to the microcontroller to light a LED if the temp exceeds a certain amount. How do i do that?
Any help will be greatly appreciated.