PC software for ODROID Smart Power

Post Reply
User avatar
odroid
Site Admin
Posts: 41815
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English, Korean
ODROIDs: ODROID
Has thanked: 3414 times
Been thanked: 1907 times
Contact:

PC software for ODROID Smart Power

Post by odroid »

This first version is working with only Windows PC.
http://dn.odroid.com/Smart_Power/Smart_Power.zip

There are 2 executable files.
1. Firmware update tool (Press & hold ON/OFF key while connect the DC plug to enter into FW update mode)
2. PC monitor software. Written in C++ with Qt library for cross platform Windows and Ubuntu.
Image

We will release the source code via our github by end of August with Linux support.

ericvh
Posts: 11
Joined: Sun Sep 15, 2013 9:47 am
languages_spoken: english
ODROIDs: ODROID-X2 and ODROID-XUE
Has thanked: 0
Been thanked: 0
Contact:

Re: PC software for ODROID Smart Power

Post by ericvh »

HINT: It's past the end of august :)

Would be really nice to be able to trigger/read the Wh start/stop from the USB

User avatar
sert00
Posts: 745
Joined: Sun Feb 24, 2013 12:26 am
languages_spoken: english,italian
ODROIDs: ODROID-U2*2__ODROID-U3__ODROID-XU-E__ODROID-XU-Ebeta__ODROID-C1__ODROID-XU4
Has thanked: 0
Been thanked: 0
Contact:

Re: PC software for ODROID Smart Power

Post by sert00 »

they uploaded a new FW days ago,but it wasn't sad by the team.http://dn.odroid.com/Smart_Power/smart_power_fw.zip
At least we can begin exploring it..in the waiting for a linux version of the software and source code. :)
2x Odroid-U2
2x Odroid-XU-E
Odroid-U3
Odroid-C1+
Odroid-XU4
Lcd touch panel 10.1"
....and many of the goodies available....

ericvh
Posts: 11
Joined: Sun Sep 15, 2013 9:47 am
languages_spoken: english
ODROIDs: ODROID-X2 and ODROID-XUE
Has thanked: 0
Been thanked: 0
Contact:

Re: PC software for ODROID Smart Power

Post by ericvh »

sert00 wrote:they uploaded a new FW days ago,but it wasn't sad by the team.http://dn.odroid.com/Smart_Power/smart_power_fw.zip
At least we can begin exploring it..in the waiting for a linux version of the software and source code. :)
Grabbed that. Was hoping for more :)

ericvh
Posts: 11
Joined: Sun Sep 15, 2013 9:47 am
languages_spoken: english
ODROIDs: ODROID-X2 and ODROID-XUE
Has thanked: 0
Been thanked: 0
Contact:

Re: PC software for ODROID Smart Power

Post by ericvh »

sert00 wrote:they uploaded a new FW days ago,but it wasn't sad by the team.http://dn.odroid.com/Smart_Power/smart_power_fw.zip
At least we can begin exploring it..in the waiting for a linux version of the software and source code. :)
Grabbed that. Was hoping for more :)

User avatar
odroid
Site Admin
Posts: 41815
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English, Korean
ODROIDs: ODROID
Has thanked: 3414 times
Been thanked: 1907 times
Contact:

Re: PC software for ODROID Smart Power

Post by odroid »

PC software source code is here.
http://dn.odroid.com/Smart_Power/smart_power_app.zip

We will post the instruction of compilation for Windows and Ubuntu just after Holidays.

ericvh
Posts: 11
Joined: Sun Sep 15, 2013 9:47 am
languages_spoken: english
ODROIDs: ODROID-X2 and ODROID-XUE
Has thanked: 0
Been thanked: 0
Contact:

Re: PC software for ODROID Smart Power

Post by ericvh »

odroid wrote:PC software source code is here.
http://dn.odroid.com/Smart_Power/smart_power_app.zip

We will post the instruction of compilation for Windows and Ubuntu just after Holidays.
Awesome, this looks like just what I need, I was planning on writing my own collection harness anyways since I'm less interested in the GUI.
One issue I seem to run into is on my Ubuntu 13.04 x86_64 system, the device appears momentarily when I plug it in and then disappears.
dmesg is showing:

[839917.951829] usb 2-1.7: new full-speed USB device number 24 using ehci-pci
[839918.048912] usb 2-1.7: New USB device found, idVendor=04d8, idProduct=003f
[839918.048918] usb 2-1.7: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[839918.048921] usb 2-1.7: Product: Simple HID Device Demo
[839918.048923] usb 2-1.7: Manufacturer: Microchip Technology Inc.
[839918.050668] hid-generic 0003:04D8:003F.000E: hiddev0,hidraw3: USB HID v1.11 Device [Microchip Technology Inc. Simple HID Device Demo] on usb-0000:00:1d.0-1.7/input0
[839918.168404] usb 2-1.7: USB disconnect, device number 24

