Quick Steps Application Tutorials & Examples PHPoC Learning Center Community

Let’s learn PHPoC!


You are new to IoT development. You are not a programmer. You are not a hardware engineer. Don't worry!
This page provides you with step-by-step instruction to learn how to program and create IoT devices.

Getting Started with PHPoC in 5 minutes!





This video shows you how easy it is to get started with PHPoC.

Quick Steps


Prepare Your Hardware

Collect the necessary components



Prepare Your Hardware
Install Integrated Development Environment (IDE)

Download and install PHPoC debugger



Install the Development Environment
Make Connection

Plug USB WLAN to PHPoC board.
Connect PHPoC board to PC via USB cable.
Connect PHPoC Debugger to PHPoC board.

Make Connection
Configure Network

Click “Setting” button.
Choose “Infrastructure” option and input Wi-Fi SSID and password.
Click “Write” button to save the setting.

Configure Network
Write “Hello World” Program

Click “File” menu -> Create index.php file, input code and save.
Click “Function” menu -> “Network Information” to see IP address, for example, 192.168.0.213
Open a Web Browser, type IP address.

Write “Hello World” Program
Use Examples

Download PSP support packet.
Upload libraries and an example to PHPoC board to see how to control/monitor sensors/devices.


Use Examples

What can I do with PHPoC?

Generally, main tasks of IoT devices is to send data that is collected from sensors through the internet or
receive data from the internet and take some specific actions based on the data.
To be more specific, PHPoC-powered IoT applications can be classified into the following types.


PHPoC can connect to the internet and exchange data via various protocols (e.g., TCP/IP, UDP, DNS, HTTP, MQTT, ICMP...), in a normal or secure way (SSL/TLS).

* Examples: DNS Lookup, Sending Email, Making HTTP Request, Updating MySQL




PHPoC allows you to read the sensing data from sensors and send it to the internet periodically, on event or on demand. Whatever you want to monitor, PHPoC offers many ways to do it, such as via web, via IoT cloud, email or MySQL, etc.




monitoring
web icon
Via Web
You can create Web App on PHPoC, which enable to monitor states of sensors/device from web browser on PC, tablet or smart phone. Especially, since PHPoC supports HTML5, the sensing data can be sent real-time via WebSocket and visualized on web browser.

* Examples: Web-based Thermometer, Monitoring Toilet Paper
cloud icon
Via IoT Cloud and
Web Service
PHPoC can send the sensing data to IoT clouds or web services via various protocol (such as HTTP, MQTT, TCP socket) in secure way (SSL/TLS).

* Examples: PHPoC with ThingSpeak, PHPoC with Samsung IoT Cloud
email icon
Via email
PHPoC can send notification via email when an event is detected. PHPoC supports both SMTP and ESMTP.

* Examples: Door-opening Monitoring via Gmail, Detecting Someone Taking Your Stuff
database icon
Via MySQL
PHPoC can periodically insert/update the sensing data or device's state to remote MySQL server.

* Examples: Simple IoT Lock

You can control PHPoC-powered devices from anywhere through the internet. PHPoC offers many controlling ways, such as via web, via IoT cloud or voice interaction, etc.




controlling
web icon
Via Web
You can create Web App on PHPoC, which enable to control devices from web browser on PC, tablet or smart phone. Especially, since PHPoC supports HTML5, devices can be controlled through WebSocket using graphic UI on web browser.

* Examples: Feeding Fish, Web-based Joystick, Arm Robot Controlling, Drawing via Web
cloud icon
Via IoT Cloud
or Web Service
You can control PHPoC-powered devices via Clouds or web services via various protocols (such as HTTP, MQTT, TCP socket).

* Examples: PHPoC with IFTTT, PHPoC with MQTT
voice icon
Via Voice Interaction
You can create the PHPoC-powered devices which can be controlled via intelligent personal assistants (such as Google Assistant, Amazon Alexa, Microsoft Cortana, etc).

* Examples: PHPoC with Amazon Echo, PHPoC with Google Home, PHPoC with Cortana

You can use PHPoC to create machine-to-machine devices.
These devices interact with each other over the internet with or without human intervention.

* Examples: Internet Switch




automation

When developing an IoT device, there is some information need to set by end-users (such as Wi-Fi SSID and password, IP address, user account, scheduling ...) This information should be stored on non-volatile memory to make sure that this information is not lost when device is powered off. There are some ways to provide setting UI. You can develop software and application for setting. However, by doing this way, you may need to develop in multiple platforms such as Windows, macOS, iOS, Android ... There exists an easier way: just develop a web-based app, and you will be able to run it on all platforms that support web browsers.

* Examples: Setting via web




setting

There are a lot of machines that are not connected to the internet. These machines exchange data with PC or another machine via serial port, which has limited distance. You can use PHPoC to creates an Internet Gateway, helping the machines exchange data via unlimited distance. You can also pre-process data at PHPoC Gateway before transferring.

* Examples: Internet Signage




datagateway

Developer Guide



This portal provides all necessary documents of PHPoC.

Learn more >

Tutorials & Examples



This part provides a lot of tutorials and examples ranged from easy to advanced.
Users can quickly learn about PHPoC and how to step by step create a PHPoC-powered IoT device.




learning center logo
Look for a PHPoC Learning Center in your location.
Let's learn PHPoC, and be a part of IoT world!

Learn more >