-
Notifications
You must be signed in to change notification settings - Fork 2
THC Thumbnail / Fly-out not appearing in ioSender when MCP3221 I2C ADC option is selected in Web Builder #17
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
Comments
Based on all the hardware connectivity checks and reports in the software, this is looking more and more like a SW issue in my setup than a HW one. I tried the $rst=& command, and I ended up with identical settings as you (see image), but no flyout (indicative to me that there is an incomplete config, as per your observation). I reflashed the board with a fresh download of the firmware and connected to a fresh install of ioSender, but no dice. In addition, I played around with the Plasma $350 setting to see if turning it to Off eliminated the requirement to have the 367 Arc Okay port, but also no change. (Ultimately, my setup will use the arc voltage as the okay signal, so I believe I will be using $350=0 by the end.) Makes sense that [PIN:MCP3221] is (I believe) binding to pin 0, as the $pins shows: [PIN:MCP3221:0,Aux analog in 0,E0] This concept of binding Aux ports - is it only done automatically? Could I try manually binding? Is there a way to do this in the GRBL Settings or using Gcode commands? I looked through the documentation for GRBLHAL and the THC plugin but nothing seemed to jump out at me as a direct means of doing this. (Might have not read thoroughly enough though.) For good measure, one more dump of $i and $pins:
Thanks again for your help. |
Kind of, the iMXRT1062 driver misbehaved with the latest plugin leading to the pin not beeing claimed, fixed now.
No, only on a settings reset and on first startup after adding the plugin.
Yes, binding ports is in the Aux ports group if using ioSender.
Both are possible. I have to add the setting numbers to the documentation, earlier it was only done automatically and I am sloppy with keeping the documentation in sync... |
Thanks for the fix. After generating a new hex file from the Web Builder, I am now successfully seeing the THC monitor and all the missing settings in the Settings: GRBL section of the UI. The THC monitor appears to respond correctly to my simulated analog signal. MCP3221 reports [PIN:MCP3221:0,Aux analog in 0,Arc voltage], and the plasma plugin reports version [PLUGIN:PLASMA v0.17]. Thanks for looking into this, I will let you know if I run into any more issues. |
Hello folks,
I've been getting my feet wet with a custom cnc plasma cutter (4' x 2' cutting area) using NEMA 23s, roughly based on JDs Garage's XL CNC Plasma Table design (https://jdsgarage.bigcartel.com/product/xl-cnc-plasma-table). I went the Teensy route with Phil Barrett's breakout boards (T41U5XBB and THC ADCI_1). The setup and installation was a cinch, and I've verified the CNC will move around with the ioSender software. I can home the machine, load Gcode files in ioSender, have it move to zero, start the torch, and cut a small rectangle from a file.
However, in ioSender, I see no flyout from the tools on the right side of the UI, and my options are limited in the "GRBL: settings" section of the UI. During cutting, THC does not appear to be active.
My issue is nearly identical to THC plugin not working properly, showing false "arc ok" among others, but I'm careful to power up the ADCI_1 first (12v to V_ISO) from a separate power supply before anything else is powered (as was the ultimate solution to the problem in that thread).
It is interesting to me that I'm not getting the same "[PIN:MCP3221:0,Aux analog in 0,No power]" message as was the symptom in the other discussion, so I don't think it's a powering order issue. When I dump the $pins I get the following for MCP3221 instead:
[PIN:MCP3221:0,Aux analog in 0,E0]
(What is 'E0'? Does it hold the secret to why it's not working?)
I can read the I2C address for the chip on the ADCI_1 board (0x4d). When the ADCI_1 board is removed, the scanner can't find the address anymore. So at the very least the I2C chip is verified accessible.
For voltage testing on the ADCI_1 board, I’m measuring 12V (supplied) on V_ISO, 3.3v on the header power pin, and 3.3v on both header I2C pins. The SMT regulator U3 has 5v on the regulated side.
Here's more relevant info I can think of:
$i and $pins dumps:
I'm at a total loss for debugging this thing. Any ideas are welcome.
The text was updated successfully, but these errors were encountered: