Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Would a voltage reading be possible? #3

Open
pfn opened this issue Apr 19, 2021 · 3 comments
Open

Would a voltage reading be possible? #3

pfn opened this issue Apr 19, 2021 · 3 comments

Comments

@pfn
Copy link

pfn commented Apr 19, 2021

It would be cool to see what realtime voltages are driven into the motors. (Better power estimations?)

Seems like the galvanic isolation would prevent this, though :(

@zapta
Copy link
Owner

zapta commented Apr 19, 2021

Yes, that's correct, sampling also the coil's voltage will allow to provide additional information. I didn't use that approach to keep the design simple. Hopefully the idea of stepper analyzer will get wider attention by the community and others will come with new features and capabilities.

This concept can evolve in many directions. One of the options I considered is a small dongle, that connects in serial to the stepper, has no screen or USB connector, derives the (minimal) power from the stepper motor, and sends the data to a computer app via BLE. A dongle like that could also sample the coil voltages.

@phil-barrett
Copy link

Another possibility is to use an isolating I2C or SPI interface. I have used an ISO1540 to isolate the sampling side of a high voltage system. See the schematic below. It is used to sample a plasma torch height signal (100-120VDC).

That brings up the question of power. I punted on it in the project below - requiring an external isolated 9-12V power input. The sampling dongle could be battery powered (2032 coin cell probably). Though for good battery life, it would probably need a small microcontroller to manage shut down/wake up.

Perhaps better to figure out how to draw a little parasitic power from the steppers. A few mA wouldn't change things much.

Worst case is an isolated DC-DC converter.

image

@zapta
Copy link
Owner

zapta commented Apr 25, 2021 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants