Presentation is loading. Please wait.

Presentation is loading. Please wait.

Networking By: Matt Motl… Programmer Brent Everson… Programming Mentor.

Similar presentations

Presentation on theme: "Networking By: Matt Motl… Programmer Brent Everson… Programming Mentor."— Presentation transcript:

1 Networking By: Matt Motl… Programmer Brent Everson… Programming Mentor

2 Topics Covered IPs – IPs used Router – Setup / Reset / DHCP / SSID / Connections cRIO – Imaging Computer – Java Configuration Competition – What to expect / FMS / Bridge Mode After Competition – Router Setup Troubleshooting

3 IPs Your IP address scheme is based off of your team number For example, if your team number is 1234, your scheme would be 10.12.34.x IPs automatically used (using team number above for example) = Router = cRIO = Camera = Unused / Computer(s) Subnet Mask = Default Gateway and DNS are not required.

4 Router The router should be configured with the following, if your team number is 1234 IP of router: Subnet Mask of router: No Default Gateway or DNS DHCP server needs to hand out IP’s in the following range: to Wireless SSID should be set to your team number Optional: set up security so you have no unwanted connections

5 How to set up the router Out of the box, the default IP address is The username is Admin There is no password Go to in your web browser Enter in credentials If prompted to run wizard, hit cancel or click no Click on the “setup” tab Then, on the left-hand side, click on “LAN Settings” Enter in IP address, subnet mask, and then click on “Save Settings” This is valid for DAP-1522 REV. B1

6 How to set up the router - Continued

7 To set up the DHCP server: Click on the “Advanced” tab On the left-hand side, click on “DHCP Server” Check mark “Enable DHCP Server” (If this is not already checked) Set the DHCP IP Address Range to to 10 Set the Subnet Mask to Click “Save Settings”

8 How to set up the router - Continued

9 To set up the wireless(SSID) : Click on “Setup” On the left-hand side, click “Wireless Settings” Check mark “Enable Wireless”(If not already checked) Set your Wireless Network Name to your team number Click “Save Settings”

10 How to set up the router - Continued

11 If you need to reset your router to factory settings Have power turned on to the router Wait for router to fully boot, indicated by solid blue lights Take a paper clip, and push the reset button next to the power supply, and hold in for 10 seconds Remove the paperclip, and wait for the router to fully boot, indicated by solid blue lights Proceed to set the router up using the instructions

12 How to set up the router - Continued The router has 4 Ethernet ports, each is a separate LAN connection. The cRIO, Camera, and Computer (If you want to wire a computer up) should use the four LAN Ports

13 cRIO Imaging Your cRIO must be imaged prior to it’s first use. To do so, you must use the cRIO Imaging Tool. The default IP address of the cRIO is Initially, your computer must have it’s IP set to, after imaging, it will be your team number (

14 cRIO Imaging - Continued 1. To image your cRIO, ensure your computer is on the same subnet as the cRIO. 2. Click Scan/Rescan 3. Select the language you are using to program the robot. 4. Select the latest cRIO image provided by FIRST 5. Click Format Controller 6. Enter your team ID 7. Click Apply Your cRIO will be imaged (This may take up to 5 minutes) 2 4 33 5 6 7

15 cRIO Imaging - Continued If there is an error, the cRIO may have be corrupted The cRIO is corrupted if the status light is blinking in a sequence If your cRIO is corrupted, you will have to resolve whatever caused the error and try again.

16 Java Configuration In order to properly offload your code, NetBeans needs to be configured with your team number, which is used when connecting to the robot. To configure NetBeans, first go to options, under Tools. Click on Miscellaneous. Click on FRC Configuration. Insert your team number.


18 Competition – What to expect When you first arrive, you will need to take your access point to the pit administration table. At that point, they will configure your access point in bridge mode so that it can connect to the Field Management System (FMS). DO NOT modify settings or change the access point out of bridge mode after this point. When it comes time for your match, make sure your dashboard is loaded and your controller(s) are plugged in. Be sure your computer is set to DHCP, then plug in the Ethernet cable at your station. The Driver Station should say “FMS Connected” After this point, the FMS has the control to start and stop the match, and disable your robot in an emergency. *After competition, you will have to switch your access point back into AP mode, and reconfigure it, as shown earlier in this presentation.

19 Competition – What to expect - Continued

20 Things to check before match: Make sure the AP is in bridge mode Make sure the cRIO and other devices are plugged in Make sure the AP has power Check the connections of your controllers (sometimes Xbox controllers cables will become unplugged) Replace battery Charge laptop between matches

21 Troubleshooting Tools: ping Ipconfig Verify access point settings Verify computer settings Verify connections – Power cables, data cables, controller cables Make sure the robot is on and the access point has power Change battery on robot if necessary

Download ppt "Networking By: Matt Motl… Programmer Brent Everson… Programming Mentor."

Similar presentations

Ads by Google