All About Circuits Forum  

Go Back   All About Circuits Forum > Software, Microcomputing, and Communications Forums > Embedded Systems and Microcontrollers

Notices

Embedded Systems and Microcontrollers Discussion forum for projects and working with embedded systems and microcontrollers (FPGAs, PICs, AVRs). Get help with hardware issues and embedded programming.

Reply   Post New Thread
 
Thread Tools Display Modes
  #1  
Old 03-22-2010, 02:39 AM
chua chua is offline
New Member
 
Join Date: Mar 2010
Posts: 3
Default propeller clock using pic16f84A

I am trying to constructa propeller clock. However, i couldn't understand what is the author trying to explain on the second page and couldn't understand the process how it work.Below is the link
http://www3.sympatico.ca/surfin.dude/creative/clocks/propclk/flowchrt.PDF
I am grateful if someone can help to explain the process in second page.
Reply With Quote
  #2  
Old 03-22-2010, 02:43 AM
BMorse's Avatar
BMorse BMorse is offline
Senior Member
 
Join Date: Sep 2009
Location: Vermontville, Michigan (GMT -5)
Posts: 2,658
Blog Entries: 15
Default

Go here>> http://www.bobblick.com/techref/proj...propclock.html << Bob Blick was the one who "invented", he has all the schematics and code you need to build it...

B. Morse
__________________
There is no spoon -Neo-
Disclaimer: The example programs,circuits, projects and information I provide or post on this web site are for educational purposes only. By copying anything from this site posted by me, you agree to the "as is" nature of the programs, circuits, information and to the statements listed in this disclaimer.No warranty or liability is expressed or implied. Working with AC /DC voltages can be dangerous and even deadly. Proceed at your own risk!
Reply With Quote
  #3  
Old 03-22-2010, 07:42 PM
longcrystal longcrystal is offline
Junior Member
 
Join Date: Mar 2010
Posts: 20
Default

i am chuackl friend i want post futhermore information for this topic

Propeller clock
source code this link: http://www.bobblick.com/techref/proj...ck/mclock8.asm

schematic circuit diagram this link: http://www.bobblick.com/techref/proj...k/mclksch2.gif

flowchart this link:
http://www3.sympatico.ca/surfin.dude...k/flowchrt.PDF

we couldn't understand the flowchart about second page
someone can try to analyze easy way to explanation for us??
actually we cannot understand the equation why must use this way to calculate it for this pattern: 0x000000 - 0x039387 = 0xFC6C79
why need to (0x00000-0x039387) .Why cannot 0x000001 - 0x039387
someone else can understand this equation can explain for us. we are feel grateful to each other.
Reply With Quote
  #4  
Old 03-22-2010, 09:56 PM
Markd77's Avatar
Markd77 Markd77 is offline
Senior Member
 
Join Date: Sep 2009
Location: Birmingham
Posts: 2,783
Blog Entries: 1
Default

Quote:
Originally Posted by longcrystal View Post
actually we cannot understand the equation why must use this way to calculate it for this pattern: 0x000000 - 0x039387 = 0xFC6C79
It's just using the way microcontrollers count:
if the count is 0xFFFFFF and you add 1 it becomes 0x000000
so it is just counting up until it overflows and becomes 0 again.
Really the calculation is 0x1000000 - 0x039387 but the leftmost digit is ignored.
Reply With Quote
Reply   Post New Thread

Tags
, ,


Related Site Pages
Section Title
Worksheet Counters
Worksheet Mutual inductance
Textbook Asynchronous counters : Sequential Circuits Counters
Textbook Binary count sequence : Sequential Circuits Counters
Textbook Synchronous counters : Sequential Circuits Counters


Similar Threads
Thread Thread Starter Forum Replies Last Post
transparent view of propeller clock usmanali45 General Electronics Chat 4 04-28-2010 01:27 PM
Propeller Clock usmanali45 The Projects Forum 2 03-20-2010 02:57 PM
E-book Correction [Vol. 4 - Chp. 12 - Pg. 2] Typo in clock delay. Michael Spencer Feedback and Suggestions 1 03-18-2010 10:34 PM
Binary Striking Grandfather Clock Quadrant Quadrifoglio The Projects Forum 3 02-24-2008 01:55 AM
Clock Frequency limiter bigbigblue General Electronics Chat 6 04-06-2006 10:41 PM

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 03:09 PM.


User-posted content, unless source quoted, is licensed under a Creative Commons Public Domain License.
Powered by vBulletin
Copyright ©2000 - 2014, vBulletin Solutions, Inc.