[Tinyos-help] Timer 3 registers and IRIS mote

2011-11-14 Thread hafid oussaadi
Hello everybody, I wrote a small program to generate a 16 KHz PWM signal on OC3A which corresponds to pin 26 on the IRIS 51 pins connector. Assuming that fclk_I/O = 7.3728 MHz , I use CTC mode with OCR3A as TOP value. PRR1 =~(1 3); // enable Timer 3 TCCR3B |= (13)|(10); // prescaler=1

Re: [Tinyos-help] Blink compiled with errors on IRIS mote!‏

2011-10-11 Thread hafid oussaadi
Hi, Thanks Janos for your reply. In fact, i had a working tinyos 2.1 installation but i was unable to use the MDA300CA driver from UOIT to get some ADC readings. So, I tried to downgrade to 2.0 version but unfortunately, it has no support for IRIS motes !I will reinstall it again. Regards!

Re: [Tinyos-help] Downgrade Tinyos‏‏

2011-10-11 Thread hafid oussaadi
Hi, Thanks Miklos for your reply. It was useless to downgrade TOS to version 2.0 coz it has no support for iris motes. I don`t know how to update tinyos from google code. I used to do this with cvs. Regards! hafid

Re: [Tinyos-help] Downgrade Tinyos‏‏‏

2011-10-11 Thread hafid oussaadi
Hi Miklos, Thanks very much for the tip. I will try to use this software. Best regards! Hafid ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu

[Tinyos-help] Blink compiled with errors on IRIS mote!

2011-10-09 Thread hafid oussaadi
Dear all, I followed the instructions in this tutorial to install tinyos2.0.2 under cygwin. I added also the support for IRIS mote as explained in this link.However, i got the following errors after trying to compile the Blink application on iris mote. Any suggestion or idea is welcomed in

Re: [Tinyos-help] Downgrade Tinyos‏

2011-10-07 Thread hafid oussaadi
Dear all, thanks Eric for your reply,i am working with IRIS motes + MDA300 sensorboard and using its driver from Sourceforge posted in 2009 http://tinyos.cvs.sourceforge.net/viewvc/tinyos/tinyos-2.x-contrib/uoit/mda300ca/. Actually, i am unable to read its ADC channels under tinyos 2.1. So, i

[Tinyos-help] Downgrade Tinyos

2011-10-06 Thread hafid oussaadi
Hi everybody, I am working with tinyos 2.1 under cygwin and i want to downgrade to 2.0.2 version. Is there any good tutorial to solve this problem? Thanks in advance, Best regards! Hafid ___ Tinyos-help mailing list

Re: [Tinyos-help] Ultrasonic sensors on MDA300 + IRIS

2011-07-23 Thread hafid oussaadi
Hi Miklos, Try running at half the speed (8.7 KHz) to see if that works. Your Basestation also needs to be special, use the one we have on our website (it needs 125 kbps UART and a fastserial library). Yes, you are right, I eliminated the red led blinking problem by increasing the sampling period

[Tinyos-help] ReadStream interface for MDA300 ADC channels

2011-07-23 Thread hafid oussaadi
Dear all, I am using MDA300 drivers from http://tinyos.cvs.sourceforge.net/viewvc/tinyos/tinyos-2.x-contrib/uoit/mda300ca/. I wonder if anyone had tried to design a ReadStrem interface for a single ended ADC channels. Please, share your experience with me. I appreciate your help in advance

Re: [Tinyos-help] Ultrasonic sensors on MDA300 + IRIS

2011-07-23 Thread hafid oussaadi
Hi Miklos, I still got the same error even with 115200L baudrate, this is the detailed error message: in file included from opt/tinyos-2.x/tos/system/SchedulerBasicP.nc:41, from opt/tinyos-2.x/tos/system/TinySchedulerC.nc :40:

Re: [Tinyos-help] Ultrasonic sensors on MDA300 + IRIS

2011-07-23 Thread hafid oussaadi
Hi Miklos, I fixed hardware.h by removing the PLATFORM_BAUDRATE definition and the application works fine . thanks for everything! Best regards, Hafid___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu

Re: [Tinyos-help] Ultrasonic sensors on MDA300 + IRIS

2011-07-22 Thread hafid oussaadi
Dear all, Thanks Miklos for your quick and valuable reply. Concerning the MDA300 drivers, It seems that they are the same either on Google code or on Sourceforge (drivers from UOIT). I have also tested the Microphone fast sampling application you gave me, using MTS300+IRIS as a mote and

[Tinyos-help] Ultrasonic sensors on MDA300 + IRIS

2011-07-21 Thread hafid oussaadi
Dear all, I want to implement the ultrasonic pulse echo technique on MDA300 + IRIS platform. So I have to attach an ultrasonic transmitter to the sensorboard's GND and 2.5V excitation pins and another ultrasonic receiver to ADC_1 channel and GND pins. I am using Tinyos 2.1 and MDA300 drivers