Go to Post You heard it here first folks. The robot will definitely need wheels and will probably have an arm. - DampRobot [more]
Home
Go Back   Chief Delphi > Technical > Kit & Additional Hardware
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 20-12-2015, 20:46
klink135's Avatar
klink135 klink135 is offline
The one dat pushes da buttons
AKA: Max Jorgensen
FRC #5050 (Cow Town Robotics)
Team Role: Programmer
 
Join Date: Jul 2015
Rookie Year: 2015
Location: Carleton, MI
Posts: 14
klink135 is an unknown quantity at this point
Question Using an Andymark Arduino on a robot.

Hi! Our team for a practice project has been making a prototype garbage robot. We want Leds on it that change with controller input of the driver station. I have two questions
1. What are the options we have to make this system work.
2. If possible could we use the Roborio to give the Arduino the inputs.
  #2   Spotlight this post!  
Unread 20-12-2015, 21:12
KohKohPuffs KohKohPuffs is offline
The one with the punny last name
AKA: Daniel Koh
FRC #0299 (Valkyrie Robotics)
Team Role: Mechanical
 
Join Date: Jun 2015
Rookie Year: 2013
Location: Saratoga, CA
Posts: 121
KohKohPuffs has a spectacular aura aboutKohKohPuffs has a spectacular aura aboutKohKohPuffs has a spectacular aura about
Re: Using an Andymark Arduino on a robot.

I think roboRio has serial ports, and so does Arduino, so you can send data from the roboRio to the Arduino, and the Arduino can translate the data into something that can be run through a logic gate. RoboRio definitely has PWM outputs, and the Arduino can read that using analogRead() or something like that.

NOTE: I'm a CADer, not a coder nor electrical guy. So if I'm wrong... well... uh...
__________________
-KohKoh

115 MVRT, Driver (2013-2015)
649 M-SET, CAD (2015-2016)
299 Valkyrie Robotics, Mechanical Director (2016 - present)
  #3   Spotlight this post!  
Unread 20-12-2015, 21:15
EricH's Avatar
EricH EricH is offline
New year, new team
FRC #1197 (Torbots)
Team Role: Engineer
 
Join Date: Jan 2005
Rookie Year: 2003
Location: SoCal
Posts: 19,787
EricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond repute
Re: Using an Andymark Arduino on a robot.

Arduino has USB (USB-B, I think). RoboRIO has USB. You should be able to use that to your advantage.
__________________
Past teams:
2003-2007: FRC0330 BeachBots
2008: FRC1135 Shmoebotics
2012: FRC4046 Schroedinger's Dragons

"Rockets are tricky..."--Elon Musk

  #4   Spotlight this post!  
Unread 20-12-2015, 21:46
GeeTwo's Avatar
GeeTwo GeeTwo is offline
Technical Director
AKA: Gus Michel II
FRC #3946 (Tiger Robotics)
Team Role: Mentor
 
Join Date: Jan 2014
Rookie Year: 2013
Location: Slidell, LA
Posts: 3,606
GeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond repute
Re: Using an Andymark Arduino on a robot.

Unless you need a larger number of ports, there isn't much you can do on the Arduino that you can't do with just the 'RIO. We controlled some RGB LEDs on our robot last year using a couple of relay ports and spikes, though we could have used 12V relay modules given the small current draw of the LED strips. If you do need an Arduino, I agree that USB is most likely your comms path of choice, because it is supported by hardware buffering and canned software classes on both sides of the connection.
__________________

If you can't find time to do it right, how are you going to find time to do it over?
If you don't pass it on, it never happened.
Robots are great, but inspiration is the reason we're here.
Friends don't let friends use master links.
  #5   Spotlight this post!  
Unread 20-12-2015, 21:49
Ari423's Avatar
Ari423 Ari423 is online now
LabVIEW aficionado and robot addict
AKA: The guy with the yellow hat
FRC #5987 (Galaxia)
Team Role: Mentor
 
Join Date: Mar 2015
Rookie Year: 2012
Location: Haifa, Israel
Posts: 597
Ari423 has a brilliant futureAri423 has a brilliant futureAri423 has a brilliant futureAri423 has a brilliant futureAri423 has a brilliant futureAri423 has a brilliant futureAri423 has a brilliant futureAri423 has a brilliant futureAri423 has a brilliant futureAri423 has a brilliant futureAri423 has a brilliant future
Re: Using an Andymark Arduino on a robot.

