Siemens SIMATIC IOT2050 First Look - Industrial Internet of Things Gateway powered by Debian Linux

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
hello everybody my name is nick and today we're going to be having a look at the recently released simatic iot 2050. the iot 2050 is an industrial internet of things gateway the idea behind these gateways is they can be fitted into existing pieces of equipment as well as new ones with the intention of talking to devices down at the field level and then passing this data on to higher level systems such as mes systems erp systems or even through the internet into cloud providers the iot 2050 comes in a compact form factor with an assembly half made of metal and half made of plastic when we look inside we'll see that the system on a chip is connected to the metal so the metal casing at the back also acts as the heat shield at the front of the device here we can see that it's powered by a standard power connector so this device can take between 12 and 24 volts dc above here we have a serial port now this can be configured through software to do rs422 rs485 or rs232 above here which is a big feature over the previous iot 2000 offerings is a display port so this is going to allow us to connect external monitors to this device so maybe we could sit this in a panel have a large display connected and show some dashboards of real machine data so the displayport is a big bonus on these devices above that we have two usb2 ports so these can be used to connect other periphery so maybe we've got keyboard and mouse or even something like a touchscreen to work in conjunction with this displayport at the top we've got two separate network interfaces and both of these network interfaces are rated at one gigabit at the top we have a slot for a micro sd card but we also have a slot for a nano sim there is no radio on board for the nano sim but when we strip it open you'll see inside the reason why it is included there at the front there are two tabs if we flick these up we can get inside so inside the unit at the top we have the pins for an arduino shield just underneath the arduino shields on this side we have these sets of pins here now these are actually debug pins and if we connect a usb to uart converter we can actually use these debug pins to watch the boot sequence of this device we can dismantle this a bit further to see more inside so there's two tabs near the rail one here and one here if we remove the power connector if we remove the pins attached to the serial port we can then slide the front of the case off once the cover is completely removed we can see at the top of the board here we have a mini pci express slot the mini pci express slot can be used for things like a wi-fi card or a 4g or 3g modem so we looked at the nano sim card slot earlier and i did mention there's no modem on board but the idea behind the slot being at the top is it would allow a card plugged in here to make use of that slot now there are a few more torx screws on this board which we can remove and this will allow us to see the underside of the board using a t8 screwdriver we can remove the three torx screws on the board allowing us to completely remove the board from the casing so on this side of the board we can see the actual system on a chip itself it is a chip manufactured by texas instruments on this side we can see the battery which is powering the real-time clock so if we did have a requirement for changing the battery this is where we would come you'll also be able to see the pad of thermal paste on the back of the chassis this is indicating that this is the heatsink for the device itself the benefit of this is it's a completely solid state device there's no fan internally on this i'll reassemble this device now and then we can power up the software so in terms of the dimensions of this device it is 142 millimeters tall it is exactly 100 millimeters deep and it is 37 millimeters wide in the box mounting brackets are included to be fitted onto the back which allows the device to be mounted like this or like this so inside the device is a texas instruments system on a chip and this system on a chip has a armed 64-bit processor there's two variants of the iot 2050 the higher-end variant has a quad-core processor and the lower variant has a dual-core processor so both of these variants have a clock speed of one gigahertz and the lower variant has one gigabyte of ram and the higher end variant has two gigabytes of ram in terms of storage space the operating system can be booted from the micro sd card in the slot here or alternatively the higher end version of this has a onboard 16 gigabyte emmc flash unfortunately this does not exist on the lower end version of these devices so in terms of how do i get software onto this we can then go on to the siemens support site there is a provided image which is base build debian and we can flash that to a micro sd card pop it in the top and then we can have a look at this booting up this pre-built sd card image has the latest version of debian on it with all the appropriate drivers for this device slipstreamed into it as well once the image is downloaded we can use a tool such as win32 disk imager and what this allows us to do is select the image file as we've downloaded we can then select whatever the drive letter is of our sd card adapter and we can hit the right button this will completely format and erase the card so make sure you've not got anything on the micro sd card that you may need to get back later so while our sd card's flashing let's have a look at how we can connect a usb debugging tool straight to our device the usb to uart adapter is now connected to the debug pins on the board of the iot 2050 so now when we connect this into my laptop we should be able to watch the boot sequence of the device itself once i've finished building my sd card image i can remove it from the laptop and insert it into the top of the device we've got the device connected to the usb uart adapter so we can watch the boot through the serial comms and i've got my 24 volts connected ready to boot in device manager we can see that my usb to serial adapter is com3 so we'll start putty up change the mode to serial and the controller in this device speaks at a board speed of 115 200. so if we open com3 we can start to see the diagnostics coming straight from the bootloader so we can now see that the device has fully booted and we've been able to watch the entire boot process purely using the uart comms so this is a great little bit of kit for if you're having problems with the device to booting at the top of the bootloader you will see that we have information about the device itself such as firmware versions we can also get information about the serial number of this particular device and the mac addresses now you'll notice down here that we have the version of u-boot that is being used so u-boot is the bootloader on this device and that is what is kicking in straight after a power on and that is what it is allowing us to boot into the operating system so uboot is a very powerful bootloader for embedded systems so it is well worth a quick google search to see what the capabilities are so obviously siemens are providing this with debian but ubu allows you to run a lot of other different bits and pieces of linux based software on these devices so at this point we could carry on with the connection over the serial but what we'll do is we'll disconnect and connect over ethernet on the front of the unit we have these two network gigabit interfaces in the image provided by siemens the top port labeled as p2 is static so this is 192 168 200.1 the lower port labeled p1 is set for dhcp so depending on your application if you have a dhcp server we could use the dhcp port for initial configuration so i can connect it to my home network or if we want to stick with the static ip address we can connect into the top port so if we wanted to use the static address we would have to set up our network adapter in windows accordingly so if we go into the properties of our network adapter go into the ipv4 settings and set a static ip in that 200 range we should now be able to use a tool like putty to get an ssh secure shell connection into 200.1 as our computer has not seen the key of this device before we may be given a warning we can just click yes the default password for root is root and as this is a security issue on first login we will be prompted to change that password once we're in we can use the included iot 2050 setup tool we can go into os settings to change the host name and the password we can go into networking to change the static ips and we can go into software to configure the auto boot options so out the box we have ssh server enabled which is how we've connected now but there is also the mosquito mqtt broker already pre-loaded onto this sd card image so we can have that auto boot for us as well and you'll also see here we've got node-red set to auto-start as well at the bottom we have peripherals so at the beginning we discussed the on-board serial port and this is where we would configure which mode we want to set this port to be in we can also modify the arduino io so if we wanted to use things like the spi or the i2c we could turn them on and off with different pins from this menu here so one of the benefits of this device running debian is it allows us to use the aptitude package manager using this package manager we can install lots of different applications straight onto this device so for example if we wanted to install a web server we could do an apt install apache 2. the device will now connect to debian's package repositories and pull down the files that are required for us so once apache has been installed we can use a web browser to confirm that it's working and here we go we have the default apache 2 debian page running off the iot 2050 so that was our quick look at the iot 2050 i hope you've enjoyed the video and thanks a lot for watching
Info
Channel: AutomationStation
Views: 9,477
Rating: undefined out of 5
Keywords:
Id: gEe8FVaR2Zo
Channel Id: undefined
Length: 11min 52sec (712 seconds)
Published: Sun Aug 02 2020
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.