Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
en:acc:smartpower2 [2016/12/06 11:06] odroid [Without WiFi (Standalone mode)] |
en:acc:smartpower2 [2017/01/31 09:26] odroid [Build Firmware] |
||
---|---|---|---|
Line 65: | Line 65: | ||
|{{:en:acc:sp2:home.png?200 |}}|{{:en:acc:sp2:ipsetting.png?200 |}}| | |{{:en:acc:sp2:home.png?200 |}}|{{:en:acc:sp2:ipsetting.png?200 |}}| | ||
+ | ===== With Telnet (Connected mode) ===== | ||
+ | |||
+ | After connection with WiFi, you can get power data via telnet.\\ | ||
+ | [Voltage],[Ampere],[Power],[Watt hour] | ||
+ | $ telnet 192.168.4.1 | ||
+ | 5.255,0.451,2.374,0.000 | ||
+ | 5.256,0.451,2.374,0.000 | ||
===== LED State ===== | ===== LED State ===== | ||
Line 78: | Line 85: | ||
===== System Reset ===== | ===== System Reset ===== | ||
- | After boot, Press ON/OFF Switch for 5 seconds.\\ | + | After boot, press the ON/OFF switch for 5 seconds to reset all settings including WiFi. |
- | Then, WiFi settings and the other settings are reset. | + | |
====== Hardware ====== | ====== Hardware ====== | ||
{{:en:acc:sp2:hwblock.png?500|}} | {{:en:acc:sp2:hwblock.png?500|}} | ||
Line 99: | Line 105: | ||
===== Build Firmware ===== | ===== Build Firmware ===== | ||
- | This guide is compatible with x86 only. The development tools are not available for ARM platforms. | + | This guide is working with x86 platforms only. The development tools are not available for ARM platforms. |
==== Linux ==== | ==== Linux ==== | ||
===1. Install PlatformIO=== | ===1. Install PlatformIO=== | ||
Line 111: | Line 117: | ||
sudo apt-get install git | sudo apt-get install git | ||
git clone https://github.com/hardkernel/smartpower2.git | git clone https://github.com/hardkernel/smartpower2.git | ||
- | ===3. Install libraries=== | ||
- | |||
- | * Websocket(549) | ||
- | * Simpletimer(419) | ||
- | * LiquidCrystal_I2C(576) | ||
+ | ===3. Build & Upload=== | ||
cd smartpower2 | cd smartpower2 | ||
- | platformio lib install 549 419 576 | ||
- | | ||
- | ===3. Build & Upload=== | ||
platformio run | platformio run | ||
sudo platformio run --target upload | sudo platformio run --target upload | ||
Line 132: | Line 131: | ||
{{https://github.com/hardkernel/smartpower2/archive/master.zip}} | {{https://github.com/hardkernel/smartpower2/archive/master.zip}} | ||
+ | <WRAP hide> | ||
===3. Install libraries=== | ===3. Install libraries=== | ||
- | |||
- | Run CMD and move to the smartpower2 folder | ||
- | cd /path/to/dir/smartpower2 | ||
{{:en:acc:sp2:cmd.png?400|}} | {{:en:acc:sp2:cmd.png?400|}} | ||
Line 146: | Line 142: | ||
platformio lib install 549 419 576 | platformio lib install 549 419 576 | ||
- | ===4. Build & Upload=== | + | </WRAP> |
+ | ===3. Build & Upload=== | ||
+ | Run CMD and move to the smartpower2 folder | ||
+ | cd /path/to/dir/smartpower2 | ||
platformio run | platformio run | ||
platformio run --target upload | platformio run --target upload | ||
platformio run --target uploadfs | platformio run --target uploadfs | ||
+ | |||
+ | |||
+ | ===== F/W Version History ===== | ||
+ | |||
+ | ^Release Date^Version^Description^Git^ | ||
+ | |Jan 22 2017|[[en:acc:smartpower2#release_note_of_F/W_v1.1|v1.1]]|Add console logging with telnet and make SSID unique to each device|[[https://github.com/hardkernel/smartpower2/tree/v1.1]]| | ||
+ | |||
+ | [[en:acc:smartpower2#build_firmware|F/W build tutorials]] | ||
+ | ==== Release Note of F/W v1.1 ==== | ||
+ | Thanks to [[https://github.com/OtherCrashOverride]] | ||
+ | === New features === | ||
+ | * [[en:acc:smartpower2#with_telnet_connected_mode|console logging with telnet]] | ||
+ | * Possible Unique SSID on each device |