Quote:
Originally Posted by EricH View Post
Arduino has USB (USB-B, I think). RoboRIO has USB. You should be able to use that to your advantage.
It has both USB-A (2x) and USB-B. I would imagine since most Arduinos use a mini- or micro- USB port (I can never remember which is which) you will have more luck finding a cable for the USB-A ports than the USB-B port. That being said, both have built-in libraries for Serial communication, so interfacing the two shouldn't be too difficult as long as you make sure they are encrypting and decrypting the Serial the same way. (Disclaimer: I haven't done this exactly before, but I did something similar using a PC instead of a RoboRIO)
__________________
2017-present: Mentor FRC 5987
2017-present: CSA for FIRST in Israel
2012-2016: Member FRC 423
2013: Programmer
2014: Head Programmer, Wiring
2015: Head Programmer, Wiring
2016: Captain, Head Programmer, Wiring, Manipulator, Chassis, CAD, Business, Outreach (basically everything)


  #6   Spotlight this post!  
Unread 20-12-2015, 23:26
Joe Ross's Avatar Unsung FIRST Hero
Joe Ross Joe Ross is offline
Registered User
FRC #0330 (Beachbots)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1997
Location: Los Angeles, CA
Posts: 8,567
Joe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond repute
Using an Andymark Arduino on a robot.

Quote:
Originally Posted by GeeTwo View Post
Unless you need a larger number of ports, there isn't much you can do on the Arduino that you can't do with just the 'RIO. We controlled some RGB LEDs on our robot last year using a couple of relay ports and spikes, though we could have used 12V relay modules given the small current draw of the LED strips.
The roboRIO can't control neopixel LEDs, which can do much more then the LED strips you used.

Quote:
Originally Posted by GeeTwo View Post
If you do need an Arduino, I agree that USB is most likely your comms path of choice, because it is supported by hardware buffering and canned software classes on both sides of the connection.

What USB library do you suggest for the roboRIO?
  #7   Spotlight this post!  
Unread 23-12-2015, 15:18
DrWaSaBi's Avatar
DrWaSaBi DrWaSaBi is offline
Registered User
FRC #1711 (The RAPTORS)
Team Role: Mentor
 
Join Date: Feb 2015
Rookie Year: 2015
Location: Traverse City, Mi. USA
Posts: 9
DrWaSaBi is an unknown quantity at this point
Re: Using an Andymark Arduino on a robot.

Unless it's the number of ports you need, or your loading some LED library. I would think you could drive them right from the RoboRio. Most LED strips I've seen just take some sort of pwm. I would think you could drive them direct.

Dr. W
  #8   Spotlight this post!  
Unread 23-12-2015, 15:50
techhelpbb's Avatar
techhelpbb techhelpbb is offline
Registered User
FRC #0011 (MORT - Team 11)
Team Role: Mentor
 
Join Date: Nov 2010
Rookie Year: 1997
Location: New Jersey
Posts: 1,620
techhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond repute
Re: Using an Andymark Arduino on a robot.

This may help:
http://www.chiefdelphi.com/forums/sh...hreadid=131776
  #9   Spotlight this post!  
Unread 26-12-2015, 12:39
Greg Needel's Avatar Unsung FIRST Hero
Greg Needel Greg Needel is offline
REVving up for a new season
FRC #2848 (All-sparks)
Team Role: Engineer
 
Join Date: Jan 2002
Rookie Year: 2002
Location: Dallas, TX
Posts: 3,105
Greg Needel has a reputation beyond reputeGreg Needel has a reputation beyond reputeGreg Needel has a reputation beyond reputeGreg Needel has a reputation beyond reputeGreg Needel has a reputation beyond reputeGreg Needel has a reputation beyond reputeGreg Needel has a reputation beyond reputeGreg Needel has a reputation beyond reputeGreg Needel has a reputation beyond reputeGreg Needel has a reputation beyond reputeGreg Needel has a reputation beyond repute
Re: Using an Andymark Arduino on a robot.

I think you should check out the RIOdunio. It is a custom arduino designed to talk to the roborio through the mxp port. You mention controlling LEd's we have a special breakout for neopixle strips on every RIOduino. They are also available from AndyMark.

http://www.andymark.com/product-p/am-2996.htm
__________________
Greg Needel│www.robogreg.com
Co-founder REV Robotics LLC www.REVrobotics.com
2014 FRC World Champions with 254, 469, & 74
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


All times are GMT -5. The time now is 07: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