200 likes | 333 Views
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
E N D
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 • Ex: pneumatics
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
Power Distribution (PD) Board • Connected to the CRio • Send power out to the motor controls and the circuit breaker
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
Jaguar (Jags) Motor Connections • 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 Power Connections PWM Connections
Spikes • Like a Jag, it’s a motor controller but it doesn’t vary the amount of power. It’s just on or off.
CIM Motors • Connected to and controlled by the Jags Jag Connections
Types of Wires Power Wires PWM Wires
Breaker and Battery Connections • Battery connected to the breaker • Breaker controls the power to the robot. • Turn the breaker OFF before messing with any of the wiring!!! Power Button
Programming a FRC Robot Cody Stafford
What is LabVIEW? • Why Is programming important? • What Robotics programs use LabVIEW?
LabVIEWProgramming basics What is a VI? • Robot Main.vi • Begin.vi • Autonomous.vi • TeleOp.vi • Finish.vi
‘Programming’ Flowchart • State hardware that will be used • Hardware’s function and speed • Decide controller layout • Create a flowchart of the program
‘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
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