Back to search

San Jose State University

Hard Real-time Linux on a Raspberry Pi for 3D Printing

Abstract

dc:description.abstract

The project presents how a Raspberry Pi with hard real-time enabled Linux can control stepper motors to operate the kinematics of a 3D (three-dimensional) printer. The consistent performance of the Raspberry Pi with the PREEMPT-RT (real-time) patch can satisfy real hard-time requirements for 3D printing kinematics, without introducing dedicated microcontrollers. The Klipper 3D printer firmware enables one of the Raspberry Pi processors to act as the Klipper MCU, the primary controller for the hardware components. This project introduces a software implementation of the control logic for controlling the stepper motors, which utilizes the PCA9685 pwm driver and TB6612 motor drivers from Adafruit DC & Stepper Motor Pi HATs (hardware attached on top). This initial investigation shows that the Raspberry Pi itself can perform as a 3D printer satisfactorily and readily utilize Linux software.

Degree

thesis:*
Name thesis:degree_name
Master of Science (MS)
Discipline thesis:degree_discipline
Computer Science

Author and committee

dc:creator, dc:contributor.*
Author dc:creator
  • Nguyen, Alvin
Contributors dc:contributor
  • Ben Reed
  • Fabio Di Troia
  • Robert Chun

Subjects

dc:subject × 7

Identifiers

dc:identifier.*

Chain of custody

source
Harvested from
San Jose State University
Base URL
scholarworks.sjsu.edu/do/oai/
Last updated
2026-11-26
Source record
OAI-PMH GetRecord
citation

Nguyen, Alvin. Hard Real-time Linux on a Raspberry Pi for 3D Printing. https://doi.org/10.31979/etd.68zc-s4dq