DesignSpark Electrical Logolinkedin
  • Brought to you by
  • RS Components
  • Allied Electronics

December 5, 2016 16:54

Follow

SIMATIC IOT2020 – the educational intelligent gateway for industrial IoT solutions

There has been a need for a long time for a way to take the Student, Maker or Design Engineer to the next level, from developing a product on Arduino UNO, Yun, Mega, Raspberry PI or other embedded platforms that are not certified for Industrial or Commercial use (CE and UL mark of approval for instance) and migrate the design easily to an approved product.

Something that allows the code and hardware platform to move to an approved platform, preferably with little change to the design of hardware IO or software and with little or no requirement for additional approvals.

Where the core hardware is already CE and UL approved, where the packaging is ready to go in an industrial or commercial environment and so will integrate easily with other industrial hardware and software platforms but still remain open and very low cost to implement.

By 2020 there will be more than 10 billion devices connected to the internet, we need an easy solution and we need it now if we want to be a part of that.

So what do we need

Arduino Compatablility, after all it is the most famous prototyping platform for creating interactive electronic solutions

Linux Compatability, considering the popularity of the Raspberry PI and Beagle Bone black to name just a couple

Industrial Form Factor for power and mounting, so 24V nominal supply, Din Rail mounting standard, Industrial Enclosure.

Well now there is one...

On Friday 14th October at the Rome maker Faire RS-Components, Siemens, and Arduino's Massimo Banzi presentd the easiest way to start with IIoT (Industrial Internet of Things)

Siemens and RS joined forces to bring a new Industrial IoT device to the market, which will support engineers, makers, and designers of the future.

Based on the Intel Quark x1000, it sports 

  • 512MB RAM and an SD Card holder for upto 32GB uSD card for OS and applications
  • 1 x Ethernet port for internet or intranet connectivity
  • 1 USB Host port, 1 USB Client port
  • 1 TTL Serial Port / Console for Linux
  • Real Time Clock with optional battery back-up
  • Proven SIMATIC quality with high level of robustness
  • Yocto Linux and Arduino IDE support (compile and run sketches with little to no changes)
  • Easily expandable with Arduino shields and mini PCIe cards
  • Compact industrial design and DIN rail mounting
  • programming in popular languages like C++, Python, Java etc.
  • Can run Node-Red, MQTT, SQLite3 so an easy to use graphical flow design tool available from day one.

I was not fortunate enough to be at the Faire but I did provide a video with my initial thought and views of the platform and I have had the secretive pleasure of getting to know the IoT2020 for the last few weeks and am very impressed with its capabilities, even though I was using engineer samples and early software, It was not too much of a challange to get to try all of its features and I was able to put together a working demonstration

 

 

