2017:Controls: Difference between revisions

From 1511Wookiee
Jump to navigationJump to search
No edit summary
(Undo revision 8545 by ElectricalControls (talk))
Line 1: Line 1:
= Overall concept =
= 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)
<parsererror style="display: block; white-space: pre; border: 2px solid #c77; padding: 0 1em 0 1em; margin: 1em; background-color: #fdd; color: black">


Top/lid will resemble a top hat.The sides will be curved to look like the brim. Painting will help define it better.
=== This page contains the following errors: ===
<div style="font-family:monospace;font-size:12px">error on line 1 at column 628: attributes construct error</div>
=== Below is a rendering of the page up to the first error. ===


The hat will hold the XBOX controllers. A lid will be held on with magentics (drivers remove lid, pull out controllers).
&lt;/parsererror&gt;
 
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).


= <span style="line-height: 20.79px">To do:</span> =
= <span style="line-height: 20.79px">To do:</span> =

Revision as of 18:09, 25 January 2017

Overall concept

<parsererror style="display: block; white-space: pre; border: 2px solid #c77; padding: 0 1em 0 1em; margin: 1em; background-color: #fdd; color: black">

This page contains the following errors:

error on line 1 at column 628: attributes construct error

Below is a rendering of the page up to the first error.

</parsererror>

To do:

  1. Look at Bob's steampunk stuff for insperation.
  2. CAD bracket to hold cord reel (possibly integrate into laptop holder; attached to holder, then attach holder to base)
    1. need slots for hooks to go into
    2. need holes for bolts (currently has zip ties in them to keep cord together
    3. need cut out in base for cord to come out and to press button (or use plunger to press it)

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. Update todo list to next steps are hopefully clearer.

1/26

Attendees: 

Work Completed: 

1/28

Attendees: 

Work Completed: 

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