Remote controlling Smart Power 3

Post Reply
ararauna
Posts: 2
Joined: Mon Nov 22, 2021 8:29 pm
languages_spoken: english
Has thanked: 1 time
Been thanked: 0
Contact:

Remote controlling Smart Power 3

Post by ararauna »

Hi,
I am using the Smart Power 3 to collect some data about some boards I have in the office.
However, sometimes I work from home and would like to stop/restart the power delivery to the boards I'm testing remotely.

At first, I thought of using one of those plugs that can be turned on and off remotely, but the Smart Power 3 requires the user to push a physical button to turn on the power delivery to the board without remembering its state before shutting off.
Is there any way to toggle the delivery on/off remotely or via serial communication?

Thanks

User avatar
mctom
Posts: 2254
Joined: Wed Nov 11, 2020 4:44 am
languages_spoken: english, polish
ODROIDs: OGA, XU4, C2, M1, H3+, SP3, Vu8M
Location: Gdansk, Poland
Has thanked: 280 times
Been thanked: 368 times
Contact:

Re: Remote controlling Smart Power 3

Post by mctom »

Hi,

It might actually be easier to develop a remote control code in scope of Smart Power 3 firmware.
https://github.com/hardkernel/smartpower3

I was thinking about implementing a subset of SCPI commands in SP3, that would solve a lot of problems. It's a common language understood by almost all lab instruments that have any communication port.
https://en.wikipedia.org/wiki/Standard_ ... nstruments

If it understood SCPI, all you'd need to do is to write:

Code: Select all

CHAN1:VOLT 5
CHAN1:OUTP ON
These users thanked the author mctom for the post:
ararauna (Fri Sep 02, 2022 6:07 pm)
Punk ain't no religious cult, punk means thinking for yourself!

Maintainer of PiStackMon

ararauna
Posts: 2
Joined: Mon Nov 22, 2021 8:29 pm
languages_spoken: english
Has thanked: 1 time
Been thanked: 0
Contact:

Re: Remote controlling Smart Power 3

Post by ararauna »

That might be a nice idea, thanks ;)

User avatar
mctom
Posts: 2254
Joined: Wed Nov 11, 2020 4:44 am
languages_spoken: english, polish
ODROIDs: OGA, XU4, C2, M1, H3+, SP3, Vu8M
Location: Gdansk, Poland
Has thanked: 280 times
Been thanked: 368 times
Contact:

Re: Remote controlling Smart Power 3

Post by mctom »

Someone has already pointed out it's feasible to incorporate an existing SCPI parser for this:
https://github.com/Vrekrer/Vrekrer_scpi_parser
https://github.com/LachlanGunn/oic/tree ... SCPIParser

I'd love to help you with this, but I'm departing on my vacations this weekend.
Punk ain't no religious cult, punk means thinking for yourself!

Maintainer of PiStackMon

Post Reply

Return to “Smart Power”

Who is online

Users browsing this forum: No registered users and 3 guests