Presentation is loading. Please wait.

Presentation is loading. Please wait.

Mini Control System Spring 2009 Final Presentation Performed By: Yaron Adler Supervised By: Boaz Mizrachi.

Similar presentations


Presentation on theme: "Mini Control System Spring 2009 Final Presentation Performed By: Yaron Adler Supervised By: Boaz Mizrachi."— Presentation transcript:

1 Mini Control System Spring 2009 Final Presentation Performed By: Yaron Adler Supervised By: Boaz Mizrachi

2 The Previous Project Multi-Sensors Personal Digital Assistant (PDA) By: Aviv Rosenberg & Ben-Ami Zilber By: Aviv Rosenberg & Ben-Ami Zilber

3 Project Goals Implementing a driver for the RTC unit. Implementing a driver for the RTC unit. Implementing a driver for the Graphic LCD unit. Implementing a driver for the Graphic LCD unit. Implementing a driver for the keyboard. Implementing a driver for the keyboard. Choosing a file system architecture for the MicroSD card, and implementing a driver for the MicroSD card reader. Choosing a file system architecture for the MicroSD card, and implementing a driver for the MicroSD card reader. Writing sample applications that use the above components. Writing sample applications that use the above components.

4 RTC Data structures : Data structures : Time: a struct that contains the hour, minute and second. Time: a struct that contains the hour, minute and second. Date: a struct that contains the year, month and day. Date: a struct that contains the year, month and day. TimeAndDate: contains Time, Date and weekday (Sunday = 0). TimeAndDate: contains Time, Date and weekday (Sunday = 0). Functions: Functions: rtc_initNeeded. rtc_initNeeded. rtc_init. rtc_init. rtc_getTime. rtc_getTime.

5 GLCD Supports Hebrew, English, numbers and signs. Supports Hebrew, English, numbers and signs. Supports writing right-to-left and left-to-right. Supports writing right-to-left and left-to-right. Main Functions: Main Functions: glcd_clearDataRam glcd_clearDataRam glcd_goToXY glcd_goToXY glcd_setDiretion glcd_setDiretion glcd_putChar glcd_putChar glcd_printConstString / glcd_printVarString glcd_printConstString / glcd_printVarString glcd_printDouble / glcd_printInt glcd_printDouble / glcd_printInt

6 Keyboard Similar to a cellular phone keypad. Similar to a cellular phone keypad. Uses timer0. Uses timer0. Two sequential presses on the same button within a minute is considered the next character. Two sequential presses on the same button within a minute is considered the next character. Main functions: Main functions: keyboard_getKey keyboard_getKey keyboard_getString keyboard_getString backspace return 1., ? ! 2 דהו A B C a b c UP 3 אבג D E F d e f 4 מנ G H I g h i LEFT 5 יכל J K L j k l 6 זחט M N O m n o RIGHT 7 רשת P Q R S p q r s 8 צק T U V t u v DOWN 9 סעפ W X Y Z w x y z *0 space # enter

7 File System Chosen File System: FAT16. Supported also by PC. Chosen File System: FAT16. Supported also by PC. Implementation by Microchip Solutions. Implementation by Microchip Solutions. The driver is similar to I/O functions in C. The driver is similar to I/O functions in C. Sample functions: Sample functions: FS_fopen / FS_fopenpgm FS_fopen / FS_fopenpgm FS_FindFirst / FS_FindFirstpgm FS_FindFirst / FS_FindFirstpgm FS_chdir / FS_chdirpgm FS_chdir / FS_chdirpgm FS_remove / FS_removepgm FS_remove / FS_removepgm FS_mkdir / FS_mkdirpgm FS_mkdir / FS_mkdirpgm FS_fclose FS_fclose FS_fread FS_fread FS_fwrite FS_fwrite

8 Mini DOS Application Tests the file system ’ s folder and search functions. Tests the file system ’ s folder and search functions. Tests the units integration. Tests the units integration. Managed through TUI in English. Managed through TUI in English. Shows path, changes path, makes or remove folders, show folder ’ s contents. Shows path, changes path, makes or remove folders, show folder ’ s contents.

9 Birthdays Book Application A data-bank application. A data-bank application. Tests the units integration. Tests the units integration. The list can be managed through Microsoft Excel. The list can be managed through Microsoft Excel. Managed through TUI in Hebrew. Managed through TUI in Hebrew. Prints the menu and returns the chosen option, sorts the file (bubble sort), adds lines, deletes lines, parses lines, prints the list, find lines in the file, etc. Prints the menu and returns the chosen option, sorts the file (bubble sort), adds lines, deletes lines, parses lines, prints the list, find lines in the file, etc.

10 Future Plans Implementing a USB Mass Storage Device driver, in order to make the MicroSD card visible to the PC through the PIC. Implementing a USB Mass Storage Device driver, in order to make the MicroSD card visible to the PC through the PIC. Implementing a more general USB driver that will enable data transfer between the PC and the device components. Implementing a more general USB driver that will enable data transfer between the PC and the device components.

11 Summary And Conclusions The modules drivers utilize all the modules potential, and yet are very simple to understand and use. The modules can work simultaneously without interruptions, and support both Hebrew and English. The modules drivers utilize all the modules potential, and yet are very simple to understand and use. The modules can work simultaneously without interruptions, and support both Hebrew and English. When designing an application for the device, a deep thought should be directed to how to implement the application with a constant space complexity, in the expense of time complexity. When designing an application for the device, a deep thought should be directed to how to implement the application with a constant space complexity, in the expense of time complexity. By adding external memory to the PIC, simpler and faster implementations for applications will be possible By adding external memory to the PIC, simpler and faster implementations for applications will be possible

12 Thank You For Listening.


Download ppt "Mini Control System Spring 2009 Final Presentation Performed By: Yaron Adler Supervised By: Boaz Mizrachi."

Similar presentations


Ads by Google