PDA

View Full Version : nokia 5500 to control your PC games


shpe11
2007-01-22, 23:58
nokia 5500 have an accelerometer, and it can be accessed from symbian c++ with the sensor SDK

my ideea consists in 2 programs, more like drivers...

phone program: must read the sensor (the position of the phone and movement) and make a bluetooth connection to the PC

PC program/driver: a driver (game controler); conects to phone via bluetooth and read the data about the phone's positionig; can be calibrated to users will - define 0 point, tolerance, and movement (the phone can be used like a WiiMote)

i think that it isn't to hard to do this, i'll think i'll manage the phone part...

but sincerly i was hoping that the nokia 5500 could be a "nokia 5500 gamers edition", in the package must be: the phone with preinstaled gameControler application, an USB-bluetooth adaptor(replaces the data cable), and the PC driver on a CD, and manulas/chargers/clips/whatever

(
i'm a flash developer and still wondering what to buy: 5500 or 6233 or N73;
-5500-like the design just 1M for flash
-6233 makes 640x480movies has unlimited memory for flash????
-N73 has a slide:( has 8M for flash - the mem isues got it from nokia phones flash profiles in the flash simulator
)

stichbury
2007-01-23, 06:29
Interesting idea!

Did you have a question?

shpe11
2007-01-23, 09:39
Interesting idea!

Did you have a question?

forgot to mention you can implement some vibration feedbeck :)

anyone have any ideea how to make a game control driver? i know that's nothing to do with phone applications...

and for the phone
(now i don't have the 5500phone)
what can i read from the sensor? some angles, accelerations?

and how sensitive is the sensor in reading the accelerations? roughly how much acceleration i would have to give to the phone to be sensed?

'cause if it is very sensitive I'm also planing to make a 'gps like' aplication...
read the acceleration, and the direction => the speed and direction...
if no acceleration is read... program will maintain the speed and continue to calculate the position... the problem would be that this cannot corect errors like GPS unlike user input(calibrate) from time to time :)

shpe11
2007-01-23, 09:58
is nokia 5500 352x288 video recording capable?

in this review says thare is... http://www.mobile-review.com/review/nokia-5500-en.shtml (in the bottom of the page, before conclusion)

wizard_hu_
2007-01-23, 14:00
http://www.forum.nokia.com/devices/5500 says 176 x 144, 15 FPS.
You can try implementing a game control driver using the Windows DDK. The tricky part is the communication: if a game control driver needs to be a kernel-side driver, you will have problems with BT or IP communication.

shpe11
2007-01-23, 14:17
http://www.forum.nokia.com/devices/5500 says 176 x 144, 15 FPS.
You can try implementing a game control driver using the Windows DDK. The tricky part is the communication: if a game control driver needs to be a kernel-side driver, you will have problems with BT or IP communication.
but in review says: I’d like to remind you that this camera module is capable of 352x288 pixel video recording, although the quality won’t be very good.
is there anyhow to check this from c++? or the 176x144 is hardwired altough camera module could be 352x288?

kernel-side driver... sounds there is no space for errors, someone told me that i have to test it on a VirtualMachine (testing on the sistem is not a very good ideea cause it could crash)

maybe i just stick with an aplication that reads the sensor and move the mousepointer acordingly...

wizard_hu_
2007-01-23, 17:25
You might consider a page on www.forum.nokia.com as a rather authentic one. You may also consider actually opening http://www.forum.nokia.com/devices/5500, it also says that the camera itself is 1600x1200.

shpe11
2007-01-23, 21:13
You might consider a page on www.forum.nokia.com as a rather authentic one. You may also consider actually opening http://www.forum.nokia.com/devices/5500, it also says that the camera itself is 1600x1200.

i consider forum.nokia.com authentic. don't mean to be rude...
maybe the firmware does not squeez all from the camera module...

nishantkumar
2007-01-24, 04:59
Bemused is an Open Source App. that has something similar and might be of some help to you.

The Source code for the Windows part and the phone app. itself are here.
http://bemused.sourceforge.net/downloads?PHPSESSID=1550fea2b3fc36c6b325a9d8369798fd
(Not sure if S60 3.0 is supported)

This will help you in understanding how to send data across, via BT.

I guess, Simulating Key/Mouse Events on the Windows side should be simple, once you have the right data sent to the Windows side.

wizard_hu_
2007-01-24, 10:24
maybe the firmware does not squeez all from the camera module...No, both resolutions are correct: the camera itself can take photos of 1600x1200 pixels for you. But compressing video requires some processing power, and due to that video resolution has a much lower limit.

