/
Connecting Arduino to your Laptop

Connecting Arduino to your Laptop

In order to read data from sensors attached to your Arduino and connected to laptop the steps are simple:

  • Connect USB Port of Arduino to your laptop
  • Make a note of the port that is used: 
    • On MAC: You can find the new port by doing ls -ltr /dev/* before connecting the Arduino 
    • Repeat the command ls -ltr /dev/* after connecting the Arduino - The new file listed is the device port.
    • On Windows: You can check the port by looking at System Parameters. This is usually COM1, .. COM4
  • Install the Perif protocol handler using the command:
    • tql -install -protocol -perif
    • More details on TQL CLI can be found here
  • Instantiate your ThingModel/ThingFacet and you should start receiving data 

Related content