Skip to content

Latest commit

 

History

History
20 lines (15 loc) · 916 Bytes

File metadata and controls

20 lines (15 loc) · 916 Bytes

COMPONENTS REQUIRED:

  1. Arduino Uno/Nano/Mega/Mini
  2. Joystick module x2
  3. Jumper Wires
  4. Breadborad (optional)

Upload the Arduino code to your Arduino Uno/Nano/Mini For the python script, download python IDLE, paste the code and run it. Minimize the window and it should work For wiring, follow the Wiring.png and Wiring(new).png

Important Note: Also in the python code replace 'COM8' with our suitable serial port (like for instance COM3 ror /dev/ttyUSB0 on linux) To check for serial prot, connect your arduino, open system manager and look for other devices

Important Note: If you want to play games like minecraft with this, then go to settings, mouse controls and there should be an option called "raw controls" or something, make sure to disable that.

Note: Also run pip install pyserial and pip install pynput in cmd or terminal