TL;DR:
How do I connect my arduino on one end, a usb or rj45 cable in the middle, and my joystick and switches on the other.
Hey y'all!
I'm new here. After years of procrastinating, I finally got around to learning how to build robots. ![]()
I run a video studio where everything is pretty much automated: cameras, microphones, doors, lights and such. I managed to do most of my automations with Homme Assistant. Everything is going great and my clients LOVE the setup.
But now, I want to take things one step further and automate the pan/tilt/zoom/height of my cameras. That way, the studio can "reset itself" when the client comes into the studio and he could even setup presets he could quickly load to have a consistent recording environment.
After a month or so of tinkering, I've succesfully designed the pan/tilt/zoom/height thingy (let's call it PTZH) and I've programmed it to subscribe to my mqtt server and await instructions. Everything works great!
Now, I've come to never trust wireless technology. Internet may fail or my server may go offline. Since my studios are unsupervised, the user needs to have a way to adjust the cameras manually in case the app fails.
I could just tuck the controls into each of the devices, but I think it would be a more elegant design if I had a controller that we could just plug into the different PTZH to control them.
My controllers needs a joystick, a rocker switch and a potentiometer. How would I go about connecting that to my PTZH?
I've seen a bunch of devices, but I'm not sure which ones I need. I have no Idea what types of communications protocol I need to use.
RJ45 to UART, Serial, I2C, SPI?
Do I need an arduino mini in my controller on the other end to encode and transmit the data?
Should I skip cables and do it over IR?
How would a more experienced user go about it?
For context, I come from the JavaScript/Php world so I understand the concepts of programming, but this is my first time with C. I can do basic 3d modelling and I have an Ultimaker S5 to help with the prototyping.
