LITTLEBLACKDOG.COM Forum Index LITTLEBLACKDOG.COM

 
LWD LWD   FAQ FAQ   Memberlist Memberlist   Usergroups Usergroups   Active Topics Active Topics   Register Register  
  Profile Profile   Log in to check your private messages Log in to check your private messages   Log in Log in  
  Who is Online Who is Online   Image Gallery Image Gallery   Chat Chat   Search Search  
  LWDGear       LBDGear  

View next topic
View previous topic
Post new topic     Reply to topic   LITTLEBLACKDOG.COM Forum Index » Hobbies
Author Message
anglachel
Guide Dog
Guide Dog


Joined: 08 Nov 2003
Posts: 8371
Location: MN

Post Posted: Sat Aug 18, 2007 2:35 pm   Post subject: PIC chips Reply with quote Back to top  

hey any one know anything about programming pic chips?

here is the full back story...

my cars speedometer is off. VW won't/can't fix it, legal thing from german I guess from what I've read... the electronic pulses from the transmission sensor are correct, the odometer is correct, it is just the speedometer that is wrong. (shows 7% faster then what I'm actually doing)

rather then going out and buying a pre-built solution, I want to get back into my electronics... I can very easily draw out what I would need to make a simple speedometer off of the pulses for each rotation of the drive train, and adjust the timing on the circuit to make it accurate.

the end result of this project is to put a LCD, or a pair of 7-segment displays, on my dash, and have them function as a hud.

I could line this all up in gates, latches, and the like, but that would more then likely end up being massive... and really just sloppy.

I got a LCD from Axeman surplus with 3 7 segment displays build in, and figured out the pattern to the pin outs (no manual with stuff from axeman.) I did visit radio shack to get some gates, but radio shack is worthless, and has given up on carrying anything electronic that is more complicated then copper wire.

now my hope is to build this into a pic chip, and while I'm at it learn how to program such devices, but having never done this before, I'm looking for some sort of direction from you dawgs (otherwise I'm just going to get a book, or two off the web and start in on those...)

_________________

Quidquid latine dictum sit, altum sonatur.
Death to Shuttleworth!
View user's profile Send private message AIM Address
Skookum
Butt Sniffer
Butt Sniffer


Joined: 26 Oct 2001
Posts: 1535
Location: I dunno, I lost my Mommy

Post Posted: Tue Sep 18, 2007 6:36 am   Post subject: Reply with quote Back to top  

I was recently looking for communcating to a Parallel port the other day and came across a couple of PIC websites.

http://www.winpicprog.co.uk/pic_tutorial.htm

Try that one and see if it helps at all.

_________________
"Paranoia is no longer a mental illness it is a way of life" - Me
View user's profile Send private message Send e-mail Yahoo Messenger MSN Messenger
Dypheron
LWD Staff
LWD Staff


Joined: 27 Nov 2003
Posts: 2231
Location: Absent without leave.

Post Posted: Tue Sep 18, 2007 7:42 am   Post subject: Reply with quote Back to top  

Radio shack stopped stocking parts in their mall stores a long time ago, but the ones around town usually still have parts. Usually.

Programming PICs isn't that hard, once you learn the proper way to write the code for them. Don't waste your time and money buying a prebuilt programmer as there are loads of plans online for free.

You know, I could probably get you a new speedo for next to nothing if you decide to not go the HUD route.

_________________
foxinhand once said, Will the little ones be diaperons?
DSTG_II wrote:
Someone need to follow you and film you. I'd buy the DVD collection.


What can't be solved with the proper amount of RDX?
[21:17] *** Rah has changed the topic on channel #lwd to [1:16pm]«+Dypheron» if someone wants to search my teabag, they damn well better give me a happy ending

Wake me up when things are normal around here again.

“I contend that we are both atheists. I just believe in one fewer god than you do. When you understand why you dismiss all the other possible gods, you will understand why I dismiss yours.”
Stephen Henry Roberts (1901-1971)
View user's profile Send private message Send e-mail Visit poster's website AIM Address
anglachel
Guide Dog
Guide Dog


Joined: 08 Nov 2003
Posts: 8371
Location: MN

Post Posted: Tue Sep 18, 2007 7:48 pm   Post subject: Reply with quote Back to top  

Dypheron wrote:
Radio shack stopped stocking parts in their mall stores a long time ago, but the ones around town usually still have parts. Usually.

Programming PICs isn't that hard, once you learn the proper way to write the code for them. Don't waste your time and money buying a prebuilt programmer as there are loads of plans online for free.

You know, I could probably get you a new speedo for next to nothing if you decide to not go the HUD route.


This was actually a radio shack store, not a mall store... I don't expect to much from mall stores other then great entertainment when you go in there and ask for a 555 timer, and they try to sell you an alarm clock, and explain that they don't carry a 555 model of it, but they have the lr-75 (or what ever model alarm clocks come in...)

I've seen plans for building the programmers, and I've never actually sat down to do it, in part because I've never had the pic chip or any reason to have one...



if your looking at VW replacement parts, then it's no good. any speedo VW makes for my car is going to be off by ~7% according to everything I've read... some wacky german law about the speedo always reading over even if you have tire the next couple of sizes up...appearently a few people with ones that go to 180 just replaced it with the in lays from ones that only go to 160 (like mine) and the problem is solved... and I suppose I could always just print out a new piece for that... but ... HUD. How can I turn away from such a brilliant Idea.

The rally replacement speedo would work though... but I'm thinking a DIY project would be good for me.

_________________

Quidquid latine dictum sit, altum sonatur.
Death to Shuttleworth!
View user's profile Send private message AIM Address
EdisonRex
Lead Dog
Lead Dog


Joined: 06 May 2002
Posts: 10046
Location: Not Moscow

Post Posted: Thu Feb 07, 2008 1:13 pm   Post subject: Reply with quote Back to top  

Funny thing, I picked up a PIC programmer and a PIC16F627 and have spent a couple weeks messing about with it. The language isn't too hard to deal with, very few instructions, basic assembly actually, getting my head around the data areas was a little interesting.

Pretty nifty stuff.

_________________
Garret: It's so retro.
EGM: What does retro mean to you?
Parker: Like, old and outdated.
View user's profile Send private message AIM Address Yahoo Messenger
onefast1
Tail-Wagger
Tail-Wagger


Joined: 27 Feb 2004
Posts: 2308
Location: Lichtenstien Penguin Cove, I'm the King one.

Post Posted: Thu Feb 07, 2008 1:22 pm   Post subject: Reply with quote Back to top  

EdisonRex wrote:
Funny thing, I picked up a PIC programmer and a PIC16F627 and have spent a couple weeks messing about with it. The language isn't too hard to deal with, very few instructions, basic assembly actually, getting my head around the data areas was a little interesting.

Pretty nifty stuff.


I was going to say ....Rex is yer man.

_________________
Watch out for the cross eyed penguin, he can get a little crazy at times.

View user's profile Send private message
Display posts from previous:   
Post new topic     Reply to topic

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2002 phpBB Group
phpBB SEO
All times are GMT - 8 Hours

Help us keep advertisements off this site. Donate today!