crwdns2933423:0crwdne2933423:0

Aggiungere l'accelerometro ADXL345

crwdns2935425:08crwdne2935425:0

crwdns2936315:0crwdne2936315:0
crwdns2936321:0crwdne2936321:0
crwdns2931653:08crwdne2931653:0
Adding ADXL345 Accelerometer, Comparing Belt Tension: crwdns2935265:00crwdnd2935265:01crwdnd2935265:02crwdne2935265:0 Adding ADXL345 Accelerometer, Comparing Belt Tension: crwdns2935265:00crwdnd2935265:02crwdnd2935265:02crwdne2935265:0
Comparing Belt Tension
  • With a CoreXY you can also use Klipper to compare belt tension between X and Y. This doesn't tell you if the belts are too tight or too loose. It tells you have the belts are tensioned equally.

  • Run the following commands in the console

  • TEST_RESONANCES AXIS=1,1 OUTPUT=raw_data

  • TEST_RESONANCES AXIS=1,-1 OUTPUT=raw_data

  • SSH into the pi and run

  • ~/klipper/scripts/graph_accelerometer.py -c /tmp/raw_data_axis*.csv -o /tmp/resonances.png

  • Based off the generated graph, X had much higher frequencies than Y. I had to tighten the left belt tensioner to to bring the frequencies closer to each other.

  • As you can see from the 2nd test the frequencies for X and Y are closer together, but could still use a little more adjustment. I think a lot of the frequency variation is due to my cable chain. At lower frequencies it rattles considerably more only when calibrating X.

Con "CoreXY" puoi utilizzare il firmware "Klipper" anche per confrontare la tensione della cinghia tra gli assi X e Y. Questo non ti dice se le cinghie sono troppo tirate o troppo allentate, ti dice solo se sono tese allo stesso modo.

Esegui i seguenti comandi nella console:

TEST_RESONANCES AXIS=1,1 OUTPUT=raw_data

TEST_RESONANCES AXIS=1,-1 OUTPUT=raw_data

Collegati via SSH alla Raspberry PI ed esegui:

~/klipper/scripts/graph_accelerometer.py -c /tmp/raw_data_axis*.csv -o /tmp/resonances.png

Basandosi sul grafico generato, X ha una frequenza maggiore di Y. Ho dovuto quindi stringere il tensionatore della cinghia di sinistra per diminuire la differenza tra le due frequenze.

Come puoi notare nel secondo test le frequenze per X ed Y sono più coerenti tra loro, ma si potrebbe migliorare ancora. Penso che molta della variazione nella frequenza sia dovuta alla catena di trascinamento. A frequenze inferiori si muove molto di più quando si calibra X.

crwdns2944171:0crwdnd2944171:0crwdnd2944171:0crwdnd2944171:0crwdne2944171:0