1) In this project I used the Arduino Nano BLE 33 Sense which has onboard proximity sensor
2) First upload the Serial.ino code When the proximity sensor detect any object it will print the word "d" in serial Monitor
3) Then run controller.py python file I this python code I used two packages one is pyserial another one is pynput packages pyserial is used to make a connection between and arduino and python and the pynput used to control and monitor the input devices like keyboard and mouse
4) After executing the python file. open notepad bring the arduino ble board close to any object the word d will typed in the note pad with out using the keyboard
5) For playing games I used BlueStacks
6) open Tennis 3d Go to Control option Select Swipe select the up button now click the word d. Now the word d is assigned for playing games and save the changes
7) I attached the board to the small diy bat
8) keep any object in front of you Move the bat toward the object to play the game
9) For this project there is no circuit diagram because it doesn't have any connection I used the on board proximity sensor
Comments