Go to Post It would be better as the software person to preach to your team early on for non-reliance on software. - Tom Bottiglieri [more]
Home
Go Back   Chief Delphi > FIRST > General Forum
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 27-02-2011, 15:38
jhellr13 jhellr13 is offline
Registered User
FRC #4272
Team Role: Mentor
 
Join Date: Jan 2011
Rookie Year: 2010
Location: US
Posts: 187
jhellr13 is an unknown quantity at this point
Arduino for Practice Bot

I have recently become aware of the arduino equivalents of the cRIO. I know they are less capable then the cRIO from the KOP, but i am wondering if they would work for a practice bot.
This practice bot would probably consist of 4 CIM motors, maybe some sensors, and some servos. A very minimal robot setup that can be used to just practice making robots on the off season.
Would i also need an equivalent of the digital sidecar, or can i use the KOP sidecar?
Can you also still program in your language of choice like Labview, or is the arduino language specific?
Thanks
Reply With Quote
  #2   Spotlight this post!  
Unread 27-02-2011, 16:21
biojae's Avatar
biojae biojae is offline
Likes Omni drives :)
AKA: Justin Stocking
FTC #5011 (BOT SQUAD) && FTC#72(Garage bots)&& FRC#0399 (Eagle Robotics)
Team Role: College Student
 
Join Date: Oct 2008
Rookie Year: 2008
Location: Lancaster
Posts: 276
biojae is a jewel in the roughbiojae is a jewel in the roughbiojae is a jewel in the rough
Re: Arduino for Practice Bot

The arduino can only be programmed in C or assembly.

It is capable of driving 13 servos/motor controllers with it's software Servo library, but you will need a regulated power supply to power the servos.

How do you plan on communicating/driving with it?
__________________
FTC Team 72 - No site
FRC Team 399 - http://www.team399.org
2010 Rockwell Collins Innovation in Control Award - (Use of the CAN bus, among other reasons) Phoenix, Arizona!
Reply With Quote
  #3   Spotlight this post!  
Unread 27-02-2011, 16:22
Hawiian Cadder's Avatar
Hawiian Cadder Hawiian Cadder is offline
Registered User
AKA: Isaak
FRC #0159 (Alpine Robotics)
Team Role: CAD
 
Join Date: Feb 2010
Rookie Year: 2003
Location: Fort Colins Colorado
Posts: 573
Hawiian Cadder is a name known to allHawiian Cadder is a name known to allHawiian Cadder is a name known to allHawiian Cadder is a name known to allHawiian Cadder is a name known to allHawiian Cadder is a name known to all
Re: Arduino for Practice Bot

we are doing something very similar, our practice bot consists of 4 cims in a tank drive, and maybe some sensors and a minibot deployer. we have yet to test to see how fast the code runs, but i think it should work fairly well.

http://www.arduino.cc/en/Main/Software

is where the arduino software can be downloaded, it is a different programing language, lab-view may also be usable but i don't know for sure. a digital sidecar is not needed as the PWM wires plug directly into the arduinos digital IO pins. an arduino also has 10 analog ports, which can be arranged in any way necessary.
Reply With Quote
  #4   Spotlight this post!  
Unread 27-02-2011, 17:26
WizenedEE's Avatar
WizenedEE WizenedEE is offline
Registered User
AKA: Adam
FRC #3238 (Cyborg Ferrets)
Team Role: Leadership
 
Join Date: Jan 2011
Rookie Year: 2010
Location: Anacortes, WA
Posts: 395
WizenedEE is a name known to allWizenedEE is a name known to allWizenedEE is a name known to allWizenedEE is a name known to allWizenedEE is a name known to allWizenedEE is a name known to all
Re: Arduino for Practice Bot

First of all, an arduino is nothing like a C-RIO. The only thing they have in common is that they're both IO centered - this means that they have lots of inputs and outputs, unlike a computer which has like five USB ports and a headphone jack.

An arduino has 20 IO ports total. If you get an arduino mega, it has 54. The normal one has 6 analog inputs, the mega has 16. The C-RIO, on the other hand, can have 28 DIO ports, 20 PWM ports, 16 analog ports, and 48 DO ports.

