Giter Club home page Giter Club logo

xiao_rp2040_adxl_klipper's Introduction

Xiao_rp2040_ADXL_Klipper

Configuration for XIAO RP2040 for Input Shaper/ADXL usage on Klipper

Usage of XIAO RP2040 Mcu : https://wiki.seeedstudio.com/XIAO-RP2040/

for Input shaper acclerometer for Klipper firmware of 3d printers. For use with ADXL345 pcbs. https://www.klipper3d.org/Measuring_Resonances.html

Firmware:

SSH from Klipper directory on PI.

cd ~/klipper

Use command : make menuconfig Setup with below settings. Press Q to save.


  • uncheck extra low-level options
  • Architecture: Raspberry Pi RP2040
  • Communication Interface: USB

image


Enter in SSH :

make clean
make

image


WINSCP

https://winscp.net/eng/index.php

Using WINSCP connect to PI via local IP. Navigate to /klipper/out folder Download klipper.uf2 to known directory on PC image


XIAO RP2040.

While holding "B" Button , connect XIAO to USB to PC that has "klipper.uf2" file. More info: https://wiki.seeedstudio.com/XIAO-RP2040/

image

After XIAO is available on PC.

Copy "klipper.uf2" to XIAO.

Once complete, disconnect from PC.


VERIFYING FLASH:

Connect XIAO to Raspberry Pi. From SSH , use command :


ls /dev/serial/by-id/*

3d printer MCU and XIAO as Klipper should display. XIAO is now flash with klipper FM.


WIRING ADXL :

image

Images are of ADXL wired for VCC , NOT 3v3. Wire accordingly.

Use this resource if unsure:

https://klipper.discourse.group/t/raspberry-pi-pico-adxl345-portable-resonance-measurement/1757

image image image image

KLIPPER CONFIG:

Find Xiao serial by using :

ls /dev/serial/by-id/*

Enter this address in the "mcu" section below within your printer config.

Save and restart after editing printer.cfg file.

image


Testing:

Instructions with more detail are found at: https://www.klipper3d.org/Measuring_Resonances.html

ACCELEROMETER_QUERY will fail on first attempt. This is normal.

Use

ACCELEROMETER_QUERY 

in console to verify communication to ADXL : Klipper should report: image

Use

MEASURE_AXES_NOISE

to measure noise of ADXL.

image

image

xiao_rp2040_adxl_klipper's People

Contributors

tehlonz avatar

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.