View Single Post
  #5   Spotlight this post!  
Unread 24-05-2008, 01:53
dtengineering's Avatar
dtengineering dtengineering is offline
Teaching Teachers to Teach Tech
AKA: Jason Brett
no team (British Columbia FRC teams)
Team Role: Mentor
 
Join Date: Jan 2005
Rookie Year: 2004
Location: Vancouver, BC
Posts: 1,831
dtengineering has a reputation beyond reputedtengineering has a reputation beyond reputedtengineering has a reputation beyond reputedtengineering has a reputation beyond reputedtengineering has a reputation beyond reputedtengineering has a reputation beyond reputedtengineering has a reputation beyond reputedtengineering has a reputation beyond reputedtengineering has a reputation beyond reputedtengineering has a reputation beyond reputedtengineering has a reputation beyond repute
Re: Selecting a microcontroller

Quote:
Originally Posted by Browzilla View Post
And if I did manage to get it into clothing, I was hoping to produce several more.
Have you seen the shirts on Thinkgeek? Possible inspiration there... there are a few other models besides the wi-fi detecting shirt.

You may also want to consider a surface mount package for a clothing application... all PICs are available in surface mount packaging. I will pass you on to others for tips on doing it as I've stuck to good old through-hole DIP stuff for everything I need to do, but I understand simple surface mount isn't that hard if you have a good soldering iron and a steady hand.

I'd say the best way to see what a PIC can handle in regards to current draw (they might actually mean it when they say there is a 200mA limit... I haven't driven more than about 10 LEDs at a time off a 627a so couldn't tell you for sure) is to try it. If you can't light up all the LEDs at once, you could always increase the value of your resistors to bring the current draw down a bit. The LEDs won't be at peak brightness then, but should still be pretty darn close to it.

As a point of general interest, while I am sure this fits in to the "not exactly great practice" category and several people will happily explain why this won't work, you can run several LEDs directly off a PIC running at 5v without any resistor between the LED and ground. It would be a conservative estimate to say that my students have done this on over 200 PIC 16f84, 16f84a, 16f627 and 16f627a chips without any problem. If you were to run your PIC on 3V (2xAAA batteries perhaps?), it may be possible for you to hook up all your LED leads directly to the PIC and back to ground without the need for any other components.

And if I'm wrong and you fry the PIC... you're out two bucks. Give it a try!

That's one thing I love about the PICs... not only are they tough little chips, but they are cheap, cheap, cheap!

Jason