4. Data Analysing through Debugging

4. Data Analysing through Debugging

Postby Jasmine » Wed Jan 07, 2015 10:26 am

This video below contains a brief explanation and a simple application for those who are new to Sollae Systems' PHPoC programmable devices.

In this third video, we will learn to test PBH-101 with a thermometer module.
We will program to get the data of current temperature by analyzing serial data from the thermometer module.

Process Diagram

Image

We can check the serial temperature data (4th and 5th byte) which is 11 in hexadecimal form.
Then can be analysed as integral number which is 17.
We can see how the data changes through the PHPoC Debugger.

Sample Source & Library
You need sample source and library to try application in the video.
Go to PHPoC Forum to download it.

- sd_101.php (Library)
- sn_tcp_ac.php (Library)
- init.php File

Tutorial Video
※ Watch this video with 720p(HD) for best screen quality.

phpBB [video]


Result Source
Firmware v1.0.0: debugging_output (11.81 KB)
New Firmware v1.1.0:
debugging_output_1.1.0.zip
(11.95 KiB) Downloaded 210 times


PHPoC Tutorial
1. PHPoC Development Preparation
2. Transformation of Serial Data
3. User's Environment Variable Setup through the Web
4. Data Analysing through Debugging
5. Sending Email when an Event Occurs
6. Saving Data in DB(MySQL)
Jasmine
 
Posts: 7
Joined: Fri Jan 02, 2015 2:08 pm

Return to Tutorial Video

Who is online

Users browsing this forum: No registered users and 1 guest

cron