Dipti, It is hard to give you precise answers without understanding your NEC micro controller. In general, if it has UART type serial outputs, you need to configure baud rate, number of bits, parity, stop bit and flow control. Once you configure these parameters on the Mote UART, you would then read the packets, decipher them and then put the relevant data fields into the data payload of the RF packet. Regards, Giri
________________________________ From: Dipti [mailto:[EMAIL PROTECTED] Sent: Thursday, April 26, 2007 10:34 PM To: Giri Baleri Cc: tinyos forum Subject: Re: [Tinyos-help] Fw: serial data reception on a mica2 mote fromanother microcontroller Dear Giri, Thanks a lot for your reply. I have few doubts about the XSensorMTS400 application, it functionally captures data from various pressure, temp,humidity,light sensors nd sends the data serially to Mica2 mote. For my application i have to connect a NEC microcontroller with the mica2 . This NEC microcontroller captures data from some external sensors which is digital and sends it to the mica2 mote over a serial connection. What parameters do i need to take care of . Do i need to extract the data from the serial packet sent from NEC and then packet it in mica2 for sending the same over RF? Apart from the baud rate compatibilty of the mica2 and the NEC microcontroller. What are the other parameters to make communication possible. Can i use The existing GpsPacket and other configurations inside XSensorMTS400.? What kind of changes need to be done.. Please help me, it would be really thankful of you, With Regards, Dipti Jaiswal ----- Original Message ----- From: Giri Baleri <mailto:[EMAIL PROTECTED]> To: Dipti <mailto:[EMAIL PROTECTED]> Cc: tinyos forum <mailto:[email protected]> Sent: 2007 Apr 26 9:13 PM Subject: RE: [Tinyos-help] Fw: serial data reception on a mica2 mote fromanother microcontroller Dipti, The XSensorMTS400 application (found under /contrib/xbow/apps) has an interface to external UART serial device (GPS module). It also has example implementation of interface to external I2C serial device (Humidity/Temp sensor). http://tinyos.cvs.sourceforge.net/tinyos/tinyos-1.x/contrib/xbow/apps/XS ensorMTS400/ This might be a good starting point for your application. Giri ________________________________ From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dipti Sent: Thursday, April 26, 2007 1:51 AM To: tinyos forum Subject: [Tinyos-help] Fw: serial data reception on a mica2 mote fromanother microcontroller Hi all, I need to design an application wherein a mica2 mote .. say mote 1 receives data serially from another microcontroller and forwards it on the Rf. I needed some guidance as to how can this communication be established. How will i use the clock and other interfaces to suit serial communication in this scenario.? Please help, Thanks in advance. Dipti Jaiswal
_______________________________________________ Tinyos-help mailing list [email protected] https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