After this the app doesn't see it. If I plug it in while the app is running, it shows data for a second and then it all goes away. Any clues on how to get it to stick around?

Thanks,
-eric

zedzed
Posts: 1
Joined: Sat Jun 29, 2013 7:12 am
languages_spoken: english
Has thanked: 0
Been thanked: 0
Contact:

Re: PC software for ODROID Smart Power

Post by zedzed »

Has anyone written a CLI / python interface for the smart power yet? I'm just looking to retrieve the data within Linux with no GUI .

ericvh
Posts: 11
Joined: Sun Sep 15, 2013 9:47 am
languages_spoken: english
ODROIDs: ODROID-X2 and ODROID-XUE
Has thanked: 0
Been thanked: 0
Contact:

Re: PC software for ODROID Smart Power

Post by ericvh »

zedzed wrote:Has anyone written a CLI / python interface for the smart power yet? I'm just looking to retrieve the data within Linux with no GUI .
This is my intention as well. While I still have been having trouble with the USB staying connected on my desktop, I appear to be able to run the app on my macbook inside a VM running Linux so I'm going to strip out the Qt bits and have a library from which you can build a CLI and/or network service from.

davidlt
Posts: 21
Joined: Mon Mar 04, 2013 10:28 pm
languages_spoken: english
ODROIDs: ODROID-U2/XU+E, Smart Power
Has thanked: 0
Been thanked: 0
Contact:

Re: PC software for ODROID Smart Power

Post by davidlt »

Could we get CONFIG_HIDRAW and CONFIG_USB_HIDDEV enabled on ODROID XU kernels? Thus we could write a user land utility to fetch/control the data from the Smart Power. In that case wouldn't need HDIAPI external library.

User avatar
odroid
Site Admin
Posts: 41815
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English, Korean
ODROIDs: ODROID
Has thanked: 3414 times
Been thanked: 1907 times
Contact:

Re: PC software for ODROID Smart Power

Post by odroid »

It will be included in the release within 24 hours.

User avatar
odroid
Site Admin
Posts: 41815
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English, Korean
ODROIDs: ODROID
Has thanked: 3414 times
Been thanked: 1907 times
Contact:

Re: PC software for ODROID Smart Power

Post by odroid »

Build instruction for the PC software has been included in this link.

http://odroid.com/dokuwiki/doku.php?id= ... smartpower

User avatar
odroid
Site Admin
Posts: 41815
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English, Korean
ODROIDs: ODROID
Has thanked: 3414 times
Been thanked: 1907 times
Contact:

Re: PC software for ODROID Smart Power

Post by odroid »

Linux GUI(Qt) source code and build instruction are released.
http://odroid.com/dokuwiki/doku.php?id= ... smartpower

Sorry for your long waiting ! ;)

User avatar
odroid
Site Admin
Posts: 41815
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English, Korean
ODROIDs: ODROID
Has thanked: 3414 times
Been thanked: 1907 times
Contact:

Re: PC software for ODROID Smart Power

Post by odroid »

Software 1.0.4

What's new !
- Ampere mode and Watt mode are selectable for graph.
- Not even interval time stamp in Log file has been fixed.

Image

Image

pcat
Posts: 1
Joined: Tue Oct 22, 2013 7:49 pm
languages_spoken: english
ODROIDs: ODROID XU+E
Has thanked: 0
Been thanked: 0
Contact:

Re: PC software for ODROID Smart Power

Post by pcat »

zedzed wrote:Has anyone written a CLI / python interface for the smart power yet? I'm just looking to retrieve the data within Linux with no GUI .
I wrote a very simple command line tool to control smart power. Source code is here https://github.com/polarcat/smartpower Help is available within -h/--help switch. Any feedback is welcome :)

Raymond Day
Posts: 510
Joined: Tue Jun 04, 2013 8:18 pm
languages_spoken: english
ODROIDs: Odroid-U2, XU4, C1+,
Location: Belleville MI
Has thanked: 0
Been thanked: 2 times
Contact:

Re: PC software for ODROID Smart Power

Post by Raymond Day »

Just got the Smart Power. Looks nice. I wanted to install the PC software but a lot of the links are missing. Lots of steps to install it.

How do you hook it up to your PC any way? I male to male USB cable that don't come with it? I got one any way but not sure to plug it in because looks like it will do power in to my PC USB port.

