phpoc P4S-342 Bedienungsanleitung

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.

P4S-342 User Manual > Features
2017-12-06 Sollae Systems page 2 of 17
Features
Provides Self-Development PHPoC Interpreter
Provides simple development environment via USB
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 a Web Server
Support Websocket, Telnet, SSH, SSL
Provides the various libraries such as Email, DNS, MySQL and so on
Provides PHPoC Debugger - a development tool for Windows

P4S-342 User Manual > H/W Specification
2017-12-06 Sollae Systems page 3 of 17
H/W Specification
Power
Input 1 DC 5V (±0.5V)
Input 2 DC 5V (±0.5V) - USB Device Port
Current
Consumption
Typical - about 85mA(※ without USB WLAN adapter)
Power Down mode - less than 200uA
Dimension 66.5mm x 63.8mm x 13mm
Weight about 27g (without USB WLAN adapter)
Interface
UART 2 X UART 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 UIO0: pin #0 ~ #21, #30(LED), #31(LED)
Analog Input ADC_CH0 ~ 5, AREF, 12-bit resolution
Hardware Timer (HT) HT0 ~ 3, toggle/pulse/pwm output and
capture mode
SPI NSS, SCK, MISO, MOSI
I2C SCL, SDA
SPC STX, SRX, SRO
Internal Battery 3V(rechargeable)
Wireless LAN Security WPA-PSK / WPA2-PSK,
WPA-Enterprise(TLS/TTLS/PEAP)
Temperature Storage
/Operating -20℃ ~ 60℃
Environment RoHS Compliant

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.

P4S-342 User Manual > Layout
2017-12-06 Sollae Systems page 5 of 17
Layout
1. LED
There are six LEDs on the P4S-342 board.
LED Action
PWR / 3.3V / PWR5 supplying power > ON
STS running PHP > repeat On and Off in every second
not running PHP > briefly blinks 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 for Connection with WLAN adapter
P4S-342 provides a USB host port for an USB WLAN adapter. You can connect P4S-342 to Wireless
LAN by connecting an WLAN adapter to this port.
※ Caution: Only adapters using Ralink RT3070/5370 chipsets are available.

P4S-342 User Manual > Layout
2017-12-06 Sollae Systems page 6 of 17
3. Function Button (Func)
The function button is used for changing mode to the Button setup mode.
4. USB Device Port for connection with PC
The USB device port is to connect with PC. You can access to P4S-342 via development tool by
connecting USB cable to this port. You can supply DC 5V power through 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 supplying power. Specification is as follows:
USB Device port (Micro USB)
This port can be a sub input port for supplying power.
6. Reset Button (RESET)
This button is used for hardware reset.
7. Console Port
This port is console port for management.
Division Value
Signal Level 3.3V
Configuration 115,200bps / 8 Data bit / 1 Stop bit / No parity
Pin Assignment #1 - 3.3V, #2 - RX, #3 - TX, #4 - GND

P4S-342 User Manual > Layout
2017-12-06 Sollae Systems page 7 of 17
8. JP1
Label Description Label Description
3.3V 3.3V Output PWR5 Output Supplied Power
(5V±0.5V)
GND Ground AREF ADC reference input port
AD0 ADC channel 0 AD3 ADC channel 3
AD1 ADC channel 1 AD4 ADC channel 4
AD2 ADC channel 2 AD5 ADC channel 5
GND Ground GND Ground
HT0 Hardware Timer 0 HT2 Hardware Timer 2
HT1 Hardware Timer 1 HT3 Hardware Timer 3
NSS/0 SPI - NSS / UIO0 #0 12 UART #1 RTS / UIO0 #12
SCK/1 SPI - SCK / UIO0 #1 13 UART #1 CTS / UIO0 #13
MISO/2 SPI - MISO / UIO0 #2 14 UIO0 #14
MOSI/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 #0 CTS / UIO0 #9 21 UIO0 #21
U1TX/10 UART #1 TX/ UIO0 #10 STX SPC TX
U1RX/11 UART #1 RX/ UIO0 #11 SRX SPC RX
GND Ground SRO SPC Reset
PWR5 Output Supplied Power
(5V±0.5V) 3.3V 3.3V Output
9. VDDA-AREF
If you connect this port, 3.3V is supplied to the analog input reference port (AREF).
10. Internal Battery
Internal battery is for saving log messages and operating RTC. Specification of this battery is as
follows:
Parameter Value
Capacity 5.8mAh
Nominal Voltage DC 3V
Charge Voltage DC 2.8V ~ 3.1V
※ Refer to the datasheet for more information about the battery

