My project is Smart Home application reading
- Temperature (temp sensor) 2) Presence of human (PIR and LDR for motion) 3) Wireless communication using Xbee
Now I am Stuck with the final step that is the integration of the functions and the data communication.
Tried modifying the Xbee example provided for the output but it did not work.
Things to be achieved.
- On Tx: Send the temperature(integer value), count(interger value), Ldr(High or low)
- On Rx: receive this values and accordingly regulate the fan and switch on off function.
All the other process or functions are ready.
Please help me with a code that can achieve the above mentioned.
NOW PLEASE HELP
main_tx.ino (7.22 KB)