Final Project Journal

Project Ideation

1- Tell us about the idea of your project. Why do you care about this? What were you inspired by? Include images and videos of similar projects

Making an Educational Clock for Children that Helps them Learn the Clock Quickly at an Early Age.

In one of the Previous STEM Schools Training
A friend of Mine Made an Educational watch for children in a different way
I Wanted to Modify it to be more Interactive

And I Added Different Features.


Project Construction

2- Explain the CAD process of your project. How did you use the software to design your project? (List the softwares/tools/materials...etc that you used)

Bottom

Top

Front and Back

Mid

  1. I started doing a Search for clock Designe in Website 3Axis.com until I Found the Two Designs for the outer Shape.

  2. Then I Drawing the Internal and External Structure on the Fusion 360 program.

  3. I Designing Sketch " Bottom" in Top Plane
    I Drew a Square of 200mm * 200 mm and then I drew the slots 50mm * 3 mm.

  4. I Designed Sketch " Side " with the same Dimensions in The File DXF.

  5. I Designed Sketch " Front " with the same Dimensions in The File DXF.

  6. I converted the designs into 2.5D.

  7. I repeated the front and back, bottom components.

  8. Then I Putting the Sides Together Through Jouin to Make Sure they Fit Together.

  9. I Inserted into the design The Electronic Components using the Insert command to make the installation places.

  10. I Saved the sketches files in STL format.

Design The hands ( Hour and Minute)

  1. I Designed Sketch " bottom" with the same Dimensions in The File DXF.

  2. I made an Extrude of the surface thiknes 10mm.

  3. Save the file in STL format

3- Explain the fabrication process of your project. How did you use the machine to fabricate your project? (List the softwares/tools/materials...etc that you used)

-I opened the design in CorelDraw

- All parts collected on one page

- Adjust cutting Power = 40 , Speed ​​= 8 , frequency = 500

Engraving Power = 35 , Speed ​​= 23

- The file was sent to the machine

- I put the wood board inside the machine and then set the Zero axis point

- Click on the play command in Machine

- I opened the design in Quora

- I started adjusting the settings

mm3= Layer Height quality

Infill = 15%


- I chose the slices command and then I saved the Gcode file


- I transferred the file to the device using the memory card, then I pressed the print command


Project Electronics & Power Management

4- Describe your electronic circuit. What are the input and action components? What is the function of each? How do the components integrate together to form your smart system? (List the softwares/tools/components...etc that you used)

  • I opened the tinkercad website

I choose from a list Component ( Slideswitch - 2 potentiometeres 10k ohm- Arduino uno - speaker - Buzzer - 2 PushButtones - Breadboard )

  • Connect the ends of the components using wiring

connection Arduino:

  • pushbotton Start on pin 2.

  • pushbotton Finish on pin 3.

  • Switch ON/OFFon pin 4.

  • Buzzer on pin 11.

  • potentiometer Hour on pin A0.

  • potentiometer Minute on pin A1.

  • SCL pin LCD on pins A5.

  • SDA pin LCD on pins A4.


Inputs is (pushbotton Start - pushbotton Finish -potentiometer Hour-potentiometer Minute - Switch ON/OFF )
Outputs is ( LCD - Buzzer- Speaker)



5- What is your power source? How did you select the suitable power source for your project? (List the softwares/tools/components...etc that you used)

Website tinkercad
Arduino IDE Program
USB Cable Arduino
Arduino Uno
Jumper Wires
Breadboard
2
potentiometer 2k ohm
10
Green LEDs
10 Red LEDs
20 Resistor 220 ohm
mp3 module
speaker
Buzzer

2 Push Button

SlideSwitch

The power source is a Adapter 9V

I Chose to feed Arduino, LCD Screen, and speaker

This is Because they do not Consume High Current


Project Programming

6- Describe the code of your project. How did you program each function of the project?

