Author Topic: dsPic GPS  (Read 6782 times)

0 Members and 1 Guest are viewing this topic.

Offline @rt

  • Super Contributor
  • ***
  • Posts: 1015
dsPic GPS
« on: September 07, 2016, 02:05:49 pm »
Hi Guys :)
I’m here to shamelessly show off my dsPic GPS mapper.. which doesn’t have any GPS hardware yet, but that’s the easy part :D
I should probably check what sort of CPU the handheld GPS units use, I think it was some type of ARM.
There is so much easy room for improvement, I think I can double the speed. The current topographic map is a 1Mb file.

 

Offline @rt

  • Super Contributor
  • ***
  • Posts: 1015
Re: dsPic GPS
« Reply #1 on: October 17, 2016, 03:30:56 am »
Hi :) I tested outdoors yesterday, and think 42 seconds is a pretty good time for cold position fix.

As far as I know I'm the only one in the a World to do a mapping GPS with Microcontroller... otherwise I'd like to see it.

https://youtu.be/qEyZdGWASl8
 

Online MK14

  • Super Contributor
  • ***
  • Posts: 2890
  • Country: gb
Re: dsPic GPS
« Reply #2 on: October 17, 2016, 03:40:58 am »
I skimmed through your youtube video, initially. Approx half way through, you seemed to pour a very flammable liquid onto your creation (electronics). Then set it on fire, and then repeatedly smashing it with a hammer.

I was expecting some kind of technical explanation...

So I am confused as to what was going on here  :-//

Maybe sometime I will watch the video, completely, but I am put off by the violence shown to the helpless microcontroller and stuff.

« Last Edit: October 17, 2016, 03:44:35 am by MK14 »
 

Offline @rt

  • Super Contributor
  • ***
  • Posts: 1015
Re: dsPic GPS
« Reply #3 on: October 17, 2016, 04:06:18 am »
The smashed one is not the same hardware, just similar looking.
The current one is the second iteration, and there will probably be a third (only to get it much smaller).
That makes more sense in with the context of other videos around it.
My videos usually aren’t supposed to be a “how to” so to speak, but don’t lack technical explanation either.

« Last Edit: October 17, 2016, 04:09:09 am by @rt »
 

Online MK14

  • Super Contributor
  • ***
  • Posts: 2890
  • Country: gb
Re: dsPic GPS
« Reply #4 on: October 17, 2016, 04:14:02 am »
The smashed one is not the same hardware, just similar looking.
The current one is the second iteration, and there will probably be a third (only to get it much smaller).
That makes more sense in with the context of other videos around it.
My videos usually aren’t supposed to be a “how to” so to speak, but don’t lack technical explanation either.

As others have said in the youtube comments, and probably why you are getting so many downvotes for the video. Other people (me included), don't really like to see things like that, in the middle of serious and hopefully otherwise enjoyable videos.

I accept that you don't want old projects to pile up, so you are binning them, I'm fine with that.
But showing it being destroyed, in the middle of the video, seems to be spoiling an otherwise, potentially interesting video to watch.

I like the graphics, where the text and stuff wobbles around like that. It look really cool. I'm surprised at how bright the back lighting was, even though it was shot outdoors, in bright conditions.

A cool project, anyway  :-+
 

Offline @rt

  • Super Contributor
  • ***
  • Posts: 1015
Re: dsPic GPS
« Reply #5 on: October 17, 2016, 04:23:08 am »
Thanks :)
I have noticed that people don't like it,
but the reasons for it are always very positive.
It always means that I finished something, and need what I learned much more than retaining the hardware,
or I found a better way, and was not so lazy as to struggle down a dead end rather than put in the real work of starting over.
The same applies to software.
Sometimes the reason for it is to ensure that I don't go back to something I'd perceive to be going backwards, which is just laziness.

It would be evident it's almost always my own stuff... unless some Chinese junk.
 

Offline @rt

  • Super Contributor
  • ***
  • Posts: 1015
Re: dsPic GPS
« Reply #6 on: October 17, 2016, 04:27:18 am »
Funny in the last video (in the mountains) I mentioned how carefully packed and well treated it is (ESD protection and all), even though I know it gets the hammer in time, because I know it can be smaller.
So at least that's consistent with my explanation :D
 

Online MK14

  • Super Contributor
  • ***
  • Posts: 2890
  • Country: gb
Re: dsPic GPS
« Reply #7 on: October 17, 2016, 04:37:36 am »
One way of thinking about it, is to think of some kind of 150 in 1 Electronics Play Kit.

After spending a while making a circuit on it (using springs and wires, or similar), at some point you will want to move on to another of the 150 experimenters projects.

So in order to do that, you will have to "destroy" the existing circuit.

Therefore what you are doing, is similar to that.



In a sense, software is "destroyed". Because you load it up into your computer/MCU, and at some point (probably) change it to something else (another game or something), or switch the computer/MCU off, and the ram "forgets" it all.

I suppose the video is showing an accurate depiction, of your real life activities. So although not liked by everyone, the destruction's at least tell a story.

Anyway, seeing the sudden fire and hammering, came as a really big surprise  or shock :o
Sorry if I over-reacted slightly.

