Design Problem - Marble Sorter: Project 3.3.1 - Vex and Robotc

You might also like

Download as pdf or txt
Download as pdf or txt
You are on page 1of 17

STONYPOINTHSROUNDROCKISD

VISHNUANANTHKUMAR,STEVENASCHOFF,JUSTINHOFFMAN,JAIRUSDUNSON

DesignProblemMarbleSorter
Project3.3.1VEXandRobotC

4/13/2016

TABLEOFCONTENTS
DesignBrief
FinalDesignPictures
RobotCCode
Reflections
References
Appendices
DispenserBrainstorming
SorterBrainstorming
BinsBrainstorming
DesignModifications

DESIGNBRIEF
ClientCompany:

NationalRecreationandParkAssociation(NRPA)

TargetConsumer:

Society

Designer(s):

StevenAschoff,JustinHoffman,VishnuAnanthkumar,Jai
Dunson

Problem
Statement:

TheNationalRecreationParkAssociation(NRPA)has
askedyourteamtodevelopasolutiontoagrowing
problemintheirparks.Theassociationhasplaced
dumpstersforrecyclablematerialthroughouttheparks.
Theyhaveasortingfacility;however,theyneedadevice
thatwillsorttherecyclablematerial.

DesignStatement:

Design,model,andtestadevicethatwillseparate
recyclablematerials.

Problem
Statement:

1.Separationprocessmustbefullyautomated.
2.Mustsuccessfullyseparatecommingledrecyclable
materialsintoindividualholdingbins.
3.Recyclablematerialsinclude3differentin.material
spherestotaling15.Examplescouldincludesteel,
aluminum,wood,opaqueplastic,andclearplastic.
4.Mustbeefficient2minutemaxforcompletionof
sortingprocess.
5.Mustnotbelargerthan24Lx12Wx18H
6.Mustmakeefficientuseofmaterials.

FINALDESIGNPICTURES

ROBOTCCODE
#pragmaconfig(Sensor,in2,line,sensorLineFollower)
#pragmaconfig(Sensor,dgtl4,RedSilver,sensorLEDtoVCC)
#pragmaconfig(Sensor,dgtl6,YellowWood,sensorLEDtoVCC)
#pragmaconfig(Sensor,dgtl8,GreenClear,sensorLEDtoVCC)
#pragmaconfig(Motor,port1,ArmMotor,tmotorVex269_HBridge,openLoop)
#pragmaconfig(Motor,port2,Turny,tmotorServoContinuousRotation,openLoop)
//*!!Codeautomaticallygeneratedby'ROBOTC'configurationwizard!!*//

taskmain()
{

while(1==1)//While1is1
{
startMotor(port1,40)//Movethedispensingmotoratspeed40
wait(0.16)
//Wait0.16seconds
stopMotor(port1)
//Stopthedispensingmotor
wait(3)
//Wait3seconds
startMotor(port1,40)//Movethedispensingmotoratspeed40
wait(0.16)
//Wait0.16seconds
stopMotor(port1)
//Stopthedispensingmotor
wait(3)
//Wait3seconds
startMotor(port1,40) //Movethedispensingmotoratspeed40inthereversedirection
wait(0.16)
//Wait0.16seconds
stopMotor(port1)
//Stopthedispensingmotor
wait(3)
//Wait3seconds

if(SensorValue(line)>1001&&SensorValue(line)<2000)//Ifthelinetrackersdetectsvaluesbetween1001and
2000
{
wait(3)
//Wait3seconds
startMotor(port1,40)//Movethedispensingmotoratspeed40
wait(0.16)
//Wait0.16seconds
stopMotor(port1)
//Stopthedispensingmotor
wait(3)
//Wait3seconds
startMotor(Turny,30) //Movethebinturningmotoratspeed30inreverse
wait(0.3)
//Wait0.3seconds
stopMotor(Turny)//Stopthebinturningmotor
wait(3)
//Wait3seconds
startMotor(port1,40)//Movethedispensingmotoratspeed40
wait(0.16)
//Wait0.16seconds
stopMotor(port1)
//Stopthedispensingmotor
wait(3)
//Wait3seconds
startMotor(Turny,30) //Movethebinturningmotoratspeed30inforward
wait(0.3)
//Wait0.3seconds
stopMotor(Turny)//Stopthebinturningmotor
wait(3)
//Wait3seconds
startMotor(port1,40) //Movethedispensingmotoratspeed40inthereversedirection
wait(0.16)
//Wait0.16seconds
stopMotor(port1)
//Stopthedispensingmotor
wait(3)
}

elseif(SensorValue(line)<1000))//Otherwise,ifthelinetrackersdetectsvalueslessthan1000

{
wait(3)
//Wait3seconds
startMotor(port1,40)//Movethedispensingmotoratspeed40
wait(0.16)
//Wait0.16seconds
stopMotor(port1)
//Stopthedispensingmotor
wait(3)
//Wait3seconds
startMotor(Turny,30) //Movethebinturningmotoratspeed30inforward
wait(0.3)
//Wait0.3seconds
stopMotor(Turny)//Stopthebinturningmotor
wait(3)
//Wait3seconds
startMotor(port1,40)//Movethedispensingmotoratspeed40
wait(0.16)
//Wait0.16seconds
stopMotor(port1)
//Stopthedispensingmotor
wait(3)
//Wait3seconds
startMotor(Turny,30) //Movethebinturningmotoratspeed30inreverse
wait(0.3)
//Wait0.3seconds
stopMotor(Turny)//Stopthebinturningmotor
wait(3)
//Wait3seconds
startMotor(port1,40) //Movethedispensingmotoratspeed40inthereversedirection
wait(0.16)
//Wait0.16seconds
stopMotor(port1)
//Stopthedispensingmotor
wait(3)
//Wait3seconds
}

REFLECTIONS
A)Howwelldidyouaccomplishyourobjectives,discussyoursuccessforEACHofthe6
constraints
(Constraintsfromthedesignbriefare:(1)Separationprocessmustbefullyautomated.(2)
Mustsuccessfullyseparatecommingledrecyclablematerialsintoindividualholdingbins.(3)Recyclable
materialsinclude3differentin.materialspherestotaling15.Examplescouldincludesteel,aluminum,
wood,opaqueplastic,andclearplastic.(4)Mustbeefficient2minutemaxforcompletionofsorting
process.(5)Mustnotbelargerthan24Lx12Wx18H(6)Mustmakeefficientuseofmaterials.
)
?

