You are not logged in.

#1 2019-03-04 15:12:36

MrAntza
Member
Registered: 2019-02-07
Posts: 11

Using TMC2130 (or 2100 etc) in NanoDLP Shield V2.1

Hi! How do I should install it physically and how about configs in software?

Offline

#2 2019-03-05 15:23:42

mystamo
Member
Registered: 2019-01-23
Posts: 22

Re: Using TMC2130 (or 2100 etc) in NanoDLP Shield V2.1

Physically, you just place it onto the board after you have soldered the pins to the TMC module. Make sure you get the orientation of the pins right. TOP/BOTTOM of board.

I believe the TMC modules have their enable bit reversed to standard carrier drivers. This can be modified in NanoDLP machine settings page.

Other then that. Just set the right parameters in the Machine settings. Lead screw pitch, Steps per pulse. Etc.

Lastly. Confirm things are moving as expected in the Z calibration page. When asking to move 100.. make sure you measure 100mm of movement.

That is all.

Mo

Offline

#3 2019-03-05 17:41:34

MrAntza
Member
Registered: 2019-02-07
Posts: 11

Re: Using TMC2130 (or 2100 etc) in NanoDLP Shield V2.1

Yeas, sound fimiliar job! But how about that DiodeCircuit between TMC and NanoDLP Shield? Does it need any attention?

And what voltage(current) TMC's screw wants to be with Nema17m smile With DRV8825 I used 0,600v (1,2A)

Offline

#4 2019-03-05 18:24:59

mystamo
Member
Registered: 2019-01-23
Posts: 22

Re: Using TMC2130 (or 2100 etc) in NanoDLP Shield V2.1

I set my current on my stepper carriers by sound.. As long as it is not cranked all the way up, usually they don't give you any issues. I just run the motor and change the current pot until the motor has the torque I'm looking for or the motor moves at the speeds I'm demanding. Usually they get louder as they draw more current. You could get a bit more scientific about it. But since each stepper might be different. This method is more generic/red neck.

The long way is you find the Vref pin and set with an MM using the reference the supplier should provide for the carrier relating voltage to output current.

Mo

Offline

#5 2019-03-05 19:36:59

MrAntza
Member
Registered: 2019-02-07
Posts: 11

Re: Using TMC2130 (or 2100 etc) in NanoDLP Shield V2.1

Okay good points! ?

I can use both, recommented ref value and sound of motors then to adjust.

Btw do you know about Nextion 2,8" screen? I cant get it show than only "wayting connect to printer" or something like that. I have uploaded .tft file to Screen from SD and also installed nextion files to raspberry via Putty(acces over ip). I triedi rule all tips and help but cant get longer.. :7

I can make another topic for that discussion if its better for organizing these topics smile

Last edited by MrAntza (2019-03-05 19:38:40)

Offline

#6 2019-04-04 16:57:09

lord0815
Member
Registered: 2019-04-04
Posts: 10

Re: Using TMC2130 (or 2100 etc) in NanoDLP Shield V2.1

@MrAntza,

I had the same problems some days ago..
If you still have problems with the NextIon display, for me this is working (tried 3.2" and 5")

1) Do everthing according to the installation description on GitHub (https://github.com/Tibus/TouchScreen-For-NanoDLP)

2) SSH to Raspi (I use PUTTY) and copy/paste following commands:

wget https://nodejs.org/dist/v10.0.0/node-v1 … v7l.tar.xz
xz -d node-v10.0.0-linux-armv7l.tar.xz
tar -xavf node-v10.0.0-linux-armv7l.tar
sudo ln -s /usr/local/node/bin/node /usr/bin/node
sudo ln -s /usr/local/node/bin/npm /usr/bin/npm


(Optional) - You can check if available/installed:

node --version
npm --version

(both versions should be displayed)

sudo npm i ip sudo npm i drivelist
sudo npm i child_process
sudo shutdown -r now


sudo systemctl disable hciuart
sudo reboot


-> For me this is working...

Offline

#7 2019-04-04 17:11:07

lord0815
Member
Registered: 2019-04-04
Posts: 10

