Skip to content

Commit

Permalink
Added proper README
Browse files Browse the repository at this point in the history
  • Loading branch information
olivierjan committed Nov 1, 2019
1 parent d865e8f commit b0c9f20
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 2 deletions.
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@

.DS_Store
.gitattributes
.vscode
35 changes: 33 additions & 2 deletions README.md
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/).

0 comments on commit b0c9f20

Please sign in to comment.