Learn to set up a LAMP (Linux, Apache, MySQL, PHP) stack on your Raspberry Pi and configure it to work as a web server. You'll download and install WordPress and set up a basic website which you can access on any device on the same network as your Pi.
recently, I found a software to manage wireless connection under Raspberry Pi (i.e Lunix), it called wicd-curese. It is easy to install it by running the following command:
sudo apt-get install wicd-curses
However, it request to install quite a few other packages but those daemon run in the background.
After installed, you can run it with command:
Then, the following screen will display for your setup control:
- Right Key “->” to Configure
- R to refresh the list.
- D to Disconnect
- C to Connect
- F10 to save
You must be capital such as [SHIFT] C to connect. If you get a message saying no networks detected press and type in wlan0 in the wireless interface field and press F10 to save.
Although Prometeo-ERP System was a phase-out project for any further development, its follow-up project was Django-ERP. However, Django-ERP is still under development, Its function is not ready, and most features are not ready for public use at this moment. Then, I step back to continue to test Prometeo-ERP System. Prometeo-ERP has already provide many useful features, its public release free version had the following features:
- Authentication & row-level permission system
- Notification system
- Custom widgets & dashboards
- Taxonomy system
- File browsing
- Event calendar
- User tasks & timesheets
- CRM (Customer Relationship Management)
- Products management
- Stock management
- Human resources management
- Sales management
- Project management
- Knowledge management
- DMS (Document Management System)
I installed the Prometeo-ERP system to my Raspberry Pi machine, i.e. free OS, free program tools, free application tools, … Great. It is still worth to study it, and I will show the installation installation in the following
Raspberry Pi can be widely used for Car computer with many features, such as plays DVDs, GPS, displays TV, Bluetooth (phone calls + music), MP3/MPEG4 player, CD/radio, car camera, reversing camera (comes on automatically when I put the car in reverse gear), etc. This week, I test raspberry pi to connect to android phone’s wireless hotpot, and setup camera and display feature as below. It is interesting.
Connect Raspberry Pi to an Android phone’s camera
Step 1. Install Pi Camera Application in Android Phone, which you can find many from Google Play Store as below screen:
Recently, I studied how to setup a work flow program using python django. Believe me, Python Diango can provide you a high quality work flow web application. Let’s say I would like a simple workflow application as below diagram. I will show you how to setup the application as below instruction, and I will also show you the screen dump examples of running the application.
Step 1. Prerequisition
This Work Flow Program requires Python 3.3 or greater, and django 1.6 or 1.7. I recommend you to setup under virtual environment. Setup the following python plug-in by running the following command:
django CMS is a modern web publishing platform built with Django, the web application framework “for perfectionists with deadlines”. Django CMS offers out-of-the-box support for the common features you’d expect from a CMS, but can also be easily customised and extended by developers to create a site that is tailored to their precise needs. The following will show you how step by step of Django CMS installation, and also with screen dump examples.
start a virtual environment under Raspberry Pi
1. sudo pip install virtualenv
2. virtualenv env
3. sourse env/bin/activate
As production run of a Django application, we can use tradition web server tools such as apache, IIS, etc. For example, I will show you to setup django running under apache as below.
Step 1 Install wsgi
Suppose you have already installed python, django, apache, then you need to install wsgi by running command:
sudo apt-get install libapache2-mod-wsgi
Edit /etc/apache2/sites-available/000-default.conf as below:
Today, I setup my raspberry pi as a temperature sensor. I mainly use a LM35 temperature sensor and an IC “ADC0804″ as an analog to digital converter. I also setup a database to record down the temperature data and then display result on web browser with Chat format. The connection of the whole electronics circuit is as below diagram.
1) The coding the a python program to take temperature data is as the temp_url.py program below:
# author: Powen Ko Program Name: temp_url.py
import time, RPi.GPIO as GPIO
Raspberry Pi is an excellent automation control unit, and we can use it to build a voice recognition feature in order to make it as a voice automation control unit. Yeah, is it very interesting ! In the following, I will show you the script to build voice feature, including converting speech to text, converting text to speech, auto-reply a text question.
Script to convert Speech to Text
I take the benefit of using google speech recognition ver 2 feature and arecord feature of Raspberry Pi. To remind that you should apply your google api key for usage in this script, as below: