Date   

Re: wemos d1 + cnc + lv8729 #wemos

Drew 🔭📷🚴‍♂️
 

On Sat, Mar 27, 2021 at 03:51 PM, Dave Schwartz wrote:
I'm not sure I would be so hasty as to say that.
Different issue. If vref has not been set properly (or is maxed) anything can happen. Still most likely a stall or overheat cutout. He has not mentioned any of the usual squeals or noises.

Ok, assuming vref is properly set then changing microstepping will not affect the vref setting.


Re: wemos d1 + cnc + lv8729 #wemos

Dave Schwartz
 

P.S. We usually recommend that you start with a Vref of about 40% of the current for which the motor is rated and then increase in increments of 10% until the motors are running smoothly and quietly. You should get to that condition before 70%.

On 2021-03-27 3:51 p.m., Dave Schwartz wrote:
I'm not sure I would be so hasty as to say that. If you haven't adjusted Vref (which you should have done before even connecting the motors) you could be getting unexpected results because the coils will be creating much higher magnetic fields than they are designed for.

Go back and disconnect your motors, attach the ground lead from your meter to some convenient ground and the positive lead to the shaft of a small metal jeweller's screwdriver. Then adjust the voltage you read when the screwdriver is inserted into the trimmer pot according to the formula for the value of sense resistor you have (that information is in the Wiki https://onstep.groups.io/g/main/wiki/3862).

On 2021-03-27 3:42 p.m., Drew 🔭📷🚴 ♂ wrote:
On Sat, Mar 27, 2021 at 03:38 PM, Pedro Miguel Barbosa Moutinho Nunes dos Reis wrote:

    I've not changed the pot for the current settings, can that be a
    factor?

No, the two have no relationship whatsoever.



Re: wemos d1 + cnc + lv8729 #wemos

Drew 🔭📷🚴‍♂️
 

Another idea is to eliminate Microstepping form the equation all together for right now. Remove all the jumper and turn Microstepping "off". Calculate your degrees per step using your raw gear ratios.


Re: wemos d1 + cnc + lv8729 #wemos

Drew 🔭📷🚴‍♂️
 

Are you running any Planetarium software? I use SkySafari and find it can help. It will track a GoTo/slew in progress. You can compare the scope and what SkySafari is showing to see if the two are the same. Useful for these kinds of experiments.


Re: wemos d1 + cnc + lv8729 #wemos

Dave Schwartz
 

I'm not sure I would be so hasty as to say that. If you haven't adjusted Vref (which you should have done before even connecting the motors) you could be getting unexpected results because the coils will be creating much higher magnetic fields than they are designed for.

Go back and disconnect your motors, attach the ground lead from your meter to some convenient ground and the positive lead to the shaft of a small metal jeweller's screwdriver. Then adjust the voltage you read when the screwdriver is inserted into the trimmer pot according to the formula for the value of sense resistor you have (that information is in the Wiki https://onstep.groups.io/g/main/wiki/3862).

On 2021-03-27 3:42 p.m., Drew 🔭📷🚴 ♂ wrote:
On Sat, Mar 27, 2021 at 03:38 PM, Pedro Miguel Barbosa Moutinho Nunes dos Reis wrote:

I've not changed the pot for the current settings, can that be a
factor?

No, the two have no relationship whatsoever.


Re: wemos d1 + cnc + lv8729 #wemos

Drew 🔭📷🚴‍♂️
 

On Sat, Mar 27, 2021 at 03:38 PM, Pedro Miguel Barbosa Moutinho Nunes dos Reis wrote:
I've not changed the pot for the current settings, can that be a factor?
No, the two have no relationship whatsoever.


Re: wemos d1 + cnc + lv8729 #wemos

Pedro Miguel Barbosa Moutinho Nunes dos Reis
 

I have 3 jumpers ON as per the specs:



I've not changed the pot for the current settings, can that be a factor?


Re: wemos d1 + cnc + lv8729 #wemos

Dave Schwartz
 

I have never heard of a step-stick board that did not do microsteps according to the inputs on the M1/M2/M3 pins but I guess there's a first time for everything.

