System Integration

Assignment:

  • Design and document the system integration for your final project

#.Assignment:

System Integration Documentation: Linear Autofeeder Project

For my final project, I set out to design and document the system integration of a Linear Autofeeder. The goal was to create a feeder that moves along a rail, stops at intervals to dispense food, and continues its path, repeating the process automatically based on user input.

1. MY Approach

I broke the project down into three main parts to simplify development and ensure successful integration:

  • Electronics: Power and control the system with necessary sensors and actuators.
  • Mechanical: Provide structure, movement capability, and a reliable feeding mechanism.
  • Programming: Orchestrate the system logic control motion, feeding cycles, and user interaction.

Project Goals

  • Build a reliable system that moves accurately along a rail.
  • Add a controlled food dispensing mechanism using an auger.
  • Include a simple interface (rotary encoder + LCD) for manual adjustments.
  • Ensure smooth communication between all components.

2. System Overview

The system is divided into three main parts:

  1. Electronics
    • Microcontroller (XIAO ESP32C3): The brain of the system, handling all decisions and communication.
    • Stepper Motors (NEMA 17):
      • Motor 1: Moves the feeder along the rail.
      • Motor 2: Turns the auger to dispense food.
    • Motor Drivers (TB6600): Help the microcontroller control the motors with precision.
    • Sensors & Interfaces:
      • Limit Switch: Stops the system at the end of the rail.
      • Rotary Encoder: Lets users change settings easily.
      • 20×4 LCD Display: Shows status and settings.
    • Power Regulation:
      • AMS1117 Regulators: Keep voltages stable and safe for components.
  2. Mechanical Components
    • Rail & Carriage:
      • Aluminum Rail: Provides a stable path for movement.
      • 3D-Printed Carriage: Carries the feeder mechanism.
    • Feeding Mechanism:
      • Hopper: Holds the food before it's dispensed.
      • Auger (3D-Printed): Rotates to release food in measured portions.
    • Enclosure: Keeps everything protected and organized.
  3. Firmware (Software)
    • Motor Movement:
      • Tracks steps for precise motion.
    • User Interface:
      • Rotary encoder input is handled using interrupts for a fast response.
      • A menu appears on the LCD for setting feed intervals and speed.
    • Safety Features:
      • Software endstops to avoid going past the track.
      • Emergency stop using the encoder button.

3. Designs of the project

A. Electronics

image

image

image

B. Mechanical Components

image

image

image

C. Firmware (Software)

image

image

image