background image

P5H-153 User Manual > How to Use > Web Interface

2021-12-10

Sollae Systems

page 10 of 13

Web Interface

PHPoC itself has a webserver to provide a web interface. When receiving a HTTP request, it executes
the php script in the requested file (if there) and respond to the client. Webserver is independent of
PHPoC main script. TCP 80 is used for web server and you can use the interface via Internet Explorer,
Chrome or any other web browsers.

How to use web interface

To use the web interface, "index.php" file should be in the file system of your PHPoC. Connect to
this page by entering device IP address after connecting it to network.

If the name of file is not "index.php", just specify the name of file after the IP address with slash
mark.

Practical Use of Web Interface

Since the web server executes the php script in the requested file, user can put php code in the in
the requested file to interact with peripherals. It is worth noting that there is other way to interact
with the peripherals in real-time from web interface. This can be done by using websocket.

Содержание P5H-153

Страница 1: ...sensor s data to remote hosts via network Programming on this product requires the use of PHPoC PHP on Chip PHPoC is quite similar in syntax to PHP the general purpose scripting language Therefore an...

Страница 2: ...developed PHPoC interpreter simple development environment via USB 10 100Mbps Ethernet 4 analog input ports 0 5V or 0 20mA 2 user defined LEDs self developed TCP IP stacks Web Server WebSocket TLS va...

Страница 3: ...0 2V Current Consumption typical approximately 264mA Dimension 94mm x 57mm x 24mm Weight approximately 65g Interface Analog Input 8 pole terminal block 4 ADC ports 0 5V or 0 20mA Network 10 100Mbps Et...

Страница 4: ...ser Manual Layout 2021 12 10 Sollae Systems page 4 of 13 Layout 1 Supplying Power DC 5V Input This port is the input port for supplying power The input voltage is DC 5V 0 2V and the specification is a...

Страница 5: ...nal block Each port is mapped 0 to 3 channel of ADC device ADC0 1 2 for programming You must the input type of the each port The input type will be voltage DC 0 5V when you output LOW to each input ty...

Страница 6: ...ption UIO pin A Green User defined LED UIO0 30 B Green User defined LED UIO0 31 RJ45_G Green System LED system status N A RJ45_Y Yellow System LED network link status N A 5 Function Button The functio...

Страница 7: ...ucts You need to install this program on your PC for using PHPoC PHPoC Debugger Download Page PHPoC Debugger Manual Functions and Features of PHPoC Debugger Upload files from local PC to PHPoC Downloa...

Страница 8: ...t of P5H 153 to your PC via a USB cable 1 Run PHPoC Debugger 2 Select connected COM PORT and press connect button 3 If USB is successfully connected connect button will be inactivated and disconnect b...

Страница 9: ...e RJ45_Y LED is turned OFF Initialization ready Off 4 Release the function button right after the RJ45_Y is OFF If you don t release the button within 2 seconds the state go back to the step 3 Progres...

Страница 10: ...owsers How to use web interface To use the web interface index php file should be in the file system of your PHPoC Connect to this page by entering device IP address after connecting it to network If...

Страница 11: ...Passwords 2021 12 10 Sollae Systems page 11 of 13 Setting Passwords If you set a password for the product you must enter the password when connecting the product via USB or network Please refer to the...

Страница 12: ...Entering ISP mode 1 Make your PHPoC product to enter ISP mode by supplying power while pressing FUNC button In the ISP mode you can access to PHPoC by PHPoC Debugger without running a script Connect...

Страница 13: ...ity Path Note NET 1 mmap net0 TCP 5 mmap tcp0 4 UDP 5 mmap udp0 4 ADC 3 mmap adc0 3 4 channels 0 3 UIO 1 mmap uio0 LED 2 pin 0 30 31 UIO 4 pin 0 16 19 ST 8 mmap st0 7 UM 4 mmap um0 3 NM 1 mmap nm0 RTC...

Отзывы: