2022:Controls: Difference between revisions

From 1511Wookiee
Jump to navigationJump to search
(Created page with " = Archives = *2020:Controls *2019:Controls *2018:Controls *2017:Controls *2016:Controls *2015:Electrical_Controls_Subteam *2014:Electrical_Con...")
 
No edit summary
Line 1: Line 1:
= Overall Concept =
= To do =
== Not Started ==
== In Process ==
== Completed ==
= Controls Assignments =
== Aux ==
== Bling ==
= Useful Links =
*[https://drive.google.com/drive/folders/1mrJ29Bna99VvxccyHFYumKEX9qNbtnoB Subteam Student/Mentor Photos]
*[http://pickmygadget.eu/products/zero-delay-arcade-usb-encoder-pc-to-joystick-control-panel-for-mame-2pin-sanwa-type-push-buttons/ Zero Delay USB Joystick Encoder]
*[https://www.robotshop.com/en/joystick-controller-board-raspberry-pi.html?gclid=CjwKCAiA99vhBRBnEiwAwpk-uCI3sfZSOkTNbZO4Q1DwXGxW-SGP3g4JU57wFHC53QszLoJcVA6IJhoCos8QAvD_BwE Joystick Controller Board]
*[https://robotdyn.com/analog-slide-position-potentiometer-10kohm.html Analog Slide Position]
*Example push buttons (need to make sure we pick ones that stay pushed; are not momentary):
**[https://www.newegg.com/Product/Product.aspx?Item=0T8-00J1-001E0 Push Button]
**[https://www.amazon.com/Easyget-Rectangular-Illuminated-Beatmania-Cabinet/dp/B00XL1EWVS/ref=sr_1_174?s=industrial&ie=UTF8&qid=1547162203&sr=1-174&keywords=lighted+push+button+switch Easyget]
**[https://www.amazon.com/Juyao-ELECTRONIC-44mm44mm-Illuminated-Microswitch/dp/B07C16K8V4/ref=sr_1_91?s=industrial&ie=UTF8&qid=1547162091&sr=1-91&keywords=lighted+push+button+switch Juyao] 
*Two USB hub options: 
**[https://www.amazon.com/Anker-Extended-MacBook-Surface-Notebook/dp/B07L32B9C2/ref=zg_bs_17387627011_1?_encoding=UTF8&psc=1&refRID=NCP33R68AJE39TXQF5B2 https://www.amazon.com/Anker-Extended-MacBook-Surface-Notebook/dp/B07L32B9C2/ref=zg_bs_17387627011_1?_encoding=UTF8&psc=1&refRID=NCP33R68AJE39TXQF5B2]
**[https://www.amazon.com/Anker-Unibody-Aluminum-Included-Adapter/dp/B00PBZX0OM/ref=dp_ob_title_ce https://www.amazon.com/Anker-Unibody-Aluminum-Included-Adapter/dp/B00PBZX0OM/ref=dp_ob_title_ce] 
==== PSoC Creator IDE ====
Download latest "PSoC Creator" from Cypress ([http://www.cypress.com/products/psoc-creator-integrated-design-environment-ide 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
<div class="mw-parser-output">
==== Toolkits and Board Driver Install ====
Get controls2019 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 make 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).
</div> <div class="mw-parser-output">
==== Build/Program ====
Open PSoC Creator (Start -> Programs -> Cypress -> PSoC Creator -> PSoC Creator)
Open project: File -> Open -> Project/Workspace; then browse to Desktop/FRC2020/trunk/controls/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\FRC2020\trunk\controls\SCB_Bootloader\Bootloadable Blinking LED.cydsn\CortexM0\ARM_GCC_541\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 =
<span style="font-size:large">1/15</span>
Attendees:
Work Completed:
<span style="font-size:large">1/16</span>
Attendees:
Work Completed:
<span style="font-size:large">1/18</span>
Attendees:
Work Completed:
<span style="font-size:large">1/19</span>
Attendees:
Work Completed:
<span style="font-size:large">1/20</span>
Attendees:
Work Completed:
<span style="font-size:large">1/22</span>
Attendees:
Work Completed:
<span style="font-size:large">1/23</span>
Attendees:
Work Completed:
<span style="font-size:large">1/25</span>
Attendees:
Work Completed:
<span style="font-size:large">1/26</span>
Attendees:
Work Completed:
<span style="font-size:large">1/27</span>
Attendees:
Work Completed:
<span style="font-size:large">1/29</span>
Attendees:
Work Completed:
<span style="font-size:large">1/30</span>
Attendees:
Work Completed:
<span style="font-size:large">2/1</span>
Attendees:
Work Completed:
<span style="font-size:large">2/2</span>
Attendees:
Work Completed:
<span style="font-size:large">2/3</span>
Attendees:
Work Completed:
<span style="font-size:large">2/5</span>
Attendees:
Work Completed:
<span style="font-size:large">2/6</span>
Attendees:
Work Completed:
<span style="font-size:large">2/8</span>
Attendees:
Work Completed:
<span style="font-size:large">2/9</span>
Attendees:
Work Completed:
<span style="font-size:large">2/10</span>
Attendees:
Work Completed:
<span style="font-size:large">2/12</span>
Attendees:
Work Completed:
<span style="font-size:large">2/13</span>
Attendees:
Work Completed:
<span style="font-size:large">2/15</span>
Attendees:
Work Completed:
<span style="font-size:large">2/16</span>
Attendees:
Work Completed:
<span style="font-size:large">2/17</span>
Attendees:
Work Completed:
<span style="font-size:large">2/19</span>
Attendees:
Work Completed:
<span style="font-size:large">2/20</span>
Attendees:
Work Completed:
= Controls Rules =
9.9 OPERATOR CONSOLE
R901 *Use the specified Driver Station Software. The Driver Station Software provided by National Instruments (install instructions found here) is the only application permitted to specify and communicate the operating mode (i.e. AUTO/TELEOP) and operating state (Enable/Disable) to the ROBOT. The Driver Station Software must be version 22.0 or newer.
Teams are permitted to use a portable computing device of their choice (laptop computer, tablet, etc.) to host the Driver Station Software while participating in MATCHES.
R902 *The OPERATOR CONSOLE must have a visible display. The OPERATOR CONSOLE, the set of COMPONENTS and MECHANISMS used by the DRIVERS and/or HUMAN PLAYERS to relay
commands to the ROBOT, must include a graphic display to present the Driver Station Software diagnostic information. It must be positioned within the OPERATOR CONSOLE so that the screen display can be clearly seen during inspection and in a MATCH.
R903 *Connect FMS Ethernet directly to the OPERATOR CONSOLE. Devices hosting the Driver Station Software must only interface with the FMS via the Ethernet cable provided at the DRIVER STATION (e.g. not through a switch). Teams may connect the FMS Ethernet cable to the device running the Driver Station Software directly via an Ethernet pigtail, or with a single-port Ethernet converter (e.g. docking station, USB-Ethernet converter, Thunderbolt-Ethernet converter, etc.). The Ethernet port on the OPERATOR CONSOLE must be easily and quickly accessible.
Teams are strongly encouraged to use pigtails on the Ethernet port used to connect to the FMS. Such pigtails will reduce wear and tear on the device’s port and, with proper strain relief employed, will protect the port from accidental damage.
R904 *OPERATOR CONSOLE physical requirements. The OPERATOR CONSOLE must not
A. be longer than 5 ft. (~152 cm),
B. be deeper than 1 ft. 2 in. (~35 cm) (excluding any items that are held or worn by the DRIVERS during the MATCH),
C. extend more than 6 ft. 6 in. (~198 cm) above the floor, or
D. attach to the FIELD (except as permitted by G301).
There is a 4 ft. 6 in. (~137 cm) long by 2 in. (nominal) wide strip of hook-and-loop tape (“loop” side) along the center of the DRIVER STATION support shelf that should be used to secure the OPERATOR CONSOLE to the shelf, per G301. See DRIVER STATION for details.
Please note that while there is no hard weight limit, OPERATOR CONSOLES that weigh more than 30 lbs. (~13 kg.) will invite extra scrutiny as they are likely to present unsafe circumstances.
R905 *FIELD wireless only. Other than the system provided by the FIELD, no other form of wireless communications shall be used to communicate to, from, or within the OPERATOR CONSOLE.
Examples of prohibited wireless systems include, but are not limited to, active wireless network cards and Bluetooth devices. For the case of the FIRST Robotics Competition, a motion sensing input device (e.g. Microsoft Kinect) is not considered wireless communication and is allowed.
R906 *No unsafe OPERATOR CONSOLES. OPERATOR CONSOLES shall not be made using hazardous materials, be unsafe, cause an unsafe condition, or interfere with other DRIVE TEAMS or the operation of other ROBOTS.


= Archives =
= Archives =

Revision as of 16:31, 11 January 2022

Overall Concept

To do

Not Started

In Process

Completed

Controls Assignments

Aux

Bling

Useful Links

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 controls2019 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 make 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 Desktop/FRC2020/trunk/controls/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\FRC2020\trunk\controls\SCB_Bootloader\Bootloadable Blinking LED.cydsn\CortexM0\ARM_GCC_541\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/15

Attendees:

Work Completed:

1/16

Attendees:

Work Completed:

1/18

Attendees:

Work Completed:

1/19

Attendees:

Work Completed:

1/20

Attendees:

Work Completed:

1/22

Attendees:

Work Completed:

1/23

Attendees:

Work Completed:

1/25

Attendees:

Work Completed:

1/26

Attendees:

Work Completed:

1/27

Attendees:

Work Completed:

1/29

Attendees:

Work Completed:

1/30

Attendees:

Work Completed:

2/1

Attendees:

Work Completed:

2/2

Attendees:

Work Completed:

2/3

Attendees:

Work Completed:

2/5

Attendees:

Work Completed:

2/6

Attendees:

Work Completed:

2/8

Attendees:

Work Completed:

2/9

Attendees:

Work Completed:

2/10

Attendees:

Work Completed:

2/12

Attendees:

Work Completed:

2/13

Attendees:

Work Completed:

2/15

Attendees:

Work Completed:

2/16

Attendees:

Work Completed:

2/17

Attendees:

Work Completed:

2/19

Attendees:

Work Completed:

2/20

Attendees:

Work Completed:

Controls Rules

9.9 OPERATOR CONSOLE R901 *Use the specified Driver Station Software. The Driver Station Software provided by National Instruments (install instructions found here) is the only application permitted to specify and communicate the operating mode (i.e. AUTO/TELEOP) and operating state (Enable/Disable) to the ROBOT. The Driver Station Software must be version 22.0 or newer.

Teams are permitted to use a portable computing device of their choice (laptop computer, tablet, etc.) to host the Driver Station Software while participating in MATCHES.

R902 *The OPERATOR CONSOLE must have a visible display. The OPERATOR CONSOLE, the set of COMPONENTS and MECHANISMS used by the DRIVERS and/or HUMAN PLAYERS to relay commands to the ROBOT, must include a graphic display to present the Driver Station Software diagnostic information. It must be positioned within the OPERATOR CONSOLE so that the screen display can be clearly seen during inspection and in a MATCH.

R903 *Connect FMS Ethernet directly to the OPERATOR CONSOLE. Devices hosting the Driver Station Software must only interface with the FMS via the Ethernet cable provided at the DRIVER STATION (e.g. not through a switch). Teams may connect the FMS Ethernet cable to the device running the Driver Station Software directly via an Ethernet pigtail, or with a single-port Ethernet converter (e.g. docking station, USB-Ethernet converter, Thunderbolt-Ethernet converter, etc.). The Ethernet port on the OPERATOR CONSOLE must be easily and quickly accessible.

Teams are strongly encouraged to use pigtails on the Ethernet port used to connect to the FMS. Such pigtails will reduce wear and tear on the device’s port and, with proper strain relief employed, will protect the port from accidental damage.

R904 *OPERATOR CONSOLE physical requirements. The OPERATOR CONSOLE must not A. be longer than 5 ft. (~152 cm), B. be deeper than 1 ft. 2 in. (~35 cm) (excluding any items that are held or worn by the DRIVERS during the MATCH), C. extend more than 6 ft. 6 in. (~198 cm) above the floor, or D. attach to the FIELD (except as permitted by G301).

There is a 4 ft. 6 in. (~137 cm) long by 2 in. (nominal) wide strip of hook-and-loop tape (“loop” side) along the center of the DRIVER STATION support shelf that should be used to secure the OPERATOR CONSOLE to the shelf, per G301. See DRIVER STATION for details.

Please note that while there is no hard weight limit, OPERATOR CONSOLES that weigh more than 30 lbs. (~13 kg.) will invite extra scrutiny as they are likely to present unsafe circumstances.

R905 *FIELD wireless only. Other than the system provided by the FIELD, no other form of wireless communications shall be used to communicate to, from, or within the OPERATOR CONSOLE.

Examples of prohibited wireless systems include, but are not limited to, active wireless network cards and Bluetooth devices. For the case of the FIRST Robotics Competition, a motion sensing input device (e.g. Microsoft Kinect) is not considered wireless communication and is allowed.

R906 *No unsafe OPERATOR CONSOLES. OPERATOR CONSOLES shall not be made using hazardous materials, be unsafe, cause an unsafe condition, or interfere with other DRIVE TEAMS or the operation of other ROBOTS.

Archives