-
Notifications
You must be signed in to change notification settings - Fork 8
Rotary Encoder
mean00 edited this page Feb 15, 2021
·
1 revision
The code can be built for 4 versions :
- Vanilla : Using the default hardware, the rotary encoder is unresponsive, because the rotary encoder pins are shared with the screen. When the screen is refreshed, you lose some rotations.
- USB : In that setup the rotary encoder is connected to the PB14/PB15 PINS and usb is activated
- Vanilla + GD32F303 4 USB + GD32F303
**/!\ Warning version **>= 1.05 are now using PB14 and PB15 which were not used and easily reachable on the board.
The GD32F303 is much better :
- Running at 96 Mhz it is almost twice as fast
- The ADC frequencies have more values, giving better sampling without dropping/duplicating samples
- The GD32F303 has a hardware FPU
The USB mod is actually made of 2 separate modifications :
- Rotary change : I strongly suggest to do it, it really makes the unit work better
- Connect USB : You can skip that one, it is not really needed, and not used at the moment.
The USB part is described here blog2
Cut the 2 pins on the left from below (the ones in red):
Connect left and right (white and green) to PB14 and PB15 :