Comments (25)
you can use the PWM spindle, but we do not support BRK. (Brake?)
from fluidnc.
Non traduco bene quel poco di documentazione che ho trovato...
il link è qualcosa di simile https://it.aliexpress.com/i/32650831394.html?gatewayAdapt=glo2ita e mi sembra di capire il brk se collegato a gnd permette il movimento, se scollegato da gnd è freno
from fluidnc.
just wire it to ground then.
link does not work for me
from fluidnc.
https://it.aliexpress.com/i/32650831394.html?gatewayAdapt=glo2ita
non capisco perche non funziona il link
Se 24v, gnd, 5v e pwm sono corretti, quali sarebbero i migliori pin per Dir e brk? Esiste qualche pin che posso usare per dare gnd a brk tipo pin enable o qualcosa del genere?
from fluidnc.
Enable with the :low
attribute would work.
from fluidnc.
ma proprio il pin enable?
from fluidnc.
Everything we know about that cheap chinese controller is here.
http://wiki.fluidnc.com/en/hardware/3rd-party/MKS_DLC32
from fluidnc.
ok, grazie, provo a costruire un file yaml e fare alcuni test
from fluidnc.
pwm:
pwm_hz: 500
direction_pin: gpio.25:low
output_pin: gpio.32
enable_pin: gpio.26:low
disable_with_s0: false
s0_with_disable: true
spinup_ms: 0
spindown_ms: 0
tool_num: 0
speed_map: 0=0.000% 1000=50.000%
off_on_alarm: false
Salve, ho collegato tutto e riesco ad eseguire i comandi della rotazione orario e antiorario con
orario
M3 S10
G1 F1000
e antiorario
M4 S10
G1 F1000
quello che non riesco a regolare è la velocità...se dico m3 s1000 g1 f1000 la rotazione è uguale a m3 s1 g1 f1000
l'unico modo per aumentare la velocità è cambiando il valore pwm_hz. ho provato a 20000 e gira veloce e fluido, se metto 100-300 vedo una rotazione lenta e a scatti, come se non sono sintonizzato bene
il gpio.32 emette regolarmente 0-5v al variare del comando m3 s...
from fluidnc.
PWM of 500 is a little low. Do you have a datasheet for the spindle?
Most would use 5000-10000. Try measuring the voltage of S1000 and S500 with PWM of 5000.
from fluidnc.
non ho una scheda tecnica del mandrino
ho riportato la mia mappa velocità su speed_map: 0=0.000% 1000=100.000%
con s1000 misuro 5v ma il motore non gira, per questo avevo cambiato la mappa della velocità.
con s500 misuro 2.6v
con pwm_hz=5000 il motore gira veloce, con pwm_hz=1000 gira un po più lento
from fluidnc.
Forse ho capito perchè non posso regolare la velocità...il motore, molto probabilmente, è regolato da impulsi di CLK timer. Esiste un modo per sostituire il pwm in uscita con CLK?
from fluidnc.
Esiste qualche mandrino da configurare per comandarlo in frequenza variabile?
from fluidnc.
Is there a datasheet for this spindle?
Have you contacted the supplier with questions?
from fluidnc.
non riesco a trovare niente online. Il motore è Nidec G1271170 DC24V 1.5A 9.6W.
from fluidnc.
Sorry, I can't help you without a datasheet.
9.6 watts? The weakest spindle I ever used was 300w
from fluidnc.
lo so che è bassa potenza. Il motore a bassi giri ha un'alta coppia. Ne potrei ricavare un sistema di filettatura automatico. quello che mi serve è soltanto avere un pin su mks che genera frequenza variabile anzichè pwm, sempre se è possibile farlo
from fluidnc.
ESP32 has no obvious way to generate variable frequency drive signals directly. You would need to use external hardware to generate the signals, like a BESC controller. We have no way of supporting undocumented third-party hardware, so you are on your own.
from fluidnc.
pdfcoffee.com_nidec-24h-bl4234-4-pdf-free.pdf
ecco la scheda tecnica, il modello è 27h
from fluidnc.
ESP32 cannot drive 3-phase brushless motors directly. To drive such a motor, you need a "BLDC motor driver". In order to use it with FluidNC, you need one that has a PWM input. Here is an example https://www.amazon.com/UMLIFE-Three-Phase-Brushless-Controller-Control/dp/B09BHXLGW6
from fluidnc.
il motore ha già la sua scheda integrata, se vario il pwm_hz cambio la velocità, se invio m3....vado in senso orario e con m4 vado in senso antiorario.e m5 arresta il motore...farò delle macro in LB dove vario il pwm_hz per avere diverse velocità
from fluidnc.
The PWM spindle code is not intended for dynamic control of the frequency. The frequency is set once at startup, then the motor speed is controlled by changing the duty cycle. It might be possible to write a new Spindle code module that dynamically controls the frequency base on the GCode S value, but FluidNC currently has no such code.
from fluidnc.
ok, capisco....grazie...se un giorno verrà implementata questa nuova funzione la prego di avvisarmi
from fluidnc.
You are the only person who has ever asked for this capability so I don't expect that we will be implementing it any time soon.
from fluidnc.
oggi sono l'unico (pazzo) che vuole controllare un motore brushless con alta coppia a bassi giri...domani magari se ne aggiungeranno altri, chissà...
from fluidnc.
Related Issues (20)
- Problem: HOT 1
- PWM and RS485 issues HOT 3
- Error Message: Ignored key SingleArmScara HOT 1
- upload any file via web and X move 1mm HOT 4
- Problem: ESP32, WIFI on causes consumption jump from 0.07A to 0.13A and overhearts HOT 30
- Problem: Can't use SYNRAD CO2 RF laser HOT 1
- Problem: Stepper motors not moving HOT 43
- Steering gear configuration file consult HOT 1
- Problem: Unable to clear "X Axis tmc_2209 homing current not in config: Using run current" error HOT 6
- Brownout detector was triggered when wifi wants to begin HOT 1
- Problem: when config value contains a colon the $config/dump returns invalid JSON
- Problem: yaml file. HOT 13
- Resetování ESP32 po instalaci FluidNC HOT 8
- Problem: config. yaml file HOT 12
- Problem: DM320T/ DM332T no movement HOT 2
- Problem: Laser firing on G0 moves HOT 5
- RS485 error: Skipping key uart1 indent 1 this indent 0 HOT 17
- Bluetooth not working, HOT 1
- Problem: Low memory error while running G-code HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fluidnc.