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

Auto detect lack of power from wall adapter #2

Open
oskay opened this issue Dec 15, 2014 · 5 comments
Open

Auto detect lack of power from wall adapter #2

oskay opened this issue Dec 15, 2014 · 5 comments

Comments

@oskay
Copy link
Contributor

oskay commented Dec 15, 2014

Copied from issue by @EmbeddedMan (Brian Schmalz) at Google Code: https://code.google.com/p/eggbotcode/issues/detail?id=22

"The latest hardware versions of the EBB (1.5 and 2.0) with the latest firmware (2.0.1) have the ability to monitor the power input from the wall. Because the boards are also powered from USB, you can't easily tell (from the LEDs, for example) if you've got good wall power on your EggBot.

This is a request to add a feature to the Inkscape extension that would query the EBB for the current voltage level at the power input jack, and warn the user if they try to run their EB without power (or with power less than, say 8V).

The EBB command to use is the QC command."

From Ragstian:
"Code to manually read the voltage and current setting has been added to the eggbot extension, (eggbot.py and eggbot.inx). See this forum thread for the updated files.
http://forum.evilmadscientist.com/discussion/337/checking-ebb-motor-voltage-from-inkscape#Item_17 "

From Brian:
"The code that ragstian added works to properly detect the input voltage to the EBB. Note, however, that you need to use v2.2.3 of the EBB firmware in order for this to work correctly. Previous versions had a semi-broken QC command.

At this point, I think all it would take is a little python to send the QC command and verify a minimum voltage (say 8.5V) before the beginning of a plot."

@oskay
Copy link
Contributor Author

oskay commented Dec 15, 2014

Handling this properly would require (1) checking the EBB version, and (2) querying the QC value, if EBB firmware level is high enough. At present, the vast majority of users will not have the high enough firmware level to support this query.

@EmbeddedMan
Copy link
Contributor

Agreed. I believe the EBB firmware part of this issue is complete and working, and at this point it is purely an inkscape-extension task. There may be little value in adding this to the extension, but it could be done, as you suggest, by looking at the version value of the EBB firmware running on the board first.

@EmbeddedMan EmbeddedMan removed the EBB label Jan 2, 2015
@oskay
Copy link
Contributor Author

oskay commented Jan 25, 2015

Are there any issues with the current EBB code that should prevent us from beginning to deploy it on new EBBs as they are shipped?

@EmbeddedMan
Copy link
Contributor

Windell,

I don't believe so. However, I believe the latest code (version 2.2.6) has
only been tested by a couple folks. The only possible strangeness
(unconfirmed) is when dealing with very long moves (like > 24 bit values).

So I strongly recommend testing this version out, a lot, and reporting
anything strange as issues that I'll do my best to fix ASAP.

*Brian

On Sun, Jan 25, 2015 at 3:10 PM, Windell Oskay notifications@github.com
wrote:

Are there any issues with the current EBB code that should prevent us from
beginning to deploy it on new EBBs as they are shipped?


Reply to this email directly or view it on GitHub
#2 (comment).

@oskay
Copy link
Contributor Author

oskay commented Jan 15, 2018

Implemented for AxiDraw, through code added to plot-ink:
evil-mad/axidraw#6

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

No branches or pull requests

2 participants