Skip to content

rocktronica/buttonpusher

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

buttonpusher

buttonpusher

This "buttonpusher" is a 3D-printed machine that, you guessed it!, pushes the "A" button of a Nintendo Joy-Con Switch at pre-programmed sequences for variable number of times.

buttonpusher is 3D-printed and made from off-the-shelf electronics from Adafruit. It requires no modifications to the Nintendo gear.

Blog post: https://blog.tommy.sh/posts/buttonpusher/
Video: https://vimeo.com/427842316

Sequences

I made this specifically for Animal Crossing, where you sometimes need to craft a whole bunch of something and it takes a long time and is super boring... but it could be easily extended for other games or usages, as long as the only button required to push is "A" and the sequence timing is fixed!

Here's what's baked in currently:

  • Craft Item: craft an item at a DIY workbench
  • Purchase Item: buy an item at Nook's Cranny
  • Bell Voucher: exchange Nook Miles for Bell Vouchers at the Nook Stop terminal
  • Wish on Stars for 1 Minute: for use during a meteor shower
  • Debug: ...for testing!

Make Your Own

Parts

This repo has the CircuitPython code used for the microcontroller, the 3D-printed models, as well as the OpenSCAD code used to make those models.

Beyond that, you will need:

Fritzing Circuit

buttonpusher circuit in Fritzing

Deployment

Unlike regular CircuitPython projects, the .py files here need to be compiled into .mpy with mpy-cross before being copied over. Without that, memory on the board is quickly exhausted.

Once that's done, copy main.py and the lib folder onto the device over USB.

Assembly

  1. Insert servo into its mounting cavity -- it should fit snugly and won't need its screws
  2. Attach the one-sided servo horn into the 3D-printed hammer arm, and attach that to the servo axle
  3. Optionally, use machine screws to mount everything together
  4. Slide Joy-Con into mount

Usage

Once everything is installed and the circuit is assembled:

  1. Turn rotary encoder to cycle through sequences
  2. Press rotary encoder in to confirm selection
  3. Do the same to select the count of times to run sequence
  4. Use tactile button to cancel sequence or navigate back in menu

License

MIT License

Copyright (c) 2020

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

About

A 3D-printed, Joy-Con-button-pushing machine

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published