Go to Post Dean's "All Denim" (now referred to as "Deanim") look is apparently catching on. - AndyB [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 07-01-2017, 07:53
ProfessorAlekM ProfessorAlekM is offline
Registered User
FRC #6190
 
Join Date: Jan 2016
Location: Canton, Michigan
Posts: 33
ProfessorAlekM has a little shameless behaviour in the past
Wireless roboRIO control with a non-standard router

Hello!

My school is not competing in FRC this year so we are experimenting with autonomous instead.

However we do not have a standard OM5P-AN radio to run the bridge connection software and we can't control the roboRIO wirelessly through our N600 Netgear router. I can ping the roboRIO when connected to the network, and I even have UDP working between the roboRIO and a BeagleBone. However the driver station won't connect.

I've tried disabling the windows firewall (Domain profile, private profile, and public profile). However it doesn't work.

Is there any way to set up a non-standard radio for roboRIO control?
Reply With Quote
  #2   Spotlight this post!  
Unread 07-01-2017, 08:26
teletype-guy's Avatar
teletype-guy teletype-guy is offline
Old Fart Electrical Engineer
AKA: Gil Smith
FRC #0698 (Microbots)
Team Role: Mentor
 
Join Date: Dec 2016
Rookie Year: 2014
Location: Chandler, AZ
Posts: 16
teletype-guy is a jewel in the roughteletype-guy is a jewel in the roughteletype-guy is a jewel in the rough
Re: Wireless roboRIO control with a non-standard router

I took an old dlink router I had lying around, configured it to turn off dhcp, gave it a name of grio, and it works great. I connect my laptop wifi to grio, and driver station works properly.
Reply With Quote
  #3   Spotlight this post!  
Unread 07-01-2017, 09:22
codedr codedr is offline
Registered User
FRC #0537
Team Role: Mentor
 
Join Date: Mar 2010
Rookie Year: 2009
Location: Wisconsin
Posts: 75
codedr will become famous soon enoughcodedr will become famous soon enough
Re: Wireless roboRIO control with a non-standard router

If you can ping the roborio through the network, does the roborio config page come up in a browser?
Reply With Quote
  #4   Spotlight this post!  
Unread 07-01-2017, 17:54
teletype-guy's Avatar
teletype-guy teletype-guy is offline
Old Fart Electrical Engineer
AKA: Gil Smith
FRC #0698 (Microbots)
Team Role: Mentor
 
Join Date: Dec 2016
Rookie Year: 2014
Location: Chandler, AZ
Posts: 16
teletype-guy is a jewel in the roughteletype-guy is a jewel in the roughteletype-guy is a jewel in the rough
Re: Wireless roboRIO control with a non-standard router

Prior to doing the router hack, I connected the roboRIO over USB to update firmware, lay down the team-specific image...

Used a little 12V to 5V dc/dc converter to power router on robot. After that I tweaked the old router (turning off dhcp is the main thing):

Got an ancient D-Link DI-524 (T-Mobile-branded TM-G5240) -- this to become GRIO (Gils' roboRIO).

Press-hold Reset until lights off, to restore factory settings.

Turn computer wifi off.

Plug ethernet cable from computer to Port-1 on router.

Browse to 192.168.0.1 (if you use a different router, this all may be different).

- Username admin, password admin.

- Click wireless tab -- radio ON, SSID = GRIO, Chan-6, Open-System, and click Apply.

- Click DHCP tab -- select Disabled and click Apply.

- Click LAN tab -- just leave it at IP = 192.168.0.1, and mask = 255.255.255.0.

- Bridge Mode tab -- should be disabled.

- WAN tab, just leave alone.

Reboot just for grins.

Disconnect cable from computer and connect router Port-1 to roboRIO.

Turn computer wifi on and connect to GRIO.

Can use browser to get to roboRIO Sys Config home page at:
http://roborio-698-frc.local

Or, run DriverStation.

Easy-peasy.
Reply With Quote
  #5   Spotlight this post!  
Unread 07-01-2017, 18:45
teletype-guy's Avatar
teletype-guy teletype-guy is offline
Old Fart Electrical Engineer
AKA: Gil Smith
FRC #0698 (Microbots)
Team Role: Mentor
 
Join Date: Dec 2016
Rookie Year: 2014
Location: Chandler, AZ
Posts: 16
teletype-guy is a jewel in the roughteletype-guy is a jewel in the roughteletype-guy is a jewel in the rough
Re: Wireless roboRIO control with a non-standard router

Just to clarify:

By turning off the router's dhcp, it becomes a wireless access-point (I think that is the proper terminology), which simply connects wifi to the wired ethernet cable that goes to the roboRIO. I have also given it an ssid name to wirelessly advertise: "GRIO."

For robot use, I am connecting my laptop's wifi directly to the robot's GRIO (NOT through my home router). I can connect to the home router when I need internet, or connect to GRIO for controlling the robot. Not both.

The roboRIO seems to have its own DNS, so when I type http://roborio-698-frc.local into my browser (or when driverstation does the same sort of connection), it is resolved to whatever ip address is needed and the connection is made.

Note that 698 is our team number, and you need to substitute your team number (after you lay down the team-specific roboRIO image, of course).

gil
Reply With Quote
  #6   Spotlight this post!  
Unread 08-01-2017, 08:53
ProfessorAlekM ProfessorAlekM is offline
Registered User
FRC #6190
 
Join Date: Jan 2016
Location: Canton, Michigan
Posts: 33
ProfessorAlekM has a little shameless behaviour in the past
Re: Wireless roboRIO control with a non-standard router

Thank you so much for the help!

I've got a wireless bot now!
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:58.

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