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 NES Zapper on RetroPie -- Episode 380
  • 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: 19 Dec 2018 4:36 AM Date Created
  • Last Updated Last Updated: 8 Feb 2019 8:24 AM
  • Views 2720 views
  • Likes 5 likes
  • Comments 8 comments

NES Zapper on RetroPie -- Episode 380

image
NES Zapper on RetroPie

element14 presents  |  AirborneSurfer's VCP Profile |  Project Videos

 

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

Matt used to hold the high score for every light gun game at the local arcade, but he's a little out of practice since the switch to modern, flat-screen, high-definition displays. Longing for a new challenge, he decides to build a gesture-controlled variation of the classic NES Zapper that will work on modern screens through emulators such as RetroPie and MAME. It's a new take on retro hardware based around an LSM9DS1 and ATmega32u4 that not only breathes life into otherwise forgotten games, but also provides an entirely new hand-eye coordination challenge!

 

Supplemental Content:

  • Weller WE1010 Soldering Station Unboxing & Initial Thoughts
  • Weller WE1010 Soldering Station Teardown
  • NES Zapper Teardown
  • How To Use LSM9DS1 With Arduino
  • Soldering Supercut: Project QuickShot
  • Project QuickShot Arduino Sketch

Bill of Material:

 

PartManufacturerQuantityBuy Kit

Development Board, AdaFruit Feather, ATmega32u4, Prototyping Area

Adafruit1Buy Now

USB Cable, USB Type A Plug, Micro USB Type B Plug, 2 m, 6.5 ft, USB 2.0, Black

L-COM1Buy Now

 

Additional Parts:

 

Product Name

Adafruit 9-DOF Accel/Mag/Gyro+Temp Breakout Board - LSM9DS1

  • project quickshot
  • how to use light gun on mame
  • nintendo zapper
  • e14presents_airbornesurfer
  • lsm9ds1
  • how to use a light gun on hdtv
  • nes zapper
  • atmega32u4
  • how to use zapper on retropie
  • how to use zapper on hdtv
  • adafruit
  • arduino
  • friday_release
  • Share
  • History
  • More
  • Cancel
Actions
  • Share
  • More
  • Cancel
  • Sign in to reply
  • airbornesurfer
    airbornesurfer over 6 years ago in reply to mx3

    Line 30 defines the refresh rate (set 1ms). If you want coarser movement, you can raise that value.

     

    You can also change the multiplier in lines 104 and 107 (set at 10) to fine-tune the cursor movement.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • mx3
    mx3 over 6 years ago in reply to airbornesurfer

    What about the input parameters where you were talking about the refresh rates and stuff I didn't see any numeric values in the sketch

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • airbornesurfer
    airbornesurfer over 6 years ago in reply to mx3

    Imitation is the sincerest form of flattery. I'll take it image

     

    Check the links above (copied below) for more info on using the IMU with Arduino. I've got a few videos that go into more depth than what we have time for in the main build overview. Also, the sketch that I wrote for this application is included for your reference.

     

    How To Use LSM9DS1 With Arduino

    Project QuickShot Arduino Sketch

     

    Let me know if you have other questions!

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • mx3
    mx3 over 6 years ago

    Mx3 here

    Atari there

    And I need your help...

    Couldn't help but play off your intro

    I am hoping to build this project myself I have an Arduino Leonardo micro and an mpu6050 but I know nothing about coding the Arduino and didn't know if you had a copy and paste script I could input for my sketch for the Arduino I know I'll need the libraries for the mpu6050 but after that I'm lost on how to get the accelerometer data to translate into mouse cursor movements also any thoughts on adding a right click button to the project to set as a reload for games like house of the dead where you have to aim off screen to reload

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • airbornesurfer
    airbornesurfer over 6 years ago in reply to baldengineer

    Thanks, James! It's an interesting twist on the old light gun paradigm, and a welcome new challenge!

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • airbornesurfer
    airbornesurfer over 6 years ago in reply to DAB

    Thanks, bud! That was the idea--kinda proof-of-concept for more elaborate gesture control devices. I'm thinking I might explore this further one day by rebuilding the (in)famous Power Glove  

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • baldengineer
    baldengineer over 6 years ago

    Love the idea Matt!

     

    Going with an IMU approach is a solid way to address a variety of screens.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • DAB
    DAB over 6 years ago

    Nice build.

    Your basic design could be used for all kinds of virtual reality games and training scenario's.

     

    Very interesting capability there.

     

    DAB

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