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
  • About Us
  • 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
Project Videos
  • Challenges & Projects
  • element14 presents
  • Project Videos
  • More
  • Cancel
Project Videos
Documents Unhackable Arduino Switch Matrix -- Episode 456
  • Documents
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Project Videos to participate - click to join for free!
Related
EMI-Reduction-Techniques
Recommended
Engagement
  • Author Author: tariq.ahmad
  • Date Created: 14 Jul 2020 5:00 PM Date Created
  • Last Updated Last Updated: 24 Jul 2020 7:24 AM
  • Views 3430 views
  • Likes 7 likes
  • Comments 8 comments

Unhackable Arduino Switch Matrix -- Episode 456

You don't have permission to edit metadata of this video.
Edit media
x
image
Upload Preview
image

The other day at the hackerspace Dave was talking with members how to improve the safety in the space. Especially how to prevent other people from leaving dangerous devices running unattended. They quickly came up with a button that needs to be pressed once in a while, or otherwise the machines power would be shut off. Since it's a hackerspace the expectation of people building crude "Arduino with servo" devices to circumvent such a device was high. But having a 4x4 button matrix that would indicated a random button to press sounded tougher to get around, so the idea for this project was born. It also looks suspiciously like a midi-controller.

Bill of Materials

Product Name Manufacturer Quantity Buy Kit
ABX00028 - NANO EVERY DEVELOPMENT BRD, 8BIT AVR ARDUINO 1 Buy Now
1403010049 - 3D Printer Filament, 1.75mm Dia, White, PLA FILAMENTIVE 1 Buy Now
1403010042 - 3D Printer Filament, 1.75mm Dia, Black, PLA FILAMENTIVE 1 Buy Now
1403010037 - 3D Printer Filament, 1.75mm Dia, Orange, PLA FILAMENTIVE 1 Buy Now
Rotary Potentiometer, Conductive Plastic, 100 kohm, 1 Turns, Antilog, 200 mW, ± 20%, P160 Series TT ELECTRONICS / BI TECHNOLOGIES 4 Buy Now
Tactile Switch, B3F Series, Top Actuated, Through Hole, Round Button, 100 gf, 50mA at 24VDC OMRON 64 Buy Now

 

Additional Parts:

 

Product Name

relay board

Neopixel LED strip 30LEDs / cm

4 relay knobs

Attachments:
Additional Resources.zip
image
Unhackable Arduino Switch Matrix

element14 presents  |  About davedarko  |  Project Videos

  • e14p_DD
  • potentiometer
  • relay board
  • control pad
  • arduino nano
  • keypad
  • cad design
  • arduino leonardo
  • knob
  • button matrix
  • heatshrink
  • wiring
  • vector graphics
  • 3D Printing
  • relay module
  • e14presents_davedarko
  • case design
  • solder joints
  • neopixel
  • neopixel matrix
  • ws2811
  • ti electronics
  • ws2812b
  • arduino relay
  • ws2812
  • prototyping
  • 3dp
  • davedarko
  • engineering
  • soldering
  • key pad
  • keep alive
  • dave darko
  • arduino
  • over thinking
  • friday_release
  • keep alive switch
  • inkscape
  • 3d print
  • 3d printed
  • safety third
  • Share
  • History
  • More
  • Cancel
Actions
  • Share
  • More
  • Cancel
  • Sign in to reply

Top Comments

  • kmikemoo
    kmikemoo over 5 years ago +3
    Very cool! I can see this plus a few beers making for a very competitive evening with friends - at an appropriately safe social distance, of course.
  • DAB
    DAB over 5 years ago +3
    Nice build. DAB
  • davedarko
    davedarko over 5 years ago in reply to kmikemoo +2
    thank you Mike! Just build one for everyone better not, that might be a bit too excessive.
Parents
  • vrighter
    vrighter over 5 years ago

    If someone really wanted to do that wouldn't a light sensor be all that you need to detect which button to press? They just make 16 of the device that you're trying to pretect against, and put a light sensor on each one. Or one button-pusher and sensor on a movable rail.

     

    Seems extremely un-unhackable to me. There are much better uses for a set of 16 backlit buttons.

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • davedarko
    davedarko over 5 years ago in reply to vrighter

    Hi! Not sure what device you're describing here. Do you mean I should protect against a matrix of button pushing servos that trigger when the light of the button is turned on? Intriguing. what would be your solution, if would have the lights on on all of them and just change the color of the button? Right now the code isn't even testing if all buttons are pressed simultaneously image

     

    The title "unhackable" was a bit more clickbaity, but putting "dead man" switch on the title sounded like something the youtube algorithm wouldn't like.

     

    Thank you for registering so we could talk about this image

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • vrighter
    vrighter over 5 years ago in reply to davedarko

    Not referring to specific device. Just the thing you mentioned you're trying to protect against, specifically any device designed to press one button repeatedly. In this case that button pushing device just needs a fatter finger that hits all buttons at the same time (but that's easy to fix in code, obviously) since pressing all of them would work anyway.

     

    If you changed color, I would just look at the brightest button.

     

    If they all changed colors then the button to press would have to be some specific color. Can't have the legitimate user not being able to figure out which button to press. But at least they'd all be lit up at the same time, defeating the brightness trick above. Of course you could just use an rgb color sensor. Things start getting more complicated for an average person.

     

    But keep in mind you made this for a hacker space. As in, a space which hosts the type of people who would build this type of thing just for fun (and maybe because you called it unhackable, clickbaity title or not, I would still take that as a challenge image )

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • davedarko
    davedarko over 5 years ago in reply to vrighter

    one of the hackers that I respect highly just said: "I would just rip out the cable and short it otherwise, to get around it image

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
Comment
  • davedarko
    davedarko over 5 years ago in reply to vrighter

    one of the hackers that I respect highly just said: "I would just rip out the cable and short it otherwise, to get around it image

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
Children
  • vrighter
    vrighter over 5 years ago in reply to davedarko

    Haha, that could work. I was thinking about not breaking stuff that wasn't mine image

     

    + It'd be an interesting project in itself.

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