isaac879 / Pan-Tilt-Mount

A stepper motor driven, 3D printed and Arduino controlled pan/tilt mount.
MIT License
377 stars 99 forks source link

xbox controller #19

Open raveruk1 opened 2 years ago

raveruk1 commented 2 years ago

hi new to this great project how does the controller connect does it auto connect or do i need to modify code thank for any help

Charly333 commented 2 years ago

Same problem with me. xbox one controller and JDY-31 do connect to PC, but don´t connect to each other. Maybe password or baud rate have to be set? But where and how to do?

cbradburne commented 2 years ago

If you're still having problems, I made a Python app to connect to the mount and game controllers. Find it here: https://github.com/cbradburne/Pan-Tilt-Mount-App

Nikitore commented 2 years ago

Hi guys i have a question. Where do I install the main.cpp file to control the xbox one joystick? I am a newbie I try to compile in arduino but i receive this error: "windows.h: No such file or directory"

kanabise commented 1 year ago

same error for my part with windows.h

cbradburne commented 1 year ago

I’ve commented about this many times. The Xbox “main.cpp” code is not for any Arduino but part of a Windows application that we’ve never received guidance on how to use.

Maybe one day we’ll get a “how to”.

Either way, this was intended to be ran on a Windows PC, with the Xbox controller connected to the PC, and the PC connected to the camera mount via Bluetooth.

kanabise commented 1 year ago

Thx for ur reply <3 we wait it @isaac879

cbradburne commented 1 year ago

As you can see, this issue was raised many years ago. If you want to use a game controller I recommend using the app I wrote for this camera mount: https://github.com/cbradburne/Pan-Tilt-Mount-App