From eb93121daab94bb35f0ff29e38fa1a4b4256abaa Mon Sep 17 00:00:00 2001 From: danjstone <dan@909street.com> Date: Wed, 29 Mar 2023 06:36:43 -0400 Subject: [PATCH] typos --- docs/assignments/week10.md | 35 ++++++++++++++++++----------------- 1 file changed, 18 insertions(+), 17 deletions(-) diff --git a/docs/assignments/week10.md b/docs/assignments/week10.md index 42881b1..c089218 100644 --- a/docs/assignments/week10.md +++ b/docs/assignments/week10.md @@ -45,13 +45,13 @@ Add an output device to a microcontroller board you’ve designed and program it ## ESP32 servo set up/test My final project is a vegetable washing machine. It may be useful to lock the lid of the so that -a user does not open it and get all when or get injured by stick his hand into the mechnizem +a user does not open it and get all when or get injured by stick his hand into the mechanism while it is spinning. To do this I plan to use a servo motor and so I for this week I will start but have a button turn the servo 90 degrees to "lock" and another press will "unlock" -I start off by using my ESP32C3 control board i desigend last week. You can find [here](https://fabacademy.org/2023/labs/charlotte/students/dan-stone/assignments/week09/#assembly) +I start off by using my ESP32C3 control board i designed last week. You can find [here](https://fabacademy.org/2023/labs/charlotte/students/dan-stone/assignments/week09/#assembly) So I started off my work on my code and found out the that library for the servo on the ESP32C3 is different so I installed ServoESP32 library @@ -89,7 +89,7 @@ void loop() { }} ``` -I then hooked up the servo motor to my control board to test the code +I hooked up the servo motor to my control board to test the code  @@ -105,7 +105,7 @@ And we have success Now I wanted to make a sub board that will have a button, LED to show that the door is locking an provide power to the servo -Here is my schmatic +Here is my schematic  @@ -128,7 +128,7 @@ using a 0.8 mm endmill bit on the Genmitsu 3020-pro-max Simulation looks good ... time to mill - + ## Milling servo board @@ -144,16 +144,16 @@ Looks good on the Candle SW used to control the milling machine I set up the board and got the X,Y,Z zeroed -And we have a board I can start studding and soldering +And we have a board I can start stuffing and soldering  -I started soldering but after getting the 2 resistor and LED in place I noticed that -I pulled out the 330K resistors instead of the 330 by mistake +I started soldering but after getting the 2 resistors and LEDs in place I noticed that +I was using a 330K resistors instead of the 330 by mistake  -As i strated to remove the resistor I stripped the board.... +As i started to remove the resistor I stripped the board....  @@ -164,7 +164,7 @@ Milling machine was ready to go and 15min later I have a new board This time I take extra time to make sure I have everything in the right place and stuff and solder the board. -I also did not have enough connectors for both boards and so decided to use wires right off the board +I also did not have enough connectors for both boards and so i had to use wires right off the board  @@ -173,7 +173,7 @@ I also did not have enough connectors for both boards and so decided to use wire ## Coding the servo -I am not sure about the mechanical lock and so for now I will just move the servo back and forth everytime +I am not sure about the mechanical lock set up and so for now I will just move the servo back and forth everytime I push the button. I use the following code ```c @@ -231,10 +231,11 @@ And we have success!!! -## Spinning Motor set up - I believe this is all that was needed for this week but I also wanted to take a crack at the spinning motor. + +## Spinning Motor set up + For my vegetable washing machine I purchased 3 parts: 1. 12-24V power supply @@ -260,9 +261,9 @@ the middle wire voltage change based on the potentiometer position ranging from I was not sure how to approach this, my initial plan was to use 2 resistors and some relays to switch between -2 speeds. After reviewing Dr. Gershenfeld class and reflecting on the transisotr discussion I came up with the -idea of used a transistor to replace the potentiameter and a capacitor to smooth out the control signle from the -micro controller. +2 speeds. After reviewing Dr. Gershenfeld class and reflecting on the transistor discussion I came up with the +idea of used a transistor to replace the potentiometer and a capacitor to smooth out the control signal from the +microcontroller. I ran this by our local instructor Mr. Dubick and my classmate Adam Durrett that have strong electronics background and they agreed it should work!!! @@ -344,7 +345,7 @@ And we are ready to test  -After stripping the connteros on a number of boards and after rethinking the machine design I decided the break this board into +After stripping the connectors on a number of boards and after rethinking the machine design I decided the break this board into 2 one for the motor and one for the pump. I also increased the side of my traces to 30mil and replace the pad for my connector with A better connector from -- GitLab