View Single Post
  #6   Spotlight this post!  
Unread 17-03-2015, 19:24
Joe Johnson's Avatar Unsung FIRST Hero
Joe Johnson Joe Johnson is offline
Engineer at Medrobotics
AKA: Dr. Joe
FRC #0088 (TJ2)
Team Role: Engineer
 
Join Date: May 2001
Rookie Year: 1996
Location: Raynham, MA
Posts: 2,644
Joe Johnson has a reputation beyond reputeJoe Johnson has a reputation beyond reputeJoe Johnson has a reputation beyond reputeJoe Johnson has a reputation beyond reputeJoe Johnson has a reputation beyond reputeJoe Johnson has a reputation beyond reputeJoe Johnson has a reputation beyond reputeJoe Johnson has a reputation beyond reputeJoe Johnson has a reputation beyond reputeJoe Johnson has a reputation beyond reputeJoe Johnson has a reputation beyond repute
Re: Turning LEDs on with a spike while disabled

Quote:
Originally Posted by Jpatterson1710 View Post
You could use addressable LEDs, and control them with an Arduino. The RoboRIO can output information to different input pins in the Arduino, and use those combinations to set the information sent to the LEDs.
Example:
If no pins receive input, set LEDs to X (Thats Disabled)
If pin 1 receives input set LEDs to Y
If pin 2 receives input set LEDs to Z
You can use any number of output devices to control the lights as part of your custom circuits as long as you are not controlling motors, solenoids, or other actuators I think you are fine.

All you need is a way to get information out of the RoboRIO to the control device and some sort of circuit to turn the lights on/off.

There are tons of ways to get data into or out of the RoboRIO (I2C, UART, SPI, Ethernet, USB, ...) and there are an even larger array of choices for ways to turn the LEDs on/off

Dr. Joe J.
__________________
Joseph M. Johnson, Ph.D., P.E.
Mentor
Team #88, TJ2