W10 -Output Devices

Assignment items

Group assignment

Individual assignment

Tools

The process

Group assignment


HTTP link
01| Group assignment was conducted in Vujade Lan in Riyad and I joined the team online
HTTP link
02| My Colleuge Sarah AlDosary Has documneted the full process in details, I will cover some highlights in my page.
Interesting
  • Feedback: even though I don't much enjoy joining the lab virtualy, It is the only option I have in this phase. I alway was controlling digital signals controling outputs, its' the first time to know how it really work.
  • Challenge: Getting Oscilloscope for our lab in Kuwait


Individual assignment:


01: Add a sensor to a microcontroller board that you have designed and read it


HTTP link

01 | I stratedthis task by making sure I define PWM pins on ESP32 C3 Supper mini using the help of AL Gemeni

HTTP link

02 | I chose the viration motor as the out put forthis assignment as it will be also used in my final oproject

HTTP link

03 | With the help of Al Gemeni I definedthe parts I need to creare the drive for the motor and how to connect it to ESP32 C3 Suppermini

HTTP link

04| I downloaded the symbol and footprint of the Transestor 2N222

HTTP link

05 | As well als the diod 1N40001 that will control the current before it leaves the moter

HTTP link

06 | Aon KiCAD schematocs editor I added the parts (Transestor, Diod, 1K resestor, hairpin) → connected the parts as defined from AI Gemeni → Then looked for errors in Design Rules Checker

HTTP link

07 | and connected this output drive to the rest of my PCB design

HTTP link

08 | then I updated the PCB Editor to add the new part

HTTP link

09 | Then I noticed that the Diod Cathod was connected in the wrong way

HTTP link

10| I flipped it in the Schematic designer first

HTTP link

11 | then I updated the PCB Editor again

HTTP link

12 | I found the the current layout will not be sutable and I hasd to rearrange everything

HTTP link

13 | Rechecking the connection with the help of Gemeni

HTTP link

14| Rewired all the pins from the input and the output

HTTP link

15 | Redesigns the routes on the PCB

HTTP link

16 | Designs an additional PCB for the Vibrator Motor drive and made the routes 1mm thik as I wasnted to design this drive using Vynil cutter

HTTP link

17 | I connnected all the parts to breadboard

HTTP link

18 | I used generated by Gemeni AI to test the Vibration power, speed and duration following this workflow: Open Arduino IDE → select the ESP32 C3 library → copy past the code → verify the code → updload to microcontroller → check if it need "Press reset button"


					
const int motorPin = 10; // Connect to the 1k resistor -> Transistor Base

void setup() {
  pinMode(motorPin, OUTPUT);
}

void loop() {
  // Gentle pulse
  analogWrite(motorPin, 150); // 0-255 scale
  delay(500);
  
  // Hard pulse
  analogWrite(motorPin, 255); 
  delay(500);
  
  digitalWrite(motorPin, LOW);
  delay(2000);
}				
					
					
					

HTTP link

19 | It was working, I changed the values and saw how the vibration was changes

HTTP link

20 | I imported the SVG file of PCB I designed in the SignMaster Pro to use the SkyCutter and followed the following workflow: placed the copper tap on a hard 3D printed flat plate → tapped the plat on the cutting mat → fixed the setting of the cutter to lowest speed and loswest force

HTTP link

21 | Once it was completed, I removed the unwanted parts and left the curcit to solder the parts to it

HTTP link

23 | Then I startedthe soldering workflow : The Solder tempreture was on 300 degrees culcies → put some past on the solder → made two soldering spots on the circit → then tried t connect the risitors as the firts part

HTTP link

24 | but the copper routs was removed with the solder :)))))

What an Achievment!!
  • Feedback: Once I reached this far in this assignmnet, I remembered what Reco said in the orientation "You will reach a point of time and feel that you have supper powers to create anything you want" band this is how I felt after this assignment.
  • Challenge: I will try to try a gain.. and still need more time to learn on using MOD, I saw how it was used in the Global hourse time last Saturday and im very interested to learn using it. time is always my bggest challange.