Sensory data is usually noisy unless the sensor itself has a decent built-in filter. However, we can write simple filters to filter out noise. Matlab provides decent filter function, for instance, "filtfilt" for this purpose. I have written a simple filtfilt function working with C or C++ applications, shown in the figure.
Order is the order of the filter function, i.e. zero, first, second, etc. Based on the order coefficients, "a" and "b" are calculated. The simplest way to calculate them is using Matlab "butter" function
, e.g., [b,a]=butter(order, length); For a third order filter coefficients, "a" and "b" are calculated as: [b,a] = butter(3,1/10);
b[0]= 0.0007; b[1]= 0.0021; b[2]=0.0021;
b[3]=0.0007; a[0]= 1.0000; a[1]= -2.6236;
a[2]= 2.3147; a[3]=-0.6855;
Sunday, 21 October 2007
Sensor Noise (I)
Posted by Parissa Chillar at 4:37 pm 0 comments
Tuesday, 2 October 2007
PDF Reader/Viewer and Handhelds (I)
FoxitReader Core Engine has been proven to be one of the best performed PDF Rendering Engines. The code base is probably the smallest in the market. Comparing with Adobe, it loads much faster and needs far less memory. Foxit Reader has recently been ranked as one of the top 100 free software by PC World magazine.
"Foxit Reader Named to PC World's "101 Fabulous Freebies' List
http://www.pcworld.com/article/id,124883-page,2-c,freeware/article.html
in Tune Up (Utilities and System Tools)
Foxit PDF Rendering customers include IBM, NEC, Panasonic, Siemens, Microsoft, Xerox, Access, Nero and Lawrence Livermore National Lab etc. Foxit supports all major desktop
http://www.foxitsoftware.com/pdf/sdk/embedded/
However, the one time licene cost for research will be $4500.00 and the royalty fee for each application sold will be $5.00.
Posted by Parissa Chillar at 1:20 pm 0 comments
Saturday, 1 September 2007
Python and phones II
For writing Python Scripts for your phone you need to write the script in a text editor. Useful editors are Pywin or ConTEXT, but also notepad works. To learn how to download and install Python editors on your PC see
- Python .
- DiveIntoPython and its first chapter
- An illustrative article to install Python in here
Posted by Parissa Chillar at 8:30 pm 0 comments
Python and phones I
If your phone is Nokia S60 series then you can simply implement simple applications on your phone using script based programming language, call Python. To start you need to download
1) PythonForS60_1_3_23_3rdEd_selfsigned.SIS
2) PythonScriptShell_1_3_23_3rdEd_selfsigned.SIS
from SourceForge (or their latest edition) to your PC. Then connect your phone either via Nokia PC suite or via Bluetooth to your PC or laptop and transfer these two files to the phone and run these files from the phone. Just make sure you install PythonForS60 before PythonScriptShell. For more information about PyS60 see PyS60 wiki.
A helpful link to learn how to uninstall PyS60 or upgrade it can be found here. Or you can simply join Nokia forum.
Posted by Parissa Chillar at 8:10 pm 0 comments
Thursday, 23 August 2007
Peter Cochrane and GPS
Posted by Parissa Chillar at 9:47 am 0 comments
9G Sony-Ericsson Mobile Walkman
Sony Ericsson Mobile Communications will launch late Thursday in Berlin six new phones, including a high-end Walkman-branded handset with around 9G bytes of internal Flash memory, according to a company spokeswoman. More….
In the other hand IPHONE disappoints mobile developers. To hear more about this click here
third-party software developers to create Web 2.0 applications to run on Apple’s forthcoming iPhone. To read more click here This disappointment gets worse when it comes to programming on real mobile phones, i.e., iPhone is planning to provide facilities to
Wait and see which one will win: Apple or Mobile companies?
Posted by Parissa Chillar at 9:45 am 0 comments
Mobile Office
Posted by Parissa Chillar at 9:44 am 0 comments
Excited about N95
Also, connecting to GPS for about 4 hours killed the battery in less than 5 hours. I was looking in the internet about other people’s experience with N95 and I found this Gizmodo_N95. More review about this gadget: N95 in CNet.
If you have any bad/good experience with N95 why not sharing that with others.
Posted by Parissa Chillar at 9:29 am 0 comments
Lets talk about Mobile phones
Jan Chipchase’s most recent report was called Where’s The Phone?
Mobile phones have shaped global communications. But who shapes mobiles? You can find this interesting article in Designing mobile phones for the world.
Posted by Parissa Chillar at 9:28 am 0 comments
OpenGL ES, A real OpenGL for mobile phones
- OpenGL ES extension for QUALCOMM’s BREW SDK: The SDK and its tools are available from www.brewdeveloper.com
- Vincent: An open source OpenGL ES implementation administrated by Hans-Martin Will. It is available from www.ogl-es.sourceforge.net
Posted by Parissa Chillar at 9:27 am 0 comments
Migrating from EVC++ to Visual Studio
I would simply recommend this link in microsoft website:
Step by Step: Migrating an eMbedded Visual C++ Application to Visual Studio 2005
Posted by Parissa Chillar at 9:26 am 0 comments
Visual studio and Windows Mobile
- Microsoft ActiveSync 4.X
- Visual studio 2005: Visual Studio 2005 is available in several editions: Express, Standard, Professional, Tools for Office, and Team System. The good news is that if you want to use Visual Studio 2005 for Desktop PC development only, you can download the Express Edition for free at the Visual Studio 2005- Express Edition
- Windows Mobile 5.0 SDK for Pocket PC
- Windows Mobile 5.0 SDK for SmartPhone
Posted by Parissa Chillar at 9:24 am 0 comments
EVC++ and Windows Mobile 5.0
- Microsoft ActiveSync 4.X: To download the latest version of the ActiveSync go to Micorsoft website to download the genuine software or simply click here.
- eMbedded Visual Tools 3.0 - 2002 Edition
- eMbedded Visual C++ 4.0
- Service Pack 4 for eMbedded Visual C++ 4.0
- Windows Mobile Pocket PC 2003 SDK
- SDK for Windows Mobile 2003-based Smartphones
Downloading EVC++ executable applications or debugging them in winCE5.0 shows some warning messages, as shown in below, on the screen both on the desktop and PDA:
The ARM SA1100 CPU does not support Configuration myproject Win32 (WCE ARM4).
My experience shows it is just a warning message and nothing more and you can run your applications on winCE 5.0 systems without crashing the PDA. If you have a different experience please add your comment here.
Posted by Parissa Chillar at 9:22 am 0 comments
EVC++ and FMOD sound library
FMOD is not only an easy to use API for Window32 applications but also widely used in Windows Mobile systems. You can simply find all suitable packages and APIs for your own application in fmod.
I found fmod forum very helpful. If you have got any problems just drop those guys a line and you’ll get a quick response.
Posted by Parissa Chillar at 9:22 am 0 comments
EVC++ and 3D graphics programming interfaces
It is hard to believe but yes, now we can develop mobile 3D applications with OpenGL ES and M3G (see here as a reference).
The OpenGL ES 2.0 API enables floating-point programmability on next-generation handheld devices and our Bitboys G40 hardware graphics processor fully supports the new API.
said Petri Nordlund, CTO of Bitboys.
The combination is a perfect engine for amazing next-generation mobile graphics.
In the case of difficulty in importing or using OpenGL ES API in EVC++ you may find this page interesting.
Posted by Parissa Chillar at 9:15 am 1 comments
Wednesday, 22 August 2007
EVC++ and 2D graphics programming interfaces
After unzipping the package and running the exe file the GAPIDraw installs itself in the path you have specified. After installation you will find the “samples” folder in the directory you have installed it. The folder contains a few examples for win32 and symbian systems, which gives clear idea about graphics programming using GAPI.
Posted by Parissa Chillar at 10:08 pm 0 comments
Pocket PCs and Embedded Visual C++
Personnaly when I started my PhD I had no idea how will be the programming on Pocket PCs. As someone used to programming in C++ using Visual C++ and MFC I was looking for a platform not much different in programming. I came across with Palm and HP Pocket PC both running windows CE. For the personal taste I chose HP Pocket PC and eventually I started programming using Microsoft Embedded Visual C++ (EVC). It was exciting to develop applications on a handheld device without learning a new language. EVC is a powerful IDE and as it was mentioned similar to the VC++ and most of all it is free to download from Microsoft:
Download EVC++ from Microsoft Website
There is a nice powerpoint file illustrating the programming on mobile devices, EVC:
programming on mobile devices
Posted by Parissa Chillar at 10:07 pm 0 comments
PDAs and Windows CE
If you have answered the questions in the prevoius post and you are interested in Pocket PCs and the Windows based applications the next posts may introduce some concepts for you. This link may also gives some idea about PDAs: Variety of PDAs. Also Microsoft presents featured windows mobiles, smart phones and Pocket PC in the link click here.
As you have noticed there is a wide range of handheld devices working with Windows Mobile. Windows Mobile is developed by Microsoft and it is powered by Windows CE. To know more about different versions of windows mobile you may check wiki.
The link in below briefly introduces variety of programming languages, for instance, Embedded Visual programming and .Net on Windows Mobile.
Book about Windows CE
The following link introduces a nice blog about embedded programming:
Blog about embedded programming
Posted by Parissa Chillar at 10:04 pm 0 comments
How should I start programming?
That is the question everyone who decides to develop an application on small screen devices should ask from him/herself. To clear this out lets asnwer this questions:
- What is my device? A real mobile phone? A Pocket PC?
- What operating system the device is running?
- What programming skills do I have?
- What kind of applications do I like to design?
Posted by Parissa Chillar at 10:01 pm 0 comments
SHAKE
However the SK6 is highly versatile due to its ease of connectivity to virtually any other computing device. For example it could be used in any of the following ways:
Posted by Parissa Chillar at 5:34 pm 0 comments
MESH
The accelerometers in this system have a 10-bit accuracy with a bandwidth of 30Hz over a 5g range (an accuracy of approximately 0.005g). The vibrotactile display within MESH consists of two main elements: a vibrotactile transducer, and a sample playback circuit.
This device has been designed in MediaLab Europe, Dublin, Ireland, 2004 by Stephen Hughes.
Posted by Parissa Chillar at 5:32 pm 0 comments
XSENS
Posted by Parissa Chillar at 5:05 pm 0 comments
Tuesday, 21 August 2007
Stylus, keyboard, or novel sensory techniques?
There are a few novel sensors which allow people to communicate with mobile computing applicances. So in the coming posts I will introduce some of them in brief to give some idea how they are working.
Posted by Parissa Chillar at 8:44 pm 0 comments
Hello from Admin
Posted by Parissa Chillar at 2:26 pm 0 comments