Simatic IOT2000 – WHAT IS IT !!!

Hi, Welcome back to the breadboard Do you recognize what this is if your answer is no? then you probably need to subscribe to my channel and to design spark and pay attention to what’s going on in the industrial iot space This is an iot 2,000 the specific ones in iot 2020 I do have an iot 2040 on here as well the main differences being one of them has a single Ethernet and no serial ports and the 2040 has two serial ports and two ethernet aside from that the only real difference is that the 2040 is aimed more at directly the industrial market and has a battery in to maintain a real-time clock the 2020 is more aimed at Educational markets does not have the battery and but you can add one if you want to and is Half a gig of ram versus one gig of Ram So outside of that the two units are pretty much the same so what are they they’re a? intel core 1000 series Sorry, NOT 1Ghz, but 400Mhz cpU running at about a gigahertz As I already said one has a gig of ram one has a half a gig of ram. They have an Arduino compatible header on them I Just pull one apart here. I can show you So this is the iot 2020 and we’ve got Arduino compatible are three headers you’ve got the cork 1000 processor ethernet port on the upside down here on the top and You’ve got two usb ports On the top as well over here And on the back you’ve got a PCI express slot for things like Intel Wi-Fi Bluetooth board or other things that you could put in there and So both of these boards the 2020 in the 2040 they’re aimed at being an iot Gateway Now my question to you is First of all what is an iot Gateway, right? and What do they be Gateways connect to if you understand one you already understand the answer together one? so I’m going to show you some other devices and then pose a kind of question to you Okay, this is a raspberry Pi model 3 it has a quad-core processor gig of Ram Bluetooth Wi-Fi ETc ETc, okay Very very popular in the educational market this is an Arduino uno R3 again very popular in the educational market and amongst hobbyists it has You know in there that petrak it’s going to top my head right now anyway. It’s got very little memory in it It’s got a squared prom to storage and it only runs at 16 Megahertz not 1 Gigahertz these are used for control applications where timing is very very critical and You need to be able to maintain that but predominantly is single threaded although, you can do some Rudimentary Round-Robin kind of writing if you really want it Then I’ve got something like this which is an raspBerry Pi 0 with Wi-Fi that is one without Wi-Fi as well so Knowing and understanding all of those devices I guess I’ve also got a launch Pad as well from Ti which is effectively the equivalent of the Arduino uno and Arduino range as well, but from Texas instruments versus using atmel chips but my question getting back to that is What is the Gateway? What is it equivalent to given all of those devices? What do you think it is equivalent to is equivalent to an Arduino is it equivalent to a raspberry Pi? A combination of them because it has a 1 gigahertz processor A cpU not ade it’s not a microcontroller it’s an actual cpU and it has a half a gig of ram, so a little bit less than the Broschi pi-model freeze, but the same as what’s in the raspberry Pi zero for example It runs at a gigahertz. So way way faster than we know but it also has an Arduino R3 compatible header on for putting Shields and things like that on them so what is it equivalent to? If you ever think about that, I don’t know whether you have an answer in your head yet or not my view is it’s probably the equivalent of the raspberry Pi zero because that from a Unix/linux perspective is about the same, so they’re both running a gigahertz processor The both single called the book of Habakkuk and memory this one happens to have wi-Fi on it as well

