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 & Tria 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
BeagleBoard
  • Products
  • Dev Tools
  • Single-Board Computers
  • BeagleBoard
  • More
  • Cancel
BeagleBoard
Blog Rock Climbing Wall – Illuminated Routes
  • Blog
  • Forum
  • Documents
  • Quiz
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join BeagleBoard to participate - click to join for free!
  • Share
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: oneleggedredcow
  • Date Created: 3 Jul 2013 3:36 AM Date Created
  • Views 951 views
  • Likes 0 likes
  • Comments 0 comments
  • BeagleBone
Related
Recommended

Rock Climbing Wall – Illuminated Routes

oneleggedredcow
oneleggedredcow
3 Jul 2013

Introduction

One of my good friends and I were at the local climbing gym staring at a moon board, when we (and by we, I mean he) had a great idea.  What if the climbing holds were lit up by LEDs to indicate which ones were fair game? This would eliminate the need to memorize where the hold was and what it looked like.  This way when you were climbing, and holding onto the wall with everything that you had, you didn’t need to fumble around for where to go next. It would be very obvious because it would be lit up.

 

The more we started talking about this the more that we thought about making clear holds, and lighting up the entire hold.  (As opposed to putting a light above/below the hold.)  Even better, you could climb at night, so that the holds would jump out at you.  Then it would be impossible to “mistakenly” grab the wrong hold.

 

When I got home, I found out that someone had already patented the idea of illuminated rock climbing holds, which is good news because that means that it could one day be a reality.

 

Building

So, I set about to build a way to use the BeagleBone to light up a sequence of LEDs to show the route to go up the wall.  To do this, I followed this great tutorial on how to use a 74HC595 shift register.  The tutorial was written for the arduino, but the circuit diagrams are easily transferrable – all that changes is what GPIO ports to connect to.

 

The code is a bit different though.  I was unable to find an analogous function for shiftOut, which seemed to be the heart of the program.  After a couple of attempts to write my own, I decided to just hard code the routes into the program and include an easy, medium and hard route.  Here are what the three routes look like:

 

EasyMediumHard
imageimageimage

 

Here’s a quick video of the step up:

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

 

To choose between the routes, there is a switch statement:

 

loop = function() {

digitalWrite(latchPin, LOW);

 

route = 1;

 

switch(route)

{

case 1:

easyRoute();

break;

case 2:

mediumRoute();

break;

case 3:

hardRoute();

break;

}

 

digitalWrite(latchPin, HIGH);

};

 

At some point I’m hoping to improve it and have an up/down selector and a small multi-segment LED to display which route you’ve selected.  The full code is attached, in case you were wondering how it was done.

 

Final Thoughts

I was pretty excited to use the cloud9 IDE it looked really nice and seemed like it was going to make programming a breeze.  Unfortunately, that was not the case.  I ran into two problems.

 

First, I could only get the program to run once through the debugger.  After that the BeagleBone seemed to be unresponsive.  In order to get it to run again, I had to restart the BeagleBone.  Not sure what the problem was, but this made it very difficult to debug.  I quickly scrapped this method and ended up just writing the code in cloud9 and running the program through PuTTY.  Not ideal, but it was certainly better than restarting every time.

 

Second, the cloud9’s inability to properly flag errors was annoying.  It seemed to claim that every line was in error, but it would run just fine. For someone who doesn’t know javascript very well, this made it pretty difficult to try to figure out whether there was a problem in the code or not.  I also had problems figuring out what commands were built into bonescript.

 

Overall, not the smoothest project, but it seemed to work in the end.

Attachments:
shift.zip
  • Sign in to reply
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