Download Print this page

Advertisement

Quick Links

2023/06/13 00:19
SmartPower2
SmartPower2 is a power-supply which has
a connected device.
You can also monitor the load current and power consumption remotely on your smartphone, tablet
and PC.
Ver. korea
Where to buy
ODROID Wiki - https://wiki.odroid.com/
1/20
WiFi
connectivity to control the voltage to and switch on/off
SmartPower2

Advertisement

loading

Summary of Contents for ODROID SmartPower2

  • Page 1 2023/06/13 00:19 1/20 SmartPower2 SmartPower2 SmartPower2 is a power-supply which has WiFi connectivity to control the voltage to and switch on/off a connected device. You can also monitor the load current and power consumption remotely on your smartphone, tablet and PC.
  • Page 2 Last update: accessory:power_supply_battery:smartpower2 https://wiki.odroid.com/accessory/power_supply_battery/smartpower2?rev=1563761613 2019/07/22 11:13 Specifications WiFi MCU module ESP12E Output Interface USB Host, terminal block(+, -) Terminal Block Output Voltage DC 4 ~ 5.3V in 100mV step Terminal Block Maximum Output Current 5A USB Host Port Output Voltage DC 4 ~ 5.3V in 100mV step...
  • Page 3 Caution! if you plug it the other way, your board will be seriously damaged. Without WiFi (Standalone mode) 1. Output Power ON/OFF You can turn the output power on/off using the tact switch on SmartPower2 2. Power monitoring with 16×2 LCD We recommend connecting the LCD after disconnecting the main power source.
  • Page 4 The webpage supports IE 11+, Edge 13+, Firefox 47+, Chrome 49+, Safari 9.1+, Opera 41+, IOS Safari 9.3+, Android Broswer 4.4+, Chrome for Android 53+ 1. WiFi Connection Default SSID : smartpower2, Password : 12345678 2. Access Web UI Default webserver ip : 192.168.4.1 https://wiki.odroid.com/...
  • Page 5 Save Default Voltage button : Set default voltage. 4. Settings Auto Run checkbox - Output power ON/OFF automatically when you power on the SmartPower2. Save Button - Save Network Configuration (SSID, IP Address, Password). Reset Button - Initialize User Network Configuration (Factory reset)
  • Page 6 Receving Power Data via microUSB cable This feature is available in F/W v1.4 or later. You can receive power data(current, voltage, power, watt-hour) from your SmartPower2 to your PC or ODROIDs through serial. The serial output is available only when the output power is enabled.
  • Page 7 2023/06/13 00:19 7/20 SmartPower2 1. Connect your SmartPower2 to PC via microUSB cable 2. Run Serial serial console program like putty or minicom 3. Enable power on LED State State Description off Input power off PWR(D1) Input power on blink Output power on off...
  • Page 8 Last update: accessory:power_supply_battery:smartpower2 https://wiki.odroid.com/accessory/power_supply_battery/smartpower2?rev=1563761613 2019/07/22 11:13 Documentation Schematic SmartPower2 Data Sheet MCU - ESP8266 Espressif low power 32-bit MCU USB to UART - CP2104 single chip usb-to-uart bridge 3A 16V Stepdown - MP1495S High Efficiency 3A, 16V, 500kHz Synchronous Step Down...
  • Page 9 Simple instruction for Firmware upload. Linux 1. Install the requerments host $ sudo apt install python-pip git $ sudo pip install esptool 2. Get the binaries about firmware and web source host $ git clone https://github.com/hardkernel/smartpower2.git smartpower2 ODROID Wiki - https://wiki.odroid.com/...
  • Page 10 Last update: accessory:power_supply_battery:smartpower2 https://wiki.odroid.com/accessory/power_supply_battery/smartpower2?rev=1563761613 2019/07/22 11:13 3. Upload You should check your esp8266 serial number like “/dev/ttyUSB0” or “/dev/ttyUSB1” host sudo esptool.py --chip esp8266 --port /dev/ttyUSB0 --baud 921600 write_flash 0x00000 prebuilt/firmware.bin 0x100000 prebuilt/spiffs.bin Windows The instructions were tested on Windows 10.
  • Page 11 2023/06/13 00:19 11/20 SmartPower2 5. Start upload You have to input binaries and other parameters as shown below picture. COM port is variable depending on your PC environment. ODROID Wiki - https://wiki.odroid.com/...
  • Page 12 Last update: accessory:power_supply_battery:smartpower2 https://wiki.odroid.com/accessory/power_supply_battery/smartpower2?rev=1563761613 2019/07/22 11:13 Build Firmware This guide is working with x86 platforms only. The development tools are not available for ARM platforms. You can use Arduino IDE or PlatformIO for build platform. Arduino IDE 1. Install Arduino IDE for ESP8266 Download the Arduino IDE via this link https://www.arduino.cc/en/Main/Software...
  • Page 13 After adding the url, you are able to search “esp8266” in “Tools → Board → Boards Manager”. Install the esp8266 Android version 2.4.2! Currently, Smartpower2 is not compatible with version esp8266 Android v2.5.0 or higher. Select “Tools → board” to “NodeMCU...
  • Page 14 Last update: accessory:power_supply_battery:smartpower2 https://wiki.odroid.com/accessory/power_supply_battery/smartpower2?rev=1563761613 2019/07/22 11:13 2. Get source code Download the latest source code. v1.5-arduino.zip Unpack and open the “smartpower2.ino” in Arduino https://wiki.odroid.com/ Printed on 2023/06/13 00:19...
  • Page 15 2023/06/13 00:19 15/20 SmartPower2 Configure your Sketchbook location to your project root folder.(In my case $HOME/Downloads/smartpower2-1.4) Restart Arduino IDE. Then, you can see “ESP8266 Sketch Data Upload” on the tools menu bar. ODROID Wiki - https://wiki.odroid.com/...
  • Page 16 Last update: accessory:power_supply_battery:smartpower2 https://wiki.odroid.com/accessory/power_supply_battery/smartpower2?rev=1563761613 2019/07/22 11:13 3. Compile and upload Run upload! https://wiki.odroid.com/ Printed on 2023/06/13 00:19...
  • Page 17 2023/06/13 00:19 17/20 SmartPower2 Run “ESP8266 Sketch Data Upload” on the tools menu bar. ODROID Wiki - https://wiki.odroid.com/...
  • Page 18 2. Get source code v1.5-platformio.zip 3. Build & Upload Run CMD and move to the smartpower2 folder and Connect microUSB to Host PC. You can see the list of USB drivers “CP210x USB to UART Bridge(COMx)” on the Device Manager. cd /path/to/dir/smartpower2...
  • Page 19 March 27 v1.2 volts and amps to 2017 three decimal places on the web interface. Add console logging with telnet January 22 v1.1 and make SSID https://github.com/hardkernel/smartpower2/tree/v1.1 2017 unique to each device F/W upload tutorials ODROID Wiki - https://wiki.odroid.com/...
  • Page 20 Add the Arduino branch Fix build flags on the platformio : https://github.com/hardkernel/smartpower2/commit/998e002d1c4520b54701307dd60f841c9bf 58f63 Release Note of F/W v1.4 You can receive power data(current, voltage, power, watt-hour) from your SmartPower2 through serial How to use this Release Note of F/W v1.1 Thanks to https://github.com/OtherCrashOverride...