/PilpCom

An android app as alternative comunication interface similar to the fallout pipboy

Primary LanguageC++The UnlicenseUnlicense

Pilp Com

I try to build a Pip-Boy for real live without game interaction. Maybe it is an idea for cosplay or role play.

Features:

  • display day, time, vibration and magnet detector (and power as HP, battery -10 celsius temperature)
  • list contacts (option to send sms or make a call)
  • list received sms and other messages with special rights
  • get location and show a map
  • a single text only rss feed reader and internet radio player
  • press on clock (the actual time) to set URLs (Radio and RSS), map zoom, message limit, App width, left- and top padding
  • alternative: bluetooth 2.0 UART to control the app

Names and design is different to the original app and interface. I do not want any copyright trouble.

You can switch through the function views with android bluetooth keyboard via cursor keys or:

  • K Clk (clock)
  • I Who (contacts)
  • J Msg (SMS and other messages)
  • M Area (OSM map)
  • O News (RSS reader and internet radio)

Cursor key:

  • left/right to switch through "functions"
  • up/down to scroll or focus contact, message, news or radio staion "buttons"

Enter: to select a contact or a radio station

Tab: to switch focus on cancel or ok button (contact function for doing sms or call)

bluetooth 2.0 UART

Use bluetooth 2 UART App and select your old bluetooth 2 uart device and pair it. This app forward the bytes as string to the Pilp Com App. Pilp Com simulate UART chars u,d,l,r as up,down,left,right and t as TAB and s as ENTER (select). The k,i,j,m,o keys are simulated, too.

Firmware

I use an Arduino mini clone (WAVGAT) for this and a simple Bluetooth 2.1 UART module. It runs software serial on PIN 10 and 11 conneted to the bluetooth UART pins. The bluetooth link LED is my orange power LED.

I use 2 buttons: the TAB button sets PIN 3 to ground (t). The SELECT button sets PIN 4 to ground (s). I use a 25k potentiometer as function switch (0 .. 3.7V): it is connected to A1. It sends continusly the selected function via a UART char (k,i,j,m,o). I use a rotation encoder (A to PIN 5, middle to ground, B to PIN 7) for the up (u) and down (d) UART signal.

Sketch

Firmware 2

I add a 3.3V, GND and i2c Bus plug for additional use (without Smartphone or bluetooth). With this 2nd firmware you can add an i2c oled Display SSD1306 and i2c fm radio RDA5807M to the PilpCom. The additional control for the radio is:

  • poti as volume control
  • buttons for selecting preset radio stations
  • rotation encode for non automatic tune freq seek
  • if you set volume to the lowest level: buttons can be used to set hour/minutes of the clock

Display: battery powerbar, rds radio station, freqency, clock, volume level, station signal

WAVGAT test radio: powerbar improvment for WAVGAT pro mini, small sound visualizer

additional radio

Bug!!!

The app activitys are running in background. Use app details to stop the app!!

Todo ?

  • tool to build sms with default text blocks via an easy bluetooth control keyboard device
  • better display selected buttons CANCEL and OK

Get the App

You can get a signed APK (4.4.4+) from here

Screenshots (old)

Date, time, vibration detection.

Clk

Contacts are selectable to send sms or do a call.

Who

Try to list the last messages. Non SMS messages needs special notifications access.

Msg

Display a OSM map in green. It tries to get GPS location, orientation and speed. Set the zoom factor in the preferences.

Area

Radio displays a RSS feed. You can set the url in preferences. Four internet radio stations are selectable.

news

Language Igbo: green layout.

Language Hausa: blue layout.

License

My code:

This is free and unencumbered software released into the public domain.

Anyone is free to copy, modify, publish, use, compile, sell, or
distribute this software, either in source code form or as a compiled
binary, for any purpose, commercial or non-commercial, and by any
means.

In jurisdictions that recognize copyright laws, the author or authors
of this software dedicate any and all copyright interest in the
software to the public domain. We make this dedication for the benefit
of the public at large and to the detriment of our heirs and
successors. We intend this dedication to be an overt act of
relinquishment in perpetuity of all present and future rights to this
software under copyright law.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR
OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
OTHER DEALINGS IN THE SOFTWARE.

For more information, please refer to <http://unlicense.org>

Additional License hint

The files firmware2_wavgat-test/radio.*, firmware2_wavgat-test/RD* are from Matthias Hertel (2014) and BSD-3 License like the Adafruit_* files from Adafruit Industries (2012).