The PTC Sigma Tile runs on a Raspberry Pi with a Sense Hat using several Python programs. You will also learn how to install these programs on the Raspberry Pi of your Sigma Tile.
Helpful Peripherals USB mouse and keyboard Monitor with HDMI input Micro USB power supply (5V, 2.4A) STEP 1 – PROCURING COMPONENTS & MATERIALS 1. Review the key components of the Sigma Tile: In order to build the Sigma Tile, you will need the following minimum required electronic components: ...
It also comes with Python library. To create a complete experience with the Sigma Tile, you will need additional components. You will also need some basic tools. The electronics components, fasteners and tools can be easily ordered online from various electronics and hardware suppliers. The enclosure can be 3d- printed using the STL file provided.
Using the provided STL files or the Creo models, 3d-print the following parts: SigmaTile_Body_v5.stl SigmaTile_Cover.stl SigmaTile_Spacer.stl SigmaTile_Joystick.stl STEP 3 – PRINTING STICKERS Using the PDF files provided, print, on adhesive paper, and cut the following: Sigma Tile ThingMark Print 1365-50.pdf pg.
Sigma Tile Legend Sticker Print.pdf STEP 4 – ASSEMBLING COMPONENTS Using your smart phone or tablet, download the ThingWorx View app, scan the ThingMark located in Appendix D of this guide and follow the “Assembly” instructions to assemble your Sigma Tile. NOTE: for best results, you may want to print Appendix D and place it on a desk to visualize the Augmented Reality assembly work instructions.
STEP 5 – UNDERSTANDING THE SI GMA TILE PYTHON SCRI PT The heart of the Sigma Tile is the SigmaTile_SenseHat_V5.py Python script which can be found in the ThingWorx Developer Portal. This script reads the Sense Hat sensors and uses the MODBUS protocol to communicate between Raspberry Pi and Kepware. Modbus is a serial communication protocol developed in 1979 for use in Programmable Logic Controllers (PLCs).
The easiest and fastest way to get your Sigma Tile running is for you to use our premade disk image of the Raspberry Pi software with the proper scripts and configuration. If you want to create your own image, see Appendix D. USING A PREMADE DISK IMAGE 1.
Page 10
1. Power your Sigma Tile with the Micro-USB cable. Within about 15 seconds a Wi-Fi symbol will be displayed on the LED display, indicating that the Sigma Tile is searching for a network. 2. If you see the WIFI symbols: Congratulations! You have completed this guide and built your own Sigma Tile.
Page 11
If after waiting for over 1 minute, the LED Display still shows a blank screen after briefly showing a rainbow at started, the Python script may not have started properly. Using the USB keyboard, mouse and monitor, connect to your Sigma Tile and confirm that the Raspberry Pi Operating System has started properly.
APPENDIX A: UNDERSTANDING THE SIGMA TILE WHAT IS A SIGMA TILE? The PTC Sigma Tile is a very low cost, ultra-portable IoT device that you can build yourself. It is equipped with sensors and controls and can act as a Smart Connected Product or as the Industrial Controller (PLC) of a production asset or line.
https://community.ptc.com/t5/PTC-Sigma-Tile/gp-p/sigma-tile. You will be able to search and view posts from other users, from PTC Subject Matter Experts. You will be able to ask questions, share your lessons learned and provide feedback. You will need to create an account to be able to view or post to the community.
APPENDIX C: AUGMENTED REALITY ASSEMBLY TEMPLATE Note that the nuts and magnets are under the body of the Sigma Tile when viewing with ThingWorx View pg. 15...
APPENDIX D: CREATING YOUR OWN SIGMA TILE DISK IMAGE In this Appendix you will learn how to create your own Sigma Tile disk image by installing all the necessary libraries and scripts on top of the standard Raspberry Pi Raspbian operating system. For more information about the Raspberry Pi OS, check https://www.raspberrypi.org/ The procedure is intended for experienced Raspberry Pi users.
Page 17
Use the mouse and keyboard to access the command line of the Pi. user: pi password: raspberry 4. Open the terminal window using Putty or directly from Raspberry Pi. The first step is updating and upgrading the system. Run the following commands from the terminal windows: sudo apt-get update sudo apt-get upgrade...
Page 18
sudo pip install pymodbus sudo pip install pycrypto sudo apt-get install libffi-dev sudo apt-get install libssl-dev sudo pip install cryptography Then install Sense HAT Software packages. sudo apt-get install sense-hat sudo reboot After the reboot command, allow a few minutes for the system to reboot. We are ready to run our script and test now! 5.
Page 19
Using WinSCP, open a session on your Raspberry Pi and follow these two steps: Create a folder under root called mfg-tile Copy the preceding files into the mfg-tile directory. From the command window on the Raspberry Pi, execute the script using the command below.
Page 20
Use the mouse and keyboard to access the command line of the Pi. user: pi password: raspberry In the Command terminal, change to the directory that hosts all of the code: cd mfg-tile/ Pull down the latest code from the repository: git pull ...
Page 21
From the terminal window of Raspberry Pi, type ifconfig. It should provide the out as shown below. Alternatively, if the user has access to router page, it can be found under connected devices. Refer to your router documentation for additional details. 2.
Page 22
Exit out of configuration window. Restart the Raspberry Pi using “sudo shutdown now –r” command After the restart, the user should able to perform a remote login from another system. 3. How do I enable I2C interface in my Raspberry Pi? I2C must be enabled to connect the Raspberry Pi to Sense HAT.
Page 23
Select Yes The confirmation page stating I2C interface is enabled will be shown. Select OK. 4. How do I connect to Raspberry Pi from my computer or laptop? Putty is a handy tool for this. Following the link in the Bill of Materials section, download the software.
APPENDIX E: UPDATING THE SIGMA TILE CODE FROM GITHUB To ensure you have the latest code, you can update the Raspberry Pi from the GitHub repository with these additional steps. Use the IP address to SSH into the Pi. Use the mouse and keyboard to access the command line of the Pi.
Need help?
Do you have a question about the Sigma Tile V5 and is the answer not in the manual?
Questions and answers