Joypad

 


Soldering Sequence

1. Diode (D9, D10)
2. Resistor, 1 ohm (R12)
3. Socket 5-pin (J2) solder on the component side
4. Tactile switch (SB5, SB6, SB8, SB9)
5. Socket 4-pin (J1)
6. Capacitor (C1, C2)
7. Socket 17-pin x 2 pieces (BD1)
8. Header 5-pin (UART1)
9. Battery holder (BT1)
10. Joystick + screw + nut

MCU Pin Assignment

  • A9(TX1), A10(RX1) - UART1: for PC communication
  • B10(TX3), B11(RX3) - UART3: connect to WIFI module HC06
  • B5(UP), B6(RIGHT), B8(LEFT), B9(DOWN), B13(JOYSTICK) - GPIO: buttons
  • A7(ADC12_IN7) - ADC12: VRY  JOYSTICK
  • B0(ADC12_IN8) - ADC12: VRX JOYSTICK
  • B1(ADC12_IN9) - ADC12: battery voltage divider

Comments

Popular posts from this blog

STM32F103 Black Pill

Robocar (Go to eie3105p2.blogspot.com for more updated info & photos)

Blue Pill Adapter Board