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
Single-Board Computers
  • Products
  • Dev Tools
  • Single-Board Computers
  • More
  • Cancel
Single-Board Computers
Forum ux4 odroid
  • Blog
  • Forum
  • Documents
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Single-Board Computers to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • State Verified Answer
  • Replies 4 replies
  • Answers 1 answer
  • Subscribers 57 subscribers
  • Views 578 views
  • Users 0 members are here
Related

ux4 odroid

jackolantern
jackolantern over 7 years ago

i was starting a new project and was wondering how to connect Adafruit Rugged Metal Pushbutton 16mm 6V Blue On/Off Latching NO and NC Switch a   to a ux4 odroid  single board computer i was wondering how to conect it and if i need to change anything in the script or need more power

  • Sign in to reply
  • Cancel

Top Replies

  • jw0752
    jw0752 over 7 years ago in reply to jackolantern +2 verified
    Hi Roger, The three contacts are the switch. It is a single pole double throw. The center is the common and then you will have to choose one of the others depending on whether you want the switch to be…
  • jw0752
    jw0752 over 7 years ago +1 suggested
    Hi Roger, The switch itself is just a switch and will work to open or close a circuit. The two leads that are the switch can be used in place of the switch you may be presently using. The LED light indicator…
  • jackolantern
    jackolantern over 7 years ago in reply to jw0752 +1
    thank you i appreciate the help
  • jw0752
    0 jw0752 over 7 years ago

    Hi Roger,

     

    The switch itself is just a switch and will work to open or close a circuit. The two leads that are the switch can be used in place of the switch you may be presently using. The LED light indicator has its own two leads. The specifications say that it is rated for 6 volts and since it is an LED its current draw is likely to be less than 20 mA. Since I do not know how you are using the switch, Power or digital input, I can't tell you the best way to power the LED. I suspect that it will work fine on the 5 volt supply of you odroid and you probably do not need to come up with the 6 volts in the specs. If your switch is being used to tell the computer something then you can probable add a line or two in the programming to turn on an output port to drive the LED. If you have an ammeter you may want to check the actual draw of the LED at 5 volts before hooking it to a port and then verify that its draw doesn't exceed the capabilities of the port. If you are using the switch to power the odroid then it is simpler and you can use the switch itself to turn the LED on and off. Note the LED has polarity and if not hooked up in the correct direction it will not light.

     

    John

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
  • jackolantern
    0 jackolantern over 7 years ago in reply to jw0752

    oh ok im using the

    5V/4A Power Supply US Plug

    for ODROID-XU4

    ODROID can't be powered by micro-USB port. So you need this power supply.
    AC 100~240 Volt input
    DC 5Volt / 4A output
    Switching mode power adaptor
    US / Japan compatible
    Plug specification : inner(positive) diameter 2.1mm and outer(negative) diameter 5.5mm

     

    and the switch i only know how to connect the positive and negative the problem was connecting the other three for the led which i have no idea where to connect them i just want it to turn the ux4 on and off with the light showing

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • jw0752
    0 jw0752 over 7 years ago in reply to jackolantern

    Hi Roger,

     

    The three contacts are the switch. It is a single pole double throw. The center is the common and then you will have to choose one of the others depending on whether you want the switch to be on with the button in or out. Here is a diagram of how to hook up the two light terminals.

     

    image

    John

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
  • jackolantern
    0 jackolantern over 7 years ago in reply to jw0752

    thank you i appreciate the help

    • Cancel
    • Vote Up +1 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