> First Question: > I started some months ago modifying the Oscilloscope application, i set > the motes to read from the embedded ADC . > I discovered that it's a 8bit ADC but i need a more accurate one, how > can i connect an external ADC?
Its actually a 12 bit ADC, but you can connect an external one on the expansion pins if you like. Just be careful to do proper bus arbitration on the device driver you write, as it shares the USART you will be connecting to with the flash and the radio. You can look at the drivers for both of these components as a starting point for writing your own external ADC driver. > > Second: > The Oscilloscope application send continuously data to BaseStation, is > it possible to send a signals to motes and make them answer with the > message? make them send data on demand? Sure, anythings possible, you just have to implement it that way :-) Take a look at tutorials 14 and 16 to get a sense of how to write such an app. http://www.tinyos.net/tinyos-2.x/doc/html/tutorial/index.html > > Third: > If not is it possible to synchronize the motes making them to send the > data at the same time? they send data regularly, but they are not > synchronized. Right now, TinyOS doesnt have any time synchronization protocols implemented in the baseline. There are contributed projects (only in tinyos-1.x I think though unfortunately) that implement time synchronization. If you check out a tinyos-1.x source tree from cvs, take a look at the projects under tinyos-1.x/contrib. It would be great to be able to provide this service as part of tinyos-2.x. We just lack the manpower to make it happen. If you decide to port one of these to tinyos-2.x let us know and we can set up a project for you under tinyos-2.x-contribs. > > Fourth: > Is it possible to reset the motes? how can i simulate from my Java > interface the click event on the reset button? You would have to send it a message that triggered it to perform a software reset. Can I ask though why you need a mote to be reset via software? If its still responsive enough to decode a message you send it, it seems like you should be able to do something more useful than resorting to a full reboot of the mote. > > Fifth: > How can i monitor the quality of radio signal? For any received packet there is an RSSI value associated with it. You can access this value via the CC2420Packet interface found in tinyos-2.x/tos/chips/cc2420/control > > Sixth: > How can i monitor the power supplied by the battery pack? There is currently no hardware (or software) support to let you do so directly. i.e. the mote can't "self-sense" the amount of power it is drawing or has drawn. Some people up at Berkeley are working on ways to make this possible in future mote revisions though. > > Seventh: > Is it possible to embed the Serial Forwarder in a Java Application? or > at least make it start when the application start? If you don't want to use a serial forwarder, you don't have to. Take a look at how the java applications in TestSerial and TestPrintf are implemented. -- ~Kevin _______________________________________________ Tinyos-help mailing list [email protected] https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
