I am using 8 micro steps on my EasyDriver (the default value) in combination with a 20:1 gearbox. That gives me a good resolution of 8 * 20 * 180 = 28.800 steps per resolution. This leads to a slowly moving cart on my dolly when I want to setup everything. The resolution of the dolly is at least 300.000 steps and that takes some time to complete.
The TLE holds this piece of code:
unsigned int motor_min_step = 400;
unsigned int motor_max_step = 1500;
I have tried to make motor_min_steps smaller. That makes the card move a lot faster. It looks like 200 is a value that works fine. A value of 100 didn't work because the move after a shot becomes a bit unreliable.
So, I thought it could help to lower the value of motor_min_steps. But then I checked the code of tne NanoEngine:
unsigned int motor_min_step = 1000;
unsigned int motor_max_step = 1500;
That would make my cart move 5 times slower than the 0.82 TLE.
Has anyone played with these values? Can I make it faster without loosing reliability? Is the acceleration of the motor to full speed affected negatively? And why is the value of this variable that much longer on the new NanoEngine? I hope that is just because it is still heavily under development :-).

I did some tests. The
I did some tests. The following values are not giving me any issues, but the cart is moving almost twice as fast compared to the default values:
unsigned int motor_max_step = 900;
Maybe, maybe we could create a new command so that we can configure this?
Cronix, see stepper min_stp
Cronix, see stepper min_stp and stepper max_stp in Slim for adjusting the value. (Both in 0.82 and nanomoco)
In nanomoco, it had to be set higher, because there were other delays in the the 0.82 engine. The stepping function had a lot of work to do in 0.82, and this time was not accounted for in min_stp/max_stp. In nanomoco, the timing loop is called by MsTimer1 in periods defined by STP_CYCLE (best not to go below 40uS), and then the timing loop simply determines what to do on each timing loop.
The 1000 value? It was just a starting point. The speed at which you are able to move is also relative to your microstep setting (stepper ms [1|2|4|8|16]) - but at very high speeds, you do lose a lot of steps in microstep modes.
Not documented yet in Slim, but if you're using nanomoco, here's the continuous motion mode:
# can use alias to create an alias for an address
alias pan 1
# yes, still need to fix that motor enable command =)
pan motor enable 1
pan motor steps 0
pan motor dir 1
# continuous speed is in steps per second
pan motor cspeed 500
# have to indicate continuous motion
# name of command will change later
pan stepper async 1
pan camera on
pan interval 2
pan start
You can call motor cspeed xxx later, and it will change speed on the fly. status home, etc. updates properly.
Here's how you do continuous move interactively:
# move <direction> 0
# 0 steps is a manual continuous motion move
move 1 0
sleep 30
# special 'stopmotor' command stops an interactive cont. move
stopmotor
It's worth noting, the motor I have here can do 1,000 steps per second in full step mode, with no load, before conking out. It can do up to 26,000 16x ms steps per second before conking out - however, it's missing lots of those steps.
!c
Hmbffff. Why didn't I see
Hmbffff. Why didn't I see that stepper command :-). This is becoming much clearer now. I am happy that it all can run a bit faster compared to the default settings.
Any news about the new PCB's?
They should be arriving next
They should be arriving next week, they're being printed right now. If they come by next Friday, I'll reflow about ten of them over the weekend, so will have betas to go out.
!c
Hi Chris, I am glad you have
Hi Chris,
I am glad you have my email address :-). I cannot wait to get rid of the three PCB's that I need now!
Good news - the PCBs shipped
Good news - the PCBs shipped today, so they should be here by Friday =)
!c
Just curious. Did you have
Just curious. Did you have time to reflow the boards last weekend
Yeah, I got two done (it
Yeah, I got two done (it takes about 3-5 hours per board to place and reflow everything by hand =) - both had major issues, from the process. I'm presuming the boards are good, mostly because the reflow issues were the ones I expected, (It usually takes 2-3 bad ones to get one good one) and all new changes performed as expected. I'm most likely going to just order a batch assembled, as I don't think I can come up with 60 hours of time just to hand-place ten boards and have most of them fail due to a hacked-up process =) (not with the other design and programming work I have to do).
One change I want to make, however, is to change how I disabled the RS-485 network for programming via the arduino (or just using plain-ol ttl serial) - namely, I put a jumper to bring DE high, and therefore allow the RX and TX pins to operate as normal, when I should've added an (installed by default) jumper to cut the power to the driver.
!c
Just think Cheap Coach
Just think Cheap Coach Handbags for a few seconds, have you already seen a lady who has not a handbag, in Coach Factory which she announced with a difference? For Coach Purses Outlet, the most famous brand of handbags is "Coach Outlet Online". And this Coach Outlet Store Online can a great gift for a woman. Excellent and exquisite Coach Outlet Online and Purses for over 60 years make you feel like a queen with their elaborate design and rich fabric. If your eyesight Coach Outlet Online is b enough, Coach Outlet can be quickly in your hearts and eyes. Louis vuitton purses are made from high quality materials and high-skilled workers who are proud of what they are prepared produce. And Coach Outlet is a great gift because there are many different styles that could be coordinated with different personalities together. Cheap Coach Purses are of high quality and aesthetic design. Yes, brand Coach Factory Outlet name handbags are extremely attractive; and as time goes by Coach Handbags Outlet, your investments might shed their authentic charm Coach Outlet Canada. Shopping for designer Coach Purses from our Coach Outlet
can be a very nice experience. Coach Shoulder Bags are all about style.
Each Coach Bag speaks of class and no matter where and when you carry
it, you are sure to get a few impressive looks your way Coach Outlet Online. When you have desired to expand your social life then it's important to take support of your louis vuitton handbags, From http://www.coachoutletonlinepurse.org/ which can change your style and are the most popular on the market. Coach Factory Outlet is made of unparalleled quality and look beautiful and functional.