CSCI 373/EGM 360 Mechatronics Design

This Week Schedule Grading Resources

TEXT
No textbook but purchase the class kit from the bookstore.

Reference book: Physical Computing
 
TIME AND PLACE
T 6-8:30PM
RRO 210
INSTRUCTORS
J. Dean Brock
RRO 221A
TBD
828.251.6446
brock at unca.edu
 
Rebecca Bruce
RRO 220
M,W,F: 1-2pm
828.251.6446
rbruce at unca.edu
 
 

DESCRIPTION
In this course, students will become familiar with Embedded Robotics with an objective of competing in the IEEE Southeastcon Robotics Competition. Students will learn programming of embedded controllers (Arduino and Raspberry Pi), interfacing of sensors (inertial measurement unit, light & color, and color video camera), the actuation of servo motors, serial communications (I2C and xBee), and the control of autonomous robotics systems.

Student will program in both the Arduino and Linux environment, and practice lower-level programming using the C language. Concepts and methodologies will be demonstrated in class with sample code and the students will expand on these further during in class exercises.

Upon completion of this course, students will have an integrated hardware/software understanding of embedded robotic systems in preparation for competition in the IEEE Southeastcon Robotics Competition.

LEARNING OBJECTIVES

  1. Develop problem-solving skills including quantitative reasoning and critical thinking by developing microcontroller algorithms.
  2. Understanding the design and use of an Inertial Measurement Unit (IMU) sensor for robot navigation.
  3. Understanding the design and use of a color camera for robot navigation.
  4. Understand and use the I2C and xBee communication protocols.
  5. Understand and use microcontroller digital and analogue I/O.
  6. Configure and program a Arduino.
  7. Configure and program a Raspberry Pi in C.
  8. Understand and apply the principles of project management.
  9. Understand the basic principles of robot locomotion including gear ratios, DC motors and servos.
  10. Understand the design and control of electro-mechanical systems.

ATTENDANCE POLICY
Students are expected to attend all class meetings. Failure to do so will impact your class exercise grade and will be considered a lack of interest in success on the part of the student. Students are responsible for completeing all work missed due to class absense on their own.

1 HR.VS 3 HR CLASS STRUCTURE
Students taking this course for three credit hours will meet every week and will have homework assignments throughout the semester. They will also be responsible for material not presented to students taking the course for 1 credit hr. This material includes sensor data processing and display, development of a web server, and image processing.

Students taking this course for one credit hour will not meet every week as shown in the syllabus below. They will not have homework assignments except assignments given in place of class. The time required for each such homework will not exceed the time of a class.

CLASS PHILOSOPHY
We believe that it is essential to play with technology, exploring different possiblities directly in hardware and software. We believe that exploration should be self-guided to the largest extent possible. Creativity is fostered by self-guided exploration. In order to incourage creativity, this class strives to offer the nine dimensions of a climate for innovation (Prather, C. W., 1996).

Tentative Course Schedule

This course syllabus is a general plan for the course; deviations announced to the class by the instructors may be necessary.

08/20/13
Lecture: Intro to Class & Competition
Exercise: Design for competition
HW (3 Cr. Hr. Students Only): Basic EE
08/27/13
Lecture: Arduino
Exercise: See lecture slides
HW (3 Cr. Hr. Students Only): Serial Communication
09/03/13
Lecture: Motors, servos & line following
Exercise: see lecture slides
HW (3 Cr. Hr. Students Only): Line Following
09/10/13
Lecture: xBee communication & SD card setup
Exercise: see lecture notes
HW (3 Cr. Hr. Students Only): see your email
09/17/13
Lecture: Raspberry Pi & Solder T-cobbler
Exercise: see lecture notes
HW (3 Cr. Hr. Students Only): TBA
09/24/13
Lecture: Serial Connection Revisited & Networking
Exercise: see lecture notes
HW (3 Cr. Hr. Students Only): TBA
10/01/13
Lecture: Raspberry Pi GPIO
Exercise: see lecture slides
HW (3 Cr. Hr. Students Only): Implementing PWM
HW (All Students): Solder the Pins on your IMU
10/08/13
Lecture: Fall Break
Exercise: Fall Break
10/15/13
Lecture: I2C & IMU
Exercise: see lecture slides
HW (3 Cr. Hr. Students Only): A new OS
10/22/13
Lecture: Project Management
Exercise: project work
HW (All Students): see lecture slides
10/29/13: 3 Cr. Hr. Students Only
Lecture: IMU Guidance
Exercise: See lecture slides
HW (3 Cr. Hr. Students Only): IMU Guidance
11/05/13
Lecture: New OS Image on Google Drive: 8GB_Raspian_17OCT13_CSCI.zip,
purchasing procedure, Can you connect to your Pi?, and Team Reports
Exercise: Team Reports (worth 10 pts)
HW (All Students): project work
11/12/13: 3 Cr. Hr. Students Only
Lecture: networking
Exercise: see notes
HW (3 Cr. Hr. Students Only): none
11/19/13
Lecture: Team Reports
Exercise: Team reports (worth 30 pts):
    Navigation Report, DriveTrain Report, Targetting Report
HW (All Students): project work
HW (3 Cr. Hr. Students Only): Install openFramesworks on your Pi prior to 11/26
11/26/13: 3 Cr. Hr. Students Only
Lecture: Camera & Image Processing
Exercise: see notes
HW (3 Cr. Hr. Students Only): none
11/29/13
Lecture: No Class; open lab
Exercise: N/A
HW: N/A
12/03/13
FINAL EXAM: Design Presentations & Ethics Essay (worth 60 pts)
    Navigation Report, Firing Report, Targetting Report,
    DriveTrain Report, System Integration Report

Grading

The number of assignments and exercises are approximate; deviations announced to the class by the instructors may be necessary.

Description Number Individual Points Net Points
Homework (3 Cr. Hr. Students Only) approx. 10 10/assignment approx. 100
Class Exercises approx. 10 10/exercise approx. 100
Connection to the Raspberry Pi 1 100 100
Project
1 100 100
Totals 400 pts (3 Cr. Hr.)
300 pts (1 Cr. Hr.)

Class exercises will be graded on the +/ok/- scale, where + indicates excellent, ok indicates satisfactory, and - indicates needs improvement.



Aug 13, 2013