M5 Stick C Plus 5V HAT output
-
The M5StickC-Plus is being powered through USB.
The grove port is in use, connected to a temp/humidity sensor (Adafruit AHT20) and magnetometer/accelerometer sensor (Adafruit LSW303AGR).
I am connecting an RS485 board (using a MAX485 IC) to the HAT pins, but the 5V output is only at 1V.
Any ideas? Does the 5V output have to be enabled in code?
-
I've given up on this, now powering it direct from USB instead of HAT.
-
@bazman I'm sorry no one responded before.
The 5V beside the GND pin is 5V always, but the 5V on the other side is 0V, because it is external 5V "in".
Just tested it now and have used it many times before! -
Thanks @teastain. Is there an API to tell what the 5V In voltage is from the HAT? I use the USB voltage to work out if the power has been cut so that I can automatically shutdown the device instead of using battery power. I wonder if this can also be done through the HAT power in...
-
@bazman Here is the StickC API link:https://docs.m5stack.com/en/api/stickc/axp192_m5stickc