shpe11
2007-01-24, 15:44
Bemused is an Open Source App. that has something similar and might be of some help to you.

The Source code for the Windows part and the phone app. itself are here.
http://bemused.sourceforge.net/downloads?PHPSESSID=1550fea2b3fc36c6b325a9d8369798fd
(Not sure if S60 3.0 is supported)

This will help you in understanding how to send data across, via BT.

I guess, Simulating Key/Mouse Events on the Windows side should be simple, once you have the right data sent to the Windows side.

10x, this is very helpfull, with this i sure cam make from phone a remote control, and with the phone motion I can move the mouse on the screen :)

the driver thing is in level 2 :)

thanks again

shpe11
2007-01-25, 23:04
You might consider a page on www.forum.nokia.com as a rather authentic one. You may also consider actually opening http://www.forum.nokia.com/devices/5500, it also says that the camera itself is 1600x1200.

hey here is some strange thing:
http://www.forum.nokia.com/devices/6233

is saying Video Resolution: 176 x 144
and I know that this device is capable of recording video of 640x480

and on
says: http://www.mobile-review.com/review/nokia-6233-en.shtml
Video. Handset allows recording video in 3GP format, available resolution – 128x96 pixels, or 176x144, 352x288, 640x480 pixels. Recording quality is divided into three parameters. You can limit recording’s length, but it also can be limitless, until memory runs out (of memory card or internal memory). Effects can be applied for video just as they can be applied for photos, they are one and the same. Video looks quite acceptable when you look at it on handset, including maximal resolution. However you will see artifacts when you view same video on PC, but it is still okay to watch, and that’s a great step forward. In case with 352x288 pixel video clips made by Nokia 6233 and same clips made by Samsung phones, Nokia’s ones look better, they have more natural color rendering. Considering fact that video recording is not a very demanded function by majority of users, here it is made without any concerns.

and we have some sample videos too.


so I don't know what to belive...
maybe is a problem of soft... make an aplication to take consecutive shots and encode them into a video format (not a good ideea)

is there an sdk to work in low lever with the camera module (for 5500)?

Sorcery-ltd
2007-01-26, 10:43
Hi shpe11,

This seems to be extremely off topic for the original post? Wizard_hu_ has already given you the correct answer to this problem:
No, both resolutions are correct: the camera itself can take photos of 1600x1200 pixels for you. But compressing video requires some processing power, and due to that video resolution has a much lower limit.

I shall expand on it for clarity. It is almost completely irrelevant what the camera sensor is capable of in the device. Even the lowest quality cameras in phones have a VGA resolution (640x480). To be able to record video at a certain resolution though you have to be able to process the data coming from the sensor fast enough, because it keeps coming. It is not practical/possible to buffer it in RAM or Flash to compress later, particularly if you want to be able to record for an unlimited length of time.

The difference between the devices that can record high resolution video and the ones that can't will be that the former have a dedicated chip to compress the video before it is transferred to the main processor for saving and the latter won't have such a chip.

Even if you could get an API on the 5500 to get to the low-level camera functionality you just wouldn't have the hardware capability to process the data fast enough.

Hope that finally answers the question for you.

Sorcery

shpe11
2007-01-27, 20:11
Hi shpe11,

This seems to be extremely off topic for the original post? Wizard_hu_ has already given you the correct answer to this problem:


I shall expand on it for clarity. It is almost completely irrelevant what the camera sensor is capable of in the device. Even the lowest quality cameras in phones have a VGA resolution (640x480). To be able to record video at a certain resolution though you have to be able to process the data coming from the sensor fast enough, because it keeps coming. It is not practical/possible to buffer it in RAM or Flash to compress later, particularly if you want to be able to record for an unlimited length of time.

The difference between the devices that can record high resolution video and the ones that can't will be that the former have a dedicated chip to compress the video before it is transferred to the main processor for saving and the latter won't have such a chip.

Even if you could get an API on the 5500 to get to the low-level camera functionality you just wouldn't have the hardware capability to process the data fast enough.

Hope that finally answers the question for you.

Sorcery

ok, if the is there a special chip for the compresion I understand... (the chip programm runs more faster than software programs)
probably i can make an aplication to capture video @ custom resolution but not with 15fps...

whatever... still waiting to get my hands on the phone to start programming, first some sensor programs and then video

shpe11
2007-01-29, 16:36
thinking that the 'control PC games' can be extended to PDA and other devices with touchscreen... touchscreens could also make a good game controller :)