Font Size: a A A

Research For Prototyping Design In Protothreads System Based On Arduino Toolkit

Posted on:2017-02-25Degree:MasterType:Thesis
Country:ChinaCandidate:J X JianFull Text:PDF
GTID:2308330503968516Subject:Computer technology
Abstract/Summary:PDF Full Text Request
The topic of this research is Prototrheads dispatch multitask in Arduino which is a type of Prototyping development. Because hardware circuit is free, programing language is sample, debug environment is easy to operate and a lot of function can be used., Arduino is used in Prototype development frequently by designers in order to finish development in a short period. But the geek develop lots of Arduino prototyping project by single-task programming structure, which limit the development of Arduino in appliance. Multiask handling is common in project. The designers always handle multitask by transplanting operating system in original develop environment, which is related to hardware circuit, programming and embedded system. In this case, the designer should have good hardware and software foundation, the period should be longer and the project become much more complicated. The innovation point of this research is multitask dispatching realized in prototype develop environment Arduino which is keep the rapidity and make up the disadvantage of single task.There are 5 chapters in this paper. Chapter 1, the present situation of embedded system and the advantage of Arduino Prototype development is introduced. But the single task programming structure limited expanding of Prototype develpment.. The reasons of Arduino multitask dispatch is analysed, which is limited expanding of Prototype develpment., according to the function of Smart Housing Appliances Design. In Chapter 2 Arduino hardware board, function of hardware port and software design environment is introduced. The Prototyping Arduino development simulated in Proteus. In chaper 3, the principle of the Time Triggered Operating System is analysed. the function of tasks dispatch and tasks sharing the same hardware part is realized by hardware circuit design, software programing base on 8051 and Time Triggered Operating System. In chapter 4, the operational principle of lightweight stackless threads dispatching program structure is introduced. Protothreads is transplanted in Arduino and dispatch multitask by time trigger and semaphore. In chapter 5, the function of Smart Housing Appliances Design is analyzed. The same function is realized by prototyping and original development. Dispatching tasks by time trigger is realized based on Arudnio andd Protothreads programming and hardware design in Proteus. The same function is also realized based on ATmegal6 and uC/OS-II embedded operated system, which should transplant the uC/OS-II system hardware design and task execute task software code. Finally, two methods is compared to prove dispatching multitask worked in Arduino by transplanting protothtreads which solved the problem Arduino only working in single task and kept rapidity of prototyping development.
Keywords/Search Tags:Prototyping, Arduino, Time triggered, Protothreads
PDF Full Text Request
Related items