Month: June 2013

Raspberry Pi as a Reading Machine

I was thinking of this but can’t seem to find a relevant project else where.

Since Raspberry Pi has an audio jack, and a lot of people are using it to play HD movies and musics, i presume it wouldn’t be a problem to read out some documents or texts.

Perhaps, I can have a web app that gets input from users (guardian, teacher, friend, whoever that can access your web app) and when they click a submit button, the message will be stored and played by Raspberry Pi. May be it can be used to read a document as well.

This is particularly useful for the lonely elderly at home. These old folks having poor eyesight, can use it to read newspaper or books. Teachers can send broadcast announcement to their students by sending some texts. A working adult can use itΒ  as a reminder system. A housewife can use it to read out recipes while cooking.

And etc.Β  πŸ˜‰

Interested to start a project with me? Leave me a message!

 

Links for KIV:

4D System – cooking timer

http://www.4dsystems.com.au/product/1/9/4D_Intelligent_Display_Modules/uLCD_32PTU/#

Sunrise/sunset timer

http://www.savagehomeautomation.com/projects/raspberry-pi-sunrise-sunset-timer-for-christmas-lights.html

Install OpenRemote on Raspberry Pi

My Raspberry Pi OS is Raspbian Wheezy (Hard Float). Therefore I am using Java SE 8 for ARM Early Access which can have stability and compatibility issues. The instruction for installing Java in R-Pi can be found here.

The installation of Java can be checked by issuing the following command in the terminal:
$ which java (where is the java installed?)
$ java -version (what version has been installed?)

After getting the directory of java, JAVA_HOME environment variable has to be configured by adding the following line to /etc/environment:
JAVA_HOME="/opt/jdk1.8.0"
There are other stuffs to be configured as well. Refer instructions in the Reference below.
Reference:
http://www.savagehomeautomation.com/projects/raspberry-pi-installing-oracle-java-se-8-with-javafx-develop.html
http://www.openremote.org/display/docs/OpenRemote+2.0+How+To+-+Install+Controller+on+Raspberry+Pi

Go to the open remote bin directory and do a change mode to make the bash file executable.
$ sudo chmod +x openremote.sh

Finally, run the controller by issuing the following command:
$ ./openremote.sh run

Go to http://localhost:8080/controller will show the default controller management page. Log in and sync with the Online Designer.

However Midori or Chromium don’t seem to be able to display the web console and it will hang for forever.

The only way to solve this is to access the web console from another PC from the same network by accessing R-Pi IP address, for example : http://10.0.0.132:8080/controller

How to Install Open Remote in your Windows

1. Check / Install Java

Java (JDK) may have been installed in your system and to check that, do a quick check by running cmd and type in >java -version. If it is already in your system, it will show something like this:
java version "1.6.0_18"
Java(TM) SE Runtime Environment (build 1.6.0_18-b07)
Java HotSpot(TM) Client VM (build 16.0-b13, mixed mode, sharing)

If it is not found, you should download the latest stable release of Java Development Kit (JDK) from Oracle.

2. Set Up Java Environment

First, get the path of JAVA_HOME. This is normally found under C:\Program Files\Java\jdk1.5.0_xx.
Go to Control Panel > System > Environment Variables > user variables
Click “New” and set JAVA_HOME as variable name and input the path found above as variable value.

3. Install OpenRemote

Get a copy of free OpenRemote controller from http://sourceforge.net/projects/openremote/files/OpenRemote-Controller-2.0.2.zip/download
Go to its directory and enter “openremote run” in the command line window.

That’s it! open remote is running! Go to http://localhost:8080/controller to sync with the Designer or http://localhost:8080/webconsole to view the web console.

Setting the user variable: JAVA_HOME

Setting the user variable: JAVA_HOME

Smartphone as Pure Tablet plugin module?

I am fortunate to know one of my friends, who is kind enough to lend me his Surface Pro for 2 weeks!
I totally love this new Windows laptop-tablet! More importantly, my friend has installed 3 superb softwares in it : Adobe Photoshop CS6, Sketchbook Pro, Manga Studio. Among the three, I’m truly amazed by how Manga Studio could make my dreams come true. I have created some nice drawings using it. πŸ˜€ (let me post them up here soon πŸ˜‰ )

Anyway, I have to return it to him soon, like real soon and I couldn’t get enough of it. 😦 I have no intention in buying a Surface Pro yet and definitely won’t buy a Wacom tablet anymore. Perhaps, waiting for a better and newer (and stabilized) version of Surface Pro. The only alternative to free hand drawing would now be my smartphone (HTC One). I’ve installed Sketchbook Mobile in it and (it’s comparably amazing :p ).

So, I was wondering if there is an app or software that could connect my smartphone to my window based laptop (my almost 4 year-old Toshi-kun!) and I could use it as a tablet (like a wacom) to draw stuffs in my laptop’s photoshop, Sketchbook Pro or MANGA STUDIO!

I really hope that I am a genius to invent this. And I wonder if it is safe to post all my random ideas here! :s

STOP! YOU ARE NOT ALLOWED TO STEAL MY IDEAS!

Feel free to talk to me if you like any of my ideas. May be we can turn them into reality πŸ˜‰