Re: [Tinyos-help] How to reduce power consumption in the ATM1281

2012-08-29 Thread Sergio Gonzalez
shows that the consumption might come from the > light sensor. Of course it is not enough to turn off the ADC, you also > have to power down the light sensor with some power pins and possibly > you have to pull up or down the ADC pins to prevent leakage. > > Miklos > > On Thu, Aug 3

Re: [Tinyos-help] How to reduce power consumption in the ATM1281

2012-08-29 Thread Sergio Gonzalez
correctly), maybe only 4 times, depending on the > prescaler. I would try to augment McuSleepC to see how deeppower state > it goes into. > > Miklos > > On Wed, Aug 29, 2012 at 5:59 PM, Sergio Gonzalez wrote: >> Hi Janos, >> >> Yes, I already did that according

Re: [Tinyos-help] How to reduce power consumption in the ATM1281

2012-08-29 Thread Sergio Gonzalez
llow for the RF230 init code to run, which will put > the radio chip into its lowest power state. > > Janos > > On Wed, Aug 29, 2012 at 12:17 AM, Sergio Gonzalez wrote: >> Hello, >> >> I've been able to somewhat reduce the power consumed by an ATM1281

[Tinyos-help] How to reduce power consumption in the ATM1281

2012-08-28 Thread Sergio Gonzalez
Hello, I've been able to somewhat reduce the power consumed by an ATM1281-based Zigbit device by switching off the radio and the UART port (via SerialActiveMessageC) during periods of inactivity, but I've been unable to get below 0.4 mA. I tried to explicitly disable the I2C bus as well as, bu

Re: [Tinyos-help] Reading two PCF8591 chips over I2C bus

2012-02-27 Thread Sergio Gonzalez
Hi Bharti, Also, I'd make sure to call I2CPacket.isOwner() inside I2CPacket.readDone() just to make sure, and populate your local.reading array if the return value of isOwner yields TRUE. Sergio On 02/27/2012 09:34 AM, András Bíró wrote: > Hi, > > I think that code shouldn't work with one sen

Re: [Tinyos-help] To have 2 different networks at the same time Mica2 with CTP

2012-02-23 Thread Sergio Gonzalez
Hi Sofia, I suggest assigning a different channel for each network. This way, motes from one network won't interfere with the motes in the other. Sergio On 02/23/2012 03:46 AM, sofia aparicio wrote: Hello, I am using mica2 motes and ctp algorithm and I would like to have 2 different netwo

Re: [Tinyos-help] syntax error (easy)

2012-02-22 Thread Sergio Gonzalez
Hi Felipe, In line 110, you are declaring a typedef "frmCtrl_rx" as a pointer to a frameCtrl_t structure. But that's the typedef only; you never actually declared a variable of your typedef. You need to declare a variable of type frmCtrl_rx and then do the assignment, e.g.: typedef frameCtrl_t

Re: [Tinyos-help] Regarding Dynamic channel switching

2012-02-17 Thread Sergio Gonzalez
17, 2012 at 3:48 PM, Sergio Gonzalez <mailto:serg...@ece.ubc.ca>> wrote: Hi Eric, I don't know whether the radio drivers for the respective chips were written so that if sendDone() returns a success value, then it means that the packet's transmission is indeed

Re: [Tinyos-help] Regarding Dynamic channel switching

2012-02-17 Thread Sergio Gonzalez
nd of the packet has actually gone out. On Wed, Feb 15, 2012 at 5:44 PM, Sergio Gonzalez <mailto:serg...@ece.ubc.ca>> wrote: Hi Ramakrishna, Before sending a packet, do: ... call CC2420Config.setChannel(); // 11 or 26, etc. call CC2420Config.sync(); ... The

Re: [Tinyos-help] Regarding Dynamic channel switching

2012-02-15 Thread Sergio Gonzalez
) { if(error == SUCCESS) call AMSender.send(..); ... } Sergio Gonzalez > Hi , This is Ramakrishna, working on tinyos-2.1.1. I am experimenting on > dynamic channel switching for telosb mote. I am trying to send 2 packets > one in 26th channel and second in 11th channel. When

Re: [Tinyos-help] Running TinyOS over Zigbit (not Meshbean)

