Go to Post Bring 'em on, kiddies. You underestimate the power of Amanda Morrison. - Amanda Morrison [more]
Home
Go Back   Chief Delphi > Technical > Electrical
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
 
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 31-12-2014, 03:51
otherguy's Avatar
otherguy otherguy is offline
sparkE
AKA: James
FRC #2168 (The Aluminum Falcons)
Team Role: Mentor
 
Join Date: Feb 2010
Rookie Year: 2009
Location: CT
Posts: 430
otherguy is a splendid one to beholdotherguy is a splendid one to beholdotherguy is a splendid one to beholdotherguy is a splendid one to beholdotherguy is a splendid one to beholdotherguy is a splendid one to beholdotherguy is a splendid one to behold
2168 powerDIO board

I spent the day learning how to use Kicad (open source PCB creation software), and here's the result...



The board breaks out the DIO channels on the roboRIO and allows them to be individually connected to an external supply. The purpose of this board is allow an external 5VDC supply with a lower drop out voltage than the bus on regulator within the roboRIO. The concern being that in the event of a low battery condition, external sensors may lose power while the roboRIO continues to execute. User code may not act kindly in the event this occurs. For example potentiometers may read position incorrectly, or encoders used to sense relative position may lose their notion of where they are.

Good coding practices may make this hardware solution unnecessary, but it's something I wanted to have available in the event it was needed. Hopefully someone else finds it useful as well.

It sits across the DIO headers. Female headers bring the DIO channels up to the board. Male headers on the top side of the board bring all the channels out so you can plug PWM cables in. On one end is a header to connect an external supply voltage (a low drop out buck/boost supply would make sense here). There's a 3pin header next to each channel that lets you select whether or not the external supply or the roboRIO is powering the channel. There's a spot on the board (for each channel) for a decoupling capacitor. I've found this to be useful for some of the sharp IR sensors which cause voltage drops on state changes that leads to toggling bits. Definitely an optional component, as it shouldn't be required in most cases, but they're cheap and I have a bunch on hand, so I put the footprints in.

The board can be ordered through OSHPark here.

There is a BOM here. Note that I designed the board around components I already had on hand. While I made an effort to source components which should work, I didn't design the board to the BOM. That said, everything used is pretty standard stuff. Male/Femal 0.1" pitch headers, and a few (optional) 0805 surface mount components.

All source design files (schematic etc.) are available here.

Note that this board is untested, until I get them in house and populated (likely week 1 or 2 of build season).

If you're interested in learning how to use Kicad, I followed these video tutorials. They're a little lengthy and unorganized, but covered pretty much everything I was looking for.
__________________
http://team2168.org

Last edited by otherguy : 31-12-2014 at 09:46. Reason: fix image url
  #2   Spotlight this post!  
Unread 31-12-2014, 14:07
AustinSchuh AustinSchuh is offline
Registered User
FRC #0971 (Spartan Robotics) #254 (The Cheesy Poofs)
Team Role: Engineer
 
Join Date: Feb 2005
Rookie Year: 1999
Location: Los Altos, CA
Posts: 802
AustinSchuh has a reputation beyond reputeAustinSchuh has a reputation beyond reputeAustinSchuh has a reputation beyond reputeAustinSchuh has a reputation beyond reputeAustinSchuh has a reputation beyond reputeAustinSchuh has a reputation beyond reputeAustinSchuh has a reputation beyond reputeAustinSchuh has a reputation beyond reputeAustinSchuh has a reputation beyond reputeAustinSchuh has a reputation beyond reputeAustinSchuh has a reputation beyond repute
Re: 2168 powerDIO board

Thanks for sharing!

Quote:
Originally Posted by otherguy View Post
User code may not act kindly in the event this occurs. For example potentiometers may read position incorrectly, or encoders used to sense relative position may lose their notion of where they are.
This is key. We are doing something similar so we can trust our encoders.
  #3   Spotlight this post!  
Unread 16-01-2015, 23:11
otherguy's Avatar
otherguy otherguy is offline
sparkE
AKA: James
FRC #2168 (The Aluminum Falcons)
Team Role: Mentor
 
Join Date: Feb 2010
Rookie Year: 2009
Location: CT
Posts: 430
otherguy is a splendid one to beholdotherguy is a splendid one to beholdotherguy is a splendid one to beholdotherguy is a splendid one to beholdotherguy is a splendid one to beholdotherguy is a splendid one to beholdotherguy is a splendid one to behold
Re: 2168 powerDIO board

Boards came in earlier in the week, a lot smaller than they looked on screen.
Haven't had a chance to test these out yet.


__________________
http://team2168.org
Closed Thread


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 11:34.

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