You could check if your jumpers are doing what they are supposed to be doing by measuring the voltage on the tops of the M1, M2 and M3 pins to the ground pin. For 128 microsteps on the LV8729 they should all be the same as that on the VDD pin.

On 2021-03-27 2:31 p.m., Pedro Miguel Barbosa Moutinho Nunes dos Reis wrote:
On Sat, Mar 27, 2021 at 06:05 PM, Dave Schwartz wrote:

You can either figure out what is wrong (it has to be a difference
between what you think microsteps should be and how the electrical
configuration is setting the driver to really run) or take the
quick-and-dirty way out and reduce your STEPS_PER_DEGREE
appropriately for each axis until you get proper results.

Exactly what can it be? The specs say 3 jumpers to 128 steps. Can the board itself be somewhat wrong?
I don't have any other config that I know of...
Can you point me to an example of Arduino prog that will do a full revolution on the motor? I've tried some examples but none seems to work with this configuration...


Re: wemos d1 + cnc + lv8729 #wemos

Pedro Miguel Barbosa Moutinho Nunes dos Reis
 

On Sat, Mar 27, 2021 at 06:37 PM, Khalid Baheyeldin wrote:
Using the spreadsheet, enter the values from the two rows into the Online Configuration Generator.
Then make sure that the jumpers specified on the board match what is the spreadsheet.
minus some more decimal places, the generated config.h is the same.
like
#define AXIS2_STEPS_PER_DEGREE 12325.92593 // 12800, n. Number of steps per degree: <-Req'd
 
 vs
#define AXIS2_STEPS_PER_DEGREE 12325.925925925943 // 12800, n. Number of steps per degree: <-Req'd
 

Im going to check the cnc board, but im prety sure i've 3 jumpers on the microstep settings.



Re: Apm32f103cb resistor location

andrea tasselli
 

It's underneath the board, clearly labelled as R5 (although you might need a magnifier to see it clearly). And no, it won't be able to drive both. Here is a pic (the 3rd in the series):

https://www.ebay.co.uk/itm/CS32-Blue-Pill-CS32F103C8T6-72Mhz-ARM-128K-Dev-Kit-Board-Module-clone-of-STM32/254668580036?ssPageName=STRK%3AMEBIDX%3AIT&_trksid=p2060353.m1438.l9372


Apm32f103cb resistor location

larry leonard
 

In assembly of the stm32 kit from George in the instructions it says to remove r5 to use an external led. After days of searching I have been unable to locate r5 on the apm32 board. If someone could provide a link to the silk screen that would be great. Unless the apm32 can run both the onboard led and an external led with no modification.


Re: wemos d1 + cnc + lv8729 #wemos

Khalid Baheyeldin
 

There can be a discrepancy between the microstepping that you specify, and the implied microstepping that goes into the steps per degree equation.

Using the spreadsheet, enter the values from the two rows into the Online Configuration Generator.
Then make sure that the jumpers specified on the board match what is the spreadsheet.

By the way, that is one limitation of using boards and/or driver combinations that don't let OnStep manage the microstepping itself.
For example, the MKS Gen-L v2 and FYSETC S6 require jumpers for non-SPI drivers (e.g. LV8729), but when using SPI (TMC5160, TMC2130), OnStep can set the microstepping programmatically, saving the user from these mismatch situations.


Re: wemos d1 + cnc + lv8729 #wemos

Pedro Miguel Barbosa Moutinho Nunes dos Reis
 

On Sat, Mar 27, 2021 at 06:05 PM, Dave Schwartz wrote:
You can either figure out what is wrong (it has to be a difference between what you think microsteps should be and how the electrical configuration is setting the driver to really run) or take the quick-and-dirty way out and reduce your STEPS_PER_DEGREE appropriately for each axis until you get proper results.
Exactly what can it be? The specs say 3 jumpers to 128 steps. Can the board itself be somewhat wrong?
I don't have any other config that I know of...
Can you point me to an example of Arduino prog that will do a full revolution on the motor? I've tried some examples but none seems to work with this configuration...


