Home > Net >  Wisdom agriculture - the Internet of things
Wisdom agriculture - the Internet of things

Time:09-18

Need to develop a set of intelligent agricultural system in c #, that some of the preparation work is done, including web server-side data display,
At this stage need to do is to connect the sensor to collect data, then real time display on the web, but also the need to control sensor devices and off,
(I want to own a train of thought: do a Windows service to establish a connection with sensor, access to the data from the sensor to the server database, and then the web side set a timer to access database data, real-time)
So web side I should how to control the sensor switch, is also to establish a connection with the sensor web side?
I don't know you great god have any good plan

CodePudding user response:

You this kind of project is no need to tangle, pragmatism, directly with Microsoft, ali, baidu IOT platform for

Such as baidu "tiangong platform" https://cloud.baidu.com/solution/iot/index.html? Track=cp: nsem | pf: PC | pp: iot | pu: brand | ci: | kw: 108715

CodePudding user response:

This you need to think on the hardware side, can look for cheap network controller, such as ADAM6066, via TCP/IP transmission modbus protocol control relay switch

CodePudding user response:

Establish a connection with sensor of Windows service is also regularly to the database, web side put control sensor identification in the database, just don't know you to require high efficiency is not high,

CodePudding user response:

Need the activex or deployment of the client

CodePudding user response:

Time to get? Don't need to use a Socket real-time transmission

CodePudding user response:

You this is not professional..

Don't have to match a computer to use your "high-tech"? Like you this thing is to install into the "vegetable greenhouses". Would you ever put a computer here?

Apparently impossible..

So you must want to be in your "sensor" tamper or MCU.. Now the motherboard can be an external above some modules such as esp8266 the wifi module..

He himself can connect to the wifi network and support programming so the general practice in general industry is in this module is connected with TCP or HTTP server communication rather than your mouth "Windows service" :



As if to say too much...

You want to query control.. What development is based on the agreement that you will see you cough up.. Is HTTP with socket2 languages that I give you said it.



Is your Windows services has been query interface returns whether need control..

Yeelink is the practice of * (first) control is to update the database field. Returns 0 or 1 and then operated services downward to module

Query words is also regularly post values to the database query is just the value of the database. Of course you can use a timer post their own data and see if the need to control..

socket

The HTTP relatively complex is equivalent to the web (mobile phone) - server - the computer - hardware four things together..

Web (mobile phone) to send data to the server server find the client computer client find hardware module downstream data..

Computer module receives data response to the computer to the server server to a web (mobile phone).. Real-time is stronger in these things. Of course need technology, and design the architecture also is slightly more difficult than HTTP...

As for you to choose

CodePudding user response:

Starting from 0 do iot wisdom agriculture with Java
Network location address: https://pan.baidu.com/s/1qXTE4a5lIKbNt3ekWQ30rw extraction code: rxc9
Alternate address (tencent micro cloud) : https://share.weiyun.com/5HFAMT9 password: ame9vt
  •  Tags:  
  • C#
  • Related