Comments (7)
Are these pins configured as pull downs on your Smoothie?
from nano_stepper.
No, I have them set as regular output pins. Should I try them as pull down? I will post my relevant smoothie config here shortly. Right now it is set to use the default config for the x-y-z pins from smoothie's example config. Their example config works with the onboard stepper controllers, and works great when I bypass the level shifters on the nano zero board. I will try them as pull down here is just a little bit and post my results here.
Thank you for helping me! 😄
from nano_stepper.
Here's what I understand: You can see on the NZS's schematics that sending 3.3V to the STEP, DIR or ERROR pin wouldn't do anything. They're already pulled up by VIN through the 10k resistor.
The appropriate setting is apparently open-drain (it's ground when closed, floating when open), so the BSS138 would see 0V when closed and 3.3V when open. Same for D0, D1 and D10 (BSS138 is wired as a level shifter) http://smoothieware.org/general-appendixes#external-drivers
from nano_stepper.
For anyone still watching this issue, there is a firmware update that attempts to fix the issue with logic shifting from smoothie to NZS. The firmware version that supports this is 0.17. The firmware had pulldown for dir/step pins after logic shifting and if you have any noise whatsoever then the steppers would miss incoming steps. The 3.3v logic on the shifters causes the voltage to drop to 2.0v. Considering that the minimum logic high is 1.815v if you have any ripple on the dir/step pins it could cause it to miss counts.
The pulldowns were removed in favor of floating inputs so that smoothie / ramps can drive the pins directly, effectively aiding in less noise on the pins.
from nano_stepper.
I am still having no luck with my Smoothie using the regular STEP, DIR, and ERROR pins. I have tried the following:
- All testing using v0.19 FW with line commented out in boards.h to make it for the old hardware.
- Tried normal pin configuration for output (no pull up/down), had absolutely no movement
- Tried open-drain (the "o"option on the Smoothie config) as suggested by @kb- , this almost worked, I got some movement out of it, but it just twitched and didn't really move.
- Moved connections to use D3 (STEP), TX (DIR) and RX (EN) pins (modified firmware as in OP), set smoothie pins to normal output, and got perfect motion
I am very happy to try anything you want, I can take pictures/videos of the results and configurations. I really just want it to work also.
In the mean time I will continue to experiment on my own to see if maybe I can figure something out.
from nano_stepper.
Just about the only thing I can think of in this case is using an O-Scope. My above findings were based upon the o-scope readings. I would suspect that the transition from logic 0 to 1 (0v - at least 1.815v) isn't occurring even though you have tried open drain. My smoothie outputs an exact 3.3v which translates into roughly 2.0v on the NZS after shifting.
You could try monitoring the direction pin using a multimeter and see if it changes voltage from 0v to 2.0v when you move that axis back and fourth.
The only issue with measuring the 2.0v is you'd have to measure it after the logic shifter on the PCB and that can be very difficult since all those components are SMD.
Another test you could try is bonding the grounds together between the logic ground on the NZS, and the ground on the smoothie. If they are not at the same ground plane you could be having a ground loop feedback issue.
If you cannot ground them together, then measure the voltage difference between the ground on the NZS and the smoothie. If the voltage difference is larger than 100mV that could be causing the issue also.
from nano_stepper.
@pristinesource, Any updates on this?
from nano_stepper.
Related Issues (20)
- Open Source License HOT 3
- Required Wiring Doc Update HOT 1
- Makerbase upload sources. HOT 1
- Smart Stepper N2P 100 35V capacitor getting really hot HOT 2
- Additions to docs HOT 1
- How to change vendor/product I or add iSerial HOT 2
- ERROR 'Serial5' was not declared in this scope HOT 2
- MKS SERVO 42 ERROR PIN? HOT 2
- Current Homing HOT 1
- INFO: MKS provided now source for fw and hw HOT 4
- INFO: bigtreetech hw/fw design of 42B and 42A shared on github HOT 2
- Just for info: easily read/write from/to Smart Stepper by raspberry pi/bash HOT 1
- 2209 question HOT 2
- What magnets to use? HOT 2
- Convert to TMC2208? HOT 3
- Inquiry: Step interpolation mode HOT 1
- Retrofit for Nema 14 HOT 1
- Cannot Install misfitTech SAMD Boards in Arduino. HOT 1
- www.misifittech.net dead link
- setpos to negative number error
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 nano_stepper.