Blog

New libresmartphone software v0.4 (01/05/2017)

In this video Imma is showing another prototype of libresmartphone, with the following parts:

· Manga screen.

· Raspberry Pi 2 B (in the next prototype the pi zero w will be used).

· Fona 2G (in the next prototype the Fona 3G will be used).

Together with Imma we updated the libresmartphone software to make/receive calls and read/send SMS that you can connect directly to the raspberry pi (without the need of an arduino)

The software can be downloaded from the following link:

Modular private smartphone software

The python file and the png images need to be in the same folder.

For the software to run the following commands need to be used in the terminal:

sudo apt-get install python-serial

sudo apt-get install python-tools

sudo apt-get install python-qt

sudo chmod 777 /dev/ttyAMA0

Open modular_private_smartphone_v0.4.0.py with the python IDLE (using python 2.7) and run the module.

We have created a hackaday project to participate in the Hackaday Prize 2017, you can follow it in the following link 🙂 :

https://hackaday.io/project/21260-modular-private-smartphone

Libresmartphone using raspberry pi camera (20/09/2015)

 If you are not running raspbian (I run ubuntu mate), you have to follow these steps to make the camera work.

1) Make the user a member of 'video' group:

sudo usermod -a -G video [your_username]

2) Add /opt/vc/bin to your $PATH:

PATH=$PATH:/opt/vc/bin

3) set up your /boot/config.txt to contain the following:

gpu_mem=128
start_file=start_x.elf
fixup_file=fixup_x.dat
# optionally:
disable_camera_led=1

4) Download the 3 files from and put them in the same folder:

https://github.com/libresmartphone/libresmartphone/tree/master/Libresmartphone/Libresmartphone%20Software/Camera_software_v0.1

5) Open camera.py with IDLE (using Python-2.7) and Run the module.

 

Libresmartphone using Navit (Open source Navigation system) 20/09/2015

Instructions for installing Navit:

1) Install the following packages:

sudo apt-get update
sudo apt-get upgrade
sudo apt-get install gpsd gpsd-clients cmake subversion build-essential espeak freeglut3-dev imagemagick libdbus-1-dev libdbus-glib-1-dev libdevil-dev libfontconfig1-dev libfreetype6-dev libfribidi-dev libgarmin-dev libglc-dev libgps-dev libgtk2.0-dev libimlib2-dev libpq-dev libqt4-dev libqtwebkit-dev librsvg2-bin libsdl-image1.2-dev libspeechd-dev libxml2-dev ttf-liberation

2) Install navit

sudo apt-get install navit

3) Download the desired maps from http://maps9.navit-project.org/ . You can download the map from a predefined area or from a selection, if you want the whole planet it is 18Gb.

Rename the *.bin file to osm.bin. (Place it in /home/**user**/**desired_folder**)

4) Edit the navit.xml

sudo nano /etc/navit/navit.xml

Find the section with "openstreetmaps" (Ctrl+W) and modify to your needs (**user**/**desired_folder**):

 <!-- Mapset template for openstreetmaps -->
<mapset enabled="yes">
<map type="binfile" enabled="no" data="/media/mmc2/MapsNavit/osm_europe.bin"/>
<map type="binfile" enabled="yes" data="/home/**user**/**desired_folder**/osm.bin"/>
</mapset>

Set all other mapsets to “no”, to ensure, that only the new OSM-map is loaded an used:

 <mapset enabled="no">
[...]

5) Run navit

navit