Difference between revisions of "WiPhone"

From Hackerspace ACKspace
Jump to: navigation, search
(added warning, set featured)
m (tiny update on hot WiPhone)
Line 9: Line 9:
 
{{InfoBox
 
{{InfoBox
 
|Type=alert
 
|Type=alert
|Title=Don't use a powerbank
+
|Title=In progress: [[User:Xopr|xopr]]'s failing USB
|Text=[[User:Xopr|xopr]]'s WiPhone broke down (no serial port, CW2015 battery's gauge and CP2104 USB-uart get steaming hot: 800mA charging current). For now, it's best to avoid powerbanks (maybe only use a PC usb port) until the real cause is found.
+
|Text=[[User:Xopr|xopr]]'s WiPhone CP2104 USB-uart (and probably CW2015 battery's gauge) get steaming hot: 800mA charging current).
 +
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
 
|Float=left
 
|Width=20em
 
|Width=20em

Revision as of 22:05, 24 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!

In progress: xopr's failing USB
xopr's WiPhone CP2104 USB-uart (and probably CW2015 battery's gauge) get steaming hot: 800mA charging current).

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..

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