The C-RIO runs off of 24V, the arduino runs off of 5V. The C-RIO can be programed in a bunch of different ways, the arduino must be programmed in a language based off of Processing (kind of like C).

The arduino weighs about 500 grams, the C-RIO weighs 2 or 3 kilograms.

The arduino is also a prototyping tool. It's not meant to be used for anything remotely long-term. The headers you plug things into are like those PWM cables (the female ends) and things fall out of them very easily.

Even if you don't care about that, there's a big problem with the arduino: how to tell the robot what to do. With the C-RIO, it has an ethernet port, so you can easily attach an ethernet cable that can connect to a laptop, or connect it to a normal wifi thing. With the arduino, there's nothing of the sort - it connects to a computer via USB. You can buy bluetooth attachments, but it's still hard to get working.

You also need a bunch of extra stuff to work with the arduino. The best way to power it is with a barrel jack, so you'll have to buy or scavenge that and and get 7-12V to it somehow.Then you'd need 22 gauge hookup wire to connect to it. You also need a USB A to B cable, which are getting harder to find.

However, if you don't care about sensors, there's a much easier way to control jaguars. I'm pretty sure you can hook up a normal RC Car receiver and attach the PWM signal to the jaguars (make sure you check first, the jaguars might not want the voltage coming in). Then you'd just control it with the RC transmitter. You could do a tank drive pretty easily (splice the forward/backward signal on one joystick to two of the jags and the same for the other two).
Reply With Quote
  #5   Spotlight this post!  
Unread 27-02-2011, 20:09
RoboMaster's Avatar
RoboMaster RoboMaster is offline
Alum, former programmer&co-captain
FRC #2472 (The Centurions)
Team Role: Mentor
 
Join Date: Apr 2008
Rookie Year: 2008
Location: Minnesota, Twin Cities
Posts: 268
RoboMaster has a brilliant futureRoboMaster has a brilliant futureRoboMaster has a brilliant futureRoboMaster has a brilliant futureRoboMaster has a brilliant futureRoboMaster has a brilliant futureRoboMaster has a brilliant futureRoboMaster has a brilliant futureRoboMaster has a brilliant futureRoboMaster has a brilliant futureRoboMaster has a brilliant future
Re: Arduino for Practice Bot

I've worked with Arduino and I agree with WizenedEE. For making a full FRC robot, it is not the way to go. Maybe an FTC robot, which is more like what Arduino can be used for, but even then you will have trouble getting it to communicate with the drivers.

What we are doing is much more higher-end than what Arduino is meant for. If you are going to do this, you will need to make a lot of custom solutions and code and there won't be a lot of help out there.

What WizenedEE was talking about at the end sounded like a good option to look into if you just wanted a driving robot. It would be much less "custom" than working with an Arduino. Here's a video that's related: http://www.crazybuilders.com/item.ph...roject_section
__________________
My engineering blog: noeticbrainwaves.blogspot.com

I'm not slacking, my code's compiling
...and I'm using LabVIEW
Reply With Quote
  #6   Spotlight this post!  
Unread 27-02-2011, 20:32
Dad1279 Dad1279 is offline
Registered User
FRC #1279 (Cold Fusion)
Team Role: Mentor
 
Join Date: Jan 2005
Rookie Year: 2004
Location: NJ
Posts: 511
Dad1279 has much to be proud ofDad1279 has much to be proud ofDad1279 has much to be proud ofDad1279 has much to be proud ofDad1279 has much to be proud ofDad1279 has much to be proud ofDad1279 has much to be proud ofDad1279 has much to be proud ofDad1279 has much to be proud of
Re: Arduino for Practice Bot

Andymark has a few options here: http://www.andymark.com/SearchResults.asp?Cat=178

Also, the 'older' IFI controllers would would well for a practice 'bot.
Reply With Quote
  #7   Spotlight this post!  
