Abstract
Most wireless sensor networks are composed of large numbers on tiny networked devices, which is called sensor node. Wireless sensor nodes are usually static-programmed, low-power, low-cost, low-bandwidth, and low-computation-power. To design a sensor network application, users and researchers need an operating system which is designed for the sensor nodes that provides a complete hardware control library and control scheme to the sensor node hardware. Nowadays most popular sensor operating systems are being composed to be very lager and complex, and most sensor applications just need a few functions and variables to realize the developed scheme from users and researchers. In this thesis, we address the above problem by design a ightweight operating system for wireless sensor networks, LOS. LOS is designed to be a simple and lightweight operating system for wireless sensor nodes. By implement applications of the same kind on different operating systems, showed that the whole code size will be efficiently reduced in LOS.