2013:Electrical Controls Subteam: Difference between revisions

From 1511Wookiee
Jump to navigationJump to search
(→‎Resources: cleaned-up SmartDashboard table and put in TBDs)
No edit summary
Line 1: Line 1:
= Electrical Controls Design =
= Electrical Controls Design =
'''Control Board Layout'''
[[File:Control Board.jpg]]


==  ==
'''Control Board Layout''' [[File:Control Board.jpg]]
<br/>'''Block Diagram''' [[File:Controls Block Diagram.png]]


'''Block Diagram'''
[[File:Controls Block Diagram.png]]
= Resources =
= Resources =


<br/><u>'''Operator Controls:'''</u>
<u>'''Operator Controls:'''</u>


Joystick 1 (Drive Left)


Joystick 1 (Drive Left)
{| cellspacing="1" border="1"
{| style="float: left; "cellpadding="1" cellspacing="1" border="1"
|-
|-
| Button/Axis
| Button/Axis
Line 55: Line 56:
| Y-axis
| Y-axis
| Drive Forward/Drive Backwards (Left Wheels)
| Drive Forward/Drive Backwards (Left Wheels)
|-
|}
|}


<br/>Joystick 2 (Drive Right)


Joystick 2 (Drive Right)
{| cellspacing="1" border="1" cellpadding="1"
{| cellpadding="1" cellspacing="1" border="1"
|-
|-
| Button/Axis
| Button/Axis
Line 103: Line 103:
| Y-axis
| Y-axis
| Drive Forward/Drive Backwards (Right Wheels)
| Drive Forward/Drive Backwards (Right Wheels)
|-
|}
|}


<br/>Joystick 3 (Aux)


Joystick 3 (Aux)
{| cellspacing="1" border="1" cellpadding="1"
{| cellpadding="1" cellspacing="1" border="1"
|-
|-
| Button/Axis
| Button/Axis
Line 120: Line 119:
|-
|-
| 3
| 3
| Index Disc (Manually control index motor; only used when <u>Storage Broken Switch</u> is set)  
| Index Disc (Manually control index motor; only used when <u>Storage Broken Switch</u> is set)
|-
|-
| 4
| 4
Line 151: Line 150:
| Y-axis
| Y-axis
| Manually climb for arm (up/down; only used when <u>Arm Broken Switch</u> is set)
| Manually climb for arm (up/down; only used when <u>Arm Broken Switch</u> is set)
|-
|}
|}


<br/>Joystick 4 (Extended IO)