Get stuck here:

Code: Select all

C:\qwt-6.1.0>qmake
'qmake' is not recognized as an internal or external command,
operable program or batch file.

C:\qwt-6.1.0>
Not sure what to do next?

-Raymond Day

User avatar
odroid
Site Admin
Posts: 41815
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English, Korean
ODROIDs: ODROID
Has thanked: 3414 times
Been thanked: 1907 times
Contact:

Re: PC software for ODROID Smart Power

Post by odroid »

You can find pre-compiled Windows & Linux x86 executable files in this link. (I've just fixed the broken link. Sorry)
http://odroid.com/dokuwiki/doku.php?id= ... pplication
File name is Smart_Power-FW-V31.zip

You can find the guide to build the code on Magazine 2014 October issue.
http://magazine.odroid.com/#201410

Raymond Day
Posts: 510
Joined: Tue Jun 04, 2013 8:18 pm
languages_spoken: english
ODROIDs: Odroid-U2, XU4, C1+,
Location: Belleville MI
Has thanked: 0
Been thanked: 2 times
Contact:

Re: PC software for ODROID Smart Power

Post by Raymond Day »

Wow thank you. That was so easy just unzip it and I ran the .exe and then plug in the USB cable that came with it. The microUSB on the side and it worked right away showing the numbers.

Thanks again.

-Raymond Day

User avatar
odroid
Site Admin
Posts: 41815
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English, Korean
ODROIDs: ODROID
Has thanked: 3414 times
Been thanked: 1907 times
Contact:

Re: PC software for ODROID Smart Power

Post by odroid »

Thank you for the confirmation. :)

Raymond Day
Posts: 510
Joined: Tue Jun 04, 2013 8:18 pm
languages_spoken: english
ODROIDs: Odroid-U2, XU4, C1+,
Location: Belleville MI
Has thanked: 0
Been thanked: 2 times
Contact:

Re: PC software for ODROID Smart Power

Post by Raymond Day »

I have Windows 10 and it works with it.

I love to use this on my solar power. Could I use it with it? It can go up to about 14.5 volts and not sure how many amps it can do. It's a 100 watt solar panel and got 4 big marine battery's it charges up when it's light out.

It would be neat if I can use this. But looks like the limit my be 12 volt at 3 amp. I guess can do more amps but not sure about the 12 volts.

-Raymond Day

User avatar
odroid
Site Admin
Posts: 41815
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English, Korean
ODROIDs: ODROID
Has thanked: 3414 times
Been thanked: 1907 times
Contact:

Re: PC software for ODROID Smart Power

Post by odroid »

14.5Volt seems to be very risky.
The maximum input voltage must be lower than 13.5Volt.

Skylar
Posts: 4
Joined: Wed Sep 18, 2019 2:36 pm
languages_spoken: english
ODROIDs: XU4
Has thanked: 1 time
Been thanked: 0
Contact:

Re: PC software for ODROID Smart Power

Post by Skylar »

Hi,
Sorry I am still new to this so it might seems like a stupid question....
But I was wondering if there is a pc software for Smart Power 2?
I know that for Smart Power we can see the Power meter from the PC software,
but is there any similar thing for smart power 2 also?
Thank you all!

Raymond Day
Posts: 510
Joined: Tue Jun 04, 2013 8:18 pm
languages_spoken: english
ODROIDs: Odroid-U2, XU4, C1+,
Location: Belleville MI
Has thanked: 0
Been thanked: 2 times
Contact:

Re: PC software for ODROID Smart Power

Post by Raymond Day »

Look back on this some here viewtopic.php?p=268771#p101358 can download software for it and plug in the USB to your computer and see it there.

-Raymond Day
These users thanked the author Raymond Day for the post:
Skylar (Thu Sep 19, 2019 2:20 am)

Skylar
Posts: 4
Joined: Wed Sep 18, 2019 2:36 pm
languages_spoken: english
ODROIDs: XU4
Has thanked: 1 time
Been thanked: 0
Contact:

Re: PC software for ODROID Smart Power

Post by Skylar »

Great! Thank you for responding!!

User avatar
odroid
Site Admin
Posts: 41815
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English, Korean
ODROIDs: ODROID
Has thanked: 3414 times
Been thanked: 1907 times
Contact:

Re: PC software for ODROID Smart Power

Post by odroid »

Since the serial-USB port in the SmartPower2 is used for debug/firmware-update purpose only, you can NOT use the PC software.

Post Reply

Return to “Smart Power”

Who is online

Users browsing this forum: No registered users and 1 guest