Realtime OS on Embedded Systems
Contents
Program History
My contribution in Embedded System courses started with 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
As of 2013, I have broadened my contribution to other embedded system courses like CmpE240, CmpE243 and CmpE244.
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 : FreeRTOS Application Programming
Other reference articles :
- Bitmasking Tutorial (+ GPIO Example)
- LPC17xx Memory Map & Interrupts
Class Project
Self-driving Car
In this class project, students accomplish a self-drivable RC car with the following learning objectives:
- Learn CAN Bus and how to communicate in an industrial or automotive environment.
- Learn integration and testing across different controllers.
- Learn how to work in teams.
- Learn basics of an RTOS.
Semester Projects
Every semester, students are given about 7-10 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 2014
- F14: Team2-Self Driving Car - AUG
- F14: Team3-Self Driving Car - Optimus Prime
- F14: Team4-Self Navigating Car
- F14: Team5-Self Driving Car - AUG
- F14: Self Driving Undergrad Team
Spring 2014
- Senior Project: Project Advising: Remote Security System
- S14: Quadcopter
- S14: Smart Weather Clock
- S14: Divine WINd
- S14: Data Acquisition using CAN bus
- S14: E-Ink Display for Shopping Tags
- S14: Spectrum Analyzer for Audio Frequency Signals
- S14: CAN Firmware Uploader
- S14: Asset Management and Location System
- S14: Location Tracker
- S14: Androbot
- S14: Virtual Dog
- S14: Android based Automation
- S14: FaceTime Robo
- S14: Wireless Control Car
- S14: Power Efficient Security Door System for Light-rail using CAN Bus
- S14: Android based home monitoring system
- S14: Need For Speed
CmpE146
- S14: Hyperintelligent NFC Locker of the Future
- S14: Smart Planter
- S14: Modular Security System
- S14: Autonomous Control System
- S14: Anti-Crash Car
- S14: Tricopter
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