Electronic Projects, forums and more.

Go Back   Electronic Circuits Projects Diagrams Free > Electronics Categories > Micro Controllers


Micro Controllers Discuss all aspects of micro controllers - building them, coding them, etc. All controllers are welcome - PIC, BASIC, Z8 Encore!, etc.

Reply
 
Thread Tools Display Modes
Old 1st August 2006, 04:24 AM   (permalink)
Default LED tachometer

Hi everybody, believe it or not I've finally figured out how to program my PICs and have learned assembly language (to some extent ). I still haven't finished my book that I bought by John Morton I think is the name.

This project is way over my head as you will soon find out when you look at my .asm, but I had a day off work and was bored. The PIC I'm using is a PIC16F54, which is so far the only PIC I've ever used, I'm aware that its outdated. I know that there is probably a far simpler way of doing this, but I'd rather not worry about that right now as this is more of a learning experience for me. We'll get to that later

Basically, this program takes an input on RB7 which will somehow be hooked up to my truck to count the revolutions. I'll give it a nice clean input when I make the circuit, but thats beside the point right now. There will be 28 LEDs, and I will use RA0-RA3 to strobe RB0-RB6, which will be connected to the 28 LEDs

The program should be pretty self-explanitory for you pros, but please ask questions!

Unfortunately I couldn't upload the .asm file so i saved it as .doc
Attached Files
File Type: txt rev counter.txt (5.2 KB, 50 views)
__________________
I'm no electronics god, i just talk too much.
zachtheterrible is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes




All times are GMT. The time now is 04:51 PM.


Electronic Circuits  |  Electronics Wiki
Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.