Git Product home page Git Product logo

g-codebuttons's Introduction

G-Code Button PCB for Agent Cain's Gcode Buttons

BOM

Part NO. Qty LCSC Ali
Conn_01x03 1 C131339 Link
Conn_01x04 1 C131334 Link
WS2812-5050 1 C114586 Link
ROMER_G 1 --- Link

Assembly

  • Order the pcb at e.g. pcbway or jlcpcb
  • Order the buttons at e.g. aliexpress
  • Order the PH connectors at e.g. aliexpress
  • Assemble the PCB, the led is solderable by hand with a fine tip
  • Wire up the pcbs to your controller
    • You can wire multiple pcb's in series, just go from data out (DO) to data in (DI) and expose only the switch (SW) cable for every pcb to your controller
  • Add them as gcode buttons to your config
[gcode_button _EMERGENCY]
pin: ^!PE8
press_gcode:
    M112
  • if you wan't e.g. a color change during press and macro execution, you can do it like this
[gcode_button _FILAMENT_UNLOAD]
pin: ^!PC12
press_gcode:
    SET_LED LED=buttons RED=1 GREEN=0 BLUE=0 index=2
    FILAMENT_UNLOAD
    SET_LED LED=buttons RED=1 GREEN=0.5 BLUE=0 index=2
  • assembled
  • bottom
  • skirt

Troubleshooting

  • Problem: My Leds showing Random colors
    • Solution: Add a ~400Ω Resistor on the data line

Notes

  • You can contact me via Discord "Gi7mo!#4618"
  • This readme file contains Amazon Associate, Aliexpress affiliate, PCBWay affiliate links. I make a comission on qualifying purchases.
  • This project does not come with any warranty, if you choose to build/use one, you are doing this at your own risk!

g-codebuttons's People

Contributors

gi7mo avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

ramalama2

g-codebuttons's Issues

LED

in your BOM it said WS2812 2020 but it is a 5050

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.