. .

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    m_c's Avatar
    Lives in East Lothian, United Kingdom. Last Activity: 16 Hours Ago Forum Superstar, has done so much to help others, they deserve a medal. Has a total post count of 2,994. Received thanks 376 times, giving thanks to others 9 times.
    The 10k is simply to limit the amount of current from the GPIO pin through the transistor. Without a resistor the GPIO pin would see an almost short to gnd, leading to the Pi getting toasted (should have a certain degree of protection I would think) or the transistor gettign cooked (due to the limited amount of current, I;d expect the Pi to die first). Anything in the 1k-10k range should work fine.

    The other 2 resistors are being used as a voltage divider to reduce the 7.2V to aprox 4V. One thing to note is the 310R will basically be connected direct to ground when the transistor is switched on, so you want to ensure it's got a high enough power rating.
    So current is 7.2V/310R = 23mA, then Power is 7.2V*0.023A=0.16W. An 1/8W resistor is only 0.125W, so you may want a 1/4W resistor for durability, or two 1/8w in series or parallel, if you can't guarantee long periods of being the transistor being switched on.

    Just done a quick search, and 1/4W are actually cheaper. I've been doing too much with SMD lately where 1/8W is normal!

    10k - RS own brand 1/4W- 707-7745 12p for 10
    390R -RS 1/4W - 707-7634 16p for 10
    309R (nearest to 310R) - either Vishay 3/5 (0.6)W - 683-3500 -1.25 for 25 OR TE 1/4W - 754-9072 1.07 for 5
    The TE have a tighter tolerance (0.1% v 1%)

  2. #2
    Wow thanks guys you are both awesome :) ordered ..

    Fiction is far more plausible when wrapped around a thread of truth

    Nothing great was ever achieved without enthusiasm.
    Ralph Waldo Emerson


  3. #3
    MC I hope you dont mind but I posted your anser in the blog , but because there is on way of putting link backs on I just put mycnc.co.uk .. anyway I hope it helps others ..

    Fiction is far more plausible when wrapped around a thread of truth

    Nothing great was ever achieved without enthusiasm.
    Ralph Waldo Emerson


Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. a 4th axis... and quick
    By kingcreaky in forum Marketplace Discussion
    Replies: 5
    Last Post: 29-10-2013, 11:34 AM
  2. quick reply box
    By wilfy in forum General Discussion
    Replies: 3
    Last Post: 01-03-2013, 11:10 AM
  3. Quick Advice Needed - F&S
    By Tenson in forum Tool & Tooling Technology
    Replies: 1
    Last Post: 01-01-2013, 06:38 PM
  4. Quick cable question
    By PWD in forum General Electronics
    Replies: 18
    Last Post: 11-12-2012, 09:25 PM
  5. Quick question
    By m.marino in forum General Discussion
    Replies: 2
    Last Post: 18-02-2011, 04:30 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •