Team Vision for Detailed Design Phase
Summarize:
- What did your team plan to do during this phase?
- Finalized design of system
- Finalized bill of materials
- User interface components ordered
- Test Plans written
- What did your team actually accomplish during this phase?
- Developed more complete design of system
- Ordered components for user interface, control, and motor subsystems
- Wrote test plans for user interface subsystem
User Interface Subsystem
Microcontroller Configuration
2 microcontrollers (1 for student input, 1 for teacher input and device)
- Student Input
- Arduino
- Need Bluetooth
- Low power
- Teacher Input and device
Need bluetooth
Need screen output
Need many pins
Raspberry pi
Team decided to plan on using 2 microcontrollers
Determination of Programming language
Python was chosen as the programming language for the teacher input as it is the most familiar and would be the easiest to work with.
C was chosen as the programming language for the student input as it can run on arduinos and teensys and allows for low power and fast execution.
Design of Teacher Input Screen
The teacher input screen was designed to allow the teacher to be able to remotely control the device along with the student, stop the student from being able to control the device if necessary, input the size of drawing area, and select tools for drawing. The design can be seen below:
Python code was written to emulate the design of the teacher input screen shown above. The teacher input user interface designed in Python can be seen below:
Student Input Parts
Buttons:
- Ablenet( https://www.ablenetinc.com/switches/)
- Jelly Bean
- $65.00
- 2.5" diameter
- Removable cover
- 3.5mm barrel connector
- Big Buddy Button
- $65.00
- 4.5" diameter
- Smooth top
- 3.5mm barrel connector
- Jelly Bean
Joystick
- Adafruit small arcade joystick
- https://www.adafruit.com/product/480
- $14.95
- 8 direction
- 4 switch output
- Top can be removed
Microcontroller
- Arduino Nano 33 IoT
- Has Bluetooth and Bluetooth low energy connectivity
- Input voltage of 3.3V
- 14 pins
- Jameco ($19.95)
Student Input Options
The wheelchair table is 24" wide and 12" deep.
Using Big Buddy Buttons the buttons would have to be close together but would have a large area to hit.
Using Jelly Bean buttons the buttons could be spread further apart but would have a smaller area to hit.
Image | Description |
|---|---|
| Joystick and 4.5" button | |
| Joystick and 2.5" button | |
| 5 2.5" buttons | |
| 5 2.5" buttons | |
| 5 4.5" buttons | |
| 5 4.5" buttons |
Updated Microcontroller Benchmarking
The microcontroller benchmarking from the previous phase was trimmed down to focus on the most important features to better facilitate choosing which microcontroller to control each of the subsystems. The main features being looked into were Bluetooth connectivity, low power, high number of I/O pins, and a display port.
| Arduino Nano | Raspberry pi 4B | |
| Size | 45mm x 18 mm | 85.60mm x 56mm |
| Weight | 5g | 45g |
| Price | $18.40 | $35.00 |
| Input Pins | 14 digital I/O, 8 Analog | 40 pin GPIO header |
| Output pins | 14 digital I/O, 1 Analog | 40 pin GPIO header |
| Programming Language | Arduino C | C, C++, Python, etc |
| Power | 3.3V, 7mA per I/O pin | 5V DC via USB-C connector/GPIO header (min 3A) |
| Clock speed | 48MHz | 1.5MHz |
| Ports | 1 UART, 1 USB port | USB-C, 2 USB 2.0, 2 USB 3.0 ports, 2 Micro HDMI Ports |
| Comments | Cheap. Few I/O ports. Has Bluetooth connectivity | Relatively slow. Comes with Python (convenient). Has Bluetooth connectivity. HDMI ports included (for display). Heaviest |
| Link | Arduino Nano | Raspberry Pi 4B |
Block Diagram of User Interface
Motor Subsystem
Initial Motor Specification Requirements
Requirement | Value |
Load Weight | 1N (0.225 lbs) |
Max Speed | 0.305 m/s (12” /s) |
Acceleration | 10 (393.701”/) |
Power | 0.305W |
Diameter | 0.01m (0.394”) |
Torque | 0.005Nm |
Weight | 200g |
| Volts | 12v |
| Torque | 200 oz-in |
| Link | https://www.robotshop.com/en/sparkfun-stepper-motor-with-cable.html |
| Accuracy | 0.9° |
Control Subsystem
Benchmark stepper drivers
| Name | MOTORplate |
| Price | $35.99 |
| Motors supported | 2 steppers |
| Amp range | 1.2A(avg), 3.2A(peak) |
| Size | |
| Microsteps | Up to 1/8 |
| Notes | Also has inputs for switches, connects directly to raspberry pi |
| Link | https://www.sparkfun.com/products/14149 |
Control Subsystem schematic
Power Subsystem
Updated Power Subsystem Block Diagram
Updates:
- AC/DC Converter selected with output of 5V and 12V. The 5V output will be easier to step down to 3V for the motors.
- A linear regulator is used instead of the dc/dc converter for the motor voltage to ensure 3V is provided.
- The servos for the gripper and z-axis are given 7.4V. The input range on the servo is 4.8V to 8.4V. The input voltage will be determined with testing. An adjustable buck dc-dc converter is used to adjust the voltage.
- The Arduino Nano will be powered by a lithium ion power bank.
- The power bank can be recharged through a wall adapter and USB cable.
- This solution allows for easy charging and replacement of the power bank if needed.
Finalized Power BOM
| Description | Part |
|---|---|
| AC/DC Power Supply | Dual Output Enclosed Power Supply 5V 8A and 12V 4A 66W (link) |
| AC/DC Power Cord | CORD 18AWG 5-15P - 320-C13 6.56' (link) |
| Motor Linear Regulator | IC REG LINEAR 3V 1.5A 8HTSOP (link) |
| Servo Linear Regulator | Adjustable DC-DC Buck Converter |
| Raspberry Pi Power Supply | Official Raspberry Pi Power Supply (link) |
| Arduino Nano Battery | 5V USB Li-Ion Power Bank |
| Arduino Nano Battery Charger | USB Cable and Wall Adapter |
| Power Strip | CRAFTSMAN Magnetic Power Strip with 6 Power and 2 USB Outlets (link) |
Gripper Subsystem
Extra jaws were added to further support the tool and standoffs were added to space the jaws out from one another. Servo model and gears have been updated to specs from off the shelf components. Hardware has been added.
Belt Subsystem
The belt system was updated to include 2 belts to move the gripper and slide assembly.
New Parts Needed:
| Parts for Additional Belt | |||||
|---|---|---|---|---|---|
| Part | QTY | Unit Cost | Total Cost | Vendor | Link |
Coupling | 1 | $25.45 | $25.45 | Mcmaster | https://www.mcmaster.com/61005K1/ |
| Bar | 1 | $43.01 | $43.01 | Mcmaster | https://www.mcmaster.com/1265K47/ |
| Pinion Pulley | 2 | $7.19 | $14.38 | Servocity | https://www.servocity.com/0-250-15-tooth-pinion-pulley/ |
| Short Belt | 1 | $11.42 | $11.42 | Mcmaster | https://www.mcmaster.com/6484K445/ |
| Bearing and Mount | 1 | $12.99 | $12.99 | Servocity | https://www.servocity.com/lightweight-linear-actuator-mounting-bracket/ |
Mechanical Subsystem
Bill of Material (BOM)
Updated BOM
- Need more materials than originally anticipated.
- Large, easily pressed buttons are more expensive than anticipated.
- We'll request a budget increase at the beginning of MSDII with our finalized BOM.
Document: here
Test Plans
Live Document: https://docs.google.com/spreadsheets/d/1_IZcNNnW0dwpgoJAZ-F0mmnLqIqh75EQA9Q7DGl4pTg/edit?usp=sharing
Test Number | Engineering Requirement | Description | Owner |
|---|---|---|---|
| U1 | Monitors supported | Determine how many screens the device can support | Andrew |
| U2 | Maximum input distance from student | Determine how far away the student input can be from the device and still receive messages | |
| U3 | Input Delay | Measure delay from pressing button to device moving | David |
| U4 | Responds to direct input | verify device moves when button pressed | David |
| U5 | Tactile Inputs | Verify feedback is given when button is pressed or joystick is moved | David |
| U6 | Power Duration | Determine how long a fully charge battery lasts for student input | |
| U7 | Can fit on wheelchair table | Verify student input along with microcontroller and battery can fit on wheelchair table | |
| M1 | Accuracy | Measure how much the motor moves with different inputs | |
| M2 | Weight capacity | Determine how much weight the motors can move | |
| P1 | Power Requirements | Verify voltage output of AC/DC converter | |
| P2 | Power Requirements | Verify voltage of Motor DC/DC converter | |
| P3 | Power Requirements | Calibrate Servo Buck DC/DC Converter |
System Design and Flowcharts/System Block Diagram
High Level System Block Diagram
Risk Management
Design Review Materials
Detailed Design Review Notes & Actions
Plans for next phase
- First 2 Weeks of MSD II
- Review and Finalized the BOM
- Order final components
- Submit Budget Increase Request
- 3D Print Gripper and Cup to test interaction
- Start Assembly
- Test the Motors
- Gather the components we need for testing
- Review and Finalized the BOM
- Individual Phase Plans