But aside from that you know it’s it’s roughly the same and it’s got some gpio on here as well Whereas the Imt 2020 and 2040 also has Arduino Uno header, just like the Arduino is exactly the same kind of header is this same pin out and can be the same logic levels as well as actually a jumper so you can switch between 3.3 and 5 volts, so it’s got the capabilities of this too, but it doesn’t run at 16 Megahertz it actually runs at a gigahertz So way way faster, so I think it’s the combination of the raspberry Pi model yep? I think it’s a combination of the raspberry Pi 0 without Wi-Fi and the Arduino Uno R3 and the reason for that is because you can run Arduino sketches you can take it out doing those steps that I’ve written for this that could have a relay shield on it and RS-485 shield and LCD display shield using the spy Bus as well for displays and things you’ve got Analog inputs digital outputs pulse width modulation outputs and all of those are available on the iot 2020 and 2040 as well but it’s not really aimed at being what I would call an edge device these kind of devices like an Arduino uno, or ESp8266 is which I’ve got an example of here Like this which is an ESp8266 with relays designed to work on main, so there’s a little mains to 5 volt Sorry to 3.3. Volt power supply built into it and it can communicate over wi-Fi, but it’s got very little intelligence You can actually program it and see and everything But it connects – Wi-Fi has got a built-in antenna, but it really doesn’t do too much for you it turns to relay on and off and you could maybe add a temperature sensor and Humidity sensor or something but very very limited functionality and not a lot of business logic now You could put some limited things in there, but you really wouldn’t want to this is designed for going out on the edge of your Network logically speaking and making sensor readings whether that’s monitoring a conveyor system in some kind of manufacturing plant or acting as a little weather station somewhere or an internal humidity control system somewhere and It’s then relaying that data back to a more advanced more powerful system to do the control Whereas an Arduino Uno is based on the 80 Mega 328 cPU and that’s a node That’s another Microcontroller similar to the ESp8266 in its Performance and capabilities for I/o and things like that it just doesn’t have built-in wi-Fi, but it’s also very popular outside of the Arduino uno as in Microcontroller for industrial devices and things like that for sensing and Edge devices and running small devices in the light, it’s not a High powered doing a whole bunch of mathematic you know floating-point operations or anything like that. It can’t really do that It’s not really what it’s aimed for but you can run it for example a CNC from one of these You can give it basic instructions go to these coordinates Make some stepper motors operate Together to carve a circle out of a piece of wood or plastic or something like that, right? It’s it’s very capable for doing something like that, and if you look at my CNC videos You will see, but I actually have an Arduino uno doing just that if you gave it a nestea L file or something like that higher level and Told it to do something with it wouldn’t have a clue doesn’t have enough memory doesn’t have enough of anything to do that All right, so it’s more as I said as an Edge device Limited functionality device, and when you look at things like iot the internet of things it’s all about having little Low-cost Devices scattered everywhere that can Sense and control a limited number of things without too much intelligence But they can report back their status via a wireless via serial of something like that ideally because it’s internet of things normally, it’s Via either a wired or wireless connection, but using Tcp/Ip protocols so that’s kind of like one of the Requirements to being an iot device is that it can if you rewind it to? participate on the internet which means it needs to get a use ip But they don’t have to have a lot of intelligence it could but they don’t have to ignore Mele They wouldn’t so if you’ve got a bunch of these and you want to control the data That goes out onto the internet or to some big Data storage somewhere whether that’s in-house Remote from the location that you’re monitoring or something like that. How do you do that? you could program every single one of these things whether you know you put a wi-Fi shield or an ethernet shield on an Arduino or you know an ESp8266 if you’ve got a Wi-Fi Hotspot nearby could use that you could put some cell phone shields on a thing

