CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to CCS Technical Support

DIGITAL CLOCK

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
princejude



Joined: 07 Aug 2010
Posts: 72

View user's profile Send private message

DIGITAL CLOCK
PostPosted: Thu Aug 12, 2010 4:09 am     Reply with quote

HI,
I AM A STUDENT AND MY DEGREE PROJECT TOPIC IS TO DESIGN AND CONSTRUCT A 7-SEGMENT DIGITAL CLOCK USING PIC MCU and am new to CCS but I will like to use CCS because it's more friendly than assembly.

PLS, I will appreciate any help (like links,source codes, or any useful info)from anyone.
Douglas Kennedy



Joined: 07 Sep 2003
Posts: 755
Location: Florida

View user's profile Send private message AIM Address

PostPosted: Thu Aug 12, 2010 7:18 am     Reply with quote

It would seem to me the person who writes the code should get the degree.
Your professor IMHO has done a poor job of preparing you for this project.
If you could give us his/her name we could send him/her our comments.
SherpaDoug



Joined: 07 Sep 2003
Posts: 1640
Location: Cape Cod Mass USA

View user's profile Send private message

PostPosted: Thu Aug 12, 2010 8:23 am     Reply with quote

Start with small pieces:
1) Learn to count accurate time without accumulating round off errors (hint: set a counter running and NEVER set or reset it unless you are setting the time)
2) Divide the time into Hours, Minutes, Seconds
3) Drive the display
4) Figure out how to set the clock

If you want more detail see Mr Kennedy's reply
_________________
The search for better is endless. Instead simply find very good and get the job done.
princejude



Joined: 07 Aug 2010
Posts: 72

View user's profile Send private message

PostPosted: Fri Aug 13, 2010 9:23 pm     Reply with quote

Quote:
It would seem to me the person who writes the code should get the degree.

The project is part of the degree, I have to complete the project before i can get the degree.

Quote:
Your professor IMHO has done a poor job of preparing you for this project.
Which of my professor is IMHO ? I can't understand.

Well I have started the project, thank God the clock is working in Proteus but I have not include the time setting. I am still working on the time setting, PLS if you can post any link or materials on TIME SETTING, I will appreciate it.

You can read this to see how far I've gone with the clock
http://www.ccsinfo.com/forum/viewtopic.php?t=26177
bkamen



Joined: 07 Jan 2004
Posts: 1615
Location: Central Illinois, USA

View user's profile Send private message

PostPosted: Fri Aug 13, 2010 10:32 pm     Reply with quote

So wait.

If you make this clock and it works, you get a degree?

Where do I sign up for that!?!

I could submit a whole slew of designs and get my degree...

Yea... Yea... That's the ticket!

(grin)

Seriously, I don't mean to sound hard, but:

If this is the end of your degree curriculum and you are asking for this type of advice, it does indeed sound like your institution has failed you miserably.

I think the best advice we could give you is:

* Thoroughly read the datasheets . Then read them again - Thoroughly.
* Expect to stay up late and be mentally exhausted -- a LOT.
* Expect your teammates (if you have them) not to pull their weight.
* Get a book on 'C' (if you haven't already - shame on your school)
* Look at the CCS examples. (see the first tip)
* If you REALLY get stuck, then post here with your compiler version and a short but complete example of what isn't working for you.

* Last, avoid at all costs posts to forums that even hint "design this for me".

Good luck,

-Ben
_________________
Dazed and confused? I don't think so. Just "plain lost" will do. :D
bkamen



Joined: 07 Jan 2004
Posts: 1615
Location: Central Illinois, USA

View user's profile Send private message

PostPosted: Fri Aug 13, 2010 10:33 pm     Reply with quote

Oh, and another mention:


Don't bet your life on Proteus.

Until it works in hardware, simulations are just there to make you feel better.

:D

-Ben
_________________
Dazed and confused? I don't think so. Just "plain lost" will do. :D
newguy



Joined: 24 Jun 2004
Posts: 1907

View user's profile Send private message

PostPosted: Sat Aug 14, 2010 8:01 am     Reply with quote

bkamen wrote:
If this is the end of your degree curriculum and you are asking for this type of advice, it does indeed sound like your institution has failed you miserably.


Don't be so quick to jump to that conclusion. I taught EE for 10 years and there was always at least one student that would jump in to the deep end and refused any guidance/help I could offer.

I'm still on the fence regarding whether this is an example of one or the other.
bkamen



Joined: 07 Jan 2004
Posts: 1615
Location: Central Illinois, USA

View user's profile Send private message

PostPosted: Sat Aug 14, 2010 8:41 am     Reply with quote

newguy wrote:
bkamen wrote:
If this is the end of your degree curriculum and you are asking for this type of advice, it does indeed sound like your institution has failed you miserably.


Don't be so quick to jump to that conclusion. I taught EE for 10 years and there was always at least one student that would jump in to the deep end and refused any guidance/help I could offer.

I'm still on the fence regarding whether this is an example of one or the other.


No worries -- I'm on the fence like you. Having helped a small army of students over the 5 yrs I worked for the University I mentioned, there were some successes... but then there were some shocking opposites too.

I'm also waiting to see.

-Ben
_________________
Dazed and confused? I don't think so. Just "plain lost" will do. :D
pmuldoon



Joined: 26 Sep 2003
Posts: 218
Location: Northern Indiana

View user's profile Send private message

PostPosted: Mon Aug 16, 2010 12:11 pm     Reply with quote

Another suggestion:

Read and learn in this forum.
I have spent countless hours just browsing thru the interesting problems and solutions people have contributed in this forum. It takes time, but you'll be amazed at what you can learn. Just seeing and figuring out other peoples coding style is fun.
And, there is such a thing as a DUMB question! And there are a few people on this forum asking them. There are also some incredibly smart and experienced people out there, too - asking and answering questions. This is the point in your life where you get to decide which of those people you want to be.
If you can't grab a couple of cold beers and spend some quality time reading this forum, or a datasheet on a PIC and enjoy it - you may want to reconsider your career.
bkamen



Joined: 07 Jan 2004
Posts: 1615
Location: Central Illinois, USA

View user's profile Send private message

PostPosted: Mon Aug 16, 2010 12:39 pm     Reply with quote

pmuldoon wrote:

If you can't ... spend ... time reading ... datasheet on a PIC and enjoy it - you may want to reconsider your career.



This is really the marker of one type of engineer vs. "all the rest".

I was once asked by a VP of Eng looking to hire me, "what do you think makes you a better choice for this position than your peers?"

It was interesting because I've thought of this before but was never asked by someone why I thought I was better.

I told him, "because I don't do this *as a career*. I do this because I must." If I wasn't doing this as a job, I would still be doing this as a hobby. Just as it started when I was 7. It was years before I earned a living designing things. I just got lucky enough to do what I do (somewhat obsessively) AND get paid for it.

If anyone finds themselves annoyed at the constant learning curve to continuously better themselves in ANY endeavor, then they should be prepared to always get steam-rolled by the ones who are borderline Obsessive-Compulsive about what they do.

I see this in EVERYWHERE not just engineering.

I'll shut up now.

-Ben

p.s. I think the worst thing a company could do is give me a budget to create at will. I'd never sleep.
_________________
Dazed and confused? I don't think so. Just "plain lost" will do. :D
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
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, 2005 phpBB Group