wuchy143
Member
Recently I've decided to learn how to program micros in C. I"m a hardware guy trying to broaden my knowledge so when it comes to programming I"m quite a noob. That said:
My project is simple. I'd like to design a keyboard hour meter which will basically log the amount of time the keyboard has been powered up throughout it's life. The highest it can go is up to 9999 hours. My chip needs to be able to figure out how long it has been powered up and then spit that out on a port serially every minute.(It will be hours but in ascii code) I will then hook that up to my serial port on my computer and see the amount of hours on a hyperterminal connection every minute.
I have attached a block diagram of where I am in the design so far. Logically I think it should work but wanted to see what people on here think about my path so far. What I"m missing or overlooking. I know nothing about timers/interrups but I do know that they are going to be needed in this application. Basically can someone give me some direction but not just the answer. That won't help me any as I"d like to do a lot of this myself. It's the only way I learn.
Responses much appreciated!!
My project is simple. I'd like to design a keyboard hour meter which will basically log the amount of time the keyboard has been powered up throughout it's life. The highest it can go is up to 9999 hours. My chip needs to be able to figure out how long it has been powered up and then spit that out on a port serially every minute.(It will be hours but in ascii code) I will then hook that up to my serial port on my computer and see the amount of hours on a hyperterminal connection every minute.
I have attached a block diagram of where I am in the design so far. Logically I think it should work but wanted to see what people on here think about my path so far. What I"m missing or overlooking. I know nothing about timers/interrups but I do know that they are going to be needed in this application. Basically can someone give me some direction but not just the answer. That won't help me any as I"d like to do a lot of this myself. It's the only way I learn.
Responses much appreciated!!