2012-02-03 Thread Sergio Gonzalez
ks for all your help! Sergio On 02/03/2012 01:29 PM, Sergio Gonzalez wrote: > Hi Andris, > > Please ignore my previous post; I sent the wrong output (of a > different experiment). Here is the correct one - no ACK. > > 13:22:32 'r' 808358 23000 23 [ 0x41 0x88 0x11 0x22

Re: [Tinyos-help] Running TinyOS over Zigbit (not Meshbean)

2012-02-03 Thread Sergio Gonzalez
hese broadcast messages (destination address == 0x)? Ack > will be sent only after receiving a unicast message. > > Andris > > On Fri, Feb 3, 2012 at 8:23 PM, Sergio Gonzalez wrote: >> Hi Miklos, >> >> This is the output on the screen; one line per packet sent; n

Re: [Tinyos-help] Running TinyOS over Zigbit (not Meshbean)

2012-02-03 Thread Sergio Gonzalez
e transmitted and we will see the timing as well. > > Miklos > > On Fri, Feb 3, 2012 at 3:28 AM, Sergio Gonzalez wrote: >> Hi Miklos, >> >> I compiled and installed RadioCountToLeds to my motes. There was no output >> on the screen after running "java net.

Re: [Tinyos-help] Running TinyOS over Zigbit (not Meshbean)

2012-02-02 Thread Sergio Gonzalez
d > observe that the application gets bigger). Then run this and connect > it to your PC with a serial and on that run > > java net.tinyos.tools.DiagMsg > > This might print out useful information on what is failing in your setup. > > Best, > Miklos > > On Fri, Feb 3, 201

Re: [Tinyos-help] Running TinyOS over Zigbit (not Meshbean)

2012-02-02 Thread Sergio Gonzalez
rsion. Best, Miklos 2012/2/2 András Bíró: Hi Sergio, Sorry, I thought you're using the 868/900 MHz version. My changes are only for the rf212 (or other slower than 250kbps radios). The rf230 should work, it's well tested on the iris motes. Andris 2012/2/1 Sergio Gonzalez: Hi Andris,

Re: [Tinyos-help] Running TinyOS over Zigbit (not Meshbean)

2012-02-02 Thread Sergio Gonzalez
dependent is the rf212 stack? >> >> Is it reasonable to update just that part of the tree or are there >> dependencies to the main SVN trunk? >> >>> >>> Andris >>> >>> On Wed, Feb 1, 2012 at 5:55 AM, Sergio Gonzalez >>> wrote: >&

Re: [Tinyos-help] Running TinyOS over Zigbit (not Meshbean)

2012-01-31 Thread Sergio Gonzalez
gio, > > On Sun, Oct 30, 2011 at 9:51 PM, Sergio Gonzalez wrote: >> Hi Miklos, >> >> Thanks for your help! I was already employing the files available from the >> tinyos-contrib link that you mention. However, the IO configuration setup >> defined in those files

Re: [Tinyos-help] hardware and software ack in CC2420

2011-11-03 Thread Sergio Gonzalez
Hi Napoleon, When working in the HW mode, the transceiver automatically issues an ACK upon receiving a data packet from the MAC layer. A local notification is also sent to the system to let it know that there is a packet ready for reading, but for some obscure reason the packet is not always de

Re: [Tinyos-help] Running TinyOS over Zigbit (not Meshbean)

2011-10-30 Thread Sergio Gonzalez
have the attached files there, and I am sure these will be good for > your platform as well. > > Best, > Miklos > > On Sat, Oct 29, 2011 at 4:27 AM, Sergio Gonzalez wrote: >> Hi Miklos, >> >> Thank you so much for your previous help. I ended up designing new boar

Re: [Tinyos-help] CC2420 Radio Frequency

2011-09-25 Thread Sergio Gonzalez
Hi Sean, The receiver must know in advance the radio frequency over which radio transmissions will take place. Otherwise, you can implement a channel scanning routine at the receiver, or leave the receiver's frequency fixed, and have the transmitter send 'hello' packets sequentially on each ch

[Tinyos-help] Running TinyOS over Zigbit (not Meshbean)

2011-08-22 Thread Sergio Gonzalez
Hello, I am hoping someone can provide either pointers or direct advice on getting TinyOS 2.x to run over a standalone Atmel Zigbit device. I have been trying to do so for the past few days with no success. I designed a simple breakout board for this device and followed the steps to implement

[Tinyos-help] Mote-to-PC communications using the MIB600 ethernet interface

2009-03-25 Thread Sergio Gonzalez
Hello, I want to write a program in TinyOS v1.1 to send packets from a Micaz mote to a PC using the MIB600's ethernet interface. I read the corresponding section on the "Getting started guide" on how to program the motes using the MIB600, and everything worked fine, but I still have a few ques