OK got some more stuff online:
https://github.com/the-snowwhite/Hm2-soc_FDM/blob/master/projects/Trinamic/readme.md
:-)

On Monday, 19 August 2019 14:21:56 UTC+2, Michael Brown wrote:
>
> Hi Bas
> So far I have not been able to generate any documentation for my 
> Trinamic_SPI tool yet:
> However I have (in the summer months) been dabbeling with A setup to 
> utilize Trinamics Stall detection in Machinekit on the Mksocfpga
> Using the Mesa (D)BSPI's and a ham component, together with a Gui for 
> machinekit client.
> For now only for the Trinamic drivers with a 20-bit config string like tth:
> TMC262_BOB60_V1_2
> TMC2660_BOB_V1_2
>
> (not the cheaper 40 bits ones)
>
> This setup:
> DExx_Nano...
> Component and (python based) hal config 
> <https://github.com/the-snowwhite/Hm2-soc_FDM/tree/trinamic-spi/projects>
> and machinekit client
> Plus a Trinamic SPI driver with 2-bit config registers.
>
> Enables setting and testing Trinamic SPI parameters on 1 stepper, and 
> looks like this.
>
> [image: Trinamic_spi.png]
>
> :-)
>
> On Sunday, 14 July 2019 22:23:21 UTC+2, Bas de Bruijn wrote:
>>
>>
>>
>> On 14 Jul 2019, at 02:56, Chris Albertson <[email protected]> wrote:
>>
>> For a DC motor, there are two things you can try.    
>>
>> 1) Measure the current.  Actually, you measure the voltage across a shunt 
>> resistor and if the current is above some threshold you may assume the 
>> motor is stalled.
>> 2) You need to place a shaft encoder on the motor and measure the 
>> position/speed and then if it is not what you expect you can assume it is 
>> because the motor is stalled.     Encoders cost about $10 on eBay and are 
>> easy to use.
>>
>> For a stepper motor only #2 is possible.  
>>
>>
>> That’s a great idea too, just some simple low resolution encoder, I just 
>> need to know if the speed has dropped. Some experimentation if  I can 
>> detect this is fast enough to not burn the motor.
>>
>> Thx!
>>
>> On Sat, Jul 13, 2019 at 10:38 AM Bas de Bruijn <[email protected]> 
>> wrote:
>>
>>> Hi,
>>>
>>> I’ve recently been asked about a stall detection, from a DC motor, or a 
>>> stepper with one of the trinamics silent stepsticks with stall detection.
>>>
>>> The DC motor should be driven by switching an on/off relay and 
>>> left/right by switching direction by a relay, and i want to check when the 
>>> motor stalls (runs into an endstop). 
>>>
>>> For the stepper motor, I’d want to detect missing steps, but other than 
>>> I know these drivers are on my prusa, I have no knowledge on these and if 
>>> these would be plug and play with for example a cramps board.
>>>
>>> Anyone with experience on these 2 applications? The reason I would not 
>>> use encoders is that I’d like to have an alternative to “just buy closed 
>>> loop driver + motor + encoder”. Most important is that this should be a 
>>> reliable setup, where performance may suffer at the expense of cost.
>>>
>>> Cheers,
>>> Bas
>>>
>>> -- 
>>> website: http://www.machinekit.io blog: http://blog.machinekit.io 
>>> github: https://github.com/machinekit
>>> --- 
>>> You received this message because you are subscribed to the Google 
>>> Groups "Machinekit" group.
>>> To unsubscribe from this group and stop receiving emails from it, send 
>>> an email to [email protected].
>>> Visit this group at https://groups.google.com/group/machinekit.
>>> To view this discussion on the web visit 
>>> https://groups.google.com/d/msgid/machinekit/0770E383-352E-466C-9042-0C6824D40398%40basdebruijn.com
>>> .
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>>
>> -- 
>>
>> Chris Albertson
>> Redondo Beach, California
>>
>>

-- 
website: http://www.machinekit.io blog: http://blog.machinekit.io github: 
https://github.com/machinekit
--- 
You received this message because you are subscribed to the Google Groups 
"Machinekit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/machinekit/1a343fae-e4bf-4beb-81e5-f11f1010defc%40googlegroups.com.

Reply via email to