I started my career in Industrial Electronics Engineering over 40 years ago, I am also a seasoned Software Architect working as a consultant with large companies and government agencies developing software for Healthcare, Online Reporting solutions and large scale high availability data management. My electronics experience is primarily in automation and control of manufacturing and the gas industry This experience has left me with a good sense of Privacy, Security and reliability from the hardware right through to the data storage in central data centers. My passion has always been electronics. I now make tutorial videos for my youtube channel thebreadboardca. ( http://www.youtube.com/thebreadboardca ). I specialise in Industrial and Home Automation and Control and integration of heterogeneous systems, I love to figure out how to get all sorts of disparate things talking to each other using protocols like Modbus, MQTT etc. Getting a new product, Chip or other item, figuring out what can be done with it and then making a tutorial video is fun to me and I love to share what I learn.

December 5, 2016 16:54

Follow

Comments

0 Votes
anjaliranika

June 1, 2017 13:57

Hello Peter,
I have followed the steps given by you to provide wifi connection for my iot2040. However once the last command is given , i am getting some errors. Can you give me some solution for the same..
Thanks in advance

0 Votes
Kas.Lewis

April 27, 2017 07:46

Hello Peter,

I tried doing what you have written here but I have not had much success. I was a bit unsure about the file that contains the SSID and Passphrase, you have:

# For all and any WIFI you're using now set up a wpa_supplicant.conf file
wpa_passphrase your_ssid /etc/wpa_supplicant.conf
your_wifi_password
EOF

I instead did in /etc/wpa_supplicant.conf:
your_ssid
your_wifi_password
EOF


Also I could not download and install any drivers as I was unsure how to do so using the command line. Either way the output from attempting to restart the wlan is below, any help would be great.

root@iot2000:/etc/network#
root@iot2000:/etc/network# /etc/init.d/networking restart
Running /etc/init.d/networking restart is deprecated because it may not enable again some interfaces
Reconfiguring network interfaces...
IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
udhcpc (v1.24.1) started
Sending discover...
stmmaceth 0000:00:14.6 eth0: Link is Up - 100Mbps/Full - flow control rx/tx
IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
Sending discover...
Sending select for 192.168.1.122...
Lease of 192.168.1.122 obtained, lease time 86400
/etc/udhcpc.d/50default: Adding DNS 206.248.154.22
/etc/udhcpc.d/50default: Adding DNS 206.248.154.170
/etc/udhcpc.d/50default: Adding DNS 192.168.1.1
rtl8192cu: MAC auto ON okay!
rtl8192cu: Tx queue select: 0x05
IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
udhcpc (v1.24.1) started
Sending discover...
Sending discover...
Sending discover...
No lease, forking to background
done.
root@iot2000:/etc/network#


Thanks
Kas

0 Votes
jfourie

March 16, 2017 10:07

Hi Peter. Thanks for all the videos. How does the eeprom part of the device work. Does it have any or does it use the SD card to save the values. How does the memory side work. A arduino has a set amount of memory and you have to try to fit your code in there. Does this work the same or is the SD card your storage space.

0 Votes
Thomas Harding

March 16, 2017 10:00

Mr Oakes,

I have followed your instruction to get networking with a mPCIe wireless card, the one im using is found here: https://www.startech.com/Networking-IO/Wireless/Mini-PCIe-Wireless-N-Card~MPEX300WN2X2. After i do the configuration I get the following message?
root@iot2000:/# /etc/init.d/networking restart
Running /etc/init.d/networking restart is deprecated because it may not enable again some interfaces
any insight would be much appreciation
Reconfiguring network interfaces...
ifdown: interface eth1 not configured
ifdown: interface wlan0 not configured
ifconfig: SIOCSIFFLAGS: No such device
Successfully initialized wpa_supplicant
Could not read interface wlan0 flags: No such device
WEXT: Could not set interface 'wlan0' UP
wlan0: Failed to initialize driver interface
ifconfig: SIOCGIFFLAGS: No such device

0 Votes
peteroakes

June 1, 2017 13:57

ddavidadams

I thought I had a section on setting this up in the video or post but it must have eluded the video editor. I will make a separate video to cover this off in the next few days. in the mean time here is my notes for the wifi. Sorry but I cant add formatting to comments so all lines starting with "#" are just comments, the others are commands I used from an SSH session

#WIFI related tools, this also pulls down a few drivers
opkg install linux-firmware
opkg install wpa-supplicant-dev
opkg install kernel-module-rtl8192cu
#the kernel-module-rtl8192cukernel-module-rtl8192cu is not needed unless you have this device, I used an official RPI WIFI USB module and that worked well.

# for the intel WIFI PCI Express adapter Intel® Centrino® Advanced-N 6235 http://www.intel.com/content/www/us/en/wireless-products/centrino-advanced-n-6235.html
https://wireless.wiki.kernel.org/en/users/Drivers/iwlwifi

#Download and expand this into a temp folder https://wireless.wiki.kernel.org/_media/en/users/drivers/iwlwifi-6000g2b-ucode-18.168.6.1.tgz
# now extract the content...
tar xzvf /media/mmcblk0p1/iwlwifi-6000g2b-ucode-18.168.6.1.tgz
cp iwlwifi-6000g2b-ucode-18.168.6.1/iwlwifi-6000g2b-6.ucode /lib/firmware/

# For all and any WIFI you're using now set up a wpa_supplicant.conf file
wpa_passphrase your_ssid /etc/wpa_supplicant.conf
your_wifi_password
EOF

# edit /etc/network/interfaces and add the following
# Wireless interfaces
auto wlan0
iface wlan0 inet dhcp
wireless_mode managed
wireless_essid any
wpa-driver wext
wpa-conf /etc/wpa_supplicant.conf

# run this to initialise the wifi (If it’s going to work), might need a reboot to take.
/etc/init.d/networking restart
Or
Ifdown wlan0
Ifup wlan0

This should get your intel board up and running

Let me know if you still have an issue

0 Votes
peteroakes

January 19, 2017 13:44

Integritas, no you don't need to build your own. the image provided by Siemens has everything to get started and what it does not have I have provided additional instructions in this topic on DesignSpark (Loading Node-Red, Mosquitto etc)

0 Votes
ddavidadams

January 9, 2017 16:15

I have purchased an Intel 6235 ePCI WiFi card and a pair of antenna. When my IOT2020 boots it informs me that no firmware is found for the WiFi adapter. Any chance you could provide a video or instructions on how to get this combonation working together. david.adams@dacontrols.com

0 Votes
ddavidadams

December 20, 2016 16:54

I am so excited. I just received my IOT2020 after waiting fo a few months and it is now running an Arduino blink upload. Just a start but a great start.

0 Votes
Integritas

December 12, 2016 10:01

Hi, sounds like a cool product. You wrote something about Yocto Linux. Does that mean I have to build the Linux by myself? If yes: how?