None Notebook

This notebook contains material from cbe61622; content is available on Github.

< 9.0 Interfacing with Laboratory Equipment | Contents | 9.2 Stepper Motor Control via I2C >

Open in Colab

Download

9.1 Communicating via TCP

This notebook shows how to implement a TCP Server on Particle Argon and communicate with the server from a laptop using a netcat utility.

9.1.1 Particle CLI

9.1.1.1 Installation

9.1.1.2 Utility functions

9.1.1.3 Login to Particle

9.1.1.4 Select a device

The following cell downloads a list of all user devices and creates a list of device names. Here we choose the first name in the list for the rest of this notebook. If this is not the device to be used, then modify this cell accordingly.

9.1.2 Project Considerations

9.1.3 Implementation

MacOS

nc -4 -n 192.168.xxx.xxx pppp

9.1.3.1 Create Project

9.1.3.2 Change working directory

The Particle CLI assumes one is working in the top project directory.

9.1.3.3 Create source file

9.1.3.4 Compiling

9.1.3.5 Flash firmware

< 9.0 Interfacing with Laboratory Equipment | Contents | 9.2 Stepper Motor Control via I2C >

Open in Colab

Download