programming and electronics training

20
Programming and Electronics Training Monica Begnaud Cody Stafford 1

Upload: kevork

Post on 24-Feb-2016

32 views

Category:

Documents


0 download

DESCRIPTION

Programming and Electronics Training. Monica Begnaud Cody Stafford. Electronics . Monica Begnaud. Compact Rio (CRIO). Brain of the Robot Is connected to the Dlink by Ethernet cable Outputs signals to the PD Board and Digital Sidecar Has different slots depending on what your robot does - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: Programming and Electronics Training

Programming and Electronics TrainingMonica BegnaudCody Stafford

1

Page 2: Programming and Electronics Training

Electronics Monica Begnaud

2

Page 3: Programming and Electronics Training

3

Page 4: Programming and Electronics Training

Compact Rio (CRIO)• Brain of the Robot• Is connected to the

Dlink by Ethernet cable• Outputs signals to the

PD Board and Digital Sidecar• Has different slots

depending on what your robot does• Ex: pneumatics

4

Page 5: Programming and Electronics Training

Dlink and Camera• Dlink Router that the

drive station connects to • Camera so the

drivers can see from the robot’s perspective on the dashboard

5

Page 6: Programming and Electronics Training

Power Distribution (PD) Board• Connected to the

CRio• Send power out to

the motor controls and the circuit breaker

6

Page 7: Programming and Electronics Training

Digital Sidecar• Gets power from the

PD board and signal from the CRio• Has signal outputs for

the motor controls, servos, and the signal light

7

Page 8: Programming and Electronics Training

Jaguar (Jags)• Motor controller • Connected to the

Sidecar with a PWM wire and to the PD Board• Can control the

amount of power sent to the motors

8PWM Connections

Power Connections

Motor Connections

Page 9: Programming and Electronics Training

Spikes• Like a Jag, it’s a

motor controller but it doesn’t vary the amount of power. It’s just on or off.

9

Page 10: Programming and Electronics Training

CIM Motors• Connected to and

controlled by the Jags

10Jag Connections

Page 11: Programming and Electronics Training

Types of Wires

11

PWM Wires

Power Wires

Page 12: Programming and Electronics Training

Breaker and Battery• Battery connected to

the breaker• Breaker controls the

power to the robot.• Turn the breaker OFF

before messing with any of the wiring!!!

12

Connections

Power Button

Page 13: Programming and Electronics Training

13

Page 14: Programming and Electronics Training

Programming a FRC RobotCody Stafford 14

Page 15: Programming and Electronics Training

What is LabVIEW?• Why Is programming important?• What Robotics programs use LabVIEW?

15

Page 16: Programming and Electronics Training

LabVIEW Programming basics

What is a VI?

• Robot Main.vi• Begin.vi• Autonomous.vi• TeleOp.vi• Finish.vi

16

Page 17: Programming and Electronics Training

‘Programming’ Flowchart• State hardware that will be used• Hardware’s function and speed• Decide controller layout• Create a flowchart of the program

17

Page 18: Programming and Electronics Training

‘Programming’ Flowchart Example• You have a robot with two motors, two jags, a CRio, and an

Xbox control. You want the motors to run at ½ speed whenever you hit forward on the right stick but that is all you want it to do

18

Page 19: Programming and Electronics Training

Example Flowchart

19

Page 20: Programming and Electronics Training

Group ‘Programming’ Flowchart• Get into your groups• Decide on what hardware you are going to use• Create a flowchart for the manipulator your team choose

20