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

  • My project is a multi-measuring tool that aims to measure different things using mathematical background.

  • this tool will be able to measure ( distance - the inclination of any plane and also the height of any obstacle ) using MPU 5060 sensor and an Arduino Uno board.

  • this tool is inspired by bosch laser measure and also from digiroller tool which is used in measuring agricultural lands

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)

Arduino Uno

MPU 6050 Module

photo interrupt module

laser pointer module

on/off button

push button

jumber wires

bread board

2 sheets of ply wood

flange bearing

8mm rod

fusion sofware

laser work soft ware

Arduino Uno compiler

Cura slicer software

PLA

LCD 16 X 2

design of the base

  • with dimensions 10 X 25

  • the design includes wholes for screws to fiX ( Arduino board - MPU 6050 Module - laser pointer module ) and slots to fix sides of the device and the bridge that holds the photo interrupt module

design of the to contains :

  • wholes for the buttons

  • slot for the LCD

  • slots to fix the sides of the device and the bridge of the photo interrupt module

  • wholes for screws

front face design with a rectangular slot to pass the wheel through it

design of the back and contains a whole to let the laser beam to pass through it

design of the two sides and contains to wholes for the screw of the flange bearing

design of the bridge:

this bridge is fixed up and down at the top and bottom faces to hold the photo interrupt module behind the wheel

the rolling wheel design :

  • in the shape of a circle with a diameter of 6 cm and containing 20 radial slots, the function of these slots is to cut the field of the photo interrupt module, and every 20 cuts to this field represents one revolution for the wheel

after joining all components of the design to make sure that all parts are assembled accurately

extruding the wheel and opening a whole for the heat insert then prepare the design to be sliced on cura then to be printed in 3d printer

importing the design to cura then prepare the gcode file

with a layer height of 0.2 mm and infill 20%

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)

prepare rld file for the laser cutter

20220921_195135.mp4

during the laser cutting process

cutting parameters:

power 75 and speed 15


scanning parameters

power 30 and speed 200

parts after cutting and fixing flangebearing

20220917_175522.mp4

during the 3D printing process for the wheel

with PLA black,

it takes 6 gm of PLA consuming 40 minutes


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)

this diagram shows the wiring of I2C LCD 16X12

vcc pin to 5v port

GND pin to GND port

serial data pin to A4 port

serial clock pin to A5 port

MPU 6050 module wiring diagram

VCC pin to 5v port

GND pin to GND port

serial data pin to A4 port

serial clock pin to A5 port

interrupt pin to pin2 port

photo interrupt module wiring

GND pin to GND port

+ve pin to 5V port

signal pin to any digital pin ( pin 11 )

laser pointer module wiring

  • +ve pin to VCC

  • GND pin to GND port

  • signal pin to any digital reading pin (pin 8)

push buttons wring diagram

to pin 12 , 13 , 10 and 9

all the components are inputs except the LCD

  • photo interrupt module counts the number of times the field of the sensor has been cut to calculate the covered distance by the wheel

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)

I used a power bank to provide 5v to the Arduino board to make the device portable

Project Programming

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

1- state and define the used variables and include the needed libraries

2- define the pins

3- begin serial communication

4- initialize the LCD

5- if the button of the distance mode is on start to calculate how many revolutions are done by the wheel according to the number of times the wheel cuts the field of the photo interrupt sensor then convert the number of revolutions by a mathematical formula to the final measure of the distance covered and also display the word distance mode on LCD and also the measured distance

6- coding of the reset button and other modes buttons and if there is no mode selected print on the screen (select mode)

and if the angle button is pressed write (angle mode ) on LCD and if the height button is pressed write (height mode ) on LCD and open the laser pointer

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)

fix the Arduino board and the MPU sensor

fix the flange bearing

insert the rod through the wheel then fix it inside the flange bearing

prepare the rest of other parts to be assembled

connect th e photo interrupt sensor

connect the MPU sensor

connectind th laser pointer module

connecting the buttons and the LCD

20220920_223115.mp4

testing the code before assembly

testing the accuracy of measuring distance using a ruler of 30 cm length as a reference

20220924_153236.mp4

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?



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 a problem with the coding of the reset button because of the while loop then after alot of modifications in the code the result became as shown

i've started printing this wheel three times and each time stop the printing process because the nozzle was partially blocked then after cleaning the nozzle the printing process was completed successfully


Future Work

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

complete the rest of the functions of the device to measure angle and height and fix a shaft at the bottom face to help in measuring height

Final Project Design Files