Skip to content

THC Thumbnail / Fly-out not appearing in ioSender when MCP3221 I2C ADC option is selected in Web Builder #17

@runningc1

Description

@runningc1

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:

  • Using ioSender 2.0.45 (latest)
  • Plugin_plasma version: PLASMA v0.16
  • With the Web Builder, I've double checked that the Web Builder has both the THC plasma plugin and the MCP3221 I2C ADC option selected.
  • I'm using the teensy.exe program to flash the board with the generated hex file.

$i and $pins dumps:

$i
[VER:1.1f.20250120:]
[OPT:VNMSL,100,1024,3,0]
[AXS:3:XYZ]
[NEWOPT:ENUMS,RT+,HOME,ES,REBOOT,SED]
[FIRMWARE:grblHAL]
[SIGNALS:HSEP]
[NVS STORAGE:*FLASH]
[FREE MEMORY:484K]
[DRIVER:iMXRT1062]
[DRIVER VERSION:250107] 
[DRIVER OPTIONS:USB.1]
[BOARD:T41U5XBB]
[AUX IO:7,3,1,0]
[PLUGIN:PLASMA v0.16]

$pins
[PIN:16,Feed hold]
[PIN:17,Cycle start]
[PIN:14,Emergency stop]
[PIN:15,Probe]
[PIN:20,X limit min]
[PIN:21,Y limit min]
[PIN:22,Z limit min]
[PIN:36,Aux in 0,P0]
[PIN:30,Aux in 1,P1]
[PIN:34,Aux in 2,P2]
[PIN:35,Aux in 3,P3]
[PIN:41,Aux in 4,P4]
[PIN:28,Aux in 5,P5]
[PIN:29,Aux in 6,P6]
[PIN:MCP3221:0,Aux analog in 0,E0]
[PIN:2,X step]
[PIN:4,Y step]
[PIN:6,Z step]
[PIN:3,X dir]
[PIN:5,Y dir]
[PIN:7,Z dir]
[PIN:10,X enable]
[PIN:40,Y enable]
[PIN:39,Z enable]
[PIN:12,Spindle on]
[PIN:11,Spindle direction]
[PIN:13,Spindle PWM]
[PIN:18,Mist]
[PIN:19,Flood]
[PIN:31,Aux out 0,P0]
[PIN:32,Aux out 1,P1]
[PIN:33,Aux out 2,P2]
[PIN:24,I2C SCK]
[PIN:25,I2C SDA]
[PIN:0,RX,UART1]
[PIN:1,TX,UART1]

I'm at a total loss for debugging this thing. Any ideas are welcome.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions