2017:Controls: Difference between revisions

From 1511Wookiee
Jump to navigationJump to search
No edit summary
No edit summary
Line 77: Line 77:
##<s>Order LEDs</s> [we have enough already. not enough for robot, so the robot team can order what the robot will need]
##<s>Order LEDs</s> [we have enough already. not enough for robot, so the robot team can order what the robot will need]
##<s>Find and order round USB hub</s> [in shopping list]
##<s>Find and order round USB hub</s> [in shopping list]
##<strike>Laptop holder height</strike>
###<s>cord reel highest, so go by that</s>
###<s>put laptop power under it</s>
###<s>put lights PWB under it</s>
###<s>put broken switch PWB under it</s>
##
<s>Base depth</s>
###<s>laptop holder + velcro + laptop + 1/4" for safety</s>
##<s>Top pivot</s>
###<s>put cap on bottom of pipe</s>
###<s>use U clamps to restrain to side of bottom: 1st just above the end cap; 2nd near top edge</s>
###<s>T on top of pipe, with T resting on&nbsp;top's bottom surface</s>
###<s>how to attach to top? solder flat stock to T and bolt to top (will need pressed studs for this in the top). Bushing? (if so, need to move pipe further from side)</s>&nbsp;[use T, it will rest on top, maybe clamp to top]
###<s>ethernet goes on top</s>


= Horipad Driver Install =
= Horipad Driver Install =

Revision as of 07:49, 29 January 2017

Overall concept