P4S-342 User Manual > Peripherals(JP1)
2017-12-06 Sollae Systems page 8 of 17
Peripherals (JP1)
Analog Input: ADC
P4S-342 provides 6 ADC input channels.
To use the ADC, the reference voltage input is required. When VDDA-AREF jumper is connected,
3.3V is connected to the reference voltage input pin.
※ VDD-AREF jumper is connected on the P4S-342 when shipped from the factory.
When directly inputting the reference voltage without using JP4, input it with the AREF pin.
※ Caution: Inputting a voltage to the AREF pin while the VDDA-AREF jumper is connected may
cause the product to malfunction. Therefore, before connecting the voltage to the AREF pin, make
sure that the jumper is NOT connected.
Specification of an ADC port is as follows:
Parameter Value
Resolution 12 bits (0 ~ 4095)
Input Type DC Voltage (Max. 3.3V)
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, pulse, PWM), Capture mode
Unit ms(millisecond) or us(microsecond)
Number of Channel 4 channels
Interfaced Pin Label HT0 ~ 3
Digital Inputs/Outputs: UIO
P4S-342 provides 24 digital I/O ports including 22 universal I/O ports (numbered 0 to 21) and 2 LED
ports (numbered 30 and 31). Two LEDs on board are assigned to number 30 and 31. The pins
numbered 0 to 21 can be available to be set digital input or output but note that pins which are
shared with serial interfaces (numbered 0 to 13) cannot be available to use a digital input or output
while they are being used by the serial communication (UART, SPI and I2C).
Electrical Characteristics of Digital I/O
Parameter Description Min.[V] Max.[V] Current
VIH HIGH level input 2.31 - -
VIL LOW level input 00.99 -
VOH HIGH level output 2.4 - +8mA
VOL LOW level output 00.4 +8mA

P4S-342 User Manual > Peripherals(JP1)
2017-12-06 Sollae Systems page 9 of 17
Pin Assignment of Digital I/O
Serial: UART
P4S-342 provides 2 UART ports.
Specification of UART is as follows:
Division Value
Number of Port 2
Interfaced Pin Label
UART0: Required(U0TX/4, U0RX/5, GND), Optional(U0RTS/8, U0CTS/9)
UART1: Required(U1TX/10, U1RX/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, RTS/CTS
Serial: SPI
P4S-342 provides a SPI interface.
Specification of SPI is as follows:
Parameter Value
Number of Port 1
Signal Level 3.3V
Interfaced Pin Label NSS/0, SCLK/1, MOSI/2, MISO/3
SPI mode mode 0 ~ 3
Bit Order LSB > MSB or MSB > LSB
Transmission Unit 8bit or 16bit
Basic Clock Speed 42㎒
Frequency 2 / 4 / 8 / 16 / 32 / 64 / 128 / 256

P4S-342 User Manual > Peripherals(JP1)
2017-12-06 Sollae Systems page 10 of 17
Serial: I2C
P4S-342 provides an I2C interface.
Specification of I2C is as follows:
Parameter Value
Number of Port 1
Signal level 3.3V
Interfaced 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 boards.
Specification of SPC is as follows:
Parameter Value
Number of Port 1
Signal level 3.3V
Interfaced Pin Lable STX, SRX, SRO
※ Refer to the PHPoC Device Programming Guide for p40 for detailed information about
peripherals.
Inhaltsverzeichnis
Beliebte Hauptplatine Handbücher anderer Marken

Telit Wireless Solutions
Telit Wireless Solutions SL869-3DR Bedienungsanleitung

Gigabyte
Gigabyte GA-9IVDT Bedienungsanleitung

Texas Instruments
Texas Instruments ADS8372EVM Bedienungsanleitung

Commell
Commell MS-C73 Bedienungsanleitung

IBT Technologies
IBT Technologies MB860 Bedienungsanleitung

Nvidia
Nvidia TEGRA DG-04927-001_V01 Bedienungsanleitung











