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
Project Videos
  • Challenges & Projects
  • element14 presents
  • Project Videos
  • More
  • Cancel
Project Videos
Documents From Strava to Motion: Creating an Arduino-Powered Arcade Game with Running Data -- Episode 607
  • Documents
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Project Videos to participate - click to join for free!
Related
Recommended
Engagement
  • Author Author: tariq.ahmad
  • Date Created: 13 Jun 2023 1:11 PM Date Created
  • Last Updated Last Updated: 16 Jun 2023 7:24 AM
  • Views 23050 views
  • Likes 9 likes
  • Comments 25 comments

From Strava to Motion: Creating an Arduino-Powered Arcade Game with Running Data -- Episode 607

Following on from building an air hockey table, Lorraine is recreating another classic arcade game: the Derby. Instead of horses racing along a track, it will be runners! Find out how to download your running data from strava and move a runner along a track in competition with your family and friends. This project involves a bit of everything: 3d printing, laser cutting, coding in C and using motors with the Arduino Wifi board.

Watch the Video:

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

Bonus Content:

  • Registration Required:  Download Code  (Register to become a Member!)
  • Registration Required:  Download CAD Files   (Register to become a Member!)

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

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

Bill of Materials

Product Name Manufacturer Quantity Buy Kit
DFROBOT Micro DC Motor, TT Geared, Encoder, 6V, 160RPM, 120:1, L Shape, Arduino Board DFRobot 4 Buy Now
Expansion Board, Quad DC Motor Driver Shield, Arduino Development Board DFRobot 1 Buy Now
Microswitch, Miniature, Long Hinge Lever, SPST-NO, Quick Connect, 16 A, 8 V Omron 4 Buy Now
Single Board Computer, Arduino Uno WiFi, ATmega328P, 14 I/O, 48KB Flash, 6144Bytes SRAM, 256Bytes Arduino 1 Buy Now
Rocker Switch, On-Off, SPST, Non Illuminated, Panel Mount, Black, PRA TE Connectivity 1 Buy Now
DC Power Connector, Socket, 2.1 mm, Chassis Mount, Solder Pro Signal 1 Buy Now
AC/DC Power Supply, Level VI, 1 Output, 15 W, 5 VDC, 3 A Multicomp 1 Buy Now
Pin Header, Right Angle, Board-to-Board, 2.54 mm, 1 Rows, 6 Contacts, Through Hole Right Angle AMP - TE CONNECTIVITY 1 Buy Now
Jumper Wire Kit, Male to Female, Multi-Coloured, 200 mm, 0.1" Dupont Connector, 0.2 mm² Multicomp 1 Buy Now
 

Additional Parts:

3mm laser acrylic for box, supports and runners
3d printed pulleys
3d printed supports for motors and runners
Timing belt 6mm, 640mm long x 4

element14 presents

element14 presents  |  About Lorraine |  Project Videos

  • e14p_LU
  • arduino uno
  • 3dprinter
  • strava
  • the derby
  • arcade
  • laser cutter
  • childhood games
  • arcade games
  • 3dprinting
  • strava API
  • DF Robot
  • electronics
  • arduino
  • friday_release
  • laser cutting
  • running
  • Share
  • History
  • More
  • Cancel
Actions
  • Share
  • More
  • Cancel
  • Sign in to reply

Top Comments

  • RoRo87
    RoRo87 over 1 year ago +1
    Why are the Download Elements not available?
  • beacon_dave
    beacon_dave over 1 year ago in reply to RoRo87 +1
    Code: /challenges-projects/element14-presents/m/files/147743 CAD: /challenges-projects/element14-presents/m/files/147744
  • RoRo87
    RoRo87 over 1 year ago in reply to tmazer +1
    I can't give you a answer because i didn't tried it out.But i wouldn't do it with strava.I prefer to build it with roll-a-ball like the original horse race but a little bit smaller.
Parents
  • beacon_dave
    beacon_dave over 2 years ago

    One enhancement that could take advantage of being able to have the lever switches at both ends of the track could be the ability to implement limit switches outside of software control, to protect the mechanism.

    If a limit switch is reached, then hardware could be used to disable the motor driver, preventing it from continuing to drive any further in that direction. With the current DFRobot motor driver board, it looks like you could monitor the AIN2/BIN2 direction signal and then interrupt the PWMA/PWMB signal in hardware depending on which limit switch was activated.

    This would still allow you to recover under software control by allowing you to reverse the direction of travel which would then allow you to drive back off the limit switch.

    'Team couch potato' here managed over 136km in the past 6 weeks. Those boots were made for walking, heatwave or not Slight smile

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • lorrainbow
    lorrainbow over 2 years ago in reply to beacon_dave

    There was some nasty crunching when the numbers went wrong and the runners overran the track Fearful

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • beacon_dave
    beacon_dave over 2 years ago in reply to lorrainbow

    Yeh, that was my first thought when I saw it. Anyone trying to modify the code is likely to over run the track at some point due to reliance on software. A bit like when people build their own H bridges on the cheap, eventually they will short circuit the transistors. Hence using limit switches with hardware control would protect the mechanism from programming errors.

    Some of the systems I've worked on in the past had three separate levels of safety. There were limit switches under software control for normal operation. There were limit switches under hardware control that would prevent further software control in one direction but would still allow reversing. Then there was a third layer that killed all power to the motor controllers should the motor still continue to run past the defined limit.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
Comment
  • beacon_dave
    beacon_dave over 2 years ago in reply to lorrainbow

    Yeh, that was my first thought when I saw it. Anyone trying to modify the code is likely to over run the track at some point due to reliance on software. A bit like when people build their own H bridges on the cheap, eventually they will short circuit the transistors. Hence using limit switches with hardware control would protect the mechanism from programming errors.

    Some of the systems I've worked on in the past had three separate levels of safety. There were limit switches under software control for normal operation. There were limit switches under hardware control that would prevent further software control in one direction but would still allow reversing. Then there was a third layer that killed all power to the motor controllers should the motor still continue to run past the defined limit.

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