code:

  • I Added my Libraries at first.

  • I defined a variable

  • Then Defined all my Components and Divided them into Inputs and Outputs.

  • Slideswitch must be turned on for the device to work

  • If you Press pushbutton Start Generates a Random Number from 1 to 7

  1. If the Number is (1), the Screen Displays a Time Value of 10:15 and The Message "Move Hands&Finsh" will Appear.

  2. else If the Number is (2), the Screen Displays a Time Value of 05:00 and The Message "Move Hands&Finsh" will Appear.

  3. else If the Number is (3), the Screen Displays a Time Value of 07:20 and The Message "Move Hands&Finsh" will Appear.

  4. else If the Number is (4), the Screen Displays a Time Value of 03:30 and The Message "Move Hands&Finsh" will Appear.

  5. else If the Number is (5), the Screen Displays a Time Value of 08:10 and The Message "Move Hands&Finsh" will Appear.

  6. else If the Number is (6), the Screen Displays a Time Value of 10:15 and The Message "Move Hands&Finsh" will Appear.

  7. else If the Number is (7), the Screen Displays a Time Value of 11:05 and The Message "Move Hands&Finsh" will Appear.

if you Press Pushbutton Finish
The Previously Set Value is Compared to the New Value Read from the Potentiometer, Provided that the Same Random Number is Registered.

If the Answer is Correct, a "Winner" Message will Appear.

else If the Answer is Wrong, the Message "Loser" Appears and Buzzer Works


Project Integration & Testing

7- Demonstrate with text and visuals how did you integrate the project’s modules together? What are the testing results? (Include a Demo video separately, showing a proof of functionality)

final project.mp4

At the first time
The Time Value Appeared at 05:00
The Two Hands of the C
lock were Moved to Equal the Time Value of 05:00 and the Answer was Correct
The Message"
Winner " . Appeared on the screen.


The Second Time, The Time Value Appeared at 10:15
The Two Hands of the Clock were Moved to Equal the Time Value of 10:15 and the
Answer was Correct
The message "
Winner " . Appeared on the screen.


The Third time , Time Value of 10:15 . Appeared
The Two Hands of the watch were Moved to Equal the Time Value of 10:30, and the
Answer was Wrong
The message "
Loser" Appeared on the Screen with Buzzer turned on.


The Fourth Time, the Time value of 05:00 . Appeared
The two Hands of the watch were Moved to Equal the time value of 05:00 and the
Answer was correct
The message "
Loser" Appeared on the screen with Buzzer turned on

This is due to the fact that the value out of the potentiometer is inaccurate

Sharing & Collaboration

8- Did you ask for feedback? What are the ideas that others have contributed or suggested? What was someone else’s idea that you built upon? How did you help your peers? How did your peers help you?

At First I was Thinking of using the Keypad to Enter a Numeric Time Value and then Moving the Two Hands of the Clock to Show the Time Value Analog

After my Discussion with "Ahmed Saeed", I wanted to have More Interaction between the Device and the User


I turned it into a Game so that the Time Value Appears Digital, then the user Interacts with it to turn it into an Analog and then give him Feedback with the Answer if it is Right or Wrong with the Introduction of Some Encouraging Sounds During the Game


Overcoming Challenges

9- When you got stuck, what/who did you turn to? At what point did you have to pause to research or learn more before moving on? What are some mistakes, pitfalls, or challenges that others can avoid if they were doing this project?

I had Problems while Writing the Code, but I turned to Instructores
They helped me a lot in writing the code
Because for the First Time I use the Random Function and Also the Conditions of the " IF " Function are many and Overlapping with each other

So the Instructor helped me organize the code and also Define mp3 Module

But we found out that the mp3 module is not Working and we didn't have Enough time to replace it

Also the Value of the Output Reading From the Potentiometer
Totally Inaccurate Every Time at the Same Place

Which Makes the Task Difficult.


Every Time the Code is Sent to the Arduino, the Potentiometer Reading Values ​​Change Randomly.


WhatsApp Video 2022-09-27 at 8.43.02 PM.mp4

With Any Slight Vibration, the Value of the Potentiometer Reading Changes Randomly


Future Work

10- If you had more time, what is one thing you would change/ Do next in your project?

  • Replace potentiometer
    Servo motor 360 to Make its Movement More Accurate through Angles


  • Replace the MP3 Module with another that works


  • Connecting 20 Red and Green LEDs Around the LCD

Final Project Design Files