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
GIZMO 2
  • Products
  • Dev Tools
  • Single-Board Computers
  • GIZMO 2
  • More
  • Cancel
GIZMO 2
Forum buttons for a device powered by Gizmo 2?
  • Blog
  • Forum
  • Documents
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join GIZMO 2 to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • State Not Answered
  • Replies 4 replies
  • Subscribers 11 subscribers
  • Views 764 views
  • Users 0 members are here
Related

buttons for a device powered by Gizmo 2?

Former Member
Former Member over 10 years ago

For a device I’m building which is powered by a Gizmo 2 I need two buttons (left and right, for choosing a media file).

How can I add buttons to Gizmo? Are there pins usable for that, or should I use something like an Arduino (Nano) connected to the Gizmo via USB?

  • Sign in to reply
  • Cancel

Top Replies

  • Former Member
    Former Member over 10 years ago in reply to balearicdynamics +1
    hah! I just went native and soldered directly to the card edge connector!! As Enrico says, if you use a standard Linux distro, there is information in one of my blog posts about using the gpio, you will…
  • shabaz
    0 shabaz over 10 years ago

    Hi Mark,

     

    You can do as you say, interface via a USB device. That is probably the easiest approach. Alternatively there is an explorer boardexplorer board which you can use.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • balearicdynamics
    0 balearicdynamics over 10 years ago

    Hello Mark,

     

    yes you can use them (despite the software). has done a great job on Gizmo2 and she suggested me many good tricks for the Gizmo2 usage.

     

    Supposing you are using a Linux based platform (maybe good Ubuntu or Debian) in theory all that is needed to know about the GPIO and PIN availability is written in the Gizmo2 User Guide, edition 2015 (maybe the only available) that you find in the link above.

    On page 7 of the guide you see the following image:

    image

    On the boom of the image you see the two connectors High Speed Expansion Port and the Low Speed Expansion Port. These are strange connectors and seems something to be used to plug the board in some sort of bus. In fact these are the ports you need; it is true that these resemble a a PCIe 36-pin card edge connector and a PCIe x4 card edge connector but the pinout is totally custom.

    The low speed connector is used for the standard GPIO digital pins, low speed USB2 connectors, PWM fan etc.  while the high speed is for Display signals, SATA and other high speed protocol.

     

    To connect the buttons you should use a couple of digital I/O of the GPIO pins as listed in the manual starting from page 12. I suggest to avoid soldering directly the pins but buy a insertion connector as I have done as these two ports are really precious image

     

    The following images shows the two connectors and the same plugged in the Gizmo2 card edges.

    imageimage

     

    Enrico

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Former Member
    0 Former Member over 10 years ago in reply to balearicdynamics

    hah! I just went native and soldered directly to the card edge connector!!

     

    As Enrico says, if you use a standard Linux distro, there is information in one of my blog posts about using the gpio, you will need to download and compile the gpio device overlay. once that is done,gpio control is as simple as it is on the raspi and bbb.

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • balearicdynamics
    0 balearicdynamics over 10 years ago in reply to Former Member

    Hi Lucie!

     

    Following your suggestions I have searched for this connectors as the same Gizmo will be used for different prototype tests before buying the final ones so it is not the worth to solder the cables directly to it. The rest is just following your suggestions image

     

    Cheers. Enrico

    • 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