We highlight uploading switch in our PCB layout.
Instruction Table
This table contains all instructions that you can use to directly control the OpenPneu.
You can send instructions through Arduino IDE, Python or any other programing language which can support serial communication.
Instruction | Reply | Functionality |
---|---|---|
AT | OK | Check Connection |
AT+ADD | ADD=XX | Check Device Address |
AT+SADD=XX | SADD=XX | Modify Device Address |
PREAD=XX | Val=xx | Pressure of Channel XX: xx kPa |
VON=XX | OK |
Set Valve xx to High |
VOFF=XX | OK | Set Valve xx to Low |
PSPEED=XX,YY | OK | Set Channel XX Flow Rate to YY |
CON=XX | ON | Enable PID Control on Channel XX |
CON:ALL | ALL ON | Enable PID Control on all channels |
COFF=XX | OFF | Disable PID Control on Channel XX |
COFF:ALL | ALL OFF | Disable PID Control on all Channels |
PSET=XX,YY | XX=YY | Set Target on Channel XX to YY kPa |
PSET:X,X,...,X; | OK | Update Target Pressure on All Channels |
AT+RST | OK | Reset All |
Download the Surface interface (UI) in python code by click icon
you may need to download pyqt5 before using this code.