Skip to content

Franck1333/Voitures_Infos

Voitures_Infos

This software got you some interesting infos when you go somwhere.

In this project, You can use different UI but I recommend strongly to use Tkinter for now. The others are just experimental and prototype.

Image

Getting Started

For Users:

To use the Software, you will need to download the latest build at this link and install and use it.

To use the project, you will need some Hardware :

A Raspberry Pi (Last Version is better) or any Linux computer compatible,
An Internet Connection,
A Micro S.D card (8 Gb Minimum),
An USB G.P.S (Ublox-7) -->  http://amzn.eu/aG9vR3t,
A Display.

For Devs:

To get a copy of the project, you can go on the GitHub’s webpage of the project and click on the green button to download as a .ZIP file. However, if you’re using a prompt console on an Unix machine use this line :

git clone https://github.com/Franck1333/Voitures_Infos.git

Prerequisites

To use the project, you will need some Hardware :

A Raspberry Pi (Last Version is better) or any Linux computer compatible,
An Internet Connection,
A Micro S.D card (8 Gb Minimum),
An USB G.P.S (Ublox-7) -->  http://amzn.eu/aG9vR3t,
A Display.

And you will also need some libraries and softwares :

- Python version 3
- Kivy up to date
- An OS up to date

Be sure to be Up to date with your OS and Python3 environement with this command line:

- sudo apt-get update && sudo apt-get upgrade && sudo pip3 install --upgrade pip

This commmand line must be executed anyway to install the Virtual Keyboard Florence :

The Florence's Software :

  sudo apt-get install florence && sudo apt-get install at-spi2-core

Downloading/Installing

To get and downloaded the files, use this line :

git clone https://github.com/Franck1333/Voitures_Infos.git

When the project is Downloaded, check your pi folder, and you will see the folder Voitures_Infos .

When you did it, you will have to launch the file called setup.py to install the dependencies neccessary for the project with this command line :

  sudo python3 setup.py install

There is another way to install all the dependencies needed:

sudo pip3 install -r requirements.txt

If some problem during the installation occured, please execute this command :

  sudo pip3 install pandas numpy matplotlib kivy geopy pynmea2 pyowm requests Unidecode urllib3 wifi pyserial

Run

The Way to run the project :

To run the project; if you want to see the console activities, you can launch the file called Interface_Kivy.py for Kivy or for Tkinter, just run Main.py into the Command Line Prompt with python3 "file".py in the main folder.

Please don’t use sudo, it’s will not work as expected.

Running the tests

That’s how to test features:

python3 <file>.py

The Folders and Files

In this project we’ve got some folders

Folders

Example : 	Any help or example that I used for the project
Services:	Main features
GPS : 		Features which use the GPS

Files in “/Voitures_Infos/Services/”

Main features of the program

- Info_Hardware.py: This feature allow to the Main program to get informations about the status of processors(Usage,Temp),RAM(Usage).
- Etat_Lien_WiFi.py: This program allow to get infos about the Wi-Fi link in real time (like quality of the signal out 70).
- Services_Energies.py : This service allow to the user to get informations about the price of different kind of fuel of where it's located. 
- Vitesse_Utilisateur.py: This service gives to the user his speed (Kilometers per Hours Km/h).
- Consommation_Carburant.py: This service makes some arithmetic about the consumption of fuel; this service will be integrated in the whole program when it's will be ready.

Folders inside

- Sounds: Sound Pack used by the Main Program. 
- images_defaut & videos_defaut: Images and Videos used by the Main Program. 

Files in “/Voitures_Infos/GPS/”

GPS features of the program

- Etat_Signal_GPS.py: This Servis gives the Status about the GPS link in real time.
- Boussole.py : Get Compass data by using the "Recuperation_Determination.py" file's data.
- GPSoI.py : Get the location of the user's IP Adress.
- Meteo.py : Get the Weather's data by using *pyown API* and the "Recuperation_Determination.py" file's data.
- Recuperation_DeterminationV2.py : Get information come from the GPS USB stick and determinate the location.
- ISS_locate.py : Get data about the ISS location in real time and the forecast of the next visible passage of the I.S.S in the sky above your head.
- Map_YANDEX.py : Get a map in the JPG format about your location and the ISS location in real time.
- emergency_number.py : Get the emergencies Numbers from where your IP adress is located in the world.
- Recuperation_FR_GPS.py : This service is used to test the USB GPS STICK if we've got a Signal or not.
- nettoyage_du_cache.py : This useful feature allows you to clean up your folder of the Python cache files.

Folders inside

- MAP_downloads: Maps which got downloaded by the use of YANDEX services. 
- Original: I kept the ancient files to renovate all the old stuff and update it. 

Authors

  • Franck ROCHAT - Initial work - Franck ROCHAT Thank You ! ❤️ 🌻

Image