im planning to use 2 arduino pro micros as controllers, will they work on a single pc?
Are you thinking of using 2 Pro Micros to control the same PC ?
yeap, are they able to separate the different button presses from the different arduinos?
I have never tried it but it will probably work. After all you can plug in multiple mice and keyboards into a PC and they work
There may, of course, be a better way to do what you want, so why not describe what you want to achieve rather than asking about a possible solution to an unknown problem ?
Unlikely as one keyboard input looks much like any other
well, im think about using two arduinos to control buttons, switches, and rotary encoders for a sim racing game. There will be a lot of keybinds to use so i will need two arduinos for all of the buttons
I presume you will use a serial connection to communicate with these boards? If so, you will be communicating over two different ports, so distinguishing between the two will be easy.
Why not use one Arduino with lots of inputs, such as a Mega and have it pass suitable keyboard inputs to the PC using a Pro Micro ?
no money...
If those two Arduinos use different keys, that should work.
im going to search about serial connections, also i was planning to use the usb data port from the arduino it self to communicate with my pc
I would guess not, bearing in mind the mention of Pro Micros, which gives the possibility of using the Keyboard library, but we will see
on second hand, simulating keyboard presses will actually be easier to to use instead of using "serial connections" which i have no idea how they work so using simulated button presses should be good enough
Not necessarily. If you want to use 2 Arduinos because one does not have enough pins then 2 Arduinos is the wrong way to go. Use one Arduino with pin exapnders or shift registers to increase the number of pins that 1 Arduino can use. For instance the MCP23008 8 bit I2C expander, the MCP23017 16 bit I2C exapnder, the MCP23S08 8 bit SPI expander, the MCP23S17 16 bit SPI expander or the 74HC595 parllel in to serial out Serial in to Parallel out shift register.
Edit: correction, thanks to @sterretje.
Other way around
Oops. You are, of course, right. Don't know what I was thinking. Serial in to parallel out.
Corrected post.
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.