element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • About Us
  • 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 Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • 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
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • 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
Enchanted Objects
  • Challenges & Projects
  • Design Challenges
  • Enchanted Objects
  • More
  • Cancel
Enchanted Objects
Blog Enchanted Objects Design Challenge - Turn on and offable
  • Blog
  • Forum
  • Documents
  • Polls
  • Files
  • Events
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
  • Share
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: Workshopshed
  • Date Created: 10 Jun 2015 8:47 AM Date Created
  • Views 2422 views
  • Likes 5 likes
  • Comments 16 comments
  • mosfet
  • enchanted_cottage
  • enchanted_object
  • arduino
Related
Recommended

Enchanted Objects Design Challenge - Turn on and offable

Workshopshed
Workshopshed
10 Jun 2015

Whilst Matilda worked on the LEDs and top panel, Hans finished off the circuits for the MOSFET power switch and connectors.

 

Circuit Explanation

 

A MOSFET is used as a low side switch to turn the power to the servo, RGB LED controller board and humidity sensor. This is connected to the Arduino output with a few extra components from the Arduino Workshop KitArduino Workshop Kit.

 

The gate of the MOSFET effectively acts like a big capacitor and for a short period before the transistor turns on it can draw a sizeable current. So series resistor R1 is used to limit the current drawn from the pin. A second resistor R2 sinks that charge to ground when the switch is turned off and ensures that the MOSFET remains off when the Arduino is asleep. The ratio of these two resistors needs to be high so that there's not a big voltage drop over R1, as the MOSFET will only switch on when the threshold voltage of 4v is reached. The final component is a protection diode, this dissipates the charge from any inductive loads such as the servo's motor when the MOSTFET is turned off.

 

imageimage

Protoshield

 

By this point the protoshield had been through a few revisions. This was clear by the spaghetti layout of the resulting wires. The headers for the cables were also a problem and had to be bent over to allow the connectors to fit. Some of these also had to be repositioned so that they could fit around the support struts. Given that the MOSFET will mostly be off and switching infrequently, it should not be necessary to attach a heatsink.

imageimage

 

The cable for the new knock knock sensor was also created and Hans realised that the strip board had +V, SIGNAL, GND with the protoshield had SIGNAL, +V, GND as intended so that means the cable will need to be carefully fitted in the correct orientation.  Not an ideal situation but also not a complete disaster.

 

Next: Enchanted Objects Design Challenge - Windows 10

  • Sign in to reply

Top Comments

  • Workshopshed
    Workshopshed over 10 years ago in reply to balearicdynamics +1
    Using a bipolar transistor you'd not need to include R2 as the transistor only turns on when current flows, the mosfet turns on when there is a voltage that charges up the gate so if the Arduino is disconnected…
  • shabaz
    shabaz over 10 years ago +1
    Hi Andy, Like you, I too use non-polarized (i.e. cheap!) connectors for prototypes, one trick (well, an obvious one, I'm sure you know it) to help with connector orientation is to put a blob of marker…
  • mcb1
    mcb1 over 10 years ago +1
    The gate capacitance is pF. It's really only a problem when you're trying to switch it fast. You could easily drop the series resistor to a few ohms and be totally safe. Also the spec says the gate voltage…
Parents
  • crjeder
    crjeder over 10 years ago

    That's exactly the things I have no clue of: the magic tossing of resistors and capacitos around ICs and other active components. So thanks for sharing your insights!

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • Workshopshed
    Workshopshed over 10 years ago in reply to crjeder

    Christoph you should enter this competition element14 interviews "The Art of Electronics" authors Paul Horowitz and Winfield Hill

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • More
    • Cancel
Comment
  • Workshopshed
    Workshopshed over 10 years ago in reply to crjeder

    Christoph you should enter this competition element14 interviews "The Art of Electronics" authors Paul Horowitz and Winfield Hill

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • More
    • Cancel
Children
  • crjeder
    crjeder over 10 years ago in reply to Workshopshed

    Thank's! And keep your fingers crossed for me!

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
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