Go to Post Most importantly, get some sleep. - Libby K [more]
Home
Go Back   Chief Delphi > Technical > Control System
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 08-17-2016, 05:30 PM
BlueVista BlueVista is offline
Registered User
FRC #4778
 
Join Date: Aug 2016
Location: Chanhassen, Minnesota
Posts: 1
BlueVista is an unknown quantity at this point
Interfacing a Turnigy 9x 8ch receiver through the RoboRIO's PWM or DIO ports

So my team has asked me to figure out how to control last season's robot with a Turnigy 9x 8ch receiver for demoing purposes. The reason for this is last year one of our robots lost WiFi connectivity during one of our demos and kept driving forward until it pinned a person to a wall.

I was told I need to figure out how to use the RC receiver with the RoboRIO's PWM or DIO ports which I don't know very much about. Does anybody have any knowledge on how to do this?
Reply With Quote
  #2   Spotlight this post!  
Unread 08-17-2016, 05:34 PM
Bkeeneykid's Avatar
Bkeeneykid Bkeeneykid is offline
#wheatcoastneatcoast
AKA: Devin Keeney
FRC #1982 (Cougar Robotics); Season Long Fantasy FIRST (F3)
Team Role: Student
 
Join Date: Feb 2015
Rookie Year: 2015
Location: Lenexa, Kansas
Posts: 293
Bkeeneykid has much to be proud ofBkeeneykid has much to be proud ofBkeeneykid has much to be proud ofBkeeneykid has much to be proud ofBkeeneykid has much to be proud ofBkeeneykid has much to be proud ofBkeeneykid has much to be proud ofBkeeneykid has much to be proud of
Re: Interfacing a Turnigy 9x 8ch receiver through the RoboRIO's PWM or DIO ports

You'll just hook the receiver up to power, then plug in your motor controllers to the receiver. Assuming standard controls, I don't think you can get DIO to or from the receiver.
__________________

F4 Network Website Designer

2010-2012: A Whole Buncha FLL Teams; Team Spirit, Gracious Professionalism Award winner
2015-Current: FRC 1982, Captain, Electrical Lead
Beginning FIRST Volunteer

Moderator on the FIRSTwiki
Reply With Quote
  #3   Spotlight this post!  
Unread 08-17-2016, 11:58 PM
otherguy's Avatar
otherguy otherguy is offline
sparkE
AKA: James
FRC #2168 (The Aluminum Falcons)
Team Role: Mentor
 
Join Date: Feb 2010
Rookie Year: 2009
Location: CT
Posts: 429
otherguy is a splendid one to beholdotherguy is a splendid one to beholdotherguy is a splendid one to beholdotherguy is a splendid one to beholdotherguy is a splendid one to beholdotherguy is a splendid one to beholdotherguy is a splendid one to behold
The RC receiver will be used in place of the RoboRIO. You could technically have the RC receiver feed the to go top and then have the Rio drive all the motors, but you won't be able to utilize SOUp in or Labview without making modifications to remove the reliance on driverstation packets to keep everything enabled. This type of configuration isn't a small undertaking if you're here asking about how to plug things in.

Easiest way to wire it up will be to remove the Rio entirely.

Any motor controllers you were using will be driven by the PWM outputs on the RC receiver. After wiring them up you'll likely need to go through the calibration sequence on each motor controller while the RC receiver is powered (and you're walking the signal through its full range of input vals). If you don't know how to calibrate the motor controllers, Google or ask here. You need to let us know what type of controllers you're using.

It you had any sensors wired to the rio, or any pneumatic components, you're not going to be able to easily interface that with the RC controller. And for the most part any automation you may have programmed in to the too will not be replicated with the RC system.

Sent from my LGLS751 using Tapatalk
__________________
http://team2168.org
Reply With Quote
  #4   Spotlight this post!  
Unread 08-18-2016, 08:38 AM
ILAMtitan ILAMtitan is offline
Texas Instruments
AKA: Bart Basile
FRC #3005 (RoboChargers)
Team Role: Mentor
 
Join Date: Nov 2013
Rookie Year: 2013
Location: Dallas
Posts: 69
ILAMtitan will become famous soon enoughILAMtitan will become famous soon enough
Re: Interfacing a Turnigy 9x 8ch receiver through the RoboRIO's PWM or DIO ports

I assume that you are planning on removing the rio and just using the 9x controls manually?

All of the motor controllers and servos will work via the PWM outputs of the Turnigy RX module. For your main drive, just use a PWM spliter. You can use elevator and throttle (Y axis on both sticks) to control your drive motors. This makes using rudder and aileron (the x axis) for other functions tricky though. Something you can do to get around that is to setup differential steering in the radio mixes. I did this with one of our engineering bots early in the year, and it worked really well. Here's a video on how to do it: https://www.youtube.com/watch?v=YNx9DHySD9A

That should get you a driving robot, and the other stick free for your mechanisms. There is a pretty big community around the 9x transmitter, and subsequently a lot of modifications you can make to it to improve it immensely. These are mostly for people flying aircraft, but some of it may be applicable if you google around.
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 11:39 AM.

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