{"id":{"repo_id":"sjsu","oai_identifier":"oai:scholarworks.sjsu.edu:etd_projects-2077"},"canonical_url":"https://search.ndltd.org/etd/sjsu/oai:scholarworks.sjsu.edu:etd_projects-2077","repository":{"repo_id":"sjsu","name":"San Jose State University","base_url":"https://scholarworks.sjsu.edu/do/oai/"},"display":{"title":"Hard Real-time Linux on a Raspberry Pi for 3D Printing","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.","abstract_html":"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 &amp; 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.","abstract_has_math":false,"creators":["Nguyen, Alvin"],"institution":null,"degree_name":"Master of Science (MS)","degree_level":null,"degree_discipline":"Computer Science","degree_department":null,"school":null,"contributors":["Ben Reed","Fabio Di Troia","Robert Chun"],"advisors":[],"committee_chairs":[],"committee_members":[],"year":null,"date_issued":"","date_published":null,"updated_at":"2026-11-26T14:01:15Z","subjects":["Raspberry Pi","Hard Real-Time Linux","3D Printer","Kinematics","Klipper","OS and Networks","Systems Architecture"],"languages":[],"rights":[],"rights_urls":[],"identifier_entries":[{"key":"dc:identifier","label":"Identifier","values":["https://scholarworks.sjsu.edu/etd_projects/1077"],"render_values":[{"text":"https://scholarworks.sjsu.edu/etd_projects/1077","href":"https://scholarworks.sjsu.edu/etd_projects/1077","code":true}]}],"person_identifier_entries":[]},"links":{"outbound_url":"https://doi.org/10.31979/etd.68zc-s4dq","outbound_label":"DOI","outbound_source":"dc:identifier","record_url":"https://doi.org/10.31979/etd.68zc-s4dq","record_label":"Repository record","record_kind":"doi","record_source":"dc:identifier","access_status":null,"embargo_until":null,"access_note":null},"oai_pmh_record":{"url":"https://union.ndltd.org/oai-pmh/?verb=GetRecord&metadataPrefix=oai_dc&identifier=oai%3Aunion.ndltd.org%3Arepo%3Asjsu%3Aoai%3Ascholarworks.sjsu.edu%3Aetd_projects-2077","prefix":"oai_dc"},"source_record":{"url":"https://scholarworks.sjsu.edu/do/oai/?verb=GetRecord&metadataPrefix=oai_etdms&identifier=oai%3Ascholarworks.sjsu.edu%3Aetd_projects-2077","prefix":"oai_etdms"},"metadata_groups":[{"id":"people","label":"People","entries":[{"key":"dc:contributor","label":"Contributor","values":["Ben Reed","Fabio Di Troia","Robert Chun"]},{"key":"dc:creator","label":"Author","values":["Nguyen, Alvin"]}]},{"id":"academic_context","label":"Academic Context","entries":[{"key":"dc:date.available","label":"Dc Date Available","values":["2022-05-19T07:00:00Z"]},{"key":"dc:date.created","label":"Dc Date Created","values":["2022-01-01T08:00:00Z"]},{"key":"dc:type","label":"Dc Type","values":["Master's Project"]},{"key":"thesis:degree_discipline","label":"Discipline","values":["Computer Science"]},{"key":"thesis:degree_name","label":"Degree Name","values":["Master of Science (MS)"]}]},{"id":"subjects_keywords","label":"Subjects and Keywords","entries":[{"key":"dc:subject","label":"Dc Subject","values":["Raspberry Pi","Hard Real-Time Linux","3D Printer","Kinematics","Klipper","OS and Networks","Systems Architecture"]}]},{"id":"identifiers","label":"Identifiers","entries":[{"key":"dc:identifier","label":"Identifier","values":["https://doi.org/10.31979/etd.68zc-s4dq","https://scholarworks.sjsu.edu/etd_projects/1077"]}]},{"id":"additional","label":"Additional Metadata","entries":[{"key":"dc:description.abstract","label":"Abstract","values":["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."]},{"key":"dc:title","label":"Title","values":["Hard Real-time Linux on a Raspberry Pi for 3D Printing"]}]}],"canonical_facts":{"dc:contributor":["Ben Reed","Fabio Di Troia","Robert Chun"],"dc:creator":["Nguyen, Alvin"],"dc:date.available":["2022-05-19T07:00:00Z"],"dc:date.created":["2022-01-01T08:00:00Z"],"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."],"dc:identifier":["https://doi.org/10.31979/etd.68zc-s4dq","https://scholarworks.sjsu.edu/etd_projects/1077"],"dc:subject":["Raspberry Pi","Hard Real-Time Linux","3D Printer","Kinematics","Klipper","OS and Networks","Systems Architecture"],"dc:title":["Hard Real-time Linux on a Raspberry Pi for 3D Printing"],"dc:type":["Master's Project"],"thesis:degree_discipline":["Computer Science"],"thesis:degree_name":["Master of Science (MS)"]},"updated_at":"2026-11-26T14:01:15Z"}