Re: Using TMC2130 (or 2100 etc) in NanoDLP Shield V2.1

BTW: The "Connecting to Printer" text is always displayed during booting of Raspi / NanoDLP.
On my printer it takes about 30 - 40 seconds, but then the buttons of the touchscreen should appear..

As the topic here is TMC..

I also got the TMC2100 and TMC2130 but i found the TMC2208 way more easier to use..
Has anyone tried/used the TMC2208 for Z-axis motion control?

I can highly recommend it, it is ultra-silent (stealthchop 2.0) and super easy to use!!
I use it with a nanoDLP2.2 shield just with Raspi (no Ramps/Arduino), it is just plug and play (only set microstepping on the shield dip switch and in NanoDLP and go..)

For all my next printers i will use exclusively the 2208 for motion control...

Offline

#8 2019-04-05 08:18:28

Shahin
Administrator
Registered: 2016-02-17
Posts: 3,546

Re: Using TMC2130 (or 2100 etc) in NanoDLP Shield V2.1

Try nanodlp internal nextion support to not encounter "connecting to printer" issue.

Offline

#9 2019-04-05 12:36:01

lord0815
Member
Registered: 2019-04-04
Posts: 10

Re: Using TMC2130 (or 2100 etc) in NanoDLP Shield V2.1

Thanks for info; i tried that feature according to the description in NanoDLP but I dont see any of the 3 mentioned paths:

/dev/ttyACM0
/dev/ttyACA0
/dev/ttyUSB0

Should any of these 3 mentioned paths be shown when running the command "ls /dev/tty*" with NextIOn attached??


-> When running the command "ls /dev/tty*" on my Raspi, I only get these 3 paths below (additional to tty0 - tty63):

/dev/ttyAMA0
/dev/ttyprintk
/dev/ttyS0

Also, when i disconnect the NextION screen from Raspi, and re-run the command, the output in the terminal does not change..
I always see the same 3 paths are shown with command "ls /dev/tty*"

Did i make a mistake here?
Can you help me how to find the correct path for the NextIOn?
Many thanks in advance smile

Offline

#10 2019-04-05 19:25:13

Shahin
Administrator
Registered: 2016-02-17
Posts: 3,546

Re: Using TMC2130 (or 2100 etc) in NanoDLP Shield V2.1

It depends on type of adapter you are using as usb to serial. See which one is RAMPS (ttyAMA or ttyS) other one could be nextion.
If you wired it directly without adapter, see if you have enabled serial port correctly or not.

Offline

#11 2019-04-05 20:56:17

lord0815
Member
Registered: 2019-04-04
Posts: 10

Re: Using TMC2130 (or 2100 etc) in NanoDLP Shield V2.1

I'm not using ramps; only raspi with nanodlp shield2.2 (all GPIO).
if you mean by enabling the serial port correctly; i have done the following according to GitHub:

SSH to Raspi:

sudo raspi-config

=> Interfacing Option

=> Serial

=> NO

=> YES


the nextion screen is working fine so far in the actual configuration, all buttons are working except of the "add plate" button (the only problem i have with the nextion screen so far).
if i use the "add plate" button on the nextion once, the nextion returns to the main screen.
if i try this a second time afterwards then the nextion screen freezes and i need to reboot Raspi to enable it again.

So i don't really know if this will be also fixed by the internal support of nextion (the hope dies at last..)
maybe this issue is related to my usb connection as i still need to setup the usb automount properly (have to SSH: "sudo mount /dev/sad1 /media/usb0" - on every bootup to show USB files in NanoDLP)
As i hadn't used the usb ports so far to upload files i have not paid much attention to this issue (so I try to fix this first and then check if this also solves the "add plate" button problem on the nextion)

Thanks again so much for your help; i will play around with the tty paths and see if i get it working.. smile

Offline

#12 2019-04-06 02:05:55

Shahin
Administrator
Registered: 2016-02-17
Posts: 3,546

Re: Using TMC2130 (or 2100 etc) in NanoDLP Shield V2.1

Try this one /dev/ttyAMA0 , but make sure you have disabled external nextion support software as they will get into conflict.

Offline

Board footer

Powered by FluxBB