There is a GitHub repository with all the code.
What is IoT?
Once you build something what do you do with connectivity and data.
Transport: Send data from the device to server. Or phone ->server ->device.
Most of the problems fit into these 2 concepts.
Know how to use these tools and set a database up.
We’ll write some code in Javascript since it runs everywhere. May do some python.
On hardware side we use Arduino maker 1010. And environment shield that goes on the top of it. Can get from Equipment room for whole of the class.
Once we get Arduino to do something, we need to transport that data somewhere. Like in semester 1, serial was a transport but that anchors a computer to the arduino. So for transport we have stuff like ethernet, wifi, blue tooth, custom radio stuff.
Simplest way to do this - this was 5 years ago:
Sensor -> Arduino -> serial -> computer
Things have gotten a lot easier now: server costs just a couple of months per month
Another way to do this:
Sensor-> arduino-> xbee/zigbee -> gateway -> server
Another way to do this is using Bluetooth LE (low energy).
Another way to do this is:
Sensor -> Arduino -> network (wifi, cellular LTE) -> server.
Wifi is what we’re going to use in this class to send data.
This class we will use Arduino MKR Family. Theres MKR GSM 1400 if there is no connectivity on internet. We will use MKR Wifi 1010 for the class. Rob got them for class.
On the 1010 its stable. It tries to validate certificate change, so it knows you;’re connecting to a secure server since it has crypto chip. One of the things we’ll briefly talk about it securing it from sniffing.
They’re powered from 5.5 volt powered by usb. Cellular takes a lot of power so it got to be connected to main power. So if you need a project that is disconnected and runs on a battery, it should be done on MKR LoRa radio (Long Range). There is LoRA-wan that puts encryption on the top of that. LoRa is super low power - good for agriculture projects (you have to keep them sleeping a lot so they wake up send a signal and go back to sleep). LORA is pretty good if you need battery but Tradeoff is its super lowbandwith, less than a mb per day. Some Comcast (machine que) version has higher bandwidth. It’s easy to send data from LoRA to server, but its difficult to send it back to server (because its sleeping).
—————————————————
Please hit the buttons for project's GitHub, documentation and website. Details here too: http://bit.ly/itp-d2d-20
There is a GitHub repository with all the code.
What is IoT?
Once you build something what do you do with connectivity and data.
Transport: Send data from the device to server. Or phone ->server ->device.
Most of the problems fit into these 2 concepts.
Know how to use these tools and set a database up.
We’ll write some code in Javascript since it runs everywhere. May do some python.
On hardware side we use Arduino maker 1010. And environment shield that goes on the top of it. Can get from Equipment room for whole of the class.
Once we get Arduino to do something, we need to transport that data somewhere. Like in semester 1, serial was a transport but that anchors a computer to the arduino. So for transport we have stuff like ethernet, wifi, blue tooth, custom radio stuff.
Simplest way to do this - this was 5 years ago:
Sensor -> Arduino -> serial -> computer
Things have gotten a lot easier now: server costs just a couple of months per month
Another way to do this:
Sensor-> arduino-> xbee/zigbee -> gateway -> server
Another way to do this is using Bluetooth LE (low energy).
Another way to do this is:
Sensor -> Arduino -> network (wifi, cellular LTE) -> server.
Wifi is what we’re going to use in this class to send data.
This class we will use Arduino MKR Family. Theres MKR GSM 1400 if there is no connectivity on internet. We will use MKR Wifi 1010 for the class. Rob got them for class.
On the 1010 its stable. It tries to validate certificate change, so it knows you;’re connecting to a secure server since it has crypto chip. One of the things we’ll briefly talk about it securing it from sniffing.
They’re powered from 5.5 volt powered by usb. Cellular takes a lot of power so it got to be connected to main power. So if you need a project that is disconnected and runs on a battery, it should be done on MKR LoRa radio (Long Range). There is LoRA-wan that puts encryption on the top of that. LoRa is super low power - good for agriculture projects (you have to keep them sleeping a lot so they wake up send a signal and go back to sleep). LORA is pretty good if you need battery but Tradeoff is its super lowbandwith, less than a mb per day. Some Comcast (machine que) version has higher bandwidth. It’s easy to send data from LoRA to server, but its difficult to send it back to server (because its sleeping).
—————————————————
Please hit the buttons for project's GitHub, documentation and website. Details here too: http://bit.ly/itp-d2d-20