B)Whatwouldyourteamdodifferentlywithyourdesignsolution(min3things)andwhy?
C)Dotheresultsfulfilltheproblemstatement,ifnotwhatwasmissing
(Theproblemstatement
fromthedesignbriefisTheNationalRecreationParkAssociation(NRPA)hasaskedyourteamtodevelopa
solutiontoagrowingproblemintheirparks.Theassociationhasplaceddumpstersforrecyclablematerial
throughouttheparks.Theyhaveasortingfacility;however,theyneedadevicethatwillsorttherecyclable
material.)

D)Ifyouhadmoretime,whatwouldyoudodifferentlyorwhatwouldyouadd
.
(Giveaminimum
ofonethingforeachPART:Dispenser,Sorter,Bins)

A)OURDISPENSERISNOTVERYEFFICIENTATSEPARATINGMARBLESBECAUSE
WEDOTHATMANUALLY.BUTITDOESDISPENSEMARBLESONEBYONE.THE
SORTINGCOULDUSESOMEWORKBECAUSETHEVALUEOFTHELINEFOLLOWER
ALWAYSCHANGE.WEUSEDTHREEOFFIVEDIFFERENTTYPESOFMARBLES.
WHENTHEMARBLESORTERWORKSPROPERLY,ITCANSORTINUNDERTWO
MINUTES.THEMARBLESORTERISNOTLARGERTHAN24LX12WX
18H.PRETTYEFFICIENTUSEOFMATERIALS.
B)WEWOULDTRYTOUSEOURORIGINALDESIGN(2GATE).WEWOULDTRY
ANDMAKETHESORTERMORERELIABLE.ANDACOMPLETEREDESIGNWOULD
HELP.
C)YES,OURRESULTSDOFULFILLTHEPROBLEMSTATEMENT.
D) FORALLTHREEOFTHEMECHANISMS,WEWOULDMAKETHEMDOTHEIR
JOBFASTER.


REFERENCES
https://www.youtube.com/watch?v=rpqIDKP5bBc
https://www.youtube.com/watch?v=pbOEmqHfaqo
https://www.youtube.com/watch?v=v7kstvMNOho
https://www.youtube.com/watch?v=EV92YD1_Sd4
https://www.youtube.com/watch?v=bB3n3Zs259U
https://www.youtube.com/watch?v=pSz0ueOfX5M
https://www.youtube.com/watch?v=rzvKMy7Pp20
https://www.youtube.com/watch?v=Aa6wd75FyAg
https://www.youtube.com/watch?v=D1_95iwljyw
https://www.youtube.com/watch?v=qW4UXTLPoko
https://www.youtube.com/watch?v=R2NrEtA0fc
https://www.youtube.com/watch?v=8q62osHoaLA
https://www.youtube.com/watch?v=1SrvhGxa1bk
https://www.youtube.com/watch?v=1XJ9kvOdvr8
https://www.youtube.com/watch?v=xc2j4ZlNHG4

APPENDICES
Belowareourbrainstorming,partslist,anddesignmodifications.

DISPENSERBRAINSTORMING

SORTERBRAINSTORMING

BINSBRAINSTORMING

PARTSLIST

1chain
1Vex269Motor
26toothSprockets
1Cortex
1Bar1x8,
1Bar1x20
14anglegussets
25x25x1CChannels
22x25x1CChannels
1MotorController29
3DixieCups
1Linetracker
1VexStandardBase

DESIGNMODIFICATIONS

You might also like