View unanswered posts | View active topics It is currently Sun Dec 21, 2014 4:31 am






Reply to topic  [ 5 posts ] 
If you are good a programing please help!!! 
Author Message
Rookie

Joined: Wed Apr 09, 2014 12:33 pm
Posts: 1
Post If you are good a programing please help!!!
Ok so i am building a marble sorter and our basic design is a light sensor (digital1) that reads weather the marble is black or clear then sorts it accordingly into one of 2 cups. The light sensor is on ramp in which the marble slides down and is stopped by a wheel (motor port 3) so it can be read. once the light sensor reads the number the wheel turns and allows only that ONE marble to pass through it. the rest of the marbles are fed one by one in this fashion. As this is happening the two cups that are below it are attached on a pate across from each other which turns by a motor in the center (motor port 4). The motor has an encoder (in11) that the drive shaft passes through so that it knows how how far to turn to catch the marble. when the marble rolls down (say it is a clear one) the cups turn to allow it to fall in the left cup. If the marble is black, the cups turn and the right cup catch it, then they return to there starting positions. The problem i am having is to get the motor that controls the cups to listen to the encoder and only turn a specified about when the light sensor reads the the marble. the whole process works in a this happens then this happens then this happens then it resets and does the whole thing again forever. The wheel is connected to a motor and it should turn to allow only one marble through at a time so the light sensor has a chance can read it.
I know this is really confusing but if you have any questions either post them or text me at :713 825 5818 you can also call between 2:10 & 3:00.
What i am asking is for someone who knows there good at programing to post how to do this (like post the code not just say how to do it). Thank you soooo much !!!! :D :D :D


Wed Apr 09, 2014 12:53 pm
Profile
Rookie

Joined: Thu Dec 01, 2011 12:07 am
Posts: 45
Post Re: If you are good a programing please help!!!
You will want to start by making a flow chart so you understand the process. Next write it in pseudocode, finally write and debug the RobotC code. If you need help getting started post a picture of the machine with a flow chart.


Wed Apr 09, 2014 9:10 pm
Profile
Rookie

Joined: Thu May 31, 2012 4:06 pm
Posts: 25
Location: Pittsburgh, Pa
Post Re: If you are good a programing please help!!!
Is this a personal project or a school project?

_________________
SHARP
Sarah Heinz Advanced Robotics Program

VEX 889A and FIRST 3260

Pittsburgh Champions Aerial Assist 2014
Pittsburgh and Buckeye Finalist Ultimate Ascent 2013
Toss Up Champions and Excellence-Pittsburgh
Toss Up Champions-Northwest Maryland VRC


Wed Apr 09, 2014 11:21 pm
Profile
Moderator
Moderator
User avatar

Joined: Wed Mar 05, 2008 8:14 am
Posts: 3297
Location: Rotterdam, The Netherlands
Post Re: If you are good a programing please help!!!
It sounds very school project-y :)

= Xander

_________________
| Professional Conduit of Reasonableness
| (Title bestowed upon on the 8th day of November, 2013)
| My Blog: I'd Rather Be Building Robots
| ROBOTC 3rd Party Driver Suite: [Project Page]


Thu Apr 10, 2014 5:47 am
Profile WWW
Rookie

Joined: Thu May 31, 2012 4:06 pm
Posts: 25
Location: Pittsburgh, Pa
Post Re: If you are good a programing please help!!!
I assumed haha, but its somthing that I might have found fun to do myself, so Im asking.

_________________
SHARP
Sarah Heinz Advanced Robotics Program

VEX 889A and FIRST 3260

Pittsburgh Champions Aerial Assist 2014
Pittsburgh and Buckeye Finalist Ultimate Ascent 2013
Toss Up Champions and Excellence-Pittsburgh
Toss Up Champions-Northwest Maryland VRC


Thu Apr 10, 2014 12:09 pm
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 5 posts ] 

Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  



Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.