#LIS3DH interrupt
1 messages · Page 1 of 1 (latest)
100k from D12 to ground, no change. pinalarm has value=True, still waking up. trying with battery.
yes, s3tft (not reverse)
pin is D12 in code, and wire is to D12
on battery, it runs through once, then goes dark. put 3.3v on the pin, it wakes up and cycles again. so THAT part is OK.
that said, you were right about the i2c power going away.
i'll need to run a wire to 3.3 to keep the LIS alive.
but you said the power LED on the breakout was illuminated? It might have been backpowering through the data lines
on USB power, yes, it was staying on.
backpower makes a little sense, as the pin being high would do that as well as do the wakeup.
don't know why it'd be different on USB vs battery.
I think it is backpowering from the interrupt pin, and you do still need to hold the TFT_I2C_POWER pin high during sleep. I realised that controls power to the STEMMA/QT socket, not just the on-board I2C devices.
quote from guide
There is a power pin that must be pulled high for the STEMMA QT connector to work. This is done automatically by CircuitPython and Arduino. The pin is available in CircuitPython and in Arduino as TFT_I2C_POWER
right.
that said, if i put 3.3v into the breakout, everything works as expected. EVEN WITH USB CONNECTED. I don't even pretend to understand.
i think in fake deep sleep, it is still turning off the power, but it's being backpowered.
dunno. it works now, thank you very much for all your input.
now if I could just make it so that the terminal doesn't show up on the display... it's very distracting having it flash the terminal when it wakes up.
you could probably still use the preserve_dios to send power to it if you didn't want to do the power bypass.
nah, the bypass is fine
there are ways to suppress the terminal, but I forget right now. A websearch would find it.