Joystick 4 (Extended IO)
{| cellspacing="1" border="1" cellpadding="1"
{| cellpadding="1" cellspacing="1" border="1"
|-
|-
| Button/Axis
| Button/Axis
| Function
| Function
|-
|-
| 1  
| 1
| Storage Broken Switch (When broken, the aux driver will use a joystick button to move the fan blade motor (motor moves at constant speed and for the duration the button is pressed.)  
| Storage Broken Switch (When broken, the aux driver will use a joystick button to move the fan blade motor (motor moves at constant speed and for the duration the button is pressed.)
|-
|-
| 2
| 2
Line 168: Line 166:
|-
|-
| 3
| 3
| Lift (Angle Mech) Broken Switch. (When broken, the angle mech can still move either "up" or "down" if over dead center position.  
| Lift (Angle Mech) Broken Switch. (When broken, the angle mech can still move either "up" or "down" if over dead center position.
|-
|-
| 4
| 4
| Shooter/Storage Broken Switch (not allowed to shoot mode, control angle, or move storage motor!)  
| Shooter/Storage Broken Switch (not allowed to shoot mode, control angle, or move storage motor!)
|-
|-
| 5
| 5
| Auto-Climb Broken Switch (When broken, the primary driver will need to align arms with horizontal bars and aux driver willl use buttons to move lifting arms.  
| Auto-Climb Broken Switch (When broken, the primary driver will need to align arms with horizontal bars and aux driver willl use buttons to move lifting arms.
|-
|-
| 6
| 6
| Arm Broken Switch (Arms move up/down at set constant speed)  
| Arm Broken Switch (Arms move up/down at set constant speed)
|-
|-
| 7
| 7
| Climbing Completely Broken Switch (Not allowed to climb mode; Set broken when any motors/servors/actuators are broken)  
| Climbing Completely Broken Switch (Not allowed to climb mode; Set broken when any motors/servors/actuators are broken)
|-
|-
| 8
| 8
Line 199: Line 197:
| Y-axis
| Y-axis
| Angle Potentiometer (Slider)
| Angle Potentiometer (Slider)
|-
|}
|}


<br/>SmartDashboard


SmartDashboard
{| cellspacing="1" border="1" cellpadding="1"
 
{| cellpadding="1" cellspacing="1" border="1"
|-
|-
| Area
| Area
Line 213: Line 209:
| String Name
| String Name
|-
|-
| Main ???
| Main&nbsp;???
| Discs in Robot
| Discs in Robot
| Set by driver prior to match to indicate how many discs they put in the robot for the match
| Set by driver prior to match to indicate how many discs they put in the robot for the match
|
|  
| TBD  
| TBD
|-
|-
| Main
| Main
Line 223: Line 219:
| This will be a direct feed from the camera.
| This will be a direct feed from the camera.
| The internet address will be based on the <u>Team Number</u>.
| The internet address will be based on the <u>Team Number</u>.
| n/a  
| n/a
|-
|-
| Main
| Main
Line 229: Line 225:
| The Crosshairs that show the center of the shooter, to help align shooter to fire discs appropriatly.
| The Crosshairs that show the center of the shooter, to help align shooter to fire discs appropriatly.
| This would mostly be a simple line down the middle of the <u>Camera Feed</u> and across the middle of it to help line up where the disc will shoot.
| This would mostly be a simple line down the middle of the <u>Camera Feed</u> and across the middle of it to help line up where the disc will shoot.
| n/a  
| n/a
|-
|-
| Main
| Main
| Power meter
| Power meter
| Meter next to the <u>Camera Feed</u> that shows the robot shooter's current power. Would be a bar with a label next to it with a number representing power, scaling from 0 to 100 (???)
| Meter next to the <u>Camera Feed</u> that shows the robot shooter's current power. Would be a bar with a label next to it with a number representing power, scaling from 0 to 100 (???)
| There is no real delay for desired power, so this is just shown as a one green bar.  
| There is no real delay for desired power, so this is just shown as a one green bar.
| Shooterpower
| Shooterpower
|-
|-
Line 240: Line 236:
| Angle meter
| Angle meter
| Meter next to the <u>Power Meter</u> that displays what angle the robot is currently at and the desired angle (i.e. slider position). Would be a bar with a two labels next to it.
| Meter next to the <u>Power Meter</u> that displays what angle the robot is currently at and the desired angle (i.e. slider position). Would be a bar with a two labels next to it.
| There are two colors for the bar, red and green. The green will go towards the red (the red will get smaller) as you reach your desired angle. The tip of where the red is is the desired angle, and the green is the current angle. There are also two numbers, one showing desired angle and one showing current angle.  
| There are two colors for the bar, red and green. The green will go towards the red (the red will get smaller) as you reach your desired angle. The tip of where the red is is the desired angle, and the green is the current angle. There are also two numbers, one showing desired angle and one showing current angle.
| Actualangle, Desiredangle
| Actualangle, Desiredangle
|-
|-
Line 262: Line 258:
|-
|-
| Setup Dialog
| Setup Dialog
|Using Autonomous ???
| Using Autonomous&nbsp;???
|Checkbox to ask if we are using autonomous.  
| Checkbox to ask if we are using autonomous.
|Check to use autonomous, uncheck if you aren't using autonomous. This has the same effect as selecting mode 0.
| Check to use autonomous, uncheck if you aren't using autonomous. This has the same effect as selecting mode 0.
| TBD
| TBD
|}
|}
Line 272: Line 268:
== Week 1 ==
== Week 1 ==


*[[2013:Electrical Controls 01.10|1/10]]
**
*[[2013:Electrical Controls 01.12|1/12]]


== Week 2 ==
== Week 2 ==


*[[2013:Electrical Controls 01.13|1/13]]
*****
*[[2013:Electrical Controls 01.15|1/15]]
*[[2013:Electrical Controls 01.16|1/16]]
*[[2013:Electrical Controls 01.17|1/17]]
*[[2013:Electrical Controls 01.19|1/19]]


== Week 3 ==
== Week 3 ==


*[[2013:Electrical Controls 01.20|1/20]]
*****
*[[2013:Electrical Controls 01.22|1/22]]
*[[2013:Electrical Controls 01.23|1/23]]
*[[2013:Electrical Controls 01.24|1/24]]
*[[2013:Electrical Controls 01.26|1/26]]


== Week 4 ==
== Week 4 ==


*[[2013:Electrical Controls 01.27|1/27]]
*****
*[[2013:Electrical Controls 01.29|1/29]]
*[[2013:Electrical Controls 01.30|1/30]]
*[[2013:Electrical Controls 01.31|1/31]]
*[[2013:Electrical Controls 02.02|2/02]]


== Week 5 ==
== Week 5 ==


*[[2013:Electrical Controls 02.03|2/03]]
******
*[[2013:Electrical Controls 02.05|2/05]]
*[[2013:Electrical Controls 02.06|2/06]]
*[[2013:Electrical Controls 02.07|2/07]]
*[[2013:Electrical Controls 02.08|2/08]]
*[[2013:Electrical Controls 02.09|2/09]]


== Week 6 ==
== Week 6 ==


*[[2013:Electrical Controls 02.10|2/10]]
**********
*[[2013:Electrical Controls 02.11|2/11]]
*[[2013:Electrical Controls 02.12|2/12]]
*[[2013:Electrical Controls 02.13|2/13]]
*[[2013:Electrical Controls 02.14|2/14]]
*[[2013:Electrical Controls 02.15|2/15]]
*[[2013:Electrical Controls 02.16|2/16]]
*[[2013:Electrical Controls 02.17|2/17]]
*[[2013:Electrical Controls 02.18|2/18]]
*[[2013:Electrical Controls 02.19|2/19]]


Engineering Notebook Templates Available at:[[Engineering Notebook Template|Engineering_Notebook_Template]]
Engineering Notebook Templates Available at:


Please Label All Notebook Pages&nbsp;<u>2013:Electrical Controls XX.XX</u> to avoid confusion.
Please Label All Notebook Pages&nbsp;<u>2013:Electrical Controls XX.XX</u> to avoid confusion.

Revision as of 09:56, 9 February 2013

Electrical Controls Design

Control Board Layout Control Board.jpg


Block Diagram Controls Block Diagram.png

Resources

Operator Controls:

Joystick 1 (Drive Left)

Button/Axis Function
1 Turbo
2 Slow
3 Change to Shooter or Climber Mode (press and hold for Climber mode)
4
5
6 Debug Shooter
7 Debug Climber
8
9
10 Debug Target
11 Debug Drive
X-axis
Y-axis Drive Forward/Drive Backwards (Left Wheels)


Joystick 2 (Drive Right)

Button/Axis Function
1 Turbo
2 Slow
3 Change to Shooter or Climber Mode (press and hold for Climber mode)
4
5
6
7
8
9
10
11
X-axis
Y-axis Drive Forward/Drive Backwards (Right Wheels)


Joystick 3 (Aux)

Button/Axis Function
1 Shoot Disc
2 Feed Mode
3 Index Disc (Manually control index motor; only used when Storage Broken Switch is set)
4 Tilt Camera Down
5 Tilt Camera Up
6 Deploy
7 Climb (press and hold during entire climb; climb will stop when released; only used when Auto-Climb Broken Swtich is NOT set)
8 Control Light Ring
9
10
11
X-axis
Y-axis Manually climb for arm (up/down; only used when Arm Broken Switch is set)


Joystick 4 (Extended IO)

Button/Axis Function
1 Storage Broken Switch (When broken, the aux driver will use a joystick button to move the fan blade motor (motor moves at constant speed and for the duration the button is pressed.)
2 Shooter Broken Switch (allow manual power input to shoot)
3 Lift (Angle Mech) Broken Switch. (When broken, the angle mech can still move either "up" or "down" if over dead center position.
4 Shooter/Storage Broken Switch (not allowed to shoot mode, control angle, or move storage motor!)
5 Auto-Climb Broken Switch (When broken, the primary driver will need to align arms with horizontal bars and aux driver willl use buttons to move lifting arms.
6 Arm Broken Switch (Arms move up/down at set constant speed)
7 Climbing Completely Broken Switch (Not allowed to climb mode; Set broken when any motors/servors/actuators are broken)
8
9
10
11
X-axis Power potentiometer (Slider)
Y-axis Angle Potentiometer (Slider)


SmartDashboard

Area Description Operation Notes String Name
Main ??? Discs in Robot Set by driver prior to match to indicate how many discs they put in the robot for the match TBD
Main Camera Feed This will be a direct feed from the camera. The internet address will be based on the Team Number. n/a
Main Camera Crosshairs The Crosshairs that show the center of the shooter, to help align shooter to fire discs appropriatly. This would mostly be a simple line down the middle of the Camera Feed and across the middle of it to help line up where the disc will shoot. n/a
Main Power meter Meter next to the Camera Feed that shows the robot shooter's current power. Would be a bar with a label next to it with a number representing power, scaling from 0 to 100 (???) There is no real delay for desired power, so this is just shown as a one green bar. Shooterpower
Main Angle meter Meter next to the Power Meter that displays what angle the robot is currently at and the desired angle (i.e. slider position). Would be a bar with a two labels next to it. There are two colors for the bar, red and green. The green will go towards the red (the red will get smaller) as you reach your desired angle. The tip of where the red is is the desired angle, and the green is the current angle. There are also two numbers, one showing desired angle and one showing current angle. Actualangle, Desiredangle
Setup Dialog Team Number Numberbox Sets the team number for the robot to set the camera feed. Should remain constant until we change the IP address of the robot. Should not change very much. n/a
Setup Dialog Numeric Up/Down (aka spin box) Autonomous Delay Number of seconds before the auto mode starts. The number is from 0 to 9. TBD
Setup Dialog Auto-Mode Select which autonomous mode to run. The number is from 0 to 3. 0 means no autonomous is run TBD
Setup Dialog Using Autonomous ??? Checkbox to ask if we are using autonomous. Check to use autonomous, uncheck if you aren't using autonomous. This has the same effect as selecting mode 0. TBD

Electrical Controls's Engineering Notebook

Week 1

Week 2

Week 3

Week 4

Week 5

Week 6

Engineering Notebook Templates Available at:

Please Label All Notebook Pages 2013:Electrical Controls XX.XX to avoid confusion.