Hi Paul Please let me know if there might be a way to change the transmission power level , depending on whether a node is a clusterhead or a regular node. I just want to reduce interference and save energy ???
Thanks a lot. I look forward to hearing from you. On Mon, Nov 16, 2009 at 11:28 AM, Akankshu Dhawan <[email protected]>wrote: > Hi paul > Thanks for replying. > I know I was also getting to the same conclusion regarding the notification > mechanism about cluster head election. > > But since my application is very static, I can have a timing > synchronization using the synchronization mechanism in Sound Localizer. > Ideally I would have liked to use residual energy but that might be a little > tricky and uniform energy usage would mean timing can be used as a > substitute. So Basically assuming n nodes in a cluster after every t*i/n > duration the i-th node will become clusterhead.. and after some time I can > resync the clock on all members of a cluster. > > Is there a way that I can change the transmission power level , depending > on whether a node is a clusterhead or a regular node. I just want to reduce > interference and save energy ??? > > Thanks a lot. I look forward to hearing from you. > > Thanks > Akankshu > > > On Mon, Nov 16, 2009 at 11:21 AM, Paul Johnson <[email protected]> wrote: > >> Akankshu, >> >> 1) >> if (clusterhead) >> { >> //do something >> } >> else //!clusterhead >> { >> //do something >> } >> >> 2) >> Look at the micaz NESDOC (google nesdoc)for how to turn off the receiver >> for the radio. >> >> The real problem you are going to run into is how does the >> non-clusterheads know when to become the new clusterhead if they turn off >> their radio. If it's timing based, you need to synchronize their clocks >> periodically (which requires all nodes to have the receiver enabled). If >> the receivers are always turned off, you will not be able receive ACKs, so >> the transmitting node will have no idea if it's data actually reached the >> clusterhead or not (this can lead to very poor PRRs at your sink). >> >> -Paul >> >> Akankshu Dhawan wrote: >> >> Hi All >> I am trying to implement a clustering algorithm and for that I want to >> make sure that the Receive mechanism applies only to the clusterhead. >> >> Regular Nodes: >> - samples data >> - Transmit packets every few seconds >> >> Clusterhead >> - samples the data >> - Receives regular node packets >> - processes the data (including its own as well as received) >> - then transmits to the base station its results >> >> Since they both have the same sampling process I want to have the same >> code and just switch behavior at time intervals on whether its a clusterhead >> or just a regular node (state maintenance). >> >> I have a question: >> 1. How do I make sure that the same piece of code behaves differently at >> different nodes depending on whether its the clusterhead or not ? How do I >> restrict this receive mechanism to only clusterheads ? I am basically >> talking about a state variable for the cluster . >> >> >> Please guide me >> >> Thanks >> Akankshu >> >> -- >> First they ignore you, then they laugh at you, then they fight you, then >> you win. >> - Mahatma Gandhi >> >> ------------------------------ >> >> _______________________________________________ >> Tinyos-help mailing >> [email protected]https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help >> >> > > > -- > First they ignore you, then they laugh at you, then they fight you, then > you win. > - Mahatma Gandhi > -- First they ignore you, then they laugh at you, then they fight you, then you win. - Mahatma Gandhi
_______________________________________________ Tinyos-help mailing list [email protected] https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
