Difference between revisions of "WiPhone"

From Hackerspace ACKspace
Jump to: navigation, search
m (tiny update on hot WiPhone)
m (Changed warning into a guessed conclusion)
Line 9: Line 9:
 
{{InfoBox
 
{{InfoBox
 
|Type=alert
 
|Type=alert
|Title=In progress: [[User:Xopr|xopr]]'s failing USB
+
|Title=Be cautious charging the  WiPhone on a Xiaomi Mi Power Bank 3 Pro
|Text=[[User:Xopr|xopr]]'s WiPhone CP2104 USB-uart (and probably CW2015 battery's gauge) get steaming hot: 800mA charging current).
+
|Text=[[User:Xopr|xopr]]'s WiPhone broke down: his guestimates are that the device in USB-A port 1 that supported adaptive charging might bring the second USB-A port to 9V or 12V (out of spec), which in this scenario will fry the CP2104 USB-UART chip when you would plug it in second, no matter how short the time frame would be.
My last actions were: charge with powerbank, connect to laptop.
 
Current progress is that there seems to be a problem between VBUS (USB 5V) and 5V internally: to be continued..
 
|Float=left
 
|Width=20em
 
 
}}
 
}}
  

Revision as of 19:51, 25 August 2022

Project: WiPhone
Featured: Yes
State Active
Members Vicarious, Stuiterveer, xopr
GitHub WiPhone build
Description
Picture
No project picture! Fill in form Picture or Upload a jpeg here

Yay, WiPhone!

Be cautious charging the WiPhone on a Xiaomi Mi Power Bank 3 Pro
xopr's WiPhone broke down: his guestimates are that the device in USB-A port 1 that supported adaptive charging might bring the second USB-A port to 9V or 12V (out of spec), which in this scenario will fry the CP2104 USB-UART chip when you would plug it in second, no matter how short the time frame would be.

custom firmware

you can use the ACKspace modified firmware by setting https://ackspace.nl/WiPhone/WiPhone.ini into the ota.ini file (or via the telephone) Current applied patches:

  • LoRa 868MHz
  • ackspace.nl fake NAPTR (hardcoded IP)
  • fix fiddly unlock (mentioned here)

Work in progress:

  • LoRa menu (currently crashes the phone, don't use)


notes

#define RF95_FREQ 868.0 (See this (somewhat sparse) issue)
  • enable UDP by adding u=UDP_SIP to an account in data/sip_accounts.ini (not yet tested)

Get started

  • download source code
  • run V="0.8.30"; unzip WiPhone-$V && rm -fr WiPhone && mv WiPhone-$V WiPhone
  • open WiPhone/WiPhone.ino using Arduino
  • once: set up IDE (see documentation for details):
    • Open preferences (CTRL+,) and add https://wiphone.io/static/releases/arduino_platforms/package_WiPhone_index.json (comma separated) into Additional Boards Manager URLs
    • go to Tools » Boards » Board Manager and install WiPhone
    • Arduino option Tools » ESP Sketch Data Upload: download ESP32FS-1.0.zip into the ~Arduino/tools directory with mkdir -p ~/Arduino/tools && unzip ESP32FS-1.0.zip -d ~/Arduino/tools
    • TODO: esptool.py serial: sudo pip install pyserial (check your default python version)
  • Select Tools » Boards » Wiphone » Wiphone arduino
  • compile with (CTRL+r)

custom mods

The provided repo contains patches and a semi-automated build/upload process to create your own custom binary (without opening the Arduino IDE)

LoRa