- Home /
How can I transfer electronic circuit signal to unity without direct connection??
I want to make experience tool looks like a image file. It has electronic circuit connected with 6 touch buttons, battery and bluetooth in the box. In this case, what kind of signal should be input to the unity program in computer? (circuit maker said to me like this... )
I don't know about this kind of technology well. so if this question need more detail, please ask me.
If this is to be a decated device, have the interface emulate a keyboard. Pushing buttons would essentially send keystrokes. It would be easy to mock up using an existing bluetooth keyboard, and would be easy to code in Unity. You could also emulate a game controler.
In adition to what robertbu said, If you're creating the device, disassemble and adapt the keyboard shouldn't be a problem. Anyway, you can google for "arduino board" and output any kind of data you want. In the arduino page you'll find the drivers and sdk to implement the data/signals you'll receive.
Answer by Geo.Ego · Jan 16, 2013 at 05:08 PM
There are several ways you could do this. The most obvious way that I could think of would be with a keyboard emulator, but wireless keyboard emulators are not readily available. What I would do is put an Arduino with an Xbee transmitter in the standalone box, and attach an Xbee receiver to the PC. Your transmitter would send data to the receiver so you know what buttons are being pressed.
However you approach it, you're going to need to learn how to use some hardware and perhaps a bit of software you may not be familiar with. This is a good starting point:
Your answer
Follow this Question
Related Questions
iPhone Bluetooth 1 Answer
Android Bluetooth 0 Answers
Anyway to fix a Bluetooth controller that is temporarily unresponsive on my GearVR game? 0 Answers
Question about Bluetooth multiplayer. 0 Answers