I want to combine the Ryanteck RTk.GPIO https://uk.pi-supply.com/products/ryanteck-rtk-gpio-pc-gpio-interface with the Raspberry Pi Power Monitor project https://github.com/David00/rpi-power-monitor for use with a server (not a pi)
While the two boards physically fit, I didn't realise that the Power Monitor HAT uses SPI rather than GPIO.
Is there a way for me to alter the rpi-power-monitor python code to work with the RTk.GPIO board?
I don't know anything about SPI, but my searches talk about bitbanging via the GPIO?!
Hints welcome :)
#python #raspberrypi
@intrbiz I love open source projects.
https://github.com/david00/rpi-power-monitor/wiki/Schematic
It is feasible to wire in a USB to SPI adaptor on the documented pins.
Might punt a few more quid to finding a suitable adaptor to see if I can get it to work.
If that fails, it'll be a case of sticking with the Pi and using external SSD storage for the near constant data writing.
Could even boot from the USB SSD for more reliability.
@intrbiz @alex thanks :)
I was hoping to use the server that is already running next to the distribution board.
I'll look at usb spi devices next.
Thankfully the rtk.gpio board was cheap (I got 2 just in case I could use it in 2 setups), so no great loss.