Search Unity

Unity-Arduino Bluetooth connection

Discussion in 'Scripting' started by l4ur1n4, Jul 7, 2018.

  1. l4ur1n4

    l4ur1n4

    Joined:
    Jul 7, 2018
    Posts:
    1
    Hi everyone!
    I hope this is the right section for this thread.

    I have an Arduino board, connected to a HC-06 Bluetooth module: right now I'm controlling it thanks to BlueSerial Beta app from a tablet. I can send four different letters (a,b,c,d) through the app and each letter will activate a different device connected to Arduino.

    I would like to send the same letters but not manually: instead, I would like to send them from Unity, using my PC'S Bluetooth. I'm afraid I can't upload any script example, since I really don't know where to start: I just want that, if I give a certain input in the Unity scene, the letter "a" must be sent to the Arduino board.

    I hope my request is clear, thanks to all who may help!
     
  2. TheHighGround

    TheHighGround

    Joined:
    Nov 19, 2017
    Posts:
    68