|
From: Bujana N. <buj...@ho...> - 2013-10-14 19:48:45
|
Carlos, Thank you for your response. I am trying to find/calculate the temperature in the simulated node. I do not know if I can get the value of the temperature from the simulated node. Maybe to imagine some, and then to set them. Based on these values of the temperature to simulate the sensors that read these values and then these values can be transmitted to the other sensors. I do not know if I can do that, and if so, how can I do it? Do I have to use the code to get the value of the temperature of a sensor? The example I was trying to access in the /contiki/examples/sensinode/sensors/sensors-example.c it gives a formula of a temperature. I was trying to find, how through that formula I can find/set the temperature of the given nodes. I do not know if this can work but please if you have any further information tell me. I am not going to implement it in the hardware platform. I am trying to find if it is the possibility that through the simulated nodes to get temperature or maybe the humidity. Sincerely: Bujana Nallbani Message: 2 Date: Mon, 14 Oct 2013 00:14:55 -1100 From: Bujana Nallbani <buj...@ho...> Subject: [Contiki-developers] Temperature in sensors, using Cooja simulator To: "con...@li..." <con...@li...> Message-ID: <BLU...@ph...> Content-Type: text/plain; charset="iso-8859-1" Hello, Can anyone tell me how can I find the temperature of the sensor in Cooja? How to set it? I have tried to compile one of the examples that are decided in the Contiki examples folder, /contiki/examples/sensinode/sensors/sensors-example.c, but It did not work! In one, article I read that temperature can be defined just at the hardware part, not at the simulator. I was wondering if it is possible to find the temperature in the simulator. Please can anyone give me a suggestion what to do, or where can I find some information related with the temperature of the sensors. I am new in using the Cooja simulator. I am finding hard to find literature and examples. Thank you Sincerely:-- Bujana Nallbani -------------- next part -------------- An HTML attachment was scrubbed... ------------------------------ Message: 3 Date: Mon, 14 Oct 2013 08:31:44 -0300 From: Carlos G Mendioroz <tr...@hu...> Subject: Re: [Contiki-developers] Temperature in sensors, using Cooja simulator To: Contiki developer mailing list <con...@li...> Message-ID: <525...@hu...> Content-Type: text/plain; charset=ISO-8859-1 I may be way off, but... what temperature are you trying to find in cooja ? Sensinode motes do have temperature sensors, and the example code sure is aware of how to read it. Diferent hardware platforms may have different sensors and even different ways of accessing sensor data. Since cooja is a virtualization platform, you would have to virtualize the sensors to actually access it. Sensinode is not one of the virtualized platforms. Please check http://www.contiki-os.org/hardware.html for cooja supported platforms. -Carlos Bujana Nallbani @ 14/10/2013 08:14 -0300 dixit: > Hello, > > Can anyone tell me how can I find the temperature of the sensor in > Cooja? How to set it? I have tried to compile one of the examples that > are decided in the Contiki examples folder, > /contiki/examples/sensinode/sensors/sensors-example.c, but It did not > work! In one, article I read that temperature can be defined just at > the hardware part, not at the simulator. I was wondering if it is > possible to find the temperature in the simulator. > > Please can anyone give me a suggestion what to do, or where can I find > some information related with the temperature of the sensors. I am new > in using the Cooja simulator. I am finding hard to find literature and > examples. > > Thank you > Sincerely: > -- > Bujana Nallbani |