Skip to main content

Cooperative Task Scheduler for Entry Level Microcontrollers

  • Conference paper
  • First Online:
Soft Computing Applications

Part of the book series: Advances in Intelligent Systems and Computing ((AISC,volume 357))

  • 1006 Accesses

Abstract

For low complexity systems, entry level microcontrollers are well suited because they are cheaper, smaller, and require less energy to operate. Many of these systems require multiple data inputs and outputs, and in most of the cases, these processes must be scheduled as accurate as possible. One of the possibilities to accomplish this is to use delay routines in order to run different operations after a specified amount of time. A major drawback of this approach is that while it is in a delay routine, the microcontroller cannot do other tasks aside from interrupt requests, and it is becoming difficult to program multiple data flows. In this paper, we propose a cooperative task scheduler which needs very few resources and it is able to accurately schedule multiple tasks. We also implemented our scheduler and tested it on an entry level microcontroller.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 169.00
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 219.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

References

  1. Tim W (2009) Designing embedded systems with PIC microcontrollers, 2nd edn. Elsevier. ISBN 978-1-85617-750-4

    Google Scholar 

  2. Hao G, Kay-Soon L, Hong-Anh N (2011) Optimizing the localization of a wireless sensor network in real time based on a low-cost microcontroller. IEEE Trans Ind Electron 58(3):741–749

    Google Scholar 

  3. Siti N (2014) Low-cost robotic sensor networks platform for air quality monitoring. WIT Trans Built Environ 145:461–468. ISSN 1743-3509

    Google Scholar 

  4. Qazalbash AA, Amin A, Manan A, Khalid M (2009) Design and implementation of microcontroller based PWM technique for sine wave inverter. In: Power Engineering, Energy and Electrical Drives

    Google Scholar 

  5. Madhusudan RB, Keerthi TM, Nitin N (2009) Comparison of process scheduling methodologies for embedded systems. In: 2nd international conference on emerging trends in engineering and technology (ICETET)

    Google Scholar 

  6. Julio S, Maria PC (2010) Microcontroller programming: the microchip PIC. ISBN 9780849371899

    Google Scholar 

  7. Jayanta KN, Sharmila N, Kanak CS (2014) Microcontroller based high resolution temperature monitoring data acquisition system with graphical user interface. Int J Recent Dev Eng Technol 2(4)

    Google Scholar 

  8. Mouaaz N (2011) Implementation of highly-predictable time-triggered cooperative scheduler using simple super loop architecture. Int J Electr Comput Sci IJECS-IJENS 11(04)

    Google Scholar 

  9. Michael JP, Susan K, Ricardo BQ (2009) Meeting real-time constraints using “sandwich delays”. In: Transactions on pattern languages of programming I. Lecture Notes in Computer Science, vol 5770

    Google Scholar 

  10. Philip L, Sam M, Joseph P, Robert S, Kamin W, Alec W, David G, Jason H, Matt W, Eric B, David C (2005) TinyOS: an operating system for sensor networks, ambient intelligence. Springer. ISBN 978-3-540-23867-6

    Google Scholar 

  11. Muhammad OF, Thomas K (2011) Operating systems for wireless sensor networks: a survey. Sensors. doi:10.3390/s110605900

    Google Scholar 

  12. Tran NBA, Su-Lim T (2009) Survey and performance evaluation of real-time operating systems (RTOS) for small microcontrollers, Micro IEEE (99)

    Google Scholar 

  13. Glistvain R, Aboelaze M (2010) Romantiki OS—A single stack multitasking operating system for resource limited embedded devices. In: The 7th international conference on informatics and systems (INFOS)

    Google Scholar 

  14. Microchip PIC12F683 Data Sheet (2014) http://ww1.microchip.com/downloads/en/DeviceDoc/41211D_.pdf. Retrieved at 2014/05/25

Download references

Acknowledgement

This work was partially supported by the strategic grant POSDRU/159/1.5/S/137070 (2014) of the Ministry of National Education, Romania, cofinanced by the European Social Fund—Investing in People, within the Sectoral Operational Programme Human Resources Development 2007–2013.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Razvan-Mihai Aciu .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2016 Springer International Publishing Switzerland

About this paper

Cite this paper

Aciu, RM., Ciocarlie, H. (2016). Cooperative Task Scheduler for Entry Level Microcontrollers. In: Balas, V., Jain, L., Kovačević, B. (eds) Soft Computing Applications. Advances in Intelligent Systems and Computing, vol 357. Springer, Cham. https://doi.org/10.1007/978-3-319-18416-6_76

Download citation

  • DOI: https://doi.org/10.1007/978-3-319-18416-6_76

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-319-18415-9

  • Online ISBN: 978-3-319-18416-6

  • eBook Packages: EngineeringEngineering (R0)

Publish with us

Policies and ethics