Go Down

Topic: Using finite state machines on Arduino (Read 4083 times) previous topic - next topic

herrmannr

Oct 10, 2019, 09:58 am Last Edit: Oct 24, 2019, 08:15 am by herrmannr
Hey there,

I'm a developer at YAKINDU Statechart Tools and I've created two tutorials that show how finite state machines can run on an Arduino. With Statechart Tools it is possible to create state machine models graphically and generate C/C++ code - also compatible for Arduino. It's free for non-commercial use.

Just as a hint of how it looks like:


I'll just drop the links of instructables.com and hackster.io here.

Pedestrian traffic light example:
https://www.hackster.io/robin-herrmann/traffic-lights-using-finite-state-machine-in-c-for-arduino-26169c

HMI with 16x2 LCD Keypad Shield:
https://www.instructables.com/id/Arduino-HMI-Using-State-Machine/

Feel free to ask me if you got any questions.

http://www.statechart.org

Greetings,
Robin

esotery

Hi Robin,

that is awesome!:)

I was going to write something like that for a STEM toy I want to do for my daughter but now I don't have to.

herrmannr


MarylinPurtill

Really appreciate your work especially your instructable is detailed.

abraham5

Keep up the good work man, instructions are in a detailed manner.

herrmannr

Thanks, I will try to keep this up to date! :)

Rachaele

#6
Nov 06, 2019, 01:25 pm Last Edit: Nov 06, 2019, 01:28 pm by Rachaele
Thanks for sharing

herrmannr

#7
Nov 08, 2019, 08:24 am Last Edit: Nov 08, 2019, 05:43 pm by herrmannr
3D printable DIY robot Otto programmed with state machines (made by a colleague).

DIY Otto with state machines

Simple blinky LED on Arduino with state machines (made by another colleague).

Blinky LED for Arduino with state machines

Go Up