Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Electrical (http://www.chiefdelphi.com/forums/forumdisplay.php?f=53)
-   -   Replacement robot controller for cRIO (http://www.chiefdelphi.com/forums/showthread.php?t=116672)

gluxon 04-05-2013 13:54

Replacement robot controller for cRIO
 
During a team meeting, I sat and looked at our miserably scraped 2012 robot. It had the cRIO and several electrical components removed for our current bot. As we all know, the cRIO setup is costly ($600), and I don't think any team can produce that much money each year for a new robot.

As a result, I looked into a replacement controller. I realize this will not be FRC legal, but the end goal is to revive old bots for presentation (and a ~$50 budget). I'm not worried about pneumatic control at the moment since this particular bot doesn't use them. All that's really needed is 8 PWM outputs.

After some googling, I ended up with the BeagleBone Black. It has exactly 8 PWM outputs and seems very ideal for this project. Additionally, the API is BeagleScript, which runs on Node.js, and Node.js is my life.

Does anyone see any technical limitations with this before I drop $45? It doesn't have to use any of the standard FIRST utilities (Drive Station), just remotely control 8 victors throw PWM. I'm am still open to suggestions for other boards.

mman1506 04-05-2013 14:08

Re: Replacement robot controller for cRIO
 
The problem with the beaglebone is it does not have a Real time operating system. This means that there is a delay when inputting data and things don't always work in real time. This becomes an issue for safety as proccesing can become delayed as you can not expect it to processe an input in a certain time frame.
If you're looking for a cheap and simple set-up I would try the robot open http://www.team221.com/robotopen/

fb39ca4 04-05-2013 18:08

Re: Replacement robot controller for cRIO
 
You can use an Arduino and an RC controller/receiver.

dtengineering 04-05-2013 18:20

Re: Replacement robot controller for cRIO
 
I've posted some code for controlling speed controllers with an Arduino, using bluetooth and the BlueBots app for Android, but there are a few other threads on the topic, too. http://www.chiefdelphi.com/forums/sh...5&postcount=12

I've tested the code, and it works great with dual CIMs and an UNO R3, can't see why it couldn't be modified to run 8 motors. It also has code to check for errors in data packets, and to shut the system down if a data connection is lost.

If you need more processing power, just step up to a MEGA or DUE... just watch that the new Due processor has 3.3V I/O lines, as opposed to the 5V lines on the Uno and Mega.

Jason

ajlapp 04-05-2013 23:07

Re: Replacement robot controller for cRIO
 
Clearly I'm biased :)

But the RobotOpen Control Shield is intended for this exact purpose.

It connects directly to the sidecar, has a complete driver station app and supports most any feature you would need for a typical FRC robot.

mman1506 04-05-2013 23:14

Re: Replacement robot controller for cRIO
 
Quote:

Originally Posted by fb39ca4 (Post 1272317)
You can use an Arduino and an RC controller/receiver.

BTW if you use a programmable radio like a turnigy 9x you can program the radio to do tank and holonomic drive and eliminate the arduino all together

Teamcodeorange 04-05-2013 23:18

Re: Replacement robot controller for cRIO
 
Quote:

Originally Posted by mman1506 (Post 1272388)
BTW if you use a programmable radio like a turnigy 9x you can program the radio to do tank and holonomic drive and eliminate the arduino all together

Could you really just plug talons into the 8ch receiver that the radio comes with?

mman1506 04-05-2013 23:20

Re: Replacement robot controller for cRIO
 
Quote:

Originally Posted by Teamcodeorange (Post 1272389)
Could you really just plug talons into the 8ch receiver that the radio comes with?

Yup, you can do all the mixing on the radio.

Teamcodeorange 04-05-2013 23:25

Re: Replacement robot controller for cRIO
 
Quote:

Originally Posted by mman1506 (Post 1272388)
BTW if you use a programmable radio like a turnigy 9x you can program the radio to do tank and holonomic drive and eliminate the arduino all together

Quote:

Originally Posted by mman1506 (Post 1272390)
Yup, you can do all the mixing on the radio.

Awesome! Thanks.

mman1506 04-05-2013 23:28

Re: Replacement robot controller for cRIO
 
Quote:

Originally Posted by Teamcodeorange (Post 1272391)
Awesome! Thanks.

One more thing. If you go this direction I would strongly recommend getting the 9xr or upgrading the 9x to er9x with a ISP programmer. It will give you way more programming options.

xisybyl 05-05-2013 00:24

Re: Replacement robot controller for cRIO
 
[quote=gluxon;1272241]During a team meeting, I sat and looked at our miserably scraped 2012 robot. It had the cRIO and several electrical components removed for our current bot. As we all know, the cRIO setup is costly ($600), and I don't think any team can produce that much money each year for a new robot.

As a result, I looked into a replacement controller. I realize this will not be FRC legal, but the end goal is to revive old bots for presentation (and a ~$50 budget). I'm not worried about pneumatic control at the moment since this particular bot doesn't use them. All that's really needed is 8 PWM outputs.

gluxon 05-05-2013 18:48

Re: Replacement robot controller for cRIO
 
Quote:

Originally Posted by ajlapp (Post 1272387)
Clearly I'm biased :)

But the RobotOpen Control Shield is intended for this exact purpose.

It connects directly to the sidecar, has a complete driver station app and supports most any feature you would need for a typical FRC robot.

I am looking at this at the moment, and it will probably be what I will go with. When do you think it will be restocked?

bnardone64 05-05-2013 19:41

Re: Replacement robot controller for cRIO
 
If your team has any spare VEX microcontrollers, they work great for controlling past FRC bots. They are a bit more expensive than the other options you are considering but they are reliable and easy to use. My team uses the older PIC microcontrollers for past FRC robots and other robots we've made for demonstrations.

Nirvash 05-05-2013 20:55

Re: Replacement robot controller for cRIO
 
Quote:

Originally Posted by gluxon (Post 1272548)
I am looking at this at the moment, and it will probably be what I will go with. When do you think it will be restocked?

It is in stock on Andymark

ajlapp 05-05-2013 21:40

Re: Replacement robot controller for cRIO
 
Quote:

It is in stock on Andymark
Exactly. :)


All times are GMT -5. The time now is 20:08.

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