|
|
View previous topic :: View next topic |
Author |
Message |
hmmpic
Joined: 09 Mar 2010 Posts: 314 Location: Denmark
|
IoT server and hardware? |
Posted: Sun Aug 14, 2016 5:19 am |
|
|
Building a IoT hardware units will expect a server in the other end.
In my case:
-IoT hardware connect to internet ex. WIFI, 2G,3G, or other module.
-IoT hardware have typical a price model there must be low.
-IoT sample some date and the User can control it from smartphone, or other.
There are some open and free server out there.
Is there someone there have used a PIC in this setup?
I have build a some small C# servers there communicate with a PIC custom hardware there sample some data, and then the user can do something from a browser.
What i need is a system there can handle a lot more TCP connection (+15000) and therefore i looked for some open source IoT server project. I just think a PIC18 is not the solution for the hardware project.
I have no experience with ARM and don't want any CPU there have some kind of OS. I like PIC, they are low cost, and do anything, but maybe in this case i must look for something else.
It is not a hobby project, so there are some money to get a compiler and other stuff. As stated before, CCS and PIC is what i normally use.
Is there any one there have some hints on this? |
|
|
temtronic
Joined: 01 Jul 2010 Posts: 9229 Location: Greensville,Ontario
|
|
Posted: Sun Aug 14, 2016 8:56 am |
|
|
OK, A PIC18 will more than handle the IoT 'remotes' but I have NO idea WHAT 'computer' could serve as the 'server'( aka what I call a 'host' or 'master') that will handle 15,000 connections. You'll need something with a LOT of RAM and GHz processing speed to handle the data.
I do know that there ain't a PIC made yet that will do it.
Jay |
|
|
hmmpic
Joined: 09 Mar 2010 Posts: 314 Location: Denmark
|
|
Posted: Sun Aug 14, 2016 10:52 am |
|
|
For the server side i agree, Funny "I do know that there ain't a PIC made yet that will do it.
"
The server i agree. There are a lot of free IoT server out there, all have there own API to use for ARM, Linux, Raspberry Pi, ... All platform expect more then a PIC can deliver. I can made my own API, but i wont. Then the best solution for me will be C# and some PIC and hardware.
I just search for other there have made something equal.? |
|
|
Ttelmah
Joined: 11 Mar 2010 Posts: 19518
|
|
Posted: Sun Aug 14, 2016 11:37 am |
|
|
Honestly, an 'OS' is only a set of tools put together to provide various basic functions. You can use as much or as little of it as you want, if you are installing this as a standalone system.
When you code TCP I/P in a PIC, you are basically using a 'network OS'. Code disk I/O, and you then add the file handling parts. Add keyboard and serial, and you have an entire OS....
Now where an OS is based on something like a Linux core, you can elect to remove the components you don't use, when building it. Look at (for example):
<http://moebiuslinux.sourceforge.net/>
I use this on a Pi zero, just using the network I/O functions, and a display, for a number of 'smart instruments'. Exactly your type of project. |
|
|
Gabriel
Joined: 03 Aug 2009 Posts: 1067 Location: Panama
|
|
Posted: Mon Aug 15, 2016 6:26 am |
|
|
What you need is a cloud service like: xively, pubnub, Phant (by sparkfun), or even thingspeak.
Thingspeak and Phant both ofer code you can download and run your own server.
Your PIC loads data, your PC at home just polls the cloud for the information.
Depending on your code, you can use these clouds as a bidirectional comm channel.
G. _________________ CCS PCM 5.078 & CCS PCH 5.093 |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|