element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet & Tria Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • About Us
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      • Japan
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Vietnam
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Raspberry Pi
  • Products
  • More
Raspberry Pi
Raspberry Pi Forum Raspberry Pi Switch???
  • Blog
  • Forum
  • Documents
  • Quiz
  • Events
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Raspberry Pi to participate - click to join for free!
Featured Articles
Announcing Pi
Technical Specifications
Raspberry Pi FAQs
Win a Pi
Raspberry Pi Wishlist
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • Replies 8 replies
  • Subscribers 675 subscribers
  • Views 823 views
  • Users 0 members are here
  • raspberry
  • pi
  • raspberry_pi
  • raspberrypi
  • switch
Related

Raspberry Pi Switch???

Former Member
Former Member over 12 years ago

Hello,

 

      I am looking to put a switch on my raspberry pi so I don't have to keep unpluging and pluging in my raspberry pi. I found switches, but their outputs are 7 volts and the raspberry pi only needs 5 volts. I has two questions....

 

 

               1) If I input 7 volts into my raspberry pi will it fry it or will it be ok???

 

               2) If the pi would fry is there any 5 volts switches you could lead me to so I don't fry my pi???

 

 

 

                                                                                                                                                                               Thanks In Advance,

                                                                                                                                                                                                        Nehemiah Branson

 

P.S. I think Ben Heck did something similar in one of his raspberry pi episodes.

  • Sign in to reply
  • Cancel
Parents
  • Former Member
    Former Member over 12 years ago

    Could you please give me more information about the "switch" rated at 7 volts. This number usually denotes the MAXIMUM voltage to be supplied through the switch itself due to current limitations.

     

    The Raspberry Pi uses a power regulator to lower the 5v input from the usb connection down to 3.3v which is the rated input of the broadcom mcu at the center of the board. If however you wanted to power this device externally you would want a properly regulated 3.3v input with a switch inserted in series.

     

    This is a good design to accomplish your goals. You may also do this with a standard USB cable it does not have to be an extention.

    Inline RasPi switch

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Former Member
    Former Member over 12 years ago in reply to Former Member

    Here is the 7 volt switch

     

    http://www.newark.com/honeywell-s-c/1nt916/toggleswitch-lever-on-off-spst/dp/39B3621?in_merch=Popular%20Switches

     

    I would perfer to find a cheaper one like the one on the raspberry pi website, but I don't know what kind of switch that is.

     

     

                                       Thanks,

                                                Nehemiah Branson

     

     

    P.S. I am only 13 so most of this stuff is confusing to me, but thanks alot for helping me.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • johnbeetem
    johnbeetem over 12 years ago in reply to Former Member

    Wow, that one's expensive and overkill.

     

    I think one like this would work: SPST toggle switch 10A 24VDC.  The voltage rating is a maximum, i.e., you wouldn't want to use it in a 48VDC circuit.  It's fine to use this in a 5VDC circuit like RasPi.

     

    I recently found out that switching DC circuits is actually quite nasty and you have to be careful to get the right switch.  The problem is that when you switch off a DC circuit, you get a spark between the separating contacts until they are far enough apart to kill the spark.  This spark lasts much longer than an AC spark, because in an AC circuit the voltage is constantly changing between positive and negative, so as the voltage passes through zero the spark dies.  The DC spark can damage contacts that aren't designed for it.

     

    So it's imporat to get a switch that can handle plenty of DC voltage.  RasPi is only 5V, so a 24VDC switch is plenty.  RasPi's current requirement is only about 1A, so 10A gives plenty of margin.  DC switches for currents 1A and more have contacts that can handle DC sparks -- I think they use fairly thick silver plating.  Low-current switches often have contacts with very thin gold plating which gets vaporized by DC sparks.  Only use these for milliamp currents.

     

    The Honeywell switch is rated at 250 VDC, which is way overkill and it's obviously designed for specialized high-voltage DC applications.

     

    Another way to switch RasPi is to use an AC power strip with built-in switch.  This also switches off any peripherals, such as an external USB hub.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Former Member
    Former Member over 12 years ago in reply to johnbeetem

    Thanks John,

     

         So the first switch you linked won't fry my raspberry pi right?

     

                                                                                                   Thanks,

                                                                                                             Nehemiah

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Former Member
    Former Member over 12 years ago in reply to johnbeetem

    John Beetem wrote:

     

    I think one like this would work: SPST toggle switch 10A 24VDC.  T

    Or something like thisthis

     

    I recently found out that switching DC circuits is actually quite nasty and you have to be careful to get the right switch.  The problem is that when you switch off a DC circuit, you get a spark between the separating contacts until they are far enough apart to kill the spark.  This spark lasts much longer than an AC spark, because in an AC circuit the voltage is constantly changing between positive and negative, so as the voltage passes through zero the spark dies.  The DC spark can damage contacts that aren't designed for it.

    Also what are you switching ?  Inductive loads for example require additional thought.

     

    Lookup "Paschen's Law", I don't pretend to fully understand it, but it gives some interesting information around the voltages needed to strike and maintain a spark over a distance under given conditions, but in short I don't think there's much to worry about in a 5v, low energy circuit.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Former Member
    Former Member over 12 years ago in reply to Former Member

    Nehemiah,

         No switch can fry you Pi. Just find yourself any old switch and wire it in. At best the circuit will be at 1 amp of current, so realistically it makes almost no difference if you used a switch from car, an old computer or some old toy laying around. Just get a spare usb cable, cut the jacket(outermost insulation of the multistrand cable) off so that you have enough wire exposed to solder in a switch, Be sure to insulate any connections you make with heat shrink tubing or by whatever means you prefer. Ben Heck's last show "Wire we here" goes into good detail on this process. The link I sent you before goes through the process well. Then plug it in and go.

     

       And one last thing this "just thirteen" nonsense... You are obviously interested in this field of study, if for nothing else out of nessesity. Give yourself more credit! Most people your age are more interested in what they can buy, not what they can make. So good for you. You just need a little education and you will be able to surpass some, if not most individuals on these forums in time.

     

    Good luck,

    Uber

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Former Member
    Former Member over 12 years ago in reply to Former Member

    Thanks for the advice and confidence becasue I am only 13.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • johnbeetem
    johnbeetem over 12 years ago in reply to Former Member

    Nehemiah Branson wrote:

     

    Thanks for the advice and confidence because I am only 13.

     

    image Hey, in another year you'll know everything:

    Mark Twain wrote:

     

    When I was a boy of 14, my father was so ignorant I could hardly stand to have the old man around.  But when I got to be 21, I was astonished at how much the old man had learned in seven years.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
Reply
  • johnbeetem
    johnbeetem over 12 years ago in reply to Former Member

    Nehemiah Branson wrote:

     

    Thanks for the advice and confidence because I am only 13.

     

    image Hey, in another year you'll know everything:

    Mark Twain wrote:

     

    When I was a boy of 14, my father was so ignorant I could hardly stand to have the old man around.  But when I got to be 21, I was astonished at how much the old man had learned in seven years.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
Children
No Data
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube