-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
d865e8f
commit b0c9f20
Showing
2 changed files
with
37 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
|
||
.DS_Store | ||
.gitattributes | ||
.vscode |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,33 @@ | ||
# Variable-Clock | ||
|
||
## Variable Clock | ||
|
||
PIC Based Clock device for use with Homebrew Computers. | ||
This is intended to replace the Oscillator for debugging and testing purposes. | ||
|
||
Based on a PIC18F, it provides the following features: | ||
- Frequency adjustment (40khz-8Mhz) | ||
- Manual mode to single step the CPU | ||
- (Optional) OLED Display | ||
|
||
Project requires : | ||
|
||
- PIC 18F46K42 (can be adapted for other models with NCO) | ||
- 2x Buttons | ||
- 3x 10k Ohm resistor | ||
- 2x '104' Ceramic Capacitor | ||
- 1x 470 Ohm resistor | ||
- (Optional) 1x '128x64' I2C SSD1306 OLED display. | ||
|
||
|
||
|
||
Usage: | ||
|
||
- After initialisation, clock starts at 1.023khz. | ||
- Pressing "UP" button increase the frequency. | ||
- Pressing "DOWN" button decrease the frequency. | ||
- Pressing **both** buttons simultaneously switch to manual mode. | ||
- In manual mode, pressing either button toggle the clock signal. | ||
- Pressing again **both** buttons will switch back to automatic mode. | ||
|
||
The PIC has been programmed with MPLAB X. | ||
|
||
> Written with [StackEdit](https://stackedit.io/). |