Re: [Tinyos-help] Micaz and mts300/mts310 microphone to sample sound
Can you let me know how could you get this result? -- View this message in context: http://tinyos-help.10906.n7.nabble.com/Micaz-and-mts300-mts310-microphone-to-sample-sound-tp3789p23038.html Sent from the TinyOS - Help mailing list archive at Nabble.com. ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
Re: [Tinyos-help] Start up
Do a google search for "where to start with tinyos" Also the tutorials at http://docs.tinyos.net/tinywiki/index.php/Main_Page On Fri, Apr 12, 2013 at 1:17 AM, Mugdha Gulati wrote: > hi, > I have tmote sky SBT80 and SBT30(Wi-Eye) sensor boards. > could you plz guide where to start.I have a windows 7 ultimate > I need to learn how to program them. > Regards, > mugdha > > ___ > Tinyos-help mailing list > Tinyos-help@millennium.berkeley.edu > https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help > -- Eric B. Decker Senior (over 50 :-) Researcher ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
Re: [Tinyos-help] Reg. Tinynet framework
What is the TinyNet framework? Where did you get it? What version of TinyOS are you using? What platform are you building this for? These are all important questions that should be specified when asking for help. Think to yourself, "How can I make this easier for the people trying to help me?" Want to try again? On Fri, Apr 12, 2013 at 5:46 AM, Jyostna wrote: > Hi, > > I need help how to work with tinynet framework for tinyos. Due to minimum > resources online, also no mailing question I would like to know how to > implement in tinynet frame. > Is tinynet GUI based or it work on Cygwin with the tx interfaces. > Please help me on this. > > Thanks > ___ > Tinyos-help mailing list > Tinyos-help@millennium.berkeley.edu > https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help > -- Eric B. Decker Senior (over 50 :-) Researcher ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
[Tinyos-help] Problem with radio packet that is not being updated
Hi all, I am trying to make a simple localization setup. I have 6 TelosB motes and they are programmed as follow: *TelosB #1* - I have installed BaseStation app on it and gave it TOS_NODE_ID of 1 when I uploaded the program *TelosB #2* - Is my remote node, I mean I move it close to the stationary nodes to receive packet from them (the most important part is the recive event that you can see below:) *TelosB #3 ~ #6* - Are my stationary nodes. I have set the transmission power to minimum for these 4 nodes and I have put them in distances like 2 meters of eachother. So, I programmed the stationary nodes to send a simple packet to destionation address of 2, that is the remote mote. And I can see when I move the remote mote close to stationary nodes, its led0 blinks, indicationg that it is receiving something from a nearby stationary node. The remote node then supposed to read the comming packet, and send the TOS_NODE_ID of the stationary node to BaseStation, and BaseStation simply prints the packet content on terminal. Everything works fine, exepct a big problem! After turning on the remote node, The remote node only sends the TOS_NODE_ID of the first stationary node that it was near it when it got powered on. When I move to the next stationary node, it receives packet from new node but it still sends the TOS_NODE_ID of the first node that ot was near it. *Example: * I turn on the remote node near stationary node #3, then I can see on terminal that the node number was 3...Everything fine so far...Then I move to node #4, somewhere in the middle of the way to next node, well I dont receive packet because the transmission power is low. When I reach the node #4, the leds on remote node (#2) starts blinking and I start to see output on terminal again but it still shows the node id was 3, so it does not get updated. If I turn off and turn on again near node #4, then I can see on terminal the correct node ID, but when I go to another node, it still shows the last node id. I am sure that I gave correct node ids when uploading the program. So I beleive this could be a code problem. Can you please check my code? *Here is the message in header file that is same for remote and stationary nodes:* typedef nx_struct LocalNodeMsg { nx_uint16_t NodeId; } LocalNodeMsg_t; *Here is the code that sends packets from stationary nodes to remote node:* //Global vars bool _radioBusy = FALSE; //indicates if radio chip is busy sending/receiving message_t _packet; // static storage for making packets event void Boot.booted() { call RadioControl.start(); } event void SendTimer.fired() { if(_radioBusy == FALSE) { LocalNodeMsg_t* pkt = call Packet.getPayload(& _packet, sizeof(LocalNodeMsg_t)); pkt -> NodeId = TOS_NODE_ID; //Assign the node ID to packet if(call AMSend.send(2, & _packet, sizeof(LocalNodeMsg_t)) == SUCCESS) { call Leds.led2On(); _radioBusy = TRUE; } } } *Here is the code in the remote node that sends node id to BaseStation:* event message_t * RadioReceive.receive(message_t *msg, void *payload, uint8_t len) { if(len == sizeof(LocalNodeMsg_t)) { LocalNodeMsg_t *locPkt = (LocalNodeMsg_t*) payload; LocalNodeMsg_t *pkt = call RadioPacket.getPayload(&posPkt, sizeof(LocalNodeMsg_t)); pkt->NodeId = locPkt->NodeId; if(call RadioSend.send(1, &posPkt, sizeof(LocalNodeMsg_t)) == SUCCESS) { radioBusy = TRUE; } call Leds.led1On(); return msg; } REGARDS, Sean. ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
[Tinyos-help] Reg. Tinynet framework
Hi, I need help how to work with tinynet framework for tinyos. Due to minimum resources online, also no mailing question I would like to know how to implement in tinynet frame. Is tinynet GUI based or it work on Cygwin with the tx interfaces. Please help me on this. Thanks ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
Re: [Tinyos-help] BASIC CODE
On Fri, Apr 12, 2013 at 12:09 AM, Mugdha Gulati wrote: > I have installed the software through the basic cd, > I'm sorry but I don't know what a "basic cd" is. > with tinyos1.x > TinyOS 1.x has been deprecated for many many years now. We are currently using TinyOS 2.1.2. > when running SBT80v2 code according to the instructions always re > synchronizing error comes. > on a deadline plz help. > Regards, > Mugdha > > ___ > Tinyos-help mailing list > Tinyos-help@millennium.berkeley.edu > https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help > -- Eric B. Decker Senior (over 50 :-) Researcher ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
[Tinyos-help] Synchronization in TinyOS
Hi all, This question is more a request for advice and/or opinion. Some research articles which deal with synchronization (i.e., aimed at designing some kind of TDMA scheme) in wireless sensor networks, state that nodes can maintain synchronization by exchanging clock skew/drift information with neighboring nodes in coverage area. In other words, maintain any sort of local synchronization. In this sense, in the specialized literature and/or datasheets, it can be found information about the clock skew associated to many devices. For example, in [1], authors indicate that, on average, TelosB introduce 30 us per second of drift; also MicaZ have 40 us per second on average of clock drift [2]. Taking into account the aforementioned, had no global synchronization (a unique node, e.g., the coordinator of the network, conducts a periodic synchronization proccess with all nodes of the network), would be any simple way to make this local synchronization in TinyOS? I mean, is it wise to consider in your synchronization protocol either these values found in the literature (e.g., 30 us in case you worked with TelosB); or exchange timestamps between two nodes and calculate the difference of time; etc.? Thanks in advance, David [1] W. Pak, K.-T. Cho, J. Lee, and S. Bahk, “W-MAC: Supporting Ultra Low Duty Cycle in Wireless Sensor Networks,” in Proceedings of the 2008 IEEE Global Telecommunications Conference (IEEE GLOBECOM 2008), 2008, pp. 1–5.[2] Y. Wu, J.A. Stankovic, T. He, S. Lin, "Realistic and Efficient Multi-Channel Communications in Wireless Sensor Networks", in: 27th IEEE International Conference on Computer Communications, IEEE, Phoenix, Arizona, 2008, pp. 1193–1201. ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
[Tinyos-help] Start up
hi, I have tmote sky SBT80 and SBT30(Wi-Eye) sensor boards. could you plz guide where to start.I have a windows 7 ultimate I need to learn how to program them. Regards, mugdha ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
[Tinyos-help] BASIC CODE
I have installed the software through the basic cd, with tinyos1.x when running SBT80v2 code according to the instructions always re synchronizing error comes. on a deadline plz help. Regards, Mugdha ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help