But then there’s you’ve got all these different devices all trying to communicate on the network or on the cellular network configure And it can get complicated and really you don’t need it and what you would typically do is you as you use a Gateway to do that and that’s where things like the iot – 2000 series the 2020 and the 2040 come in these are Relatively inexpensive the iot 2020 as an educational platform It’s still fully industrial compliant by the way comes in at under a hundred euros I think it’s about 79 euros or something like that So it’s ready to go in a industrial enclosure It takes 24 volts nominally as this power supply although it can be anything from about 8 volts up to 36 volts for the Power supply, but Normally 24 It’s got your you know ethernet built in already, and it’s got a client and a host USb port built in and if you want to put a shield on here you can to do some i/o but right off the bat it could actually sit there locally and you could plug in a things like the raspberry Pi Approve Wi-Fi adapter will plug right in here the official raspberry Pi one and it will just work right out of the box I’m also using an intel Pshh I Wi-Fi Bluetooth adapter on one of these one at the back with the antennas on the top here right here and That is it sits on the back And you’ve got the antennas and it will quite happily communicate with a bunch of Edge devices that have lower powered Wi-Fi Things on them or you could connect via the usb to a device or you could even have something on the gpio header Sensing or communicating with things now out of the box this comes with Cl Ul and other certifications, but if you start adding your own boards to this for instance if you actually bought the Arduino official Relay board or something like that For instance this one here is currently sitting with the official Arduino Full Channel Relay board on it I’ve got another one with a motor controller on and if you put those in there you officially break the ce eul Certifications because as a complete product it’s not certified in that configuration but when you put these out as a Gateway sometimes you may just have a number of Industrial Plant equipment, and maybe you’re going to be monitoring vibration temperature Even just some simple relays our doors opened are they closed? an over temperature alarm of pressure alarm you may want to just turn on and off a couple of relays maybe for maintenance reasons and You could even be using these for proactive Maintenance by monitoring a certain number of parameters and having some computation being done in here Maybe a quite a bit of business logic and then sending commands back to that Plant equipment or sending requests and data up to a higher level system That’s far more remote from one of these and have it Then receive instructions, so how do you do all that well first of all this is going to be running linux. It’s designed to run Yocto Linux right now although the kwok 1000 processor could probably run a number of other Oss as well, but the one that siemens provides and supports is the yocto linux on here and it comes now with no dread a sequel lite 3 database and mqtt capabilities all on here ready to go you just have to turn them on or off through a configuration screen and What that means for you? Is that this can actually? aggregate a whole bunch of Data with little to no programming And make decisions as to what to do with those x devices so the Edge devices themselves don’t need to have Much intelligence they just report their status and maybe react to some commands that might be sent and The way I do this for a lot of my projects is I have all of these edge devices ESp8266 is Arduino. Yoon’s and things like that one of the first things. I always put onto them is an mqTt Client that then publishes to an mqTt broker Which I actually run on one of these quite happily And it does all the work about publishing and subscribing and managing the data flows between all interested parties now the power of this it has enough horsepower in there to also run something like node read and maintain a relatively Straightforward database remember you’re running off of an sd card, so you don’t want to have too many? Read and writes to that sd Card, but you can maintain a file based database on here and have that uploaded maybe on a routine basis to some remote location

or you can just use it for Reporting trending and stuff like that on a web interface that can also be running on here When you’re using things like node-red it fits on top of nodejs, which is a very popular Java based Environment for doing industrial control home automation and things like that and because it’s graphical and a hosted web page you can have a local Ui which then allows you using a Smartphone or tablet of PC from any location really depends on how you set your network up to interact with it and control What it’s doing set thresholds for alarms and things like that? and if you’ve ever seen no dredd then you’ll know that it’s very easy to program and there are a huge number of Libraries that allow you to do all sorts of protocols. You know whether it be? Mqtt of course talking to sequel like Database, but also things like modbus Profinet is coming and this is just too many really to list as well as integrating with Cloud-based services as well as err from Microsoft Ibm’s Watson Amazon the aws and Google’s cloud services just to name a few most of them are based on some kind of mqTt, or Websockets kind of interface and you can push the data up there a lot of them have api is ready to run under Linux So it’s just a case of downloading it compiling it for the quark 1000 under yocto and away you go the point being though that this is acting as an aggregator and Basically a controlling reporting kind of station that can be used locally if needed has its own web interface but can also Publish them subscribe to a higher level service and act as the Hub for all of your edge devices and in other word for that of course gets back to iot Gateway Which is what its primary uses, but if you want and as an as an educational tool if you want to also have local I/o on here you can do that as one of the reasons why? The Arduino header was put on here is so that you can actually add your own devices but if you want to maintain the C eul certification when you do that for instance You might want to enhance the basic product with something of your own and then resell it then you would have to get it recertified but there is one easy solution right now, but siemens has provided for everybody and that is they have an Iot Io shield for this board that plugs directly into the Arduino R3 headers and this in itself along with the iot Mm Bullets Maintains the Cee Ul certification, so you put these two together it gives you full 24 volt compliant digital inputs outputs analog inputs ETC that are all Able to work with the industrial specifications for the Trayful volts you can drive relays and things like that without concern you know not to 10 volts analog 4 to 20 milliamps are all very very easy to implement using this and because it’s got the certification you could put that in here add your application to it and still be able to resell it and not worry about the hardware certifications bul and Cee and things like that you can just go right off and do it and it comes with a really cool Replacement bezel the original one has a yeah. Where is it here it is? the original one comes with a basic cover that goes over the digital i/o R3 headers, but of course you know you cut that if you want to for a prototype But once you’re done the stl files that and the step files are available for the cover so that you can expand it To suit any i/o that you might make but if you’re using the siemens industrial shield then it is already coming with one Right off the bat so that you just clip it in and it provides a very nice neat interface for you to do Your project with there’s no, you know extra things you have to do Just plug it all together wire it up and away you go Aside from of course adding your node red and things like that or whatever language you like you know I like node red I like using mqTt, and I like using sequel like 3 They’re easy to use and I can use them across a huge number of different platforms including raspberry PI Beaglebones in a lot of cases even with Some of the Arduino z’ and things like that right and you can run on a PC and you can also Configure it to communicate with a lot of the cloud services very very easily so one of the first things I always do with any linux based kind of control whether it be a Gateway or an edge device is I to see if I can put on

