background image

P4S-342 User Manual > Introduction

2017-12-06

Sollae Systems

page 1 of 17

Overview

P4S-342 is an industrial programmable I/O board. You can build various network communication
systems connecting P4S-342 to many devices such as sensors and actuators. We provide a self-
development programming language, which is called PHPoC, for programing P4S-342. This language
is easy to use and compatible with PHP which is widely used script language.

※ PHPoC is basically compatible with PHP but those languages are not the same because of
restrictions about embedded system. Refer to the 

PHPoC Language Reference

 and 

PHPoC vs PHP

 for

detailed information.

Summary of Contents for P4S-342

Page 1: ...uch as sensors and actuators We provide a self development programming language which is called PHPoC for programing P4S 342 This language is easy to use and compatible with PHP which is widely used s...

Page 2: ...SB Provides IEEE802 11b g Wireless LAN Provides 22 digital i o and 6 analog input ports Provides 2 UART ports Provides 4 hardware timer Provides I2C and SPI interfaces Provides TCP IP stacks Provides...

Page 3: ...Ports UART0 1 Baudrate 1 200 bps 230 400 bps Network IEEE802 11b g Wireless LAN require Ralink RT3070 5370 chipset Wireless LAN Adapter USB USB Host for WLAN adapter USB Device for PC Digital I O UIO...

Page 4: ...P4S 342 User Manual Dimension 2017 12 06 Sollae Systems page 4 of 17 Dimension Dimensions unit mm may vary according to a method of measurement...

Page 5: ...s 1 time at a time UIO30 on board LED connected with 30th pin of UIO0 UIO31 on board LED connected with 31th pin of UIO0 PWR STS UIO30 and UIO31 are also located on the opposite side 2 USB Host Port f...

Page 6: ...gh this port However P4S 342 may not work properly in case of supplying power via this port only due to insufficient current 5 Supplying Power DC 5V Input This port is the main input port for supplyin...

Page 7: ...3 SPI MOSI UIO0 3 15 UIO0 15 U0TX 4 UART 0 TX UIO0 4 16 UIO0 16 U0RX 5 UART 0 RX UIO0 5 17 UIO0 17 SCL 6 I2C SCL UIO0 6 18 UIO0 18 SDA 7 I2C SDA UIO0 7 19 UIO0 19 8 UART 0 RTS UIO0 8 20 UIO0 20 9 UART...

Page 8: ...Number of Channel 6 channels Interfaced Pin Label AREF AD0 5 Hardware Timer HT P4S 342 provides 4 hardware timers called HT Specification of HT is as follows Parameter Value Mode Output mode toggle pu...

Page 9: ...RX 11 GND Optional U1RTS 12 U1CTS 13 Signal Level 3 3V Baud Rate 1 200 230 400 bps Parity NONE EVEN ODD MARK SPACE Data bit 8 7 Parity is required to use 7 data bit mode Stop bit 1 2 Flow Control NONE...

Page 10: ...Pin Label SCL SDA Data Rate Standard mode 100Kbps or Fast mode 400Kbps Address Type 7bits Smart expansion Procedure Call SPC P4S 342 provides an SPC interface for communication with smart expansion bo...

Page 11: ...products You need to install this program on your PC for using PHPoC Download PHPoC Debugger PHPoC Debugger Manual Functions and Features of PHPoC Debugger Upload files from local PC to PHPoC Downloa...

Page 12: ...t Connect the USB device port of P4S 342 to your PC via a USB cable 1 Run PHPoC Debugger 2 Download PHPoC Debugger PHPoC Debugger Manual Select connected COM PORT and press connect button 3 If USB is...

Page 13: ...aring initialization Blink very rapidly 3 Check if the STS LED is turned OFF Initialization ready Off 4 Release the function button right after the STS is OFF If you don t release the button within 2...

Page 14: ...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 Int...

Page 15: ...USB WLAN adapter SSID Once WLAN Easy Connect function is activated in the Button setup mode P4S 342 uses SSID including its own MAC address like an AP SSID is contained the second half of the P4S 342...

Page 16: ...lowing Entering ISP mode 1 Make P4S 342 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 to PH...

Page 17: ...rt0 1 NET 1 mmap net1 TCP 5 mmap tcp0 4 UDP 5 mmap udp0 4 Digital I O 1 mmap uio0 pin 0 21 30 31 ADC 2 mmap adc0 1 ST 8 mmap st0 7 HT 4 mmap ht0 3 SPI 1 mmap spi0 I2C 1 mmap i2c0 RTC 1 mmap rtc0 UM 4...

Reviews: