58 lines
817 B
Markdown
58 lines
817 B
Markdown
# gtr
|
|
|
|
augmented guitar with esp32 and mpu6050
|
|
|
|
## deps
|
|
|
|
last working version of esp32 arduino with current hardware is :
|
|
- https://github.com/espressif/arduino-esp32/releases/tag/2.0.0
|
|
|
|
### branch of wavey wind
|
|
|
|
the nodejs glue
|
|
|
|
- https://git.kompot.si/g1smo/wavey-wind/src/branch/rob
|
|
|
|
### the esp32 firmware
|
|
|
|
- https://git.kompot.si/g1smo/pifcamp-2021/src/branch/master/osc32final
|
|
|
|
## GPIO / PINS
|
|
|
|
### ACCELEROMETER/GYRO
|
|
|
|
|
|
### CAPACATIVE TOUCH
|
|
|
|
GPIO:
|
|
|
|
momentary switchs
|
|
|
|
4 TOUCH0 - record to buffer 0
|
|
0 TOUCH1
|
|
2 TOUCH2
|
|
15 TOUCH3
|
|
|
|
toggle switchs
|
|
|
|
13 TOUCH4
|
|
14 TOUCH5
|
|
12 TOUCH6
|
|
27 TOUCH7
|
|
|
|
TOUCH0 + TOUCH3 = EULER ROTATION RESET
|
|
|
|
|
|
array of 16 values -
|
|
8 x data inputs +
|
|
8 x 0/1 values - first 4 momentary second 4 toggle
|
|
|
|
args: [
|
|
35, 56, 53, 47, 99, 106, 99, 48,
|
|
0, 0, 0, 0, 0, 0, 0, 0
|
|
]
|
|
|
|
|
|
|
|
|