Mpt t no grad and all that kind of stuff, and that’s one of the benchmark acceptance things it starts to get the thumbs up if it can support all those when the Iot 2000 first came out a lot of those things weren’t available and it was quite tedious to try and get them on but Siemens has worked very hard over the Six months or so that this product has been out to include all of those things on the image by default So they’re there for you you just turn them on and start using them Which is great the iot 2020 is a little bit slower, not in actual cPU power, but in perceived performance Only because it’s got the half a gigabyte of ram versus a full one gig and really the only time you notice This is if you’re trying to do any App get update up. You know app get install kind of commands or opkg I guess in the case of the Yocto Os where you have to update and recompile things and when you start the compile and stuff like that? it does take a little longer on the version with the smaller Ram footprint, but that’s just a one-time thing while you’re doing the compilation once it’s done I’ve really found that neither of them perform any better in Day-To-day operations running mqTt. And no rad and stuff like that They both you wouldn’t really remotely if you’re using a ui really to easily tell the difference between them So you know as a Gateway device. It works very well. It’s very open and it’s got a lot of possibilities for Integrating a whole bunch of different pieces of equipment together and then reporting up to this parent system whether it be a computer that’s on the other side of the world whether it could be a maintenance company looking after a huge fleet of construction equipment for example and on that note if you look at the contest that we just recently ran on hacks into I/o the the Prize winning Entry was actually a Monitoring system for a bulldozer type piece of plant equipment that used in iot 2020 as Gateway Laura White wireless communications and other peripherals to allow Assistant to be put together to provide preventative maintenance Asset tracking so GPS location and things like that all built around an iot 20/20 not not just to 2040 but just the education of 2020 at very well-put-together a huge amount of detail there that shows you one of the Possibilities that you could do with this the second prize winner on hax at I/o had a completely different Project that they put that he presented which was using a boiler system So monitoring water levels and things like that now in this case there was also Obsolete devices being used processes and things to complete the solution and again This is showing where the iot 2020 is more being used as a Gateway Versus an Edge device can it be used as an Edge device? Yes? Are there better ways of doing Edge devices? Yes? – all right? You can use it and you know it’s not too much of an expensive way, and it is already certified for industrial and ready to go so it can be absolutely for small quantities a quick solution to doing an edge device or something that’s doing direct Io But it’s primarily aimed at being the Gateway device, so if you don’t need the RS-232 Or the second Ethernet port or you know if you’re and if you’re not really really memory intensive Then the 2020 will work quite happily not just in the educational environment But in a industrial environment – if you really need the RS-485 RS-232 ports and the Second Ethernet Then the 2040 would be the device for you to choose for that, but there’s nothing to stop you putting an I/o shield on the 2020 to give you an RS-485 port if you want cheesy enough And you may you know if you’re using it yourself you may not have to get every certified But if you’re going to be selling as a product, then a lot of countries, you will have to recertify up Now the other thing if you look at the two contests on Haxor – I owe is That they both had LCD displays also hooked up to the iot 2020 and that is very very easy to do because the io shield has the support for LCD displays on Shields already, ETc ETc in both cases though they were just simply using either the I2c bus or the spy bus and Wired down to the gpio outputs of the 2020 to do that and they just created their own 3D printed Replacement lids that the LCD shields fitted on and it was a very very nice solution, and that’s one of the reasons

