Author Topic: Build a hardware interface for PC with Arduino or other chip.  (Read 1199 times)

0 Members and 1 Guest are viewing this topic.

Offline ForserTopic starter

  • Contributor
  • Posts: 47
  • Country: se
Greetings,

I am curious on building a small, hardware interface with a few buttons which could be programmed in the software on the PC to like update a text string showing on a live stream, like if you die in the game, you press the red button.

Want to avoid sending the command as a keyboard press or mouse since it can conflict with the game.

Is it possible or am i dreaming?
Guessing it would require a unique driver if it wants to be able to work against the OS without emulating keyboard / mouse.

Thanks in advance!
 

Offline mariush

  • Super Contributor
  • ***
  • Posts: 5022
  • Country: ro
  • .
Re: Build a hardware interface for PC with Arduino or other chip.
« Reply #1 on: May 20, 2016, 07:59:39 pm »
Use a usb to serial/uart chip on the arduino board, or just use a PIC microcontroller with usb functionality built in (and configure the usb as generic hid device). Write a custom application that opens the serial port and listens for text coming from the controller, or just read the incoming data if you present your device as generic hid.

Configure OBS or whatever tool you use to broadcast to capture the window of your application and you're done.

Examples :

1. http://www.waitingforfriday.com/index.php/Building_a_PIC18F_USB_device

2. http://forum.allaboutcircuits.com/threads/full-usb-tutorial-for-pic-microcontrollers.101891/

3. http://www.pyroelectro.com/tutorials/simple_pic_usb_interface/

 
The following users thanked this post: Forser

Offline ForserTopic starter

  • Contributor
  • Posts: 47
  • Country: se
Re: Build a hardware interface for PC with Arduino or other chip.
« Reply #2 on: May 20, 2016, 08:11:30 pm »
Thanks  :-+

Was trying to find stuff by googling but found pretty much only Keyboard / Mouse emulation.
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf