2022-08-30 23:26:37 +02:00
|
|
|
# gtr
|
|
|
|
|
2022-08-30 23:52:37 +02:00
|
|
|
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
|
|
|
|
|
2022-08-31 15:55:49 +02:00
|
|
|
## GPIO / PINS
|
2022-08-30 23:52:37 +02:00
|
|
|
|
2022-08-31 15:55:49 +02:00
|
|
|
### ACCELEROMETER/GYRO
|
2022-08-30 23:52:37 +02:00
|
|
|
|
|
|
|
|
2022-08-31 15:55:49 +02:00
|
|
|
### 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
|
|
|
|
]
|
|
|
|
|
2022-08-30 23:52:37 +02:00
|
|
|
|
|
|
|
|
|
|
|
|