maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Nokia N900 (https://talk.maemo.org/forumdisplay.php?f=44)
-   -   digital compass on n900 (https://talk.maemo.org/showthread.php?t=46528)

allnameswereout 2010-09-30 23:30

Re: digital compass on n900
 
Quote:

Originally Posted by wilsonf1 (Post 773125)
http://www.stellarium.org/

I'm looking for star gazing apps for the N900 - i see the one you mentioned supports linux - does that mean it can run on the n900

if so... what do i have to do?

thanks! :)

It is ported to N900's architecture (armel): http://packages.debian.org/lenny/stellarium which means it runs on Linux/ARM (little endian).

AFAIK not ported to Maemo 5. You could ask for a port, pay someone to port it to Maemo 5, or try it in Easy Debian. You'll probably have to use stylus though. GPS should work since that uses standard protocols. IIRC it also utilizes OpenGL; might be a problem performance-wise, but hopefully you can 'downgrade' the quality. Your question might be worth a different topic.

Ken-Young 2010-09-30 23:39

Re: digital compass on n900
 
Quote:

Originally Posted by jfh (Post 556482)
Try stellarium

If all you need is the Sun or Moon's position (or a planet), try orrery. It's a lot faster than stellarium (though not nearly as beautiful!).

Ken-Young 2010-10-01 03:20

Re: digital compass on n900
 
Quote:

Originally Posted by allnameswereout (Post 830503)
It is ported to N900's architecture (armel): http://packages.debian.org/lenny/stellarium which means it runs on Linux/ARM (little endian).

AFAIK not ported to Maemo 5. You could ask for a port, pay someone to port it to Maemo 5, or try it in Easy Debian. You'll probably have to use stylus though. GPS should work since that uses standard protocols. IIRC it also utilizes OpenGL; might be a problem performance-wise, but hopefully you can 'downgrade' the quality. Your question might be worth a different topic.

Stellarium is fully ported to Maemo 5, and runs well on the N900. It's in extras devel. It's a bit of a CPU/battery hog, but it is an extremely impressive app, and one of the best things to show off the phone's power to your friends. It makes Google Sky look like a Palm Pliot app from 1995.

Hamzeh 2010-10-01 07:11

Re: digital compass on n900
 
Quote:

Originally Posted by efekt (Post 830480)
And how would it work if you can't see the sun (cloudy day, or even night time)?
I have a better idea for you, and it doesn't require any device what-so-ever - if you're outside, you may sometimes notice that the sun rises from the east and sets in the west, so if its not exactly the middle of the day (12:00), you should be able to know roughly which direction is the east or west respectively, thus finding the north :)
There is another way of finding out, which is a bit more accurate which I was taught during my military service, but I'm afraid its not that easy to explain in words ;)

Yeah, it wouldn't work well when there are clouds blocking sky objects. I was thinking the user can point to a known object in the area and from that the app would look up the direction information.

I know how to roughly find out where E and W are :) but the idea was to somehow have the phone know that too so that apps could have access to that information.

jgbreezer 2011-05-26 13:00

Re: digital compass on n900
 
I remember hearing/reading many years ago, that if you hold a watch horizontally and point the hour hand (non-digital-display, obviously) at the sun, then the direction of Noon on the clock is where North is. As the sun gets later and moves further round, so does the hour hand, hence noon always points at the same place. Although I'm not sure if its very reliable at extreme setting/rising angles of the sun during certain parts of the year.

Could you use one of the cameras to detect the sun direction (if visible and if the phone is flat) and do the same thing, as it knows the time and the season (as it knows which country you're in)? Doesn't work at night, obviously (I don't think using the stars is a feasible idea)... Or when inside, or its very cloudy.

Radu 2011-05-26 22:37

Re: digital compass on n900
 
Just get a watch with a compass. Casio makes some relatively cheap ones, as well as more expensive ones with other features, such as a barometer/altimeter and thermometer. I have the Casio with those features, and it is very useful.

However, I think most digital compasses need to be kept at a certain angle (flat to the ground) to be accurate. if not flat, the error can be really big, like 40 degrees or so.

object 2011-05-26 23:45

Re: digital compass on n900
 
1 Attachment(s)
Can you attach a real compass to front camera some how in a better way than this and use the camera to generate compass data?

http://www.shapeways.com/materials/frosted_detail

May be with help of super glue to make a water based one (floating in watertight cylinder)

Ken-Young 2011-05-26 23:49

Re: digital compass on n900
 
Quote:

Originally Posted by object (Post 1016365)
Can you attach a real compass to front camera some how in a better way than this and use the camera to generate compass data?

The rear camera can focus down to 6 cm. You could move that tiny compass to the other side, mount it 6 cm away, capture an image, and write some image processing software to derive the needle's orientation.

object 2011-05-26 23:53

Re: digital compass on n900
 
Quote:

Originally Posted by Ken-Young (Post 1016370)
The rear camera can focus down to 6 cm. You could move that tiny compass to the other side, mount it 6 cm away, capture an image, and write some image processing software to derive the needle's orientation.

does the image need to be focused? I'm thinking of something like solid black coin with axis hole that let light shine through it.

MartinK 2011-05-27 00:07

Re: digital compass on n900
 
Quote:

Originally Posted by object (Post 1016375)
does the image need to be focused? I'm thinking of something like solid black coin with axis hole that let light shine through it.

So basically using the front camera as a light-intensity sensor & have the light intensity depend on the rotation of the compass disk ? :)


All times are GMT. The time now is 01:53.

vBulletin® Version 3.8.8