Unread 27-02-2011, 22:06
RoboMaster's Avatar
RoboMaster RoboMaster is offline
Alum, former programmer&co-captain
FRC #2472 (The Centurions)
Team Role: Mentor
 
Join Date: Apr 2008
Rookie Year: 2008
Location: Minnesota, Twin Cities
Posts: 268
RoboMaster has a brilliant futureRoboMaster has a brilliant futureRoboMaster has a brilliant futureRoboMaster has a brilliant futureRoboMaster has a brilliant futureRoboMaster has a brilliant futureRoboMaster has a brilliant futureRoboMaster has a brilliant futureRoboMaster has a brilliant futureRoboMaster has a brilliant futureRoboMaster has a brilliant future
Re: Arduino for Practice Bot

Quote:
Originally Posted by Dad1279 View Post
Also, the 'older' IFI controllers would would well for a practice 'bot.
Yep, but just make sure you have an old copy of the software and know how to use it. If you don't, I think there are some teams that have resources on their websites for how to use the old controllers. Search on Chief Delphi for that, it gets asked a lot.
__________________
My engineering blog: noeticbrainwaves.blogspot.com

I'm not slacking, my code's compiling
...and I'm using LabVIEW
Reply With Quote
  #8   Spotlight this post!  
Unread 27-02-2011, 22:10
davidalln's Avatar
davidalln davidalln is offline
World's Worst Coder
AKA: David Allen
FRC #2415 (The Westminster Wiredcats)
Team Role: Programmer
 
Join Date: Mar 2009
Rookie Year: 2008
Location: Atlanta, GA
Posts: 108
davidalln is on a distinguished road
Send a message via AIM to davidalln
Re: Arduino for Practice Bot

