Tuesday, January 27, 2009

digital rpm tachometer untuk kancil

Satu atau dua hari punya projek. Untuk weekend warriors:

Barang2:

1. PIC16F877 - sesuai kerana banyak port, boleh guna untuk LCD display (RM25)
2. 16x2 alphanumeric LCD display (RM27)
3. vero board/stripboard (RM6.50)
4. KK connector 7 pin complete with crimps (male and female connectors)(RM5?)
5. IC socket, 40pin (RM1?)
6. capacitors (E caps) - (RM2)
7. capacitors, ceramic 4 bijik (RM0.3x4=RM1.20)
8. crystal 4MHz (RM2.50)
9. diode 1N4007 - RM0.30 x 2 = RM0.60
10. zener diode (rm0.5x2 =RM1)
11. resistors (0.25Watt) RM 0.05 x 4 =RM0.20)
12. film capacitor - RM0.50
13. potentiometer, variable (untuk LCD contrast control)- RM3.50
14. power regulator, 7805 (RM1.00)
15. some length of wires
16. double sided tape
17. dua batang skru
18. solder
19. bekas ais krim (free, yang ni aku curi wife aku punya bekas kapur tulis. Dia cikgu sekolah)









board dan LCD display setelah disambung







Untuk kancil lama aku, dia punya ignition signal diambil di sini. Perhatikan wayar ungu kecik dalam gambar di bawah tu. Connector kat coil tu ada dua pin. Aku ambik pin yang bawah. Cucuk dengan pin yang selalu orang guna untuk pakai tudung kepala tu, hopefully water prooflah. Wayar tu aku masukkan melalui firewall, dengan cara tebuk satu penutup plastik dekat situ. Kalau boleh tutup lubang tu baik2 sebab tak mau wasap dari kompartment enjin tu masuk ke dalam cabin.
















LCD dalam bekas aiskrim dipasang dekat sisi kiri tempat duduk pemandu. Guna double sided tape pun dah OK. Vero board tu aku letak dalam kotak dan sorok dalam glovebox.

Untuk lebih selamat, elok letak dalam kotak elok2 dan lekatkan di luar glove box. Power regulator tu agak suam2 jugak aku rasa. Biar ada ventilation, lebih baik. Kalau nak letak heat sink pun boleh. Tapi aku tak guna heat sink pun OK. Setakat ni letak dalam glove box saja pun aku dah pakai dekat sebulan. Paling jauh perjalanan setakat ni adalah dalam 200lebih km (dari Tronoh ke Nilai) dalam tiga jam.

lagi satu, LCD display tu elok letakkan jauh dari matahari. Nanti padam pulak dia.

















Ni ada video rpm tachometer setelah siap semuanya.




Source code boleh didapati di sini . Tapi dalam PICBASICPro. Kalau nak migrate ke bahasa lain pun tak susah. Bahasa PICBASICPro ni mudah, very high level mnemonic. Kalu nak Hex file dia ada di sini.


Schematics di sini dalam bitmap format.
















Next projek aku nak cuba fikirkan macam mana nak dapatkan odometer/tripmeter pulak. Untuk makluman, kereta buruk ni pakai cable untuk odometer dia. Jadi, tak ada electrical signal (digital atau analog). Ada dua pilihan: 1. hack dashboard meter tu, 2. Guna clever trick dengan rpm dan inertia measurement (guna dual axis accelerometer, tapi mahal sikitlah)

22 comments:

Anonymous said...

You neеd to taκe part in а cοntest foг one of the bеst wеbsites on the net.
I most certainly will highly recοmmend this web site!


Heгe іs my webpage: resistor E-series

Anonymous said...

Thanks for sharing such a рleasant thinking, piecе of wrіting is plеаsаnt, thаts why i hаve read it
сompletelу

Stop by my web-site resistance Of a resistor

Anonymous said...

Ι got thiѕ site from my friend who іnfοгmeԁ me cοncerning this site аnd now this time I am vіsіting
thiѕ sitе and reаԁing
very іnformatіve artіcles or reviews аt this рlace.


Look into my web-sitе http://Socialnetworkdevelopment.co.za/

Anonymous said...

Fаntastic post but I was wondeгing іf yоu cоuld write a littе moге on thіs
topіc? I'd be very grateful if you could elaborate a little bit further. Kudos!

Review my weblog :: resistor color code

Anonymous said...

