Introduction
This is a portfolio containing documentation, homework, and lab reports accumulated from ME 305: Introduction to Mechatronics course, Fall Quarter 2021. At the bottom of this portfolio, you can find links to the source code and documentation for each lab file.
To view source code for the entire quarter, click here.
Encoder Driver
An encoder driver for reading from Quadrature Encoders.This file interacts with the Nucleo board by recording and updating position and delta of the encoder.
Please click here to view file documentation.
Motor Driver
A motor driver for the DRV8847 from Texas Instruments.
Please click here to view file documentation.
Closed Loop Driver
A controller driver that uses a closed loop control system to modify motor speed.
Please click here to view file documentation.
IMU Driver
An orientation sensor driver for the BNO055 from Bosch Sensortec.
Please click here to view file documentation.
Touch Panel Driver
A hardware driver to interface resistive touch panels with the STM32 microcontroller.
Please click here to view file documentation.
Encoder Task
This task creates variables for encoder driver functions and parameters.
Please click here to view file documentation.
Motor Task
This task is reponsible for motor control.
Please click here to view file documentation.
User Interface Task
This task interacts between the user and other tasks to perform actions or obtain collected data.
Please click here to view file documentation.
IMU Task
This task implements a finite state machine that interacts with IMU driver.
Please click here to view file documentation.
Touch Panel Task
This task is responsible for interfacing with the touch panel using the panel object.
Please click here to view file documentation.
All labs starting from Lab 2 use the following shares file: shares.py
Lab 0x00
Source Code: Click Here
Main File:
main
Lab 0x01
Source Code: Click Here
Main File:
main
Lab 0x02
Source Code: Click Here
Main File:
main
Driver Files:
Encoder
Task Files:
Task Encoder
Task User Interface
Lab 0x03
Source Code: Click Here
Main File:
main
Driver Files:
Encoder
DRV8847
Task Files:
Task Encoder
Task Motor
Task User Interface
Lab 0x04
Source Code: Click Here
Main File:
main
Driver Files:
Encoder
DRV8847
Controller
Task Files:
Task Encoder
Task Motor
Task User Interface
Lab 0x05
Source Code: Click Here
Driver File:
BNO055
Lab 0x0FF
Source Code: Click Here
Main File:
main
Driver Files:
DRV8847
Controller
Touch Panel
IMU
Task Files:
Task Motor
Task User Interface
Task IMU
Task Touch Panel