Go Down

Topic: Automaton: multitasking state machine framework (Read 139 times) previous topic - next topic


Oct 13, 2015, 09:29 am Last Edit: Oct 13, 2015, 01:01 pm by Tinkerspy Reason: Fixed urls
I just finished a state machine framework for Arduino.

- It provides a framework that makes your sketches event based
- Unlike the other Arduino state machine libraries it uses a table driven state machine concept in which every machine is an self contained object
- It allows you to define state machines that can be shared as stand alone Arduino libraries (dependent only upon Automaton)
- It comes with a collection of predefined reusable state machines for handling buttons, blinking and fading leds, detecting pulses, monitoring analog inputs, timers and receiving commands over serial communications.
- State machines can communicate with each other via messaging queues.

It can be installed from the Arduino IDE's library manager or downloaded from https://github.com/tinkerspy/Automaton

Extensive documentation and a tutorial are available here:


I think it provides a new way of using state machines on Arduino that makes it easy to build multi tasking applications with simple building blocks. It certainly helped me to write clearer and more stable applications.

Please have a look and tell me what you think.

(I'm not a novice programmer, but this is my first attempt at an Arduino library)


Please have a look and tell me what you think.
I think it would have been better if you had used the link icon (two to the right of the multicolor one on the top row) to actually post links.


Go Up

Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

via Egeo 16
Torino, 10131