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 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
Raspberry Pi
  • Products
  • More
Raspberry Pi
Raspberry Pi Forum Raspberry Pi + GPIO + Electro Aimant
  • 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
  • State Not Answered
  • Replies 4 replies
  • Subscribers 667 subscribers
  • Views 1192 views
  • Users 0 members are here
  • raspberry
  • gpio
  • raspberry_pi
  • relais
  • raspberrypi
Related

Raspberry Pi + GPIO + Electro Aimant

Former Member
Former Member over 11 years ago

Bonjour,

Je suis novice en électricité et je voudrai pouvoir déclencher en electro aimant, avec mon raspberry pi. Mais je ne sait pas quels matériels utiliser.

Mon electro aimant fonctionne avec ceci :

12V -> 500mA

24V -> 250mA

 

Si quelqu'un pouvait m'aider, sa sera d'une grand aide.

  • Sign in to reply
  • Cancel
  • Former Member
    0 Former Member over 11 years ago

    Peut-être utiliser une planche avec un relais, comme celui-ci?

     

    PIFACE DIGITAL - PIFACE - BOARD, I/O EXPANSION, RASPBERRY | Farnell UK

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • rew
    0 rew over 11 years ago

    Hi,

    I can read French but I can't write it. I hope you can read English....
    I suspect that your magnet can be bought in two variants. One that is 12V500mA, and one that is 24V, 250mA. It is unlikely that the one you have can do both. (if it does, it probably has 4 connections, not two).

     

    My suggestion is to use the 12V version. get a 12V powersupply,

    http://nl.farnell.com/powerpax/sw3526/ac-dc-power-supply-12v-1-25a-euro/dp/1971795

    or http://www.ebay.com/itm/DC-12V-1A-AC-100-240V-Converter-Adapter-Charger-Power-Supply-EU-Plug-HE-/360762799333?pt=Laptop_Adapters_Chargers&hash=item53ff2374e5

    Then you need something that can switch the 12V.

    Our 3fets boards will work for that. http://www.bitwizard.nl/catalog/product_info.php?products_id=84

    The 7fets boards will also work (and will save you a few euros): http://www.bitwizard.nl/catalog/product_info.php?products_id=77

    To connect the you'll need a rpi_serial http://www.bitwizard.nl/catalog/product_info.php?products_id=69

    and if you want a little cable.

     

    if you want, you can power the raspberry pi from the 12V with a DCDC converter: http://www.bitwizard.nl/catalog/product_info.php?products_id=99 or http://www.ebay.com/itm/DC-DC-Buck-Converter-Step-Down-Module-LM2596-Power-Supply-Output-1-23V-30V-HS-/111185855215?pt=LH_DefaultDomain_0&hash=item19e33182ef

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • iagorubio
    0 iagorubio over 11 years ago

    Sorry for my ignorance but I can't speak French.

     

    From the little I understood, you want to drive an electromagnet with your raspberry.

     

    You need something to drive an inductive load like:

     

    - A relay (relais) Relais électromécanique — Wikipédia

    - A transistor http://fr.wikipedia.org/wiki/Transistor

     

    Relays circuit:

    image

    Example pre-made relay circuit Cooking Hacks - Shop - Actuators - Relays - Buy Relay Module (Arduino Compatible)

     

    Transistor array circuit ULN2003:

     

    image

    Example pre-made circuit http://imall.iteadstudio.com/im120723012.html

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • johnbeetem
    0 johnbeetem over 11 years ago

    Voici un circuit pour faire marcher un relais:

     

    http://img.photobucket.com/albums/v47/satiagraha/elec/RelayDriver.gif

    RelayDriver.gif

     

    Reliez le point "+1.5V" à une des points GPIO de la Framboise.  La résistance R1 est trop petit: je préfère 1KΩ.  Le transistor est probablement trop faible.  Je préfère un transistor Darlington comme TIP120 ou ULN2003.  La diode est très importante.  On appel ça une diode "flyback" en anglais.  Elle protège le transistor.

     

    Avant de relier le circuit à la Framboise, essayez-le avec une résistance grande (peut-être 4.7KΩ) au +12V.  Les transistors sont beaucoup moins chers que les Framboises.

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