Re: TMC2209 vs TMC5160

Burton
 

Yeah, I was thinking I would have the one for testing, and once I have a functioning product, it wouldn't be that difficult to open up the battery case and add some more 18650 cells in parallel to increase the capacity if I think I need it.


Re: wemos d1 + cnc + lv8729 #wemos

Dave Schwartz
 

So your RA rotates twice as far as OnStep thinks it should and your DEC 4x.

You can either figure out what is wrong (it has to be a difference between what you think microsteps should be and how the electrical configuration is setting the driver to really run) or take the quick-and-dirty way out and reduce your STEPS_PER_DEGREE appropriately for each axis until you get proper results.

Since your CNC board/LV8729 driver combination doesn't support mode switching, what you tell OnStep for microsteps will not matter - the number is baked into the STEPS_PER_DEGREE number already.

On 2021-03-27 1:44 p.m., Pedro Miguel Barbosa Moutinho Nunes dos Reis wrote:
On Sat, Mar 27, 2021 at 05:00 PM, Dave Schwartz wrote:

Using the app or the SHC (you should have at least one of those
available)....

* Turn on your controller with the mount in the home position, ensure
the time and location is set and start tracking
* Take note of the current RA value
* In the app, go to the 'Enter Coordinates' menu. On the SHC it is
'Coordinates' under the 'Goto' menu option
* Enter an RA value 3 hours less than the current value and a DEC
value of 45
* In the app, Accept and then Goto. In the SHC its just the normal
accept (W) button to start the Goto
* Your mount should rotate 45 degrees in each axis.

Set location
set time
Reset set at home
start tacking

ra is at 23h19m

set
ra 2019
dec 4500

result:
RA rotated about 90º and DEC about 180º



Re: wemos d1 + cnc + lv8729 #wemos

Pedro Miguel Barbosa Moutinho Nunes dos Reis
 

I'm going to change the motors and test this again


bluetooth onstep mega 2560 and ramps 1,4 #superpolaris #arduinonano #define #wiki-notice #error

 

Hello
I'm trying to make a very new onstep on my own telescope,
I read the instructions and a lot of his spreads, but I couldn't get out of it.
the materials I use;
arduino mega 2560 clon 
1.4 mega ramps
1 bluetooth HC-05,
1 rtc 3231 clock module,
I connected it as written in z + z- on the ramp.
when I'm on the app 
WATING REPLY plugs in and doesn't connect.
I'd appreciate it if you'd help me with that. 
please provide information about ramp connection scheme and how to set up on confing
 
Sincerely
Thanks


Re: wemos d1 + cnc + lv8729 #wemos

Pedro Miguel Barbosa Moutinho Nunes dos Reis
 

On Sat, Mar 27, 2021 at 05:00 PM, Dave Schwartz wrote:
Using the app or the SHC (you should have at least one of those available)....

* Turn on your controller with the mount in the home position, ensure
the time and location is set and start tracking
* Take note of the current RA value
* In the app, go to the 'Enter Coordinates' menu. On the SHC it is
'Coordinates' under the 'Goto' menu option
* Enter an RA value 3 hours less than the current value and a DEC
value of 45
* In the app, Accept and then Goto. In the SHC its just the normal
accept (W) button to start the Goto
* Your mount should rotate 45 degrees in each axis.
Set location
set time
Reset set at home
start tacking

ra is at 23h19m

set
ra 2019
dec 4500

result:
RA rotated about 90º and DEC about 180º



Re: TMC2209 vs TMC5160

Drew 🔭📷🚴‍♂️
 

On Sat, Mar 27, 2021 at 01:21 PM, Burton wrote:

Sounds like I'll be going with the 12 volt 6ah lithium battery then.
That is what one of my batteries is (7ah), I have three. You may want to consider ordering more and operating them in parallel.


Re: TMC2209 vs TMC5160

Burton
 

oh okay. Thanks for the explanation and sharing your experience Drew.

Sounds like I'll be going with the 12 volt 6ah lithium battery then. I think I've finally got enough of the parts figured out to start ordering and assembling!

11981 - 12000 of 43555