: The high-frequency developer community, bringing together different sources of knowledge and bringing together more IoT enthusiasts to get projects and development started to spreadArchitectureAs a PAAs layer, onenet bridges the SaaS layer and IaaS layer, providing the core capabilities of the middle tier, respectively, upstream and downstream.Application ScenariosPlatform FeaturesPlatform Information ModelTerminology Introduction
Product ID (Pr
Hellox successfully docking with China Mobile IoT platformThrough the efforts of Hellox project team colleagues, especially Tywin (@ Hurricane) efforts, Hellox the latest version V1.78 has successfully completed docking with China Mobile Onenet (open.iot.10086.cn) IoT platform. This marks a significant step forward for the Hellox operating system to applications in the IoT domain.The Onenet platform is a cl
China Mobile Internet of Things open platform: https://open.iot.10086.cn/I. Overview of the PlatformBrief introductionOneNET is the China Mobile IoT Co., Ltd. in response to " mass innovation, entrepreneurship " and based on the concept of Open win-win, open cloud platform for independent research and development of public services, for a variety of cross-platform IoT applications, industry solutions to provide a simple mass connection, cloud storage , message distribution and big data analytics
Onenet platform HTTP escalation and acquisition device data
@date: 2017-03-24 Advance Preparation
Recently looking at some related things networking platform, mobile Onenet platform has become the first choice, which open interface is relatively clear, although now the function is relatively simple, equipment access, data escalation and acquisition, triggering applications and real-time display of data flo
, compile without error. We look at how the final run results. First we log in to Onenet, configure the device and application, and then download the program to power up to see XG, Yg, ZG data and the last time we read the temperature and humidity data:Let's look at what the data in the display looks like. There are some differences in the display accuracy, but the basic is consistent.At this point, we have completed the acquisition of ADXL345 data an
The acquisition of atmospheric pressure and temperature is also a necessary parameter in the accounting of atmospheric standards, we must know the pressure and temperature in order to calculate the parameters of the standard conditions, we need a can detect both the pressure and the temperature of the components.1 , hardware overviewMS5837 pressure sensor is a kind of sensor which can be used on the circuit board to detect 10-1200mbar pressure range, the sensitivity is very high, it can detect t
1. The first problem encountered, said that the document is missing, but obviously there is this file ah?' Build_scons\arm\hi2115\standard\application_core\lib\onenet\sconscript '2. scon file error, what does the following phrase mean?" E:\PROJ_1\35_onenet\Hi2115_B300_OneNET2.2\src_release\src\SConscript " 111 in // below is the specific code for the error 'sconscript'), {' Env ' for in platform]Onenet B
As an environmental data monitoring station, the first step is to obtain the data of respirable particulate matter in the atmosphere. In order to detect PM25 data, we use the HLPM025K3 model sensor, the Beijing Maritime Union, which uses a laser method to measure PM25 and PM10 data.This type of sensor detects the following objects:M2.5: Measuring 0.3-2.5 micron particulate matter in air;PM10: Measures 0.3-10 micron particulate matter in the air.The communication protocol used by the sensor is as
Gas sampling using active gas extraction method to ensure adequate and stable airflow, so we use air pump to extract gas to complete.1 , design OverviewThis requirement allows the customer to set the speed of the motor, but does not require dynamic adjustment. There are many ways to control the motor, and we use it in a relatively simple way. We implement this control process by using a timer to generate PWM imports.2 , Hardware connectionControl of the motor we use the Advanced timer TIM1 gener
command came up? Positive into the test, found that registration will fail, only to the success of the connection, are registered successful has not been issued down. Is the array of saved parameters not enough 11? It is very likely that the at command is not found, it is estimated that the character is wrong, to verify that notify is not finished, continue to the next notify. Next use SECURECRT software, test the higher baud rate, see is reply what? The 9600 baud rate is problematic with the i
Modification
#define DEVICEID "XXXXXX"#define APIKEY "Xxxxxxxxxxxxxxxxxx"#define CWJAP "at+cwjap=\" xxxxxxxx\ ", \" xxxxxxx\ "\ r \ n"top two macros define Onenet platform-related, last WiFi SSID name and password, these three macros are modified according to their needsonenet Platform Operation
Set GPIO status
The above command realizes the bright blue led.
Read GPIO status
Currently showing blue lit, other three LED
Because of the large amount of data that needs to be recorded, and sometimes the user is inconvenient to upload data in real time, it is required to use SD card to store data and then manually collect uploads. For this we have chosen a Universal SD
correctly, note case5.At+cifsrQuery IP, because there are STA and AP two mode, so there are two sets of Mac and IP, common is 192.168.x.x LAN IP6.at+cipmux=0Set up a single link, pass-through can only be done in single-connection mode, so be sure to use it before establishing the connection (at+cipmux=0 Setup single connection)7.At+cipmode=1Set the pass mode8.at+cipstart="TCP","183.230.40.33",Connecting Onenet servers9.At+cipsendInitiate a pass-throu
correctly, note case5.At+cifsrQuery IP, because there are STA and AP two mode, so there are two sets of Mac and IP, common is 192.168.x.x LAN IP6.At+cipstart= "TCP", "183.230.40.33", 80Connecting Onenet servers7.at+cipsend=201Send the data, the total data length is 201, this 201 is required to calculate the total data to be sent, cannot write wrong8.Post/devices/79146/datapoints http/1.1api-key:pmwltnkdbsrekfvg7gscluxdxa4ahost: api.heclouds.comconnec
Contact Us
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.