Go to Post FIRST is not about robots or which roller coaster we get to ride... it is about people. - Andy Baker [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 19-06-2007, 15:36
CPUGenuis's Avatar
CPUGenuis CPUGenuis is offline
Registered User
AKA: Matthew Marshall
FRC #1208 (Metool Brigade)
Team Role: Programmer
 
Join Date: Jan 2007
Rookie Year: 2006
Location: Illinois
Posts: 9
CPUGenuis is an unknown quantity at this point
Church couch program NXT.....

kay, at my church we are about to hold the couch potato wars, where we go and decorate and just pimp out (did i just say pimp out ) couches and then ram them, joust, race, and so on... last year it was couch potato olympics....

well, anyways, i am getting creative this year and integrating a self-propelled couch from simple parts, but i am having minor difficulties with my programming.... T_T

well, bascially i have some motors hooked up through a board (electrical), with on/off controlled by a mindstorms NXT motors that connect and disconnect(the followed by the battery)

my issues is with the scanF type funcution in it known as NXT buttons, i am having issues resolving how to make it run through and make motors turn slightly to disconnect power, and stuff like that to control the wheels. can somebody show me a simple picture of how to connect the "wires" in the programming compiler to make this work?

the thing is not build yet and also i am trying to make it foolproof considering that there is a chance that some "less technologically inclined" people in my youth group may drive it later...

thanks!
  #2   Spotlight this post!  
Unread 19-06-2007, 15:57
tseres's Avatar
tseres tseres is offline
obsessed with FIRST...
FRC #1565 (Think Tank Tech)
Team Role: Leadership
 
Join Date: Apr 2007
Rookie Year: 2007
Location: Cambridge, ON
Posts: 305
tseres is a glorious beacon of lighttseres is a glorious beacon of lighttseres is a glorious beacon of lighttseres is a glorious beacon of lighttseres is a glorious beacon of lighttseres is a glorious beacon of light
Re: Church couch program NXT.....

NXT? scanf with NXT? man, i'm still playin with my RIS 2.0. to answer your questions: i don't have an answer. could you use a VEX kit? or an old IFI RC and OI from school? thats all i can think of...

couch potato olympics? i should get my church interested....
__________________


  #3   Spotlight this post!  
Unread 19-06-2007, 16:04
SamC SamC is offline
.
AKA: Sam Couch
FRC #0103 (Cybersonics)
Team Role: Programmer
 
Join Date: Mar 2006
Rookie Year: 2006
Location: Philadelphia, PA
Posts: 583
SamC has a reputation beyond reputeSamC has a reputation beyond reputeSamC has a reputation beyond reputeSamC has a reputation beyond reputeSamC has a reputation beyond reputeSamC has a reputation beyond reputeSamC has a reputation beyond reputeSamC has a reputation beyond reputeSamC has a reputation beyond reputeSamC has a reputation beyond reputeSamC has a reputation beyond repute
Re: Church couch program NXT.....

Why not use a VEX controller and use EasyC to program it (Or MPLab if you have experience)? You can use just about any motor or sensor with the VEX system.
  #4   Spotlight this post!  
Unread 19-06-2007, 16:13
CPUGenuis's Avatar
CPUGenuis CPUGenuis is offline
Registered User
AKA: Matthew Marshall
FRC #1208 (Metool Brigade)
Team Role: Programmer
 
Join Date: Jan 2007
Rookie Year: 2006
Location: Illinois
Posts: 9
CPUGenuis is an unknown quantity at this point
Re: Church couch program NXT.....

Quote:
Originally Posted by tseres View Post
NXT? scanf with NXT? man, i'm still playin with my RIS 2.0. to answer your questions: i don't have an answer. could you use a VEX kit? or an old IFI RC and OI from school? thats all i can think of...

couch potato olympics? i should get my church interested....
well you were no help >.<

well, i can't really use IFI because we don't have cash to spend (much) on stuff for it, i would be suprised if we got any..... our school does not do VEX (wish it did) and RIS, yeah that is old....

the NXT is the newest thing, like, the new RIS. it is like a scanf because you can optiomally push buttons to manually controll it, but it won't seem to work right like that.... which is why i am here. i can't really get the whole grasp of what to do.....
  #5   Spotlight this post!  
Unread 19-06-2007, 16:42
cooker52's Avatar
cooker52 cooker52 is offline
Cookie
AKA: Seth Cook
FRC #4272
Team Role: Mentor
 
Join Date: Feb 2007
Rookie Year: 2007
Location: Indiana
Posts: 476
cooker52 has a brilliant futurecooker52 has a brilliant futurecooker52 has a brilliant futurecooker52 has a brilliant futurecooker52 has a brilliant futurecooker52 has a brilliant futurecooker52 has a brilliant futurecooker52 has a brilliant futurecooker52 has a brilliant futurecooker52 has a brilliant futurecooker52 has a brilliant future
Send a message via AIM to cooker52
Re: Church couch program NXT.....

So what you want to do is have variable power control?
__________________
I will never be able to leave 1501. Trust me, I did and I came back.

“If you worried about falling off the bike, you’d never get on.” Lance Armstrong

Monocoque, what a beautiful thing.
  #6   Spotlight this post!  
Unread 19-06-2007, 17:55
CPUGenuis's Avatar
CPUGenuis CPUGenuis is offline
Registered User
AKA: Matthew Marshall
FRC #1208 (Metool Brigade)
Team Role: Programmer
 
Join Date: Jan 2007
Rookie Year: 2006
Location: Illinois
Posts: 9
CPUGenuis is an unknown quantity at this point
Re: Church couch program NXT.....

Quote:
Originally Posted by cooker52 View Post
So what you want to do is have variable power control?
well, that would be sweet, but that is not what i am trying to do. on appendages on the motors, i am gonna have foil or metal or some conducting substance that is used to connect and dissconnect by moving the motors, and i am having issues with programming the NXT, anybody that uses it (and nows how to well) i am asking to show me a simple or complex program screenshot so i can understand what i am doing wrong.

i don't wanna use an IFI board or something becasue there is basically NO budget and i also don't want to use that because people that use couch potato wars after me won't really want to learn C and do it all over again....
  #7   Spotlight this post!  
Unread 19-06-2007, 18:21
cooker52's Avatar
cooker52 cooker52 is offline
Cookie
AKA: Seth Cook
FRC #4272
Team Role: Mentor
 
Join Date: Feb 2007
Rookie Year: 2007
Location: Indiana
Posts: 476
cooker52 has a brilliant futurecooker52 has a brilliant futurecooker52 has a brilliant futurecooker52 has a brilliant futurecooker52 has a brilliant futurecooker52 has a brilliant futurecooker52 has a brilliant futurecooker52 has a brilliant futurecooker52 has a brilliant futurecooker52 has a brilliant futurecooker52 has a brilliant future
Send a message via AIM to cooker52
Re: Church couch program NXT.....

I haven't used it yet, disappointingly, so I may not be much help. But, I am trying to clarify what's going on. You want the robot to move a motor when you touch a button on the robot? And you are having trouble with programming that? Right, or not?

(BTW, I am not trying to make this more frustrating)
__________________
I will never be able to leave 1501. Trust me, I did and I came back.

“If you worried about falling off the bike, you’d never get on.” Lance Armstrong

Monocoque, what a beautiful thing.
  #8   Spotlight this post!  
Unread 19-06-2007, 18:24
tseres's Avatar
tseres tseres is offline
obsessed with FIRST...
FRC #1565 (Think Tank Tech)
Team Role: Leadership
 
Join Date: Apr 2007
Rookie Year: 2007
Location: Cambridge, ON
Posts: 305
tseres is a glorious beacon of lighttseres is a glorious beacon of lighttseres is a glorious beacon of lighttseres is a glorious beacon of lighttseres is a glorious beacon of lighttseres is a glorious beacon of light
Re: Church couch program NXT.....

if you just want the motors to run, simply wire a basic push button or switch to it. i'm assuming the motors are 12v, so just throw a car battery on the couch. that would be simpler then NXT if that's what you want...
__________________


  #9   Spotlight this post!  
Unread 19-06-2007, 22:05
EHaskins EHaskins is offline
Needs to change his user title.
AKA: Eric Haskins
no team (CARD #6 (SCOE))
Team Role: College Student
 
Join Date: Jan 2006
Rookie Year: 2006
Location: Elkhorn, WI USA
Posts: 998
EHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond repute
Send a message via MSN to EHaskins
Re: Church couch program NXT.....

I just coached two FLL teams using NXTs.

Are you tring to use the NXT buttons to control the couch?

Are the NXT motors just pushing switches to control the motors?
If yes, would the switches push the motors to neutral if you put the NXT motors in neutral, or will you need to drive them to neutral?

If you have MSN/Live Messenger, or Skype, my handle is in my profile, feel free to contact me.
__________________
Eric Haskins KC9JVH
  #10   Spotlight this post!  
Unread 21-06-2007, 00:32
CPUGenuis's Avatar
CPUGenuis CPUGenuis is offline
Registered User
AKA: Matthew Marshall
FRC #1208 (Metool Brigade)
Team Role: Programmer
 
Join Date: Jan 2007
Rookie Year: 2006
Location: Illinois
Posts: 9
CPUGenuis is an unknown quantity at this point
Re: Church couch program NXT.....

great, and now i solve it >.<

yeah, basically in a nutshell i am trying to control the couch by the buttons on my NXT. i got that to work by programming it so that for when you press the buttons, it moves the motors in a way that connects and disconnects the power supply to the motor, causing, example, if i hit left, the left motor would die and the right would continue, rotating me left. i then would press right and it would move me right.

no, they are not pushing switches, they are holding a connector that brushes up against two "panels" and connects the power to it

since i figured that out (just a overlooked careless error earlier in the codes), i am tyring to control it remotely through a phone or computer. whadda know about doing that EHaskins?
  #11   Spotlight this post!  
Unread 21-06-2007, 00:37
EHaskins EHaskins is offline
Needs to change his user title.
AKA: Eric Haskins
no team (CARD #6 (SCOE))
Team Role: College Student
 
Join Date: Jan 2006
Rookie Year: 2006
Location: Elkhorn, WI USA
Posts: 998
EHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond repute
Send a message via MSN to EHaskins
Re: Church couch program NXT.....

Quote:
Originally Posted by CPUGenuis View Post
since i figured that out (just a overlooked careless error earlier in the codes), i am tyring to control it remotely through a phone or computer. whadda know about doing that EHaskins?
You should be able to control it using a computer by writing software on the PC and NXT to interface via Bluetooth. I researched doing that, but never tried. If you Google "NXT AND Bluetooth" you should find someone who has done that.
__________________
Eric Haskins KC9JVH
  #12   Spotlight this post!  
Unread 21-06-2007, 14:44
CPUGenuis's Avatar
CPUGenuis CPUGenuis is offline
Registered User
AKA: Matthew Marshall
FRC #1208 (Metool Brigade)
Team Role: Programmer
 
Join Date: Jan 2007
Rookie Year: 2006
Location: Illinois
Posts: 9
CPUGenuis is an unknown quantity at this point
Re: Church couch program NXT.....

Quote:
Originally Posted by EHaskins View Post
You should be able to control it using a computer by writing software on the PC and NXT to interface via Bluetooth. I researched doing that, but never tried. If you Google "NXT AND Bluetooth" you should find someone who has done that.
k, thanks much!!!

now after that i have the oh-so fun task of finding parts, motors, wheels, metal beams, and batteries (+cables). anybody got any suggestions (even though this has nothing to deal with programming, this should finish the whole thing up)
Closed Thread


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Lego MindStorm NXT Gamer930 Lego Mindstorm Discussion 1 10-07-2006 09:21
pilot NXT opportunity RoboMom FIRST Lego League 0 08-05-2006 10:32
Robotic Couch Drew Hopman General Forum 22 10-02-2005 13:54
D.Lavery wins ASME Church Medal Erin Rapacki General Forum 22 17-10-2004 21:01
Couch Potato Anyone? TravisCarpenter Chit-Chat 6 05-09-2002 16:48


All times are GMT -5. The time now is 19:34.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi