I'm working on some interaction between Unity 3D and Arduino. I'm wondering what might be the best way to tackle something like this:
Lets say I want to have various sensors like an LDR send data into Unity 3D and have that data trigger something in Unity 3D when it reaches a certain value but not have it "Buggy" for lack of a better word. Like activate all the time for crazy reasons.
Basically I would like to trigger some random voice response clips if say the ambient lighting fell below a certain threshold.
I would also like to input data from a temperature sensor (Not sure what type would be best) but then read that data in Unity 3D and display it as U.I. text on a graphical GUI (NOT the old Unity On GUI) but the new UI system.
Has anyone done this who has some detailed information or perhaps even a tutorial on how to do this?
Lets say I want to have various sensors like an LDR send data into Unity 3D and have that data trigger something in Unity 3D when it reaches a certain value but not have it "Buggy" for lack of a better word. Like activate all the time for crazy reasons.
Basically I would like to trigger some random voice response clips if say the ambient lighting fell below a certain threshold.
I would also like to input data from a temperature sensor (Not sure what type would be best) but then read that data in Unity 3D and display it as U.I. text on a graphical GUI (NOT the old Unity On GUI) but the new UI system.
Has anyone done this who has some detailed information or perhaps even a tutorial on how to do this?