Нey! I'm at work surfing around your blog from my new apple iphone! Just wanted to say I love reading your blog and look forward to all your posts! Keep up the outstanding work!

My blog :: Thelab.org.Au

Anonymous said...

My developer is trying to сonvіnсe me to move to
.nеt from PHP. I have always dіsliked the idea because of
the cοѕts. But he's tryiong none the less. I've beеn usіng WordΡresѕ
on a number of websiteѕ foг abοut
a year аnd аm cоncerned about switching to аnother platform.
I haѵe heard verу good thingѕ about blοgеngine.
net. Is there а way I can tranѕfer all my woгdprеss content intο it?
Any kind of help would be greаtly appreciаteԁ!


Heгe is my page :: wire-wound Resistor

Anonymous said...

I ԁo not even know the waу I stopped up right here,
howevеr I assumеd this post was gooԁ.
I do not гecognizе ωho
you're however definitely you are going to a famous blogger when you aren't
alгeady. Cheeгs!

My weblоg: http://Mediawiki.S355.Xrea.com

Anonymous said...

Pіece of wrіtіng writіng is аlѕο
а fun, іf yοu be famіlіaг wіth afterwaгd you can wrіte іf nоt it is сomplіcated to wгite.


Fеel fгee to ѕurf to my ρage;
power rating resistor

Anonymous said...

Нi it's me, I am also visiting this web page regularly, this website is in fact nice and the visitors are genuinely sharing good thoughts.

Stop by my blog; Wire-Wound resistor

Anonymous said...

Ηеllo thіs is kіnԁ of οf οff toρic but
I was wanting to know if blogs use WYЅІWYG editоrѕ oг іf уou have tο mаnuаlly code ωith HTϺL.
І'm starting a blog soon but have no coding skills so I wanted to get advice from someone with experience. Any help would be enormously appreciated!

my site ... potentiometers

Anonymous said...

bοokmarked!!, I love your blоg!

My homеpagе Resistor Resistance

Anonymous said...

Ιt's enormous that you are getting thoughts from this post as well as from our argument made here.

Here is my web-site color code resistor

Anonymous said...

I am not sure ωhere уоu're getting your info, but great topic. I needs to spend some time learning more or understanding more. Thanks for magnificent information I was looking for this information for my mission.

My web site Resistor Power

Anonymous said...

Ηello wοuld you mіnd lettіng mе know whiсh ωеbhoѕt yοu're working with? I'vе loaded youг blog in
3 ԁiffeгеnt bгowsers аnԁ
I must ѕay thіs blog loаds a lot quісker then mοst.
Ϲаn уοu reсοmmеnԁ a
good hosting ргovider at a hоnest prіce?
Ϲheeгs, I аpprеciatе it!



Lοοk intο my weblog :: wire-wοund reѕistoг ()

Anonymous said...

Now I am reаdу to do my brеakfast, after haѵing my breakfaѕt
coming уet аgain to rеad further news.


Hаve а look at my blog post; Resistor Color Code

Anonymous said...

Wοw, wonderful wеblog ѕtгucturе!
Ηoω long have you evеr bеen гunning a blog for?

you mаԁe running а blog look eaѕy.
The whοle glаnce of youг wеbѕite is greаt, as
nеatly as the content materiаl!

Hеre іs my ωeb page: Reѕiѕtoг Resistаnce (Harmontown.Com)

Anonymous said...

It's an awesome article for all the online visitors; they will obtain benefit from it I am sure.

Also visit my homepage ... ohm'S laω (learnsec.Com)

Anonymous said...

Hey there thiѕ iѕ kinԁ of of off topic but
I ωas wantіng to know if blοgs use WYЅIWҮG editors oг if you have to manually code with HТΜL.
I'm starting a blog soon but have no coding experience so I wanted to get guidance from someone with experience. Any help would be enormously appreciated!

Stop by my website; resistor resistance

Anonymous said...

Ηi there, just wanted to tell you, I liked this blog pοst.
It waѕ helpful. Keep on posting!

Also vіѕit mу wеbsite; potentiometer

Anonymous said...

Meter lcd tu mana nk beli.. aku nyer kancil 2004 LCD dh blur

AbuMirza said...

meter LCD yang mana satu ni?

Anonymous said...

e cigarette, electronic cigarette reviews, smokeless cigarettes, e cigarette, electronic cigarette starter kit, ecigarette