Greetings Everybody!
I am a final year EE student working on my final year project. The aim of the project is to develop an embedded system that showcases whatever i've learnt about microcontrollers and programming.
I've chosen a simple project to do so. I'm developing an "Embedded Inventory Control". Considr a warehouse with components A,B and C. Each in its own crate, they have differnt weights. So when 1 crate at a time leaves the warehouse, i use a load cell and ADC to measure its weight. Thus the stock of that component can be updated. When the stock dips below a preset, the micro hooked up to a server triggers a chain of events. The PC sends an email to the 'supplier' ordering more components and an email/sms to the 'owner'. Meanwhile the owner can also access the PC (through the internet) to find out the stock of each component.
I know many of you will have rolled your eyes and said "there are better ways to do this!", but please bear with my design. So far I've used PIC16F877 and C programming. Since there are several functions involved, i've used a multi-file program. I want to extend this concept now to an OS level.
How do i write a code so that the 'feel' is of an OS using programs rather than a program using functions? Any suggestions?
Regards, Devyn