Realtime OS on Embedded Systems
Contents
CmpE146
This course teaches students on how to write UART, SPI, and I2C Drivers and interface their drivers to peripherals. There are about 8 weekly labs in which students not only write drivers, but also learn the core of Real-time Operating Systems including threading (tasks), and inter-task communication using Queues and Semaphores. FreeRTOS is the operating system used with C/C++ Compiler based on GNU.
When the course was started by Dr. Ozemek @ SJSU (sometime before 2005), not many resources were out there. Still, with helpful guidance from Dr. Ozemek, interesting projects were created. This is when I started to help out in Embedded System Courses, and by collecting and sharing knowledge, we've raised the bar at SJSU!
There have been many great projects at SJSU, but since no one knew about them, the hard work went to a waste for anyone but the creator. But now we've got the infrastructure to share the projects, which turn out as great references for future students. Here is my project that started around 2007, and turned into Bachelor's Senior Design Project:
YouTube Video of Self-Navigating Car
Lab Assignments
This article contains laboratory assignments and resources. The assignments are under construction as we move towards SJ-One development board.
- Lesson 1 : GPIO
- Lesson 2 : UART
- Lesson 3 : SPI
- Lesson 4 : I2C
- Lesson 5 : Interrupts
- Lesson 6 : FreeRTOS Tasks
- Lesson 7 : File I/O
Semester Projects
Every semester, CmpE146 students are given about 7 weeks to complete their projects. During this short time-span, students form groups, order parts, and begin working on their projects. The work performed during the semester is documented at this Wiki.
Here is the list of Preet's documented projects:
- Preet's Relay Controller Project
- Nordic Low Powered Mesh Network stack
- Senior Design Project (MS-CmpE) Video
Here is another resource for good project references : Cornell EE476 Projects
Fall 2013
- F13: POV Display
- F13: Line Following Robot
- F13: LED Display
- F13: Bulb Ramper
- F13: Garage Parking Assistant
- F13: Quadcopter
- F13: BarkMaster2000
- F13: Remote Control Car
- F13: Obstacle Avoidance Robot
- F13: Vehicle On Board Diagnostics
Spring 2013
- S13: 2D Plotter
- S13: Smart Cube
- S13: Garage Parking Aid
- S13: Smart Security
- S13: Door Alarm System
- S13: Solar Panel Tracker
Fall 2012
- F12: Evil Watchdog
- F12: Smart Bulb
- F12: All Your Base are Belong to You
- F12: Android Controlled MP3
- F12: Unified Wireless Health Monitoring System
- F12: OBD-II Android Monitor
- F12: Self-Driving GPS Following Car
- F12: Android Door Lock
Spring 2012
- S12: FreeRTOS based QuadCopter
- S12: Web-based MP3 Player
- S12: Self Drive Car
- S12: VAndroid
- S12: Traffic Light Sensing Vehicle
- S12: Sound Reader
- S12: Remote Controlled MP3 Player
- S12: Android Controlled Robot
- S12: Eyes-Free GPS