GPS is probably a mystery (as to how it works) to most/many people. So making your own, is a very interesting and impressive thing to do.

Next step is to buy a giant firework, and send your own GPS satellites up. That will be REALLY impressive  :-DD
 

Offline @rt

  • Super Contributor
  • ***
  • Posts: 1015
Re: dsPic GPS
« Reply #8 on: October 17, 2016, 04:41:57 am »
No apology needed. I don't expect that to go down well with everybody :)
Or really try to promote my channel.
I really only try to show off individual projects.

Well the GPS no one really builds.. it's a self contained module.
Just the vector mapping to make use of it is the creation.
 

Online MK14

  • Super Contributor
  • ***
  • Posts: 2890
  • Country: gb
Re: dsPic GPS
« Reply #9 on: October 17, 2016, 04:52:59 am »
I thought you were probably using a GPS module, but I was not sure. Because I remember, recently reading on this forum, details on how to do your own (raw) GPS system. Literally by decoding the GPS signals yourself.

I only very quickly skimmed through it, so could easily be mistaken. I think it needed FPGA's, and sample/example data could be downloaded from the internet. So one can practice with software to decode it.

It's rather cool adding GPS to projects.

I'm also impressed with you showing the map. Because that is not so obvious, either. Maybe there were examples on the internet, and you went from there ?
Also 1 Mb seems so tiny, for presumably detailed map information.
 

Offline @rt

  • Super Contributor
  • ***
  • Posts: 1015
Re: dsPic GPS
« Reply #10 on: November 09, 2016, 11:14:17 am »
Yay! I got my 15 mins of fame Hackaday feature :D

This one is playback of a GPX track log file with positions loaded in place of real GPS coordinates:


MK14, I didn’t see that last question at the time..
Vector files are smaller in their nature, they are a list of points and labels drawn to screen at run time.
 

Online MK14

  • Super Contributor
  • ***
  • Posts: 2890
  • Country: gb
Re: dsPic GPS
« Reply #11 on: November 09, 2016, 04:16:27 pm »
MK14, I didn’t see that last question at the time..
Vector files are smaller in their nature, they are a list of points and labels drawn to screen at run time.

That makes a lot of sense. Thanks for the explanation.

On reflection, I was being a bit naive (i.e. not thinking about it enough). I believe the highly detailed UK GPS maps, are something like 0.5 Gbytes (from memory, I may be way out). So a much less detailed and much smaller area, can be something like 1 megabyte. I was being a bit foolish.

1 Million bytes, just sounded too small. Even a short music MP3 file, is around 3 million bytes. So it just sounded too tiny a file.

I liked the video above. It is amazing the functionality and components, the Chinese put into things like that (MP3 players), for (usually)  such small amounts of money.

I think you probably deserve any hackaday awards or moments of fame.
 

Offline jaromir

  • Supporter
  • ****
  • Posts: 301
  • Country: sk
Re: dsPic GPS
« Reply #12 on: January 15, 2017, 10:05:35 pm »
Sorry for reliving this older thread, but author seems to be still around.

As far as I know I'm the only one in the a World to do a mapping GPS with Microcontroller... otherwise I'd like to see it.
https://get.google.com/albumarchive/111890741167251011072/album/AF1QipPNpebtuwm8Lbs6OOkStBTLyqIuT5LiV-OGXbGI?source=pwa
I've done a few GPS based devices few years back, this one was the "most advanced". I used maps from local openstreetmap.com branch, rendered into 256x256 bitmap tiles in 15 zoom levels, so I can get whole country or single street on the display. There are hundreds of tiles in convoluted directory structure, taking few gigabytes of SD card space. MCU takes GPS position and from given zoom level calculates which tile to draw on the screen and draws pointer to mark current position. I included logger function, made few outdoor tests, but never got myself to build permanent enclosure for that.
 
The following users thanked this post: @rt

Offline @rt

  • Super Contributor
  • ***
  • Posts: 1015
Re: dsPic GPS
« Reply #13 on: January 16, 2017, 05:49:27 am »
Nice :) I don’t think I’d ever go for image maps myself. I mainly have togographic in mind with GPS.
Someone did it with the Sony PSP back in the day, and it was a nice job, but the data was also huge!
I can see myself doing the same thing again at some stage with something similar to Pic32 though.
Both the MP3 Player and vector GPS I’d like to do with a colour screen and modern controller one day.

Even for this one I toyed with the idea of decompressing the JPEGS from MP3 ID3 tags and displaying album covers in 64x64 mono :D
Mainly for a joke in the case of this display, but there’s just not enough resource left now to do it.
For a beefier controller and colour display it would be almost a given though.

If anyone else is interested, I’m working on schematics to make available now. There is also someone I’m working with to design a PCB.
I’m making the drawings exclusive to him while the PCB design is happening, but in the end, all open source.

ps. I did one for iPhone that used 4 tiles of satellite view bitmap, and then drew the vector topographic over the bitmap.
That was easy to deal with because it only covered a single national park. I’d like to do that again for Pic32 maybe.

« Last Edit: January 16, 2017, 05:51:10 am by @rt »
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf