Difference between revisions of "Realtime OS on Embedded Systems"

From Embedded Systems Learning Academy
Jump to: navigation, search
(Lab Resources)
 
 
(392 intermediate revisions by 63 users not shown)
Line 1: Line 1:
== CmpE146 ==
+
== Program History ==
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.
+
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, 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!   
+
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: <br/>
 
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: <br/>
 
[http://www.youtube.com/watch?v=QEadXdRl3ws&feature=plcp YouTube Video of Self-Navigating Car]
 
[http://www.youtube.com/watch?v=QEadXdRl3ws&feature=plcp 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.
 +
*  [[Embedded System Tutorial Tasks | Lesson 0: Multiple Tasks]]
 +
*  [[Embedded System Tutorial GPIO | Lesson 1 : GPIO]]
 +
*  [[Embedded System Tutorial UART | Lesson 2 : UART]]
 +
*  [[Embedded System Tutorial SPI  | Lesson 3 : SPI]]
 +
*  [[Embedded System I2C Tutorial  | Lesson 4 : I2C]]
 +
*  [[Embedded System Tutorial Interrupts | Lesson 5 : Interrupts]]
 +
*  [[Embedded System Tutorial FreeRTOS | Lesson 6 : FreeRTOS Tasks]]
 +
*  [[Embedded System Tutorial File I/O | Lesson 7 : FreeRTOS Application Programming]]
 +
 +
==== Class Project ====
 +
* [[MP3 Player]]
 +
 +
==Other reference articles==
 +
*  [[Bitmasking Tutorial]] (+ GPIO Example)
 +
*  [[ LPC17xx Memory Map & Interrupts]]
 +
 +
<BR/>
 +
== Senior Design Projects ==
 +
 +
<BR/>
 
== Semester Projects ==
 
== 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.
+
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.
  
'''Sample Projects:'''
+
Here is the list of Preet's documented projects:<BR/>
* [https://sourceforge.net/projects/lpc2148freertos LPC2148 Sample Projects]
+
*  [[Preet's Relay Controller Project]]
* [https://sourceforge.net/projects/cmpe146freertos/ LPC1758 SJOne FreeRTOS Sample Project]
+
*  [[Nordic Low Powered Mesh Network stack]]
 +
*  [http://www.youtube.com/watch?v=QEadXdRl3ws&feature=plcp Senior Design Project (MS-CmpE) Video]
 +
 
 +
Here is another resource for good project references :
 +
[http://people.ece.cornell.edu/land/courses/ece4760/FinalProjects/ Cornell EE476 Projects]
 +
 
 +
<BR/>
 +
<HR>
 +
=== Appendix ===
 +
 
 +
=== [[Fall 2022 | Fall 2022]] ===
 +
 
 +
*  [[F22: DDRTOS]]
 +
*  [[F22: xGameCreate]]
 +
*  [[F22: Embedded Gamers]]
 +
*  [[F22: Bob Burgers]]
 +
*  [[F22: Space Warriors]]
 +
*  [[F22: Thunder Flash]]
 +
 
 +
=== [[Fall 2021 | Fall 2021]] ===
 +
 
 +
*  [[F21: ACE MARIO]]
 +
*  [[F21: Skeh-lleybones]]
 +
*  [[F21: Sons of Ultron]]
 +
*  [[F21: Juvenile Jumpers]]
 +
*  [[F21: Treasure Dive]]
 +
*  [[F21: FollowMe]]
 +
*  [[F21: Flame Over]]
 +
*  [[F21: Space Rage]]
 +
 
 +
=== [[Fall 2020 | Fall 2020]] ===
 +
*  [[F20: Jubeat]]
 +
*  [[F20: Flappy]]
 +
*  [[F20: Space Invaders]]
 +
*  [[F20: Treasure Diver]]
 +
*  [[F20: Tom & Jerry]]
 +
*  [[F20: Hungry Snake]]
 +
*  [[F20: Son of a Gun]]
 +
*  [[F20: Corona Run]]
 +
*  [[F20: Maddening Marbles]]
 +
*  [[F20: Bubble Shooter]]
 +
 
 +
=== [[Fall 2019 | Fall 2019]] ===
 +
 
 +
*  [[F19: Smacman]]
 +
*  [[F19: Tetris]]
 +
*  [[F19: Space Impact]]
 +
*  [[F19: Road Max Fury]]
 +
*  [[F19: T-Rex Run!]]
 +
*  [[F19: Infinity Mirror]]
 +
*  [[F19: Tower Defense in Space]]
 +
*  [[F19: Alien Wars]]
 +
*  [[F19: Pocket tank]]
 +
*  [[F19: M&B (Morph & Blend)]]
 +
 
 +
=== [[Fall 2018 | Fall 2018]] ===
 +
 
 +
*  [[F18: Flappy Bird]]
 +
*  [[F18: Catch me if you can]]
 +
*  [[F18: Zero Zero UFO]]
 +
*  [[F18: Goals of Glory]]
 +
*  [[F18: Spartan Warrior]]
 +
*  [[F18: Wireless sensor network]]
 +
*  [[F18: baem geim]]
 +
*  [[F18: Hit the Balloon]]
 +
*  [[F18: 2048]]
 +
 
 +
<BR/>
 +
 
 +
=== [[Spring 2018 | Spring 2018]] ===
 +
 
 +
*  [[S18: Team Nemesis(SJSU Cam)]]
 +
*  [[S18: Death Race]]
 +
*  [[S18: Hand gesture controlled multiplayer game]]
 +
*  [[S18: Smart Rock Paper Scissors]]
 +
*  [[S18: Spybot]]
 +
*  [[S18: Audio Spectrum Analyzer with Graphics Display]]
 +
*  [[S18: XY-Plotter]]
 +
*  [[S18: RGB LED Sound Behavior on a Skateboard]]
 +
*  [[S18: Spark - MP3 Music Player with Audio Spectrum]]
 +
*  [[S18: Traffic Menace Video Game]]
 +
*  [[S18: M.E.O.W]]
 +
*  [[S18: Rahee]]
 +
 
 +
=== [[Spring 2017 | Spring 2017]] ===
 +
 
 +
*  [[S17: Wake up Barista]]
 +
*  [[S17: Propeller Clock]]
 +
*  [[S17: Sky Knight]]
 +
*  [[S17: MyAutoHealth]]
 +
*  [[S17: Logan]]
 +
*  [[S17: ElectricBoard]]
 +
*  [[S17: CamBot]]
 +
*  [[S17: Sphero Droid]]
 +
*  [[S17: Smart Planter]]
 +
*  [[S17: Boom-Z Equalizer]]
 +
*  [[S17: Interactive Snake and ladder ]]
 +
*  [[S17: Smart Health Gear]]
 +
*  [[S17: Halo]]
 +
*  [[S17: Squad]]
 +
*  [[S17: Smart security system]]
 +
<BR/>
 +
 
 +
=== [[Fall 2016 | Fall 2016]] ===
 +
 
 +
CMPE146:
 +
* [http://www.socialledge.com/sjsu/index.php?title=F16:_Seismograph F16: Seismograph]
 +
* [[F16: Piano Glove]]
 +
* [[F16: Object Detector]]
 +
* [[F16: Autonomous Nautical System]]
 +
* [[F16: Autonomous Fire Extinguishing Vehicle]]
 +
* [[F16: Autonomous Runaway Alarm Car]]
 +
* [[F16: E-Bike]]
 +
* [[F16: NotifyBox]]
 +
* [[F16: Wireless Tilt Controlled Camera Arm]]
 +
* [[F16: OBD2 Reader]]
 +
* [[F16: Micro Watch Monitoring System]]
 +
* [[F16: Door Alarm System]]
 +
* [[http://www.socialledge.com/sjsu/index.php?title=F16:_I2Coffee F16: UART Coffee]]
 +
* [[F16: SJone to FPGA wireless integration]]
 +
 
 +
=== [[Spring 2016 | Spring 2016]] ===
 +
*  [[S16: Fantastic Four]]
 +
*  [[S16: Simpsons]]
 +
*  [[S16: Mars 1]]
 +
*  [[S16: OpenSJ Bluz]]
 +
*  [[S16: Motion Copy Bot]]
 +
*  [[S16: Biker Assist]]
 +
*  [[S16: Helios]]
 +
*  [[S16: Sound Buddy]]
 +
*  [[S16: Warriors]]
 +
*  [[S16: Expendables]]
 +
*  [[S16: Ahava]]
 +
*  [[S16: Number 1]]
 +
*  [[S16: SkyNet]]
 +
*  [[S16: SmartDoorLock]]
 +
 
 +
 
 +
Cmpe 146:
 +
*  [[S16: Camera Gimbal]]
 +
*  [[S16: Laser Harp]]
 +
*  <strike>[[S16: Laser Cutter Motor Controller]]</strike>
 +
*  [[S16: Sprinkler]]
 +
*  [[S16: The Jatrick Car]]
 +
*  [[S16: Dan]]
 +
*  [[S16: Robolamp]]
 +
*  [[S16: Pinball]]
 +
<br/>
 +
<HR>
 +
 
 +
=== [[Fall 2015 | Fall 2015]] ===
 +
 
 +
CmpE146:
 +
* [[F15: Autonomous Mobile]]
 +
* [[F15: Car Report]]
 +
* [[F15: Electronic Piano]]
 +
* [[F15: Doorknock over Bluetooth]]
 +
* [[F15: Smart Car]]
 +
* [[F15: Plant Control]]
 +
* [[F15: Laser Security System]]
  
 
<br/>
 
<br/>
 
<HR>
 
<HR>
 +
 +
=== [[CmpE244 Spring 2015 | Spring 2015]] ===
 +
 +
<br/>
 +
* [[S15: Quadcopter - It flies]]
 +
* [[S15: Remote Learner]]
 +
* [[S15: Protocol Interface: I2C - CAN Bridge]]
 +
* [[S15: Vision RC Car]]
 +
* [[S15: SJeight Octocopter]]
 +
* [[S15: Swarm Robots]]
 +
* [[S15: Smart Sparta Parking System]]
 +
* [[S15: Touch Navigator]]
 +
* [[S15: Wizard's Chess System]]
 +
* [[S15: Bug Rider]]
 +
* [[S15: Real Time Brake Assist (RTBA)]]
 +
* [[S15: Wireless Mesh Network]]
 +
* [[S15: Wireless Power Transfer System]]
 +
* [[S15: Drone]]
 +
* [[S15: Tree Node using Google Protocol Buffers]]
 +
* [[S15: Multi-media Car]]
 +
* [[S15: Hand Gesture Recognition using IR Sensors]]
 +
* [[S15: CAN controlled RGB LED cubes]]
 +
* [[S15: Rubik's Cube Solver]]
 +
* [[S15: RFID Security Box]]
 +
* [[S15: Automated Meeting Room Reservation]]
 +
* [[S15: Patient Buddy System (PBS)]]
 +
 +
CmpE146:
 +
* [[S15: Hovercopter]]
 +
* [[S15: Triclops: Smart RC Car]]
 +
* [[S15: Connect Four - Robotic Player]]
 +
* [[S15: Self-Balancing Robot]]
 +
* [[S15: MP3 Player with Graphic Equalizer Display]]
 +
* [[S15: Motion-Controlled RC Car]]
 +
* [[S15: MENL (Monster Encounter Night Light) ]]
 +
* [[S15: Tilt Motion Controlled LED Alarm Clock]]
 +
* [[S15: Alarm Based Coffee Maker]]
 +
 +
=== [[CmpE244 Spring 2014 | Spring 2014]] ===
 +
 +
<br/>
 +
*  Senior Project: [[Project Advising: Remote Security System]]
 +
 +
<br/>
 +
* [[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]]
 +
 +
=== [[CmpE240 Fall 2013 | 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]]
 +
 +
=== [[CmpE146 Spring 2013 | Spring 2013]] ===
 +
 +
* [[S13: 2D Plotter]]
 +
* [[S13: Smart Cube]]
 +
* [[S13: Garage Parking Aid]]
 +
* [[S13: Smart Security]]
 +
* [[S13: Door Alarm System]]
 +
* [[S13: Solar Panel Tracker]]
 +
 
=== [[CmpE146 Fall 2012|Fall 2012]] ===
 
=== [[CmpE146 Fall 2012|Fall 2012]] ===
The class size increased to 27 students this semester; a record that broke a record set by the previous semester.
+
 
 +
* [[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]]
  
 
=== [[CmpE146 Spring 2012|Spring 2012]] ===
 
=== [[CmpE146 Spring 2012|Spring 2012]] ===
Line 31: Line 314:
  
 
<br/>
 
<br/>
 +
 
== Handy References ==
 
== Handy References ==
 
*  [[Sample Project Report]]
 
*  [[Sample Project Report]]
*  [[Media:CmpE146RefFiles_StackAndHeap.pdf|Stack Heap Walkthrough]]
+
*  [[Project Proposal Guidelines]]
 
+
*  [[CmpE146 Lab. Resources]]
=== Lab Resources ===
 
*  [[Bitmasking Tutorial]]
 
*  [[ FreeRTOS Tutorial | '''FreeRTOS Tutorial''']]
 
*  [[Sample Code | Source code of helpful stuff]]
 
*  [[Handles Tutorial | What's all this HANDLES stuff?]]
 
*  [[SPI Tips & Tricks]]
 
*  [[I2C Tips & Tricks]]
 

Latest revision as of 05:12, 17 October 2022

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.

Class Project

Other reference articles


Senior Design Projects


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:

Here is another resource for good project references : Cornell EE476 Projects



Appendix

Fall 2022

Fall 2021

Fall 2020

Fall 2019

Fall 2018


Spring 2018

Spring 2017


Fall 2016

CMPE146:

Spring 2016


Cmpe 146:



Fall 2015

CmpE146:



Spring 2015


CmpE146:

Spring 2014



CmpE146

Fall 2013

Spring 2013

Fall 2012

Spring 2012


Handy References