dicumantion final project mood 😄😄
about idea
Pinball games are a family of games in which a ball is propelled into a specially designed table where it bounces off various obstacles.
To play pinball, start by pulling the plunger at the front of the machine to release the ball. Then, use the flippers to hit the ball by pressing the buttons on jac. Try to aim the ball toward the two arcs throughout the machine, which will bounce the ball and earn you points.
I care about kids game and I want to help people and kids with ADHD , binball game can help people with ADHD to spend their energy playing
software
fusion 360 : for design
thinkercad : simulate the circuit
Illustrator : for drawing jac and game name
arduino id : write the code
cura : to connect to 3d printer
rdwork : to connect to laser cut machine
materials
acrylic
wood
pla
tools
components
arduino
bread board
regulator
servo motor
ir sensor
lcd
adabtor 9 v
adabtor 12 v
dc motor
push buton
buzzer
neo pixels
jumbers
explain cad process
First, the dimensions of all parts from the cardboard design were measured.
The design was made on Fusion 360.
for preparing box design on fusion :
I first prepared the idea and prepared its dimensions through the search
I used fusion 360
made new component
choose the front to sketch the first part and sketch the T slot and taps
define all lines
then using extrude to made the sketch 3d ( 3 mm )
then made new component to sketch the second part and follow the same previous steps
then made joint with two parts
follow the same previous steps to made all parts and joint all parts
finally saved the file as DXF to cut by cnc laser machine
make new component
create sketch
choose plane
-start to draw every part
bottom part draw rectangle 48 *29 cm and make tabs and hole for screws
front part draw a rectangle 7 * 29 cm and made tabs and Tslot to connect to other part
side part draw two line one is 7 cm and other 14 cm then connect line bteween them to make diagonal line
back part draw a rectangle 14 * 29 cm then use elipse to make a curve
top part make a rectangle 47.5 * 27.5 and make hole for connect it by bracit
this side is on top for ball
Tslot dieamension
start to get components from grapcad such as arduino and lcd to make location for screws
-some feature I used
mirror
extrude make every part extrude 3 mm
joint to make assembly
save file to dxf
-parts in joint
for 3d printing part
bracit design
using bracit to connet top with front and side
finger for playing design
-some feature I used
extrude
fillet
save as mesh
final design
laser cut machine
for prepre the file for laser cut machine ( laserwork)
I downloaded the file as .dxf file
I mported the file to the LaserWorks
I Adjust dimensions then Chose the shapes that I want to cut
I adjusted the speed and power properties for each layer according to the machine's recommended settings
( cut : speed : 25 , power : 65 )
( scan : speed : 250 , power 25 )
Finally , saved the file as .rd
then download file to machine and adjust focus and track then start to cut
start to import part
choose all parts
make cutting part with black color and scan with red color
adjust the speed and power
3d printer
for prepre the file for 3d printer ( cura)
I mported the file to the cura
choose the printer and material
I Adjust the rotaion
I adjusted profile , infill
( profile : .2 infill : 10 )
choose the printer
try the slice to show the time and weight
Finally , saved the file as gcode
then run the machine and change filment and choose file finally run the machine
first file
second file
third file
فن اختيار الوان الماتريال 😍😂
use power supply 9V connecting to postive and negtive in the bottom of bread board and connect power and ground from arduino to another side of breadboard
connect regulator 5V
connect two push button to pin 4 & pin 5
connect two servo motor to pin 9 & pi 10 and ground of arduino and power of regulator
connect two sensor to pin 2 & pin 3
connect lcd to A5 , A4
connect neopixels to pin 6
connect buzzer to pin 12
then in the circuit connect dc motor wit driver connect to adabtor 9V and power of arduino then connect to pin 7 & pin 8 and to adjuist speed connect to pin 11
all components take the power from Arduino, except dc motor need a 9v and common ground with Arduino and servo motor take the power by regulator with adabtor
selonied need a 9v and common ground with Arduino
Arduino take its power from an adaptor 9v by pin vin
-flow chart
-code
start to define neopixels library , servo motors , buttons
define sensors , dc motor and its speed , buzzer
define that lcd , neopixels , dc motor , servomotors, buzzer are output
and all buttons and sensors are input
say that when the two buttons are low two servo motors work as 180
say that when two sensors pick any thing the lcd and neo pixels work
first testing components
then circuit
use arduino and connect ground and power to bread board
use power supply 9v and connect it with regulator
then connect two servo motor pin 9 &10 and connect vcc to vcc of adabtor with regulator and connect ground to ground of arduino
then connect two sensor to pin 2 & 3 and to ground and vcc of arduino
then connect LCD to pin A5 & A4 and connect ground and vcc to ground and vcc of arduino
then connect neo pixels to pin6 and the ground and vcc to ground and vcc of arduino
connect dc motor with driver connect ground to ground of arduino and negtive of adabtor , connect vcc to 5v or ardunio and 9v of adabtor
final circuit
finally integrate the project
start to connect bracit with back and front side
but the components under top part
start to put obctacles and servo motors on the top
finally
I have a nice feedback from some students in diploma they love the chice of 3d printing parts color
every one un my team gA3 and A4 encrage me in all week not fianal project
specially ahmed mukhtar helped me more than once in coding and circuits
and mariam she took my shout every time i have a proplem😂😂
my friend mariam helped me when Iask about smthing in code (how to use or)
my lovely and fav team
I have more than issues
first I have error in the code that I define the two sensor value as one value and I couldn't understand where is the problem so I asked my instructor Asmaa so she helped me and explain the problem
second I have an issue with selonied that it was overheated that cause a problem with inner plastic part , so I couldn't use it
I have a problem with sensor that is pick someting make it always work and i didn't know how to solve it
if I have a time I wish I could made this game as an arcade game