2017:Controls

From 1511Wookiee
Revision as of 14:55, 22 January 2017 by ElectricalControls (talk | contribs)
Jump to navigationJump to search

Overall concept

To do:

  1. Look at Bob's steampunk stuff for insperation.
  2. Determine if we are going to fabricate the top hat. If so: [we are fabricating]
    1. 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.
    2. Create drawing for the door of the top hat.
    3. Add studs on the top for the bottom of the hat.
  3. Finish the controls top.
    1. Need space for bushing on top.
  4. Move pivot point inside the box, need to determine the correct pipe. [has been moved inside; using 1" copper pipe from Home Depot]
    1. Need to make a slot in the pipe to run cables up it.
    2. Need straps for the pipe.
  5. Add cutout in the base corner for the gear.
  6. Find USB joystick part. [in shopping list]
  7. Find PWB for driving the LEDs. [in shopping list]
  8. 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] 
  9. Order LEDs. [we have enough already. not enough for robot, so the robot team can order what the robot will need]
  10. Make sure base depth is ok:
    1. Get laptop power supply under laptop.
    2. Get model of cord reel under laptop.
    3. Add gear in corner.
    4. Get circuit board in model.
  11. Find and order round USB hub [in shopping list]
    1. Get USB hub in model, on the top.
  12. Adjust laptop stand.
  13. Add broken switches to model.
  14. Order broken switches. [on shopping list]
  15. Cut lettering into sides of controls.
  16. Add Ethernet jack to model. Could you use a circular connector and put this on the top of the round spinner.
  17. Find/design copper handle. [1]
  18. Add latch design
    1. Put hole in lid
  19. Find thin metal for hat.
  20. Design gear train. Add to model.
  21. Design corner gear.
  22. Determine goggles for tophat.
  23. Whistle?
  24. Find continous servo motors.

Misc:

Dashboard:

Lights

Controls:

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, Aiden, Jeff, Brandon, Vincent

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, Aiden

Work Completed: Started CAD design of controls.

1/19

Attendees: Eric, Mark, Aiden

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

Work Completed: Updated the Wiki.

1/22

Attendees: 

Work Completed: 

1/24

Attendees: 

Work Completed: 

1/25

Attendees: 

Work Completed: 

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