Resistance values into Celsius degrees in ZigBee system
Posted: Sat Oct 01, 2011 10:50 am
Hello,
I hope this is the right place for my post this time.
My problem concerns about values that must be converted into another form. I'm working with E-blocks products (with Flowcode V4 AVR) and the idea is to send a temperature data from node 3 to node 1 via ZigBee connection. Node 1 is the coordinator which consists of AVR microcontroller multiprogrammer, graphical display and a Zigbee board. Node 3 act as an end device and it consists of AVR microcontroller multiprogrammer, a sensor board, a zigbee board and an analogue temperature probe (HSTMP).
I've managed to get the system work so that node 3 sends resistance values to node 1 and the graphical LCD displays the value which is 152 while the real temperature in the working area is around +21 Celsius degrees. When it gets warmer, resistance value starts to decrease. When it gets colder, value starts to increase.
Now the problem is, that I don't have enough skills to change the flowcodes so that the LCD would display Celsius degrees. I have a flowcode file (by Benj, who have released it earlier), which should help me with this thing. However I don't know how to combine it with my flowcodes to get the system work. The LCD also displays the signal strength of a zigbee connection. The problem is that when the nodes 1 and 3 are taken further away from each other, signal strength increases. It should be so, that the signal strength should decrease, right?
I would be very grateful if you could help me with this situation. I attach my flowcodes of node 1 an 3 and also the code which I think it's important piece in this problem. I hope you could modify those flowcodes so that the result would be temperature sensor displaying Celsius degrees. I'm sure that there's few things wrong in my flowcodes, because I'm newbie with flowcodes and coding in general . I'm surprised that I have got this far without asking your help.
In advance I thank you very much for your help!
Regards
Matt
I hope this is the right place for my post this time.
My problem concerns about values that must be converted into another form. I'm working with E-blocks products (with Flowcode V4 AVR) and the idea is to send a temperature data from node 3 to node 1 via ZigBee connection. Node 1 is the coordinator which consists of AVR microcontroller multiprogrammer, graphical display and a Zigbee board. Node 3 act as an end device and it consists of AVR microcontroller multiprogrammer, a sensor board, a zigbee board and an analogue temperature probe (HSTMP).
I've managed to get the system work so that node 3 sends resistance values to node 1 and the graphical LCD displays the value which is 152 while the real temperature in the working area is around +21 Celsius degrees. When it gets warmer, resistance value starts to decrease. When it gets colder, value starts to increase.
Now the problem is, that I don't have enough skills to change the flowcodes so that the LCD would display Celsius degrees. I have a flowcode file (by Benj, who have released it earlier), which should help me with this thing. However I don't know how to combine it with my flowcodes to get the system work. The LCD also displays the signal strength of a zigbee connection. The problem is that when the nodes 1 and 3 are taken further away from each other, signal strength increases. It should be so, that the signal strength should decrease, right?
I would be very grateful if you could help me with this situation. I attach my flowcodes of node 1 an 3 and also the code which I think it's important piece in this problem. I hope you could modify those flowcodes so that the result would be temperature sensor displaying Celsius degrees. I'm sure that there's few things wrong in my flowcodes, because I'm newbie with flowcodes and coding in general . I'm surprised that I have got this far without asking your help.
In advance I thank you very much for your help!
Regards
Matt