Common online experiments commands ================================== Command #Meaning and parameters x,y and z ============ ================================= NEW New starting of expt LOW Make all relays in LOW status HIGH Make all relays in HIGH status SHOWS=x Show all output (x=1) or not (x=0, default) PRINT=x Print extra output (x=1) or not (x=0, default) SET Display current settings via USB or BT SAVESD=x Save data to SD card (x=1) or not (x=0, default) M=xy Move step motor forward (x=F) or reverse (x=R) by 100*y steps N=x Rotate servo motor to the angle x in degree DSTN=x Set number of DST thermometers to x. TEMPC=X Set temperature (>X) to power off oven NET=x Set module x=0 for BT, x=1 for BLE and x=2 for WiFi BT=xxx Set BT name to xxx (up to 10 characters) PIN=xxxx Set BT pin (4 digits) SIP=xxx.xxx.xxx.xxx Set server ip TSIP=xxx.xxx.xxx.xxx Set time server ip SN=server_host_name Set server host name TIME=x Set time interval for auto measurement to x in seconds AUTOSTART=x Enable auto measurement (x=1) or not (x=0, default) SHOWIP Show Arduino's IP address PATH=xxx Set server path for upload of data, e.g. /oe/abc/s1/ USER=XXX Set user name for ftp upload, e.g. sesuser RNAME=x yyy Set relay x with a name yyy NUNCHUK=x Enable the nunchuk (x=1) or not (x=0, default) RELAY Rx=y&Tx=z&.. Set relay x to on (x=1) or off (x=0) for a duration of z seconds RELAY Rx=y&Dx=z&.. Set relay x to on (x=1) or off (x=0) after a time delay of z seconds REBOOT REBOOT the Arduino now VERSION Show program version LOGGER Show BT or logger name SETCLOCK Calibrate clock time to Internet time LCD=x LCD on (x=1) or off (x=0) CRELAYx=y Change relay x to pin=Ayy or Dyy or relay#y EXPT=x Set up the hardware for expt number x ESET=x Set to electrical sensor Esetc=x (0 for all and x>0 for lamp x) CZERO Set zero for current sensor Esetc MEASURE Make a single measurement TIMESTAMP=x Set clock time to x (seconds elapsed since 1970-1-1) TESTREALY Switch on all relay one-by-one VTYPE=x Set voltage sensor type=x CTYPE=x Set current sensor type=x PHENABLE=x Enable or disable pH sensors (x=1 or 0) for Landfill gas expt N=x (or M2=x) Rotate the servo motory with an angle=x ----- When the following commands are applied to polarization expt, add prefix "T" or "P" for the stage table or polarizer ---- ANGS=x Rotate the step motor of the table or polarizer to a given angle x ANGM=x Mark current position of the table or polarizer as a given angle x (for step motor) ANGLE=x Rotate the step motor of the table with a given angle x (or A=x) PA=x Rotate the step motor of the polarizer with a given angle x TA=x Rotate the step motor of the table with a given angle x ANGM=x Mark current position of the step motor as a given angle x (for step motor) ANGC=x Calibrate the step motor with steps per angle = x SPA=x Set the step motor with steps per angle = x SPEED=x Set the step motor with speed = x