[Tinyos-help] Re: Project on TinyOS
Nina Picone
npicone at eecs.wsu.edu
Sun Mar 4 11:53:17 PST 2007
Hi~
Yes, there is a TinyOS tutorial
http://www.tinyos.net/tinyos-1.x/doc/tutorial/
it has some examples for you to follow. I hope this helps.
Nina
Urs Hunkeler writes:
> Hi Vaibhav,
>
> The full source code of TinyOS is probably already installed on your
> computer. For the implementation of the module that controls the leds,
> try looking for a file called LedsC.nc. There are probably multiple
> versions because different platform require different implementations.
> There is also a file called Leds.nc, which is the interface description
> of the module.
>
> I don't know what kind of project you're working on. But trying to build
> a whole hardware platform plus software, etc. seems a bit
> over-ambicious. If you really want to build all the hardware yourself, I
> would still use TinyOS and just write a port for your new platform
> (you'd only have to rewrite the lowlevel hardware dependent parts).
>
> However I think it would be MUCH simpler to just use one of the already
> existing hardware platforms and just add the sensors that you need. Most
> of them (if not all) offer some kind of connector where you can connect
> additional hardware. You'd have a ready-made communications platform
> that you just would have to extend to your special needs.
>
> Cheers,
> Urs
>
>
> vaibhav agarwal schrieb:
>> Hi,
>>
>> I am doing a project on tinyos (Wildlife Sensor Network- adhoc network
>> using
>> zigbee modules) . As dictated by requirements of my code I will have to use
>> many sensors( temp, GPS, light etc. ) and so I will have to make our own
>> sensor modules.Tinyos has low RAM requirements, which makes it useful
>> for my
>> project. Please address some of our problems which I am facing in
>> understanding the functioning of Tinyos.
>>
>> The examples given in the apps directory(Tinyos-1.x) use library functions
>> but dont give a detailed code about interacting with the hardware
>> peripherals. These function are in simple examples like Blink(call
>> Leds.redToggle();) and in complicated examples like Surge(post
>> SendData();).
>>
>>
>> I want to ask is the code for commands like SendData and code for
>> communicating for hardware(Leds.redToggle) available .
>> If these functions made specially for devices like mote and if I will have
>> to make my own code. I will use AVR128 and I have used it earlier with
>> WinAVR for my other projects . It is being very difficult to understand and
>> make basic programs using TinyOS. If there is a tutorial for tinyos
>> utilities please send me the like on my email address.
>> Waiting eagerly for a reply.
>>
>> Yours sincerely
>> Vaibhav Agarwal
>
> _______________________________________________
> Tinyos-help mailing list
> Tinyos-help at Millennium.Berkeley.EDU
> https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
More information about the Tinyos-help
mailing list