CIP Statemachine - Arduino
Table of Contents
Tutorial | Actifsource Tutorial – CIP Statemachine - Arduino |
---|---|
Required Time | - 120 Minutes |
Prerequisites | - Actifsource Tutorial – Installing Actifsource - Actifsource Tutorial – Simple Service - Actifsource Tutorial – CIP Statemachine - Lamp |
Goal | - Compiling and running the CIP Statemachine on the Arduino UNO |
Topics covered | - Arduino SDK - Simple Arduino project - CIP Arduino project |
Notation | ↪ To do ⓘ Information • Bold: Terms from actifsource or other technologies and tools • Bold underlined: actifsource Resources • Monospaced : User input• Italics: Important terms in current situation |
Disclaimer | The authors do not accept any liability arising out of the application or use of any information or equipment described herein. The information contained within this document is by its very nature incomplete. Therefore the authors accept no responsibility for the precise accuracy of the documentation contained herein. It should be used rather as a guide and starting point. |
Contact | Actifsource AG Täfernstrasse 37 5405 Baden-Dättwil Switzerland www.actifsource.com |
Trademark | Actifsource is a registered trademark of Actifsource AG in Switzerland, the EU, USA, and China. other names appearing on the site may be trademarks of their respective owners. |
Overview
-
Arduino SDK
- The Arduino SDK contains all the necessary source code for your Arduino
- Installing the com port driver for your Arduino
-
AVR Eclipse Plugin
- The AVR Plugin is an extension to the C/C++ Development Toolkit to support development for the Atmel AVR series of embedded processors.
- Configure the AVR Plugin for your Arduino board
-
Simple Arduino project
- Setup a new C/C++ project
- Write a very simple code which switches an LED on and off
- Compile the project including the Arduino core
- Download to the Arduino target and run
-
CIP Arduino project
- Modeling a reactive state machine using the CIP method
- Generating C code for the state machine
- Connecting the generated state machine code to the Arduino I/O
- Downloading and testing to the Arduino board
Part I Installing Eclipse & Arduino
Part II Simple Arduino project
Part III CIP Arduino project