My Home-Made Automatic Turntable Communicates With My Computer

My Home-Made Automatic Turntable Communicates With My Computer

Introduction to the Statomatic STM01 Turntable

Overview of the Project

  • The speaker introduces their project, an automatic turntable named Statomatic STM01, showcasing its ability to receive commands from a computer.
  • Previous episodes covered the requirements for the turntable, electronics development, and tone arm completion; it currently plays records using another turntable.

Upcoming Features

  • The speaker aims to implement azimuth movement (left and right motion of the tone arm), but prioritizes error statuses and command inputs first for easier troubleshooting.
  • Implementing error statuses will simplify future adjustments related to azimuth movement.

Status LEDs Implementation

Importance of Status Indicators

  • A group of status LEDs will inform users about various operational states such as selected speed and movement status.
  • To manage multiple outputs efficiently, an MCP23017 shift register is utilized, saving 14 microcontroller pins while controlling several LED indicators.

Code Development for Shift Register

Prototyping with LEDs

  • The code for utilizing the shift register is straightforward due to Arduino's wire library handling I2C data transmission; successful prototyping was done on a breadboard with colored LEDs.
  • Connectors were added to facilitate communication between the breadboard setup and user interface components.

Enhancements in User Interaction

Button Design Improvements

  • Buttons were upgraded from small breadboard types to Cherry MX blue key switches for better usability and tactile feedback during operation.

Error Handling Mechanisms

Addressing Potential Issues

  • The speaker discusses potential errors during operation, such as when the tone arm gets stuck during automatic homing routines.
  • Fully mechanical turntables may continue operating despite obstructions, risking damage; digital systems can halt operations upon detecting issues.

Utilizing Sensors for Safety

Position Monitoring with Potentiometers

  • A slide potentiometer measures lift position during operation; if it fails to reach its target value due to obstruction, an encoder stops further movement.

Error State Indication

Visual Feedback on Errors

  • When an error occurs, power LED blinks while error codes are displayed using size and speed LEDs in binary format for easy reference by users.

External Command Capabilities

Modular Functionality Expansion

  • Future plans include enabling external commands via modules like record changers or additional tone arms, enhancing versatility beyond a standalone unit.

Serial Communication Structure

Command Processing Flow

  • The system will read serial input through multiple ports (five plus USB), checking data availability before executing commands based on compatibility checks.

Coding Progress Update

Testing Serial Commands

  • The speaker demonstrates sending commands via serial monitor; initial tests confirm successful reception of pause/unpause commands sent remotely from a computer.

Developing User-Friendly Software

Windows Application Creation

  • A C# application was developed to streamline command sending/receiving processes instead of manual terminal entries; connection testing confirms functionality with COM ports.

Detailed Error Reporting

Logging System Functionality

  • When errors occur (e.g., locked tone arm), detailed logs provide insights into failures allowing users to trace back actions leading up to issues encountered.

Future Directions

Long-Term Goals

  • While current testing relies on computer connections for logging purposes , future iterations aim for autonomous functionality without constant computer dependency .

Turn any video into a summary like this

YouTube links, meetings, lectures. With transcripts, search, and chat.

Video description

Today, I'm working on my home-made, fully-automatic turntable again. I really want to finalize automatic movement, but before that, I think it'd make things a lot easier if I could read a little more into what the turntable's thinking. And so, that's what we will do! Feel free to join me as I get output statuses, error handling, and external commands going! This project is fully open source, if anyone is curious to peek at the diagrams/code: https://github.com/pdnelson/Automatic-Turntable-STM-01 The testing software I wrote for it is also fully open source: https://github.com/pdnelson/STM-Turntable-Testing-Suite Chapters: 00:00 Exposition 01:34 Output Statuses 03:11 Error Handling 05:48 What Are External Commands? 07:38 Will the Code Work? 09:52 Intro to the Testing Suite 14:33 Closing Thoughts and Future Plans