We've wired together a kitbot with a VEX brain. Since Jaguars and Victors communicate through PWM, just hook them up directly into the ports. You don't even need any code (as long as you're fine with the default mappings on the controller).
__________________
SANTOSH ANDREW DECKER RICK WYNNIE SEAN DEREK MATT
(alamo (semis), p'tree (CHAMPS!), nc (CHAMPS!), newton (quarters))


Best four years of my life. Thanks to everyone who made it happen.
Reply With Quote
  #9   Spotlight this post!  
Unread 27-02-2011, 22:32
jtdowney jtdowney is offline
Boiler Up
AKA: John Downey
FRC #4302 (Robophins)
Team Role: Mentor
 
Join Date: Sep 2006
Rookie Year: 2006
Location: Chicago
Posts: 300
jtdowney has a brilliant futurejtdowney has a brilliant futurejtdowney has a brilliant futurejtdowney has a brilliant futurejtdowney has a brilliant futurejtdowney has a brilliant futurejtdowney has a brilliant futurejtdowney has a brilliant futurejtdowney has a brilliant futurejtdowney has a brilliant futurejtdowney has a brilliant future
Re: Arduino for Practice Bot

I've been looking at the Cross-link control system for powering my teams current robot after the season is over and we remove our cRio. It helps that we're already extensively using CAN bus and a 2CAN.
__________________
John Downey
Lead Robot Inspector - Purdue IndianaFIRST District
Whitney Young Magnet High School/Robophins (FRC 4302) - Mentor (2013-current)
Midwest Regional Planning Committee - Member (2012-current)
Boilermaker Regional Planning Committee - Member (2011-2014)
Robot Inspector (2008-current)
Purdue FIRST Programs - Staff Advisor (2008-2011)
Lafayette-Jefferson High School/Precision Guessworks (FRC 1646) - Mentor (2006-2011)
Reply With Quote
  #10   Spotlight this post!  
Unread 27-02-2011, 23:02
ajlapp ajlapp is offline
Registered User
AKA: Anthony Lapp
None #0118 (Team RUSH and Robonauts)
 
Join Date: Sep 2001
Rookie Year: 1996
Location: Ortonville, MI
Posts: 646
ajlapp has a reputation beyond reputeajlapp has a reputation beyond reputeajlapp has a reputation beyond reputeajlapp has a reputation beyond reputeajlapp has a reputation beyond reputeajlapp has a reputation beyond reputeajlapp has a reputation beyond reputeajlapp has a reputation beyond reputeajlapp has a reputation beyond reputeajlapp has a reputation beyond reputeajlapp has a reputation beyond repute
Re: Arduino for Practice Bot

Arduino makes an awesome practice bot brain....

We also use them for industry purposes, see a swerve bot we built this summer using an Arduino for custom wifi control.

http://www.team221.com/viewproduct.php?id=88

Team RUSH is also using one on their FRC bot this year to handle auton functions! Cheap, reliable and open-source!!
__________________
Anthony Lapp
FIRST Engineering Mentor
Owner/Operator 221 Robotic Systems
221 Robotics Systems - Quality Hardware, Made in the USA
RobotOpen
anthony@221robotics.com
Twitter us: @221RobotSystems
Team 1 --> 94 --> 68 --> 221 --> 857 --> 27 --> 118
Design Engineer/Fabricator and 17 year vet
Team Rush (FRC27) and Robonauts (FRC118)
Reply With Quote
  #11   Spotlight this post!  
Unread 27-02-2011, 23:42
apalrd's Avatar
apalrd apalrd is offline
More Torque!
AKA: Andrew Palardy (Most people call me Palardy)
VRC #3333
Team Role: College Student
 
Join Date: Mar 2009
Rookie Year: 2009
Location: Auburn Hills, MI
Posts: 1,347
apalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond repute
Re: Arduino for Practice Bot

Quote:
Originally Posted by ajlapp View Post
Team RUSH is also using one on their FRC bot this year to handle auton functions!
A microcontroller vs an embedded computer with a full RTOS?

I can see an advantage that the Arduino has raw IO access, while the cRio has to go through the the FPGA, so the Arduino could handle sensors with an interface that the cRio does not support easily.
__________________
Kettering University - Computer Engineering
Kettering Motorsports
Williams International - Commercial Engines - Controls and Accessories
FRC 33 - The Killer Bees - 2009-2012 Student, 2013-2014 Advisor
VEX IQ 3333 - The Bumble Bees - 2014+ Mentor

"Sometimes, the elegant implementation is a function. Not a method. Not a class. Not a framework. Just a function." ~ John Carmack
Reply With Quote
  #12   Spotlight this post!  
Unread 28-02-2011, 13:34
couvillion couvillion is offline
Registered User
FRC #1818
Team Role: Mentor
 
Join Date: Feb 2011
Rookie Year: 2011
Location: shreveport LA
Posts: 52
couvillion is an unknown quantity at this point
Re: Arduino for Practice Bot

I have thought about the notion of building a robot for my own personal enjoyment. And looked at the Arduino it seemed to me to be better used as a sidecar to a main brain that should probably be a laptop of some description. but I think the better question to ask is what can the WPI library be ported to?
Reply With Quote
  #13   Spotlight this post!  
Unread 28-02-2011, 13:38
basicxman basicxman is offline
Emily Horsman
FRC #2200 (MMRambotics)
Team Role: Programmer
 
Join Date: Oct 2007
Rookie Year: 2007
Location: Burlington, Ontario
Posts: 971
basicxman has a brilliant futurebasicxman has a brilliant futurebasicxman has a brilliant futurebasicxman has a brilliant futurebasicxman has a brilliant futurebasicxman has a brilliant futurebasicxman has a brilliant futurebasicxman has a brilliant futurebasicxman has a brilliant futurebasicxman has a brilliant futurebasicxman has a brilliant future
Send a message via AIM to basicxman Send a message via MSN to basicxman Send a message via Yahoo to basicxman
Re: Arduino for Practice Bot

Quote:
Originally Posted by biojae View Post
How do you plan on communicating/driving with it?
The Arduino does have an Ethernet shield available which could be hooked up to the AP or bridge from either year's KOP (or additionally, there are a few WiFi shields available but I have not had good luck with these).

You could either reverse engineer a Driver Station receiver by checking out the packets in a utility like Wireshark (this has been done before) or make something like a web console to control the robot.
Reply With Quote
  #14   Spotlight this post!  
Unread 28-02-2011, 18:37
Bob Steele's Avatar
Bob Steele Bob Steele is offline
Professional Steamacrit Hunter
AKA: Bob Steele
FRC #1983 (Skunk Works Robotics)
Team Role: Coach
 
Join Date: Jan 2003
Rookie Year: 2002
Location: Seattle, Washington
Posts: 1,512
Bob Steele has a reputation beyond reputeBob Steele has a reputation beyond reputeBob Steele has a reputation beyond reputeBob Steele has a reputation beyond reputeBob Steele has a reputation beyond reputeBob Steele has a reputation beyond reputeBob Steele has a reputation beyond reputeBob Steele has a reputation beyond reputeBob Steele has a reputation beyond reputeBob Steele has a reputation beyond reputeBob Steele has a reputation beyond repute
Re: Arduino for Practice Bot

Quote:
Originally Posted by davidalln View Post
We've wired together a kitbot with a VEX brain. Since Jaguars and Victors communicate through PWM, just hook them up directly into the ports. You don't even need any code (as long as you're fine with the default mappings on the controller).
I second this idea... The old VEX controller and radio are a great way to power up an older FRC bot or a practice bot... You can't really use your Driver control station with it but at least it gets it running and its cheap...

If you use Victors and Spikes you can control up to eight motors/pneumatics...

The Old VEX controller is pretty much the same as the old Control systems that FRC was using until the cRio. Same chips...same company..

Good stuff for prototyping... and you can program it in C (or use EasyC) ...

good luck!!
__________________
Raisbeck Aviation High School TEAM 1983 - Seattle, Washington
Las Vegas 07 WINNER w/ 1425/254...Seattle 08 WINNER w/ 2046/949.. Oregon 09 WINNER w/1318/2635..SEA 10 RCA ..Spokane 12 WINNER w/2122/4082 and RCA...Central Wa 13 WINNER w/1425/753..Seattle 13 WINNER w/948/492 & RCA ..Spokane 13 WINNER w/2471/4125.. Spokane 14 - DCA --Auburn 14 - WINNER w/1318/4960..District CMP 14 WINNER w/1318/2907, District CMA.. CMP 14 Newton Finalist w 971/341/3147 ... Auburn Mountainview 15 WINNER w/1318/3049 - Mt Vernon 15 WINNER w/1318/4654 - Philomath 15 WINNER w/955/847 -District CMP 15 WINNER w/955/2930 & District CMA -CMP Newton -Industrial Design Award

Reply With Quote
  #15   Spotlight this post!  
Unread 01-03-2011, 22:29
RoboMaster's Avatar
RoboMaster RoboMaster is offline
Alum, former programmer&co-captain
FRC #2472 (The Centurions)
Team Role: Mentor
 
Join Date: Apr 2008
Rookie Year: 2008
Location: Minnesota, Twin Cities
Posts: 268
RoboMaster has a brilliant futureRoboMaster has a brilliant futureRoboMaster has a brilliant futureRoboMaster has a brilliant futureRoboMaster has a brilliant futureRoboMaster has a brilliant futureRoboMaster has a brilliant futureRoboMaster has a brilliant futureRoboMaster has a brilliant futureRoboMaster has a brilliant futureRoboMaster has a brilliant future
Re: Arduino for Practice Bot

Quote:
Originally Posted by ajlapp View Post
Arduino makes an awesome practice bot brain....

We also use them for industry purposes, see a swerve bot we built this summer using an Arduino for custom wifi control.

http://www.team221.com/viewproduct.php?id=88

Team RUSH is also using one on their FRC bot this year to handle auton functions! Cheap, reliable and open-source!!
WOW, I am thoroughly impressed! Can I ask how much coding that took to get it to communicate with the rest of the robot (this year's robot and the robot you linked to)?
__________________
My engineering blog: noeticbrainwaves.blogspot.com

I'm not slacking, my code's compiling
...and I'm using LabVIEW
Reply With Quote
Reply


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


All times are GMT -5. The time now is 04:00.

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