
You can either scan for it or manually enter it. Select the SSID of the network you want to log into.

Then enter the command: particle serial wifi. This will print out the Device ID of your device, which you may need later. To learn more about the Arduino IDE 2 features, you can visit the Arduino IDE 2 docs. In a Command Prompt or Terminal window, enter the command: particle serial identify. It can be used for testing and calibrating sensors, comparing values and other similar scenarios. The Serial Plotter is a really useful tool for tracking your variables. You can also enable/disable the variables by checking the box next to the variable name. If you chose the random example sketch, when you open the plotter you will see very random spikes, as the values fluctuate rapidly. This is an easy example of just testing out an analog component. Here, we can use the static_variable as a reference, as we know it is always 500. If you choose the potentiometer example sketch, when turning the knob, you should be creating a "wave-like" pattern in the plotter. You will see the text "upload complete" in the terminal output.Ĭlick the button in the the top right of the IDE window to open the Serial Plotter. Make sure the sketch has finished uploading before opening the Serial Plotter. Once the sketch is uploaded, we can test out the Serial Plotter. Further, you can also use \t(tab) or (space) as a delimiter instead of ,(comma) in the above example. println ( ) introduces a CRLF character automatically. print ( "\r\n" ) to introduce a linebreak character at the end. So ensure that the either there is a linebreak character after the last variable. The Serial Plotter recognizes only CRLF ( \r\n ) & LF ( \n ) as linebreak characters. int static_variable = 500 - variable that has an unchanged value of 500.int potentiometer - variable to store value from a potentiometer, connected to an analog pin (gives a value between 0-1023).Both sketches have a variable named static_variable which has a permanent value of 500, used as a reference value.Ĭhoose and upload any of the examples below to your board. This sketch needs to include at least one numerical variable, such as an int or float.īelow you will find two sketches, one using a potentiometer and analogRead ( ) function, the other using the random ( ) function.

To use the Serial Plotter, we will need to create a sketch and upload it to our board.
PARTICLE SERIAL PRINT WINDOW HOW TO
For other guides on how to use the editor, visit the IDE 2 docs.

PARTICLE SERIAL PRINT WINDOW INSTALL
If you need help to download and install the Arduino IDE 2, you can visit the IDE 2 downloading and installing guide. In this tutorial, we will take a quick look on how to enable this feature (works for practically any sketch that uses serial communication), how a sample sketch looks like, and how it is expected to work. It functions similarly to your standard Serial Monitor tool which is used to print data "terminal style", but is a greater visual tool that will help you understand and compare your data better. The Serial Plotter tool is a versatile tool for tracking different data that is sent from your Arduino board.
