Go to Post They're so cute I could just pinch their little CIM motors!:D :p - Akash Rastogi [more]
Home
Go Back   Chief Delphi > Technical > Technical Discussion
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rating: Thread Rating: 2 votes, 5.00 average. Display Modes
Prev Previous Post   Next Post Next
  #11   Spotlight this post!  
Unread 15-03-2015, 21:08
CronusWorks CronusWorks is offline
Electronics Mentor
AKA: Chris
FRC #1076 (Pi Hi Samurai)
Team Role: Mentor
 
Join Date: Oct 2014
Rookie Year: 2014
Location: Michigan
Posts: 3
CronusWorks is just really niceCronusWorks is just really niceCronusWorks is just really niceCronusWorks is just really niceCronusWorks is just really nice
Re: How does this robot have addressable LEDs still running when disabled?

1076 electrical mentor here.

The LEDs are driven by a Pololu A-Star 32U4 (more or less an Arduino Leonardo). This is connected to the serial output on the RoboRIO's MXP.

When powered on, it runs the idle animation and waits for serial data. Once it receives data, it does a boot-up animation and then the main one (stripes that move back and forth with the motors they're next to). If no data is received for 750 milliseconds, it does a shutdown animation and then back to the idle.

The RoboRIO sends a single byte every time it runs through the control loop during autonomous and teleop to tell it which motors are moving which direction. We aren't actually telling it to run the idle animation, it just falls back to it when there's no data.

If anyone's curious, we're powering the LEDs with one of these http://www.mini-box.com/DCDC-USB.
We initially bought it for our Jetson TK1, but that didn't end up making it onto the robot this year.
 


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 04:44.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi