Hi all,

Urs, we've been doing the same task for some time, but you made it faster.

I was blocked in using the I2C Bus.

I will keep updated about improvents if made.

thanks!

Xavi

On Nov 30, 2007 4:59 PM, Urs Hunkeler <[EMAIL PROTECTED]> wrote:

> Hi all,
>
> I managed to free some time and rewrote the Leds-, Photo- and
> Accel-Drivers for TinyOS 2.x. I did not really look into how they work
> exactly but just tried to rewrite them to TinyOS 2.x syntax. Feel free
> to improve!
>
> The drivers are in the invent/sensorboard directory. The other
> directories in the invent directory are extremely simple test
> applications. The Blink application demonstrates the use of the LEDs.
> The PhotoTest application demonstrates the photo sensor, while the
> AccelTest application demonstrates the accelerometer sensor. The Null
> application tries to turn off the external hardware (but this seems to
> not completely work).
>
> I see the following main issues:
> - Especially for the accelerometer, streaming sensor data would be
> needed (should be trivial to implement)
> - The AD524X start() and stop() functions are currently implicitly
> called by the Photo and the Accel drivers. This could lead to problems
> if both drivers were used together. This is probably a problem with my
> rewrite (the StdControl interface has changed and I used the
> SplitControl interface instead).
> - Since the tmote invent has an internal battery, there should be a
> mechanism to switch off the motes. It seems that the original software
> (probably Boomerang?) checked on mote-startup whether the user button
> was pressed, and if so, shut down all external drivers. How should we
> implement this in TinyOS 2.x (ideally such that this would be a feature
> that all applications could easily integrate)?
> - I didn't do much testing and especially the interrupt functionality of
> the accelerometer driver is untested.
>
> Enjoy,
> Urs
>
>
>
> Xavier Orduña schrieb:
> > I'm working now on the Photo Driver.
> >
> > After that, I plan to work on accel driver.
> >
> > I will keep you updated.
> >
> > Xavi
> >
> > On Nov 29, 2007 3:18 PM, Van der Haegen Mathieu <[EMAIL PROTECTED]
> >
> > wrote:
> >
> >> Hi,
> >>
> >> I have a lot of other work to do until january. So my plannings are to
> >> begin to work on this end of this year or start of next year so I'll
> keep in
> >> touch with you to let you know how it's going with the tmote invent.
> >>
> >> Nice !
> >> Mathieu
> >>
> >>
> >> On Nov 29, 2007 2:13 PM, Urs Hunkeler <[EMAIL PROTECTED]> wrote:
> >>
> >>> Hi,
> >>>
> >>> We have around 50 tmote skys and 30 tmote invents, so the situation
> here
> >>> is pretty the same. Personally I don't mind that much that the former
> >>> moteiv doesn't provide support anymore because at least the
> >>> documentation is open and their source code can be used and adapted. I
> >>> just wonder if I develop on an obsolete platform...
> >>>
> >>> I am also interested in getting the accelerometer to work on TinyOS 2.
> >>> So a collaboration would be nice. Currently I have a lot of other work
> >>> to do, I hope to be able to do it before the end of the year. How soon
> >>> would you need it?
> >>>
> >>> Cheers,
> >>> Urs
> >>>
> >>>
> >>> Van der Haegen Mathieu schrieb:
> >>>> Hi !
> >>>>
> >>>> I permit myself to write a message in this thread because we are
> >>> REALLY
> >>>> interested in having support for the tmotes invent for tinyos 2!
> >>>>
> >>>> We have more than 10 tmote invents here and we are developing an
> >>> application
> >>>> for tinyos 2 that will absolutely need the accelerometer of theses.
> >>>>
> >>>> I allready tried to use the boomerang drivers which are 'allmost'
> >>> compliant
> >>>> with tinyos 2 without any success.
> >>>> And I'd like to say my personal opinion about all this : the MoteIV
> >>> company
> >>>> transformed into the sentilla company which is just fine. But I think
> >>> it is
> >>>> outrageous how any support for tmote hardware will cease in end of
> >>> December
> >>>> 2007 (as shown here : http://www.sentilla.com/moteiv-endoflife.html).
> >>> We
> >>>> have more than 50 tmotes skys and 10 tmotes invent and I think it's
> >>> really
> >>>> too easy for moteiv to say 'we stop support on this date' ... and
> what
> >>> ? If
> >>>> we want to continue use theses devices with tinyos 2 we will have to
> >>> write
> >>>> our own drivers ? No I think it is abnormal, moteiv should at least
> >>> give
> >>>> tinyos2 drivers for all of their hardware before stopping support. So
> >>> that
> >>>> we will be able to continue using their hardware with the evolution
> of
> >>>> tinyos ... ?
> >>>>
> >>>> What do you all think about this ? Sorry for beeing a bit aggressive
> >>> but I
> >>>> was really surprised how moteiv shut down without any warning.
> >>>>
> >>>> Van der Haegen Mathieu.
> >>>>
> >>>> PS: Btw I really need the tmote invent accelerometers drivers for
> >>> tinyos 2
> >>>> for a project I'm working on so any collaboration would be nice to
> get
> >>> it
> >>>> working.
>



-- 
www.alcim.net
Buscant sempre nous reptes, alguna proposta?
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to