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 Help needed with wiring on piface
  • 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 6 replies
  • Subscribers 663 subscribers
  • Views 409 views
  • Users 0 members are here
  • raspberry_pi
Related

Help needed with wiring on piface

Former Member
Former Member over 12 years ago

Hi does anyone know how or if it would be possible to wire the diagram attatched so it can be contolled via piface im totally cack at electronics so any help would be much appreciated.

its to control a ATR with 3 motors M1 goes left forward and reverse M3 goes up and down M2 goes right forward reverse.

Attachments:
imageCircuit.pdf
  • Sign in to reply
  • Cancel
  • bodgy
    bodgy over 12 years ago

    Are you wanting to keep the original switches or control them in parallell via the Piface?

     

    There are a number of ways you could physically connect a Piface to your circuit,  you could use the two relays that are on the Piface board to take the place of the 'M1' , 'M2' switches, and two of the open collector outputs for the 'left', 'right' motor

     

    If you need the actual wiring connections, just say.

     

     

    Colin

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

    Hi Colin thanks for having alook into it.

    Yes i would like to control it via the piface and if you know the actual wire conections that would be very appreciated.

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

    I haven't forgotten you Steve, will get back to you sometime this week.

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

    Thanks

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

    OK drawing to follow, but for the moment a word picture of the connections required.

     

    First things first, I'm assuming, you for the moment, just want to duplicate the control layout you have at the moment, I've not seen one of these kits in person so I'm just going by what you've provided and vague descriptions on the net.

     

    I'm a little confused with the diagram for S3 left and right, which i assume is for the forklift up and down, as the drawing shows they can both be closed together which would short everything out - not good.

     

    If you at some stage decide to ditch the current control box, the Pi via the Pi Face would be able to control everything more efficiently and possibly even introduce speed control, and later on predetermined actions, such as bump into something and it spins around to get away from what ever it bumped into.

     

    With the control box in place and wiring the Pi to that, the connections would be.

     

    Control Box connector    PiFace

     

    M1 Motor                      -> K1 centre terminal (2)

    Battery Positive**           -> K1 terminal 3

    Battery Negative**          -> K1 terminal 1

     

    M2 Motor                      -> K2 terminal 2

                                            Wire K1 terminal 3 to K2 terminal 3

                                            Wire K1 terminal 1 to K2 terminal 1

     

    Ground wire                  -> First terminal on left side with relays and terminals facing towards you. (Unfortunately there is no component designator on the PiFace schematic or PCB layout that I can see

     

     

    There are two batteries, you will need to trace which battery is the upper one and which is the lower. The batteries are wired like this so that you can have the left motor go forward while the right motor is going backwards and they can use cheaper switches.

     

    ** With the two batteries there should be a positive terminal connected to the negative terminal of the other battery, this is ground. If you can't see them physically connected you will need either a multimeter or an LED or 3V light bulb to find the connections.  The positive connection to terminal K1 3 is from the positive terminal of the battery that is NOT connected to the other battery negative, similarly the negative terminal to K1 terminal 1 is from the battery that is not connected to the other battery positive.

     

    This just leaves connections to SW3.

     

    You should also be aware that as it stands at the moment, when the battery is connected the robot will move forward.  If you decide you can do away with the control box and have the Pi -> Piface control the robot directly, this problem will be solved easily and some rewiring at the Piface will need to be done. You will then need to decide if you want to purchase a motor driver chip such as an L293D or press IC3 on the Piface into use.  If you select IC3 you will need to write more code than if you use a an H-Bridge chip. Of course if you don't want the motors to go backwards, you won't need the H-bridge and IC3 will do fine.

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

    Hi Bodgy i realy appreciate all your doing.

    Yes the M3 motor left eight is to make the fork lift go up and down.

    Pictures of the wiring would be fantastic if you get time.

     

    Thanks again,

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