Why they were both picked? For the further winners are very extensive very well documented and good examples of using these devices so When you think about you know? Using an iot 2020 its primary use is as a Gateway, but it can be used for other things if you’re looking at creating something like an edge device then as a prototyping tool You can use it for that in fact you could use it as the edge device if you really wanted to But depending on the quantity and things so it becomes a cost Value proposition, then you may choose to go to a simpler smaller more power-efficient Edge device that then reports up to something like an iot Twenty twenty twenty forty Four then having all the business logic applied and then submitting its data up to some more higher level system for control, but anyway, I wanted to explain to you because a lot of people have been asking you know what really is an iot 20 20 or What is an iot 20 40 in my relationship with RS components? they sell the 20 20 exclusively and It’s an aimed primarily at education and things like that but it can be used because it’s already it’s fully certified as well the same with the 20 40 in an industrial environment if you Don’t need those extra pieces of hardware that are on the 20 40 It’s you know. It’s Din rail. Mountable and all that other stuff, too So you know it’s very easy to put into a cabinet But it’s just as easy to adapt a little wall wart 24 volt wall wart or even a 12 volt one and plug it in fire and adapter to the Screw terminals on the back of it on the side back on the top of the unit It will plug in Connector right here so that you’ve got your 24 volts coming in and then you’ve got a System where you’re not exposing mains or anything else because you’re just plugging a world war in you’re using in an industrial environment of course You probably have it on a din rail. Mount rack and be feeding in from a proper 24 volt industrial power supply Which is really what I’ve got here as well. I’ve got the siemens logos is one of the brand new power supplies 24 Volts at One point 3 amps 1.5 amps 1.3 amps output, so this is actually driving to iot 2000 units @ 20:40 here and a 2020 here. It’s driving a S7 1200 PlC with two I/o modules and it’s also driving the four ports or a six port Ethernet Hub that I have on here as well, so that little power supply can drive an awful Lot of things because most of these devices the iot 2000s they only consume 100 to 200 milliamps depending on how busy you keeping them Under normal operation, so you know if you are obviously if you add shields and stuff I could consume more But you can see that you know 100 milliamps for this 100 hundred here. I think that in total I’m only using about half the capacity of this logo power supply So I you know I’ve got room to add a couple of senses and things like that to that if I wanted to as well awesome additional I/o maybe an LCD display on one of these controllers And it will be showing in later videos how to do that as well but anyway my purpose for this video was to give you an idea of What the iot 2020 and 2040 is aimed at and that is the Gateway of for iot type devices It’s a constant. You know its primary business Use is more aimed at a data concentrator implementing some business logic and making those local decisions and feeding data up so you can you know it’s bringing over data in Via multiple protocols multiple types of In formats for 220 million 20 volts or if you put your own io on here Whatever else you may want or you’d be adding your own sensors directly into that, so you could be using the aDCs and things You could put your status a little bit of local status on there for some of the local devices Hooking up to legacy systems where? Maybe they don’t have any automation but by adding a vibration sensor or temperature sensors and things allows you to collect extra data for your manufacturing environment or wherever that might be Environmental Data, but you can feed up to a central system to help you More understand the environment and better maintain your equipment things like that So if you have any questions feel free to email me or make comments in the comment section But I hope that clarifies a bit on Exactly what the iot 2020 and 2040 is Primarily intended for but also what you can use it for so I hope you found it interesting. I hope you found it informative and

Speak to you soon, and there’ll be more videos coming out in the future Where we start using other devices? And multi protocols and driving stepper motors and all sorts of funky things like that so see you then right?