FAQFAQ   GalleryGallery   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in   Forum RSS Feed   Hacked Gadgets Main Site 

Improved POV HDD Clock

 
Post new topic   Reply to topic    Hacked Gadgets Forum Index -> New Projects Currently Being Developed
View previous topic :: View next topic  
Author Message
Project_Nightmare
HG Master


Joined: 12 Oct 2007
Posts: 119
Location: Gig Harbor, WA

PostPosted: Wed Oct 17, 2007 8:01 pm    Post subject: Improved POV HDD Clock Reply with quote

When I saw Alan's HDD Clock, I immediately wanted to try and build it. I saw the University version and liked how it had a LED color for each of the hands and Alan didn't, so I wanted to replicate the program on a PIC instead of the AVR chip. The problem was that back then I knew nothing about programmable chips. When I had a faint idea, I asked Alan for the source code... A few months later, I still couldn't modify the code because I still did know enough. When I was playing with the code, I noted that I couldn't compile it because of errors. Then I found the linked files to the program Evil or Very Mad . Alan tried to help, but he sent the same files as before. Then I found my main problem, I was using a C++ compiler and not a PIC Basic one. Shocked After more playing, I got it to make a stable .hex!!! Running it on a simulator, it appeared to work fine.

Now I have to find a good HDD and parts to make the circuit Twisted Evil
Back to top
View user's profile Send private message Send e-mail

Turd
HG Ruler


Joined: 18 Aug 2007
Posts: 274
Location: Saskatchewan, Canada

PostPosted: Wed Oct 17, 2007 10:52 pm    Post subject: Reply with quote

Good luck and I hope you post some pics Very Happy


eric
Back to top
View user's profile Send private message Visit poster's website
Project_Nightmare
HG Master


Joined: 12 Oct 2007
Posts: 119
Location: Gig Harbor, WA

PostPosted: Thu Oct 18, 2007 8:19 am    Post subject: Reply with quote

My project isn't going to much different then Alan's. I might add a window to the HDD and maybe a crystal and rtc to the PIC if I find out how to embed them into the coding. I already have difused to LEDs with sandpaper (and I still have more LEDs to spare, one pack of Alan's LEDs never run out Shocked ).

But I will send pictures of the finished product Razz

Turd how does cutting off the ends of the LEDs work with diffusing them?
Back to top
View user's profile Send private message Send e-mail
Turd
HG Ruler


Joined: 18 Aug 2007
Posts: 274
Location: Saskatchewan, Canada

PostPosted: Thu Oct 18, 2007 1:07 pm    Post subject: Reply with quote

Project_Nightmare wrote:
Turd how does cutting off the ends of the LEDs work with diffusing them?
It removes the focusing lens completely and scatters the light very well. Just watch that you don't get too close to the chip/die Wink




eric
Back to top
View user's profile Send private message Visit poster's website
Project_Nightmare
HG Master


Joined: 12 Oct 2007
Posts: 119
Location: Gig Harbor, WA

PostPosted: Thu Oct 18, 2007 1:29 pm    Post subject: Reply with quote

KK, hopefully I have enough LEDs to replace the ones that might explode Confused
Back to top
View user's profile Send private message Send e-mail
Alan
Site Admin


Joined: 29 Jan 2006
Posts: 1399
Location: Winnipeg, MB

PostPosted: Thu Oct 18, 2007 6:25 pm    Post subject: Reply with quote

Hey Turd,

That is one of the best LED close ups I have seen! Your mod looks stock. Smile
Back to top
View user's profile Send private message Send e-mail
Turd
HG Ruler


Joined: 18 Aug 2007
Posts: 274
Location: Saskatchewan, Canada

PostPosted: Thu Oct 18, 2007 9:17 pm    Post subject: Reply with quote

For that pic, I held a small lens in front of my crappy camera Laughing
Heres the original.


eric
Back to top
View user's profile Send private message Visit poster's website
Project_Nightmare
HG Master


Joined: 12 Oct 2007
Posts: 119
Location: Gig Harbor, WA

PostPosted: Fri Oct 19, 2007 8:38 am    Post subject: Reply with quote

Nice solution, I never could get a good close up digital picture.

Back to the main project: According to BronzeG3, I can't easily hook up a rtc to the clock, so I'm going to do the next best thing; I'm going to add a crystal to improve its accuracy. In addition, I would have tested Turd's diffusion method, if this coding wasn't such a pain.
Back to top
View user's profile Send private message Send e-mail
Project_Nightmare
HG Master


Joined: 12 Oct 2007
Posts: 119
Location: Gig Harbor, WA

PostPosted: Fri Oct 19, 2007 2:15 pm    Post subject: Reply with quote

Dang, finding an easy way to interface a watch crystal is hard and the terminology is still over my head Confused . Well it looks like I might have to use a 4MHz or 20MHz for the crystal Evil or Very Mad

Is an external 4MHz crystal more accurate than the internal one?
Back to top
View user's profile Send private message Send e-mail
Turd
HG Ruler


Joined: 18 Aug 2007
Posts: 274
Location: Saskatchewan, Canada

PostPosted: Fri Oct 19, 2007 2:18 pm    Post subject: Reply with quote

Project_Nightmare wrote:
Is an external 4MHz crystal more accurate than the internal one?
Yep Very Happy


eric
Back to top
View user's profile Send private message Visit poster's website
Project_Nightmare
HG Master


Joined: 12 Oct 2007
Posts: 119
Location: Gig Harbor, WA

PostPosted: Fri Oct 19, 2007 4:49 pm    Post subject: Reply with quote

Thanks, because I looked everywhere and no one stated if it was better (they just had one in their projects).

I also found that you can interface a watch crystal to a PIC without a RTC, but I'm still confused how I can incorperate it into the project. Looking at it, they just use a External Series Crystal Oscillator Circuit and hook it to the timer1 pin.
Back to top
View user's profile Send private message Send e-mail
Project_Nightmare
HG Master


Joined: 12 Oct 2007
Posts: 119
Location: Gig Harbor, WA

PostPosted: Sat Oct 20, 2007 2:53 pm    Post subject: Reply with quote

If anyone wants to see my modified source code can visit: http://www.picbasic.co.uk/forum/showthread.php?t=7331

And I am demoralized by posting my unfinished works online, so I would be glad if I could complete the entire project before anyone else does. This is because I want to unvail my finished product Embarassed
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic    Hacked Gadgets Forum Index -> New Projects Currently Being Developed 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