generated from atopile/project-template
-
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
Nick K
authored and
Nick K
committed
Feb 24, 2024
1 parent
39041d6
commit 90c4ce9
Showing
4 changed files
with
87 additions
and
12 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 |
---|---|---|
@@ -1,14 +1,13 @@ | ||
# chess-clock | ||
|
||
Chess Clock using open source smart knob with haptic feedback. | ||
|
||
## Features | ||
* Capacitive touch buttons for each player | ||
* Knob with haptic feedback to select game mode/set time | ||
* Led ring all around clock to indicate turn and look cool | ||
|
||
## Includes atopile Packages | ||
* RP2040 | ||
* Smart Knob (https://github.com/scottbez1/smartknob) | ||
## Includes atopile Smart Knob Package! | ||
### Smart Knob (https://github.com/scottbez1/smartknob) | ||
This atopile package makes it easy to incorporate the smart knob into any project. The ato package comes with the necessary smart knob circuitry configured and laid out, just add your junk around it! | ||
|
||
![CAD GIF](CAD.gif) |
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 |
---|---|---|
|
@@ -3,4 +3,5 @@ builds: | |
default: | ||
entry: elec/src/chess-clock.ato:ChessClock | ||
dependencies: | ||
- generics | ||
- generics | ||
- rp2040^v4.0.1 |
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
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,18 @@ | ||
import SK6805EC20 from "sk6805-ec20/elec/src/sk6805-ec20.ato" | ||
import SmartKnob from "smart-knob/elec/src/smart-knob.ato" | ||
import Capacitor from "generics/capacitors.ato" | ||
|
||
module ChessClock: | ||
signal gnd | ||
smart_knob = new SmartKnob | ||
capacitive_touch_w = new CapacitiveTouchSensor | ||
capacitive_touch_b = new CapacitiveTouchSensor | ||
batt = new 2170Cell | ||
charger = new BQ24045 | ||
|
||
capacitive_touch_w.output ~ smart_knob.base.esp32s3.IO69 | ||
capacitive_touch_b.output ~ smart_knob.base.esp32s3.IO69 | ||
|
||
module CapacitiveTouchSensor: | ||
signal touchpoint | ||
signal output | ||
ref_cap = new Capacitor |