Rectangular base large enough to hold the any of the current laptops that we have (approx 19.25" W x 13.75" D)
Top/lid will resemble a top hat.The sides will be curved to look like the brim. Painting will help define it better.
The hat will hold the XBOX controllers. A lid will be held on with magentics (drivers remove lid, pull out controllers).
Top will swing out on a pivot (1" copper pipe). Pivot will be on the left side, centered front-to-back. Driver will release a gate cane bolt looking lever, swing it open, then use same level to support the open top.
Controller cables will come up out of the pivot, then go into the hat.
Ethernet plug will be at the top of the pivot.
Power will come out of the base via retractable cord (from and iron).

To do:

  1. Look at Bob's steampunk stuff for inspiration.
  2. Cord reel
    1. CAD bracket to hold it [started]
    2. slots for 'hooks' to go into
    3. holes for bolts at bottom (currently has zip ties in them to keep cord together)
    4. maybe shave off the 'feet' on band saw
    5. maybe integrate into laptop holder [will be its own bracket]
    6. needs to be near a side so cord can exit base and release be pressed [cord will be pulled up through after the top is opened]
  3. Laptop holder height
    1. cord reel highest, so go by that
    2. put laptop power under it
    3. put lights PWB under it
    4. put broken switch PWB under it
  4. Base depth
    1. laptop holder + velcro + laptop + 1/4" for safety
  5. Top pivot
    1. put cap on bottom of pipe
    2. use U clamps to restrain to side of bottom: 1st just above the end cap; 2nd near top edge
    3. T on top of pipe, with T resting on top's bottom surface
    4. how to attach to top? solder flat stock to T and bolt to top (will need pressed studs for this in the top). Bushing? (if so, need to move pipe further from side) [use T, it will rest on top, maybe clamp to top]
    5. ethernet goes on top
  6. Top Latch
    1. design similar to 'gate cane bolt' (http://www.homedepot.com/p/Everbilt-12-in-Black-Gate-Cane-Bolt-15464/202042236)
    2. one nub at height to support top when open
    3. another num to lock latch when top is closed
    4. need bracket for side of base, to 2nd latch nub
    5. hole and offset slot in top to be able to pull up latch (latch needs to clear top so top can swing open)
  7. Top
    1. need pressed in studs to hold hat's lower rim
    2. put in 'recess' for bevel of T
    3. pressed in studs for strap that holds down T
    4. make hole through top the diameter of a 1" T
    5. finalize brim curves
    6. finalize pivot attachment (see Top Pivot)
    7. finalize latch (see Top Latch)
  8. Bottom
    1. pressed in studs for laptop holder
    2. pressed in studs for PWBs
    3. pressed in studs for cord reel bracket
    4. double-check letter height, now that we made the side taller
    5. cutout for gear
    6. cutout for power cord and release [no longer needed]
    7. Cut lettering into sides of controls.
  9. Order/Purchase/Find
    1. Eric to check for ether net port at work, or we need to order one
    2. Spade connectors for broken switches
    3. 1 - 1" copper T, 1 - 1" copper end cap, 3 - 1" copper pipe straps, 1 - 6" length of 1" copper pipe
    4. 1 - 3/4"+ NM twin-screw clamp (for cables into hat)
    5. 2 brackets [brackets]
    6. ​find thin metal for hat (roll of flashing: Debbie Supply or Home Depot (http://www.homedepot.com/p/Amerimax-Home-Products-10-in-x-10-ft-Mill-Finish-Aluminum-Roll-Valley-68310/100054269))
  10. Pre-assembly
    1. slot in pipe to run cables
    2. design 'gear' cover for USB hub (3D printing this)
    3. design 'corner' gear (3D printing this)
    4. design gear train (3D printing these, drill holes ourselves)
  11. Post-assembly
    1. get handle brackets and straight piece of pipe
    2. add guitar straps (drill ourselves)
    3. place USB hub
    4. Handle. 2 brackets [brackets] plus straight pipe
    5. Determine goggles for tophat.
    6. Whistle?
  12. Completed
    1. Determine if we are going to fabricate the top hat. [we are fabricating]
    2. Create drawing for the top oval of the top hat. We will need two of these, one for the bottom and one for the top. [sent 1/22/17]
    3. Create drawing for the door of the top hat. [sent 1/22/17]
    4. Move pivot point inside the box, need to determine the correct pipe [has been moved inside; using 1" copper pipe from Home Depot]
    5. Find USB joystick part. [in shopping list; recieved]
    6. Find PWB for driving the LEDs [in shopping list; recieved]
    7. Determine if we need a (gutair) strap, if so add holes for it. [will do strap; hand drill holes later; take from last year's controls]
    8. Order LEDs [we have enough already. not enough for robot, so the robot team can order what the robot will need]
    9. Find and order round USB hub [in shopping list]
    10. Laptop holder height
      1. cord reel highest, so go by that
      2. put laptop power under it
      3. put lights PWB under it
      4. put broken switch PWB under it

Base depth

      1. laptop holder + velcro + laptop + 1/4" for safety
    1. Top pivot
      1. put cap on bottom of pipe
      2. use U clamps to restrain to side of bottom: 1st just above the end cap; 2nd near top edge
      3. T on top of pipe, with T resting on top's bottom surface
      4. how to attach to top? solder flat stock to T and bolt to top (will need pressed studs for this in the top). Bushing? (if so, need to move pipe further from side) [use T, it will rest on top, maybe clamp to top]
      5. ethernet goes on top

Horipad Driver Install

Get Driver

Microsoft instructions: http://support.xbox.com/en-US/xbox-on-windows/accessories/connect-xbox-one-controller-to-pc

Follow Windows 7 steps under: Download and install Xbox One Controller driver

You must use Internet Explorer

Get the one called "Microsoft - Other hardware - Microsoft Xbox One Controller" that is for AMD64 (i.e. 64-bit).

If 7-zip is on the PC, use that to expand the contents of the .CAB file.

Install - First Controller on the PC

Plug in control

It will not find one anywhere, so you can tell open the New Hardware wizard and click 'Skip Searching Windows Update'; otherwise you will be waiting forever.

Open Windows' Device Manager; find the Horipad controller; right-click and select 'Update Driver'; then browse to the folder where you unzipped the .CAB file.

It will take a while to install (this is another point where you can tell it to 'Skip Searching Windows Update'.

Once the Gamepad is done, it will then search for a HID driver. Not sure if 'Skip' can be used in this case, so let it finish on its own.

NOTE: if driver fails with error 37, then the problem is that the wdfcoinstaller01011.dll is not in the C:\windows\system32. the installer copies it to c:\windows\system32\driver instead. so copy wdfcoinstaller01011.dll from c:\windows\system32\driver to c:\windows\system32

Install - Second Controller on the PC

Plug in control

Since you have the driver already installed, you can open the New Hardware wizard and click 'Skip Searching Windows Update' for the gamepad.

It will then install the HID portion, again you can 'Skip Searching Windows Update'.

PSoC Install (for lights)

PSoC Creator IDE

Download latest "PSoC Creator" from Cypress (http://www.cypress.com/products/psoc-creator-integrated-design-environment-ide) and install it (use Typical install; at end run Updater and maek sure you have the latest stuff)

For user name and password, you can use: mailme@mailinator.com mailme123

Toolkits and Board Driver Install

Get controls2016 from SVN

Run: vcredist_x86.exe

Run: USBSerialSDKSetup.exe (do Typical install; at end run Updater and maek sure you have the latest stuff)

Run: CY8CKIT04942xxSetupOnlyPackage_revSA.exe ()do Typical install; at end run Updater and maek sure you have the latest stuff)

While you press and hold the SW1 Prog button on the cypress board, plug in the USB cable to the PC (it will take a while for it to install 5 drivers).

Build/Program

Open PSoC Creator (Start -> Programs -> Cypress -> PSoC Creator -> PSoC Creator)

Open project: File -> Open -> Project/Workspace; then browse to FRC2016/controls2016/SCB_Bootloader/SCB_Bootloader.cywrk)

Build project: Build -> Build All Projects

While you press and hold the SW1 Prog button on the cypress board, plug in the USB cable to the PC

Download Boot Loader:

  • open programmer: Tools -> Bootloader Host
  • set 'File' to C:\Users\Robotics\Desktop\FRC2016\controls2016\SCB_Bootloader\Bootloadable Blinking LED.cydsn\CortexM0\ARM_GCC_493\Debug\Bootloadable Blinking LED.cyacd
  • select the com port for the cypress board
  • set Baud to 115200; Data Bits 8; Stop Bits 1; Parity None
  • download program: Actions -> Program

Meeting Minutes

1/14

Attendees: Eric, Mark, Aidan, Jeff, Brandon, Vincent, Josh

Work Completed: Initial brainstorming of controls design. Came up with a good concept based on a rotating lid with a top hat mounted to it.

1/15

Attendees: Mark

Work Completed: 

1/17

Attendees: Mark

Work Completed: 

1/18

Attendees: Eric, Aidan

Work Completed: Started CAD design of controls.

1/19

Attendees: Eric, Mark, Aidan

Work Completed: Completed a bit more of the CAD design. Eric and Mark came up with a complete list of To Do items that have been updated on the Wiki which should be the focus of Saturday.

1/21

Attendees: Eric, Mark, Alex, Zach, Aidan

Work Completed: Updated the Wiki. Decided we are fabricating the hat. Order a bunch of parts. Determined overall outer dimesnsions of the control box. Andrew prefers first choice XBOX controller.

1/22

Attendees: Mark, Aidan

Work Completed: Met with drivers to determine what the controller buttons will be. Casey wants the Horipad (i.e. last year's control). Updated top hat pieces (1" bigger to look good with rest of stuff). Create drawings & files for had rim and lid. Finished hat rim and lid and sent it to Harris. CADed the base of the Iron.

Received: iron [on controls shelf]

1/24

Attendees: Mark, Aidan, Alex

Work Completed: Re-did hat lid drawings. Put new top into assembly and fixed constraint. Updated light cut outs in laptop holder. Updated CAD for power supply (Dell is bigger); Added CAD for Lights PWB

Received: power adaptor; usb board [they are in the blue controls coffee can]

1/25

Attendees: Mark

Work Completed: Removed retractable cord from iron. Re-did todo list. Filled in overall concept section.

1/26

Attendees: Eric, Zack, Aidan

Work Completed: Cleaned up the cord model a bit. Added a cap to the copper pipe in the model. Spent more time thinking about how the hinge is (not) going to work. We received the LED controller and switches too, they are in the blue bucket.

1/28

Attendees: Eric, Mark, Zack, Aidan, Alex

Work Completed: Thinned down the cord reel. Decided on placement of cord reel. Finalized laptop holder. Finalized base. Finalized pivot design. Top is complete, except for changes needed for support. Come up with ides for top latch/support.

1/29

Attendees: 

Work Completed: 

1/31

Attendees: 

Work Completed: 

2/1

Attendees: 

Work Completed: 

2/2

Attendees: 

Work Completed: 

2/4

Attendees: 

Work Completed: 

2/5

Attendees: 

Work Completed: 

2/7

Attendees: 

Work Completed: 

2/8

Attendees: 

Work Completed: 

2/9

Attendees: 

Work Completed: 

2/11

Attendees: 

Work Completed: 

2/12

Attendees: 

Work Completed: 

2/14

Attendees: 

Work Completed: 

2/15

Attendees: 

Work Completed: 

2/16

Attendees: 

Work Completed: 

2/18

Attendees: 

Work Completed: 

2/19

Attendees: 

Work Completed: 

2/21

Attendees: 

Work Completed: 

Archives