Introduction: Program the New IOT2000 From Siemens With Arduino IDE!
The new Internet of Things gateway from Siemens (Simatic) has been released!
It's based on the Intel Galileo Gen2 chipset.
So that will make it possible to program it with Arduino IDE.
I will show you in this tutorial how to upload an Arduino Sketch to the IOT2000.
Check this article or watch the video! :)
Step 1: Setting Up Your IOT2000!
You will need the next parts.
- 9-36V DC power supply.
- Micro SD card (Min 8GB)
- 5V LED
- Micro USB cable
- Arduino IDE software
Step 2: Create a Bootable SD Card
Your IOT2000 needs an SD card with the Siemens image on it.
It will boot from it.
The next steps will explain you how to create it.
- Place the SD card in your PC.
- Download WIN32DiskImager.
- Download the Siemens Image.
- Open the WIN32DiskImager and write the file on your SD card.
- Place it in the IOT2000. (The IOT2000 must be voltage free!)
Step 3: Download the Intel Galileo Package in Arduino IDE
We must import the Intel Galileo package in the Arduino IDE software.
- Open Arduino IDE
- Go to Tools > Boards > Board Manager.
- Search for "I5"
- Download & install the latest version.
- Check at "Boards" for the Intel Galileo gen2 and select it
Step 4: Power & Drivers
So we are almost there.... :)
- Set the power on your IOT2000
- If everything goes alright, the PWR led should be on.
- It takes about 30 seconds before your IOT2000 has fully started.
- Attach the Micro USB to your IOT2000.
- If your PC don't reconizes your IOT2000, update the drivers manually.
- You can download them here.
Step 5: Upload the Arduino Sketch to the IOT2000
So finally we are going to upload the Blink Sketch.
- Open your Arduino IDE software.
- If it's right, you should have a new COM-port named "Intel Galileo"
- Select it.
- Upload the Blink sketch to your IOT2000!
- The pinlayout in the IOT2000 is the same as the Arduino UNO. (Pay attention! The Vin is the same voltage as your power supply!)
- Attach the Led to pin 13 & GND.
- It should be blinking! :D