The spatiotemporal dynamics of complex systems have been studied traditionally and visualized numerically using high-end computers. However, due to advances in microcontrollers, it is now possible to run what once were considered large-scale simulations using a very small and inexpensive single integrated circuit that can furthermore send and receive information to and from the outside world in real time. In this paper, we show how microcontrollers can be used to perform simulations of nonlinear ordinary differential equations with spatial coupling and to visualize their dynamics using arrays of light-emitting diodes and/or touchscreens. We demonstrate these abilities using three different models: two reaction-diffusion models (one neural and one cardiac) and a generic model of network oscillators. These models are commonly used to simulate various phenomena in biophysical systems, including bifurcations, waves, chaos, and synchronization. We also demonstrate how simple it is to integrate real-time user interaction with the simulations by showing examples with a light sensor, touchscreen, and web browser.

1.
J. D.
Serna
and
A.
Joshi
,
Phys. Educ.
47
,
736
(
2012
).
2.
H.
Yokoi
,
A.
Adamatzky
,
B.
De Lacy Costello
, and
C.
Melhuish
,
Int. J. Bifurcat. Chaos
14
,
3347
(
2004
).
3.
F.
Mahmud
,
N.
Shiozawa
,
M.
Makikawa
, and
T.
Nomura
,
Chaos
21
,
023121
(
2011
).
4.
F.
Mahmud
, in 2012 IEEE EMBS Conference on Biomedical Engineering and Sciences (IECBES) (IEEE, 2012), pp. 321–325.
5.
F. H.
Fenton
and
E. M.
Cherry
,
Scholarpedia
3
,
1868
(
2008
).
7.
J.
Nagumo
,
S.
Arimoto
, and
S.
Yoshizawa
,
Proc. IRE
50
,
2061
(
1962
).
8.
F.
Fenton
and
A.
Karma
,
Chaos
8
,
20
(
1998
).
9.
A.
Koch
and
H.
Meinhardt
,
Rev. Mod. Phys.
66
,
1481
(
1994
).
10.
S.
Kondo
and
T.
Miura
,
Science
329
,
1616
(
2010
).
11.
A.
Deutsch
and
S.
Dormann
,
Mathematical Modeling of Biological Pattern Formation
(
Springer
,
2005
).
12.
V. S.
Zykov
and
A. T.
Winfree
,
Simulation of Wave Processes in Excitable Media
(
John Wiley & Sons, Inc.
,
1992
).
13.
J. M.
Greenberg
and
S.
Hastings
,
SIAM J. Appl. Math.
34
,
515
(
1978
).
14.
A. V.
Holden
,
M.
Markus
, and
H. G.
Othmer
,
Nonlinear Wave Processes in Excitable Media
(
Springer
,
2013
), Vol. 244.
15.
Y.
Sekerci
and
S.
Petrovskii
,
Computation
6
,
59
(
2018
).
16.
A. L.
Hodgkin
and
A. F.
Huxley
,
J. Physiol.
117
,
500
(
1952
).
17.
S. N.
Flaim
,
W. R.
Giles
, and
A. D.
McCulloch
,
Am. J. Physiol. Heart Circ. Physiol.
291
,
H2617
(
2006
).
18.
M.
Courtemanche
and
A. T.
Winfree
,
Int. J. Bifurcat. Chaos
1
,
431
(
1991
).
19.
D. F.
Richards
,
J. N.
Glosli
,
E. W.
Draeger
,
A. A.
Mirin
,
B.
Chan
,
J.-l.
Fattebert
,
W. D.
Krauss
,
T.
Oppelstrup
,
C. J.
Butler
,
J. A.
Gunnels
et al.,
Comput. Methods Biomech. Biomed. Eng.
16
,
802
(
2013
).
20.
M.
Hoffman
,
N.
LaVigne
,
S.
Scorse
,
F.
Fenton
, and
E.
Cherry
,
Chaos
26
,
013107
(
2016
).
22.
M.
Dowle
,
R.
Martin Mantel
, and
D.
Barkley
,
Int. J. Bifurcat. Chaos
7
,
2529
(
1997
).
23.
F. H.
Fenton
,
E. M.
Cherry
,
H. M.
Hastings
, and
S. J.
Evans
,
Biosystems
64
,
73
(
2002
).
24.
E.
Bartocci
,
R.
Singh
,
F. B.
von Stein
,
A.
Amedome
,
A. J. J.
Caceres
,
J.
Castillo
,
E.
Closser
,
G.
Deards
,
A.
Goltsev
,
R. S.
Ines
et al.,
Adv. Physiol. Educ.
35
,
427
(
2011
).
25.
A.
Kaboudian
,
E.
Cherry
, and
F.
Fenton
,
Sci. Adv.
5
(
3
),
eaav6019
(
2019
).
26.
R. S.
Oliveira
,
B. M.
Rocha
,
R. M.
Amorim
,
F. O.
Campos
,
W.
Meira
,
E. M.
Toledo
, and
R. W.
dos Santos
, in International Conference on Parallel Processing and Applied Mathematics (Springer, 2011), pp. 111–120.
27.
S.
Augarten
, ”The most widely used computer on a chip: The TMS 1000,” in State of the Art (
Ticknor & Fields
,
1981
).
28.
D. K.
Fisher
and
P. J.
Gould
,
Modern Instrum.
1
,
8
(
2012
).
29.
E.
Koutroulis
,
K.
Kalaitzakis
, and
N. C.
Voulgaris
,
IEEE Trans. Power Electron.
16
,
46
(
2001
).
30.
C.-H.
Luo
and
Y.
Rudy
,
Circ. Res.
68
,
1501
(
1991
).
31.
Y.
Isler
,
M.
Kuntalp
, and
G.
Gonel
, in 2009 14th National Biomedical Engineering Meeting (
IEEE
,
2009
), pp. 1–4.
32.
S.
Yaghini Bonabi
,
H.
Asgharian
,
S.
Safari
, and
M.
Nili Ahmadabadi
,
Front. Neurosci.
8
,
379
(
2014
).
33.
M.
Lu
,
J.-L.
Wang
,
J.
Wen
, and
X.-W.
Dong
, in 2016 Asia-Pacific International Symposium on Electromagnetic Compatibility (APEMC) (IEEE, 2016), Vol. 1, pp. 1115–1117.
34.
Š.
Kubínová
and
J.
Šlégr
,
Phys. Educ.
50
,
472
(
2015
).
35.
C.
Galeriu
,
S.
Edwards
, and
G.
Esper
,
Phys. Teacher
52
,
157
(
2014
).
36.
W.-H.
Kuan
,
C.-H.
Tseng
,
S.
Chen
, and
C.-C.
Wong
,
J. Sci. Educ. Technol.
25
,
427
(
2016
).
37.
A.
Soriano
,
L.
Marín
,
M.
Vallés
,
A.
Valera
, and
P.
Albertos
,
IFAC Proc. Vol.
47
,
9044
(
2014
), 19th IFAC World Congress.
38.
B.
Land
, “ECE5760: Advanced microcontroller design and system-on-chip,” 2019.
39.
M. A.
Watanabe
,
F. H.
Fenton
,
S. J.
Evans
,
H. M.
Hastings
, and
A.
Karma
,
J. Cardiovasc. Electrophysiol.
12
,
196
(
2001
).
40.
J.
Nolasco
and
R. W.
Dahlen
,
J. Appl. Physiol.
25
,
191
(
1968
).
41.
M.
Guevara
,
G.
Ward
,
A.
Shrier
, and
L.
Glass
,
IEEE Comput. Cardiol.
562
,
167
(
1984
).
42.
J. M.
Pastore
,
S. D.
Girouard
,
K. R.
Laurita
,
F. G.
Akar
, and
D. S.
Rosenbaum
,
Circulation
99
,
1385
(
1999
).
43.
I.
Uzelac
,
Y. C.
Ji
,
D.
Hornung
,
J.
Schröder-Scheteling
,
S.
Luther
,
R. A.
Gray
,
E. M.
Cherry
, and
F. H.
Fenton
,
Front. Physiol.
8
,
819
(
2017
).
44.
A.
Pikovsky
,
M.
Rosenblum
,
J.
Kurths
, and
J.
Kurths
,
Synchronization: A Universal Concept in Nonlinear Sciences
(
Cambridge University Press
,
2003
), Vol. 12.
45.
Y. C.
Ji
,
I.
Uzelac
,
N.
Otani
,
S.
Luther
,
R. F.
Gilmour
, Jr.,
E. M.
Cherry
, and
F. H.
Fenton
,
Heart Rhythm
14
,
1254
(
2017
).
46.
R. E.
Mirollo
and
S. H.
Strogatz
,
SIAM J. Appl. Math.
50
,
1645
(
1990
).
47.
International Symposium on Mathematical Problems in Theoretical Physics, Lecture Notes in Physics, edited by H. Araki, J. Ehlers, K. Hepp, H. A. Weidenmüller, and W. Beiglböck (Springer, Berlin, 1975), Vol. 39.
48.
L. G.
Dominguez
,
R. A.
Wennberg
,
W.
Gaetz
,
D.
Cheyne
,
O. C.
Snead
, and
J. L. P.
Velazquez
,
J. Neurosci.
25
,
8077
(
2005
).
49.
K.
Sanderson
, “
Millennium bridge wobble explained
,” Nat. News (2008).
50.
S.
Heath
,
Embedded Systems Design
(
Newnes
,
2003
), pp. 11–12.
51.
A. L.
Lin
,
A.
Hagberg
,
E.
Meron
, and
H. L.
Swinney
,
Phys. Rev. E
69
,
066217
(
2004
).
52.
K.
Aihara
,
T.
Takabe
, and
M.
Toyoda
,
Phys. Lett. A
144
,
333
(
1990
).
53.
B. Y.
Kogan
,
W. J.
Karplus
,
B. S.
Billett
,
A. T.
Pang
,
H. S.
Karagueuzian
, and
S. S.
Khan
,
Physica D
50
,
327
(
1991
).
54.
S. P.
Hastings
,
Q. J. Math.
27
,
123
(
1976
).
55.
G.
Klaasen
and
W.
Troy
,
SIAM J. Appl. Math.
41
,
145
(
1981
).
56.
C. K. R. T.
Jones
,
Trans. Am. Math. Soc.
286
,
431
(
1984
).
57.
J. G.
Alford
and
G.
Auchmuty
,
J. Math. Biol.
53
,
797
(
2006
).
58.
E. M.
Cherry
and
F. H.
Fenton
,
New J. Phys.
10
,
125016
(
2008
).
60.
E. N.
Cytrynbaum
and
T. J.
Lewis
,
SIAM J. Appl. Dyn. Syst.
8
,
348
(
2009
).
61.
Y. C.
Ji
and
F. H.
Fenton
,
Am. J. Phys.
84
,
626
(
2016
).
62.
ladyada, “Photocells,” 2012, see https://learn.adafruit.com/photocells/overview; accessed 15 January 2019.
63.
A. J.
Welsh
,
E. F.
Greco
, and
F. H.
Fenton
,
Phys. Today
70
,
78
(
2017
).
64.
J. M.
Davidenko
,
A. V.
Pertsov
,
R.
Salomonsz
,
W.
Baxter
, and
J.
Jalife
,
Nature
355
,
349
(
1992
).
65.
N.
Gorelova
and
J.
Bureš
,
J. Neurobiol.
14
,
353
(
1983
).
66.
A. M.
Zhabotinsky
,
Biofizika
9
,
306
(
1964
).
67.
A. M.
Zhabotinsky
and
A. N.
Zaikin
,
Oscillatory Processes in Biological and Chemical Systems II
(Science Publ., Puschino, 1971).
68.
A. M.
Zhabotinsky
and
A. N.
Zaikin
,
J. Theor. Biol.
40
,
45
(
1973
).
70.
D. S.
Rosenbaum
,
L. E.
Jackson
,
J. M.
Smith
,
H.
Garan
,
J. N.
Ruskin
, and
R. J.
Cohen
,
New Engl. J. Med.
330
,
235
(
1994
).
71.
A.
Gizzi
,
E.
Cherry
,
R. F.
Gilmour
, Jr.,
S.
Luther
,
S.
Filippi
, and
F. H.
Fenton
,
Front. Physiol.
4
,
71
(
2013
).
72.
M.
Minkkinen
,
M.
Kähönen
,
J.
Viik
,
K.
Nikus
,
T.
Lehtimäki
,
R.
Lehtinen
,
T.
Kööbi
,
V.
Turjanmaa
,
W.
Kaiser
,
R. L.
Verrier
et al.,
J. Cardiovasc. Electrophysiol.
20
,
408
(
2009
).
73.
F. H.
Fenton
,
E. M.
Cherry
, and
L.
Glass
,
Scholarpedia
3
,
1665
(
2008
).
74.
S.
Filippi
,
A.
Gizzi
,
C.
Cherubini
,
S.
Luther
, and
F. H.
Fenton
,
Europace
16
,
424
(
2014
).
75.
F. H.
Fenton
,
E. M.
Cherry
,
H. M.
Hastings
, and
S. J.
Evans
,
Chaos
12
,
852
(
2002
).
76.
Y.
Kuramoto
, in International Symposium on Mathematical Problems in Theoretical Physics (Springer, 1975), pp. 420–422.
77.
J. A.
Acebrón
,
L. L.
Bonilla
,
C. J.
Pérez Vicente
,
F.
Ritort
, and
R.
Spigler
,
Rev. Mod. Phys.
77
,
137
(
2005
).
78.
Y.
Kuromoto
,
Chemical Oscillations, Waves, and Turbulence
(
Springer
,
1984
).
79.
K.
Wiesenfeld
,
P.
Colet
, and
S. H.
Strogatz
,
Phys. Rev. E
57
,
1563
(
1998
).
80.
S. N.
Dorogovtsev
,
A. V.
Goltsev
, and
J. F. F.
Mendes
,
Rev. Mod. Phys.
80
,
1275
(
2008
).
81.
A.
Arenas
,
A.
Díaz-Guilera
,
J.
Kurths
,
Y.
Moreno
, and
C.
Zhou
,
Phys. Rep.
469
,
93
(
2008
).
82.
F.
Dörfler
and
F.
Bullo
,
Automatica
50
,
1539
(
2014
).
83.
S.
Ameli
,
F.
Shahbazi
,
M.
Karimian
, and
T.
Malakoutikhah
, e-print arXiv:1705.07875 (2017).
85.
D. A.
Wiley
,
S. H.
Strogatz
, and
M.
Girvan
,
Chaos
16
,
015103
(
2006
).
86.
D. M.
Abrams
and
S. H.
Strogatz
,
Phys. Rev. Lett.
93
,
174102
(
2004
).
87.
T.
Kotwal
,
X.
Jiang
, and
D. M.
Abrams
,
Phys. Rev. Lett.
119
,
264101
(
2017
).
88.
R.
Barber
,
M.
Horra
, and
J.
Crespo
,
IFAC Proc. Vol.
46
,
250
(
2013
).
89.
C. K.
Volos
,
I. M.
Kyprianidis
, and
I. N.
Stouboulos
,
Rob. Auton. Syst.
61
,
1314
(
2013
).
90.
F.
Candelas
,
G. J.
García
,
S.
Puente
,
J.
Pomares
,
C.
Jara
,
J.
Pérez
,
D.
Mira
, and
F.
Torres
,
IFAC-PapersOnLine
48
,
105
(
2015
).
91.
L.
de Castro
,
B.
Lago
, and
F.
Mondaini
,
J. Appl. Math. Phys.
3
,
631
(
2015
).
92.
A. D.
Pano-Azucena
,
J.
de Jesus Rangel-Magdaleno
,
E.
Tlelo-Cuautle
, and
A.
de Jesus Quintas-Valles
,
Nonlinear Dyn.
87
,
2203
(
2017
).
93.
A.
Kaboudia
,
E. M.
Cherry
, and
F. H.
Fenton
,
Sci. Adv.
5
,
aav6019
(
2019
).
94.
A.
Kaboudian
,
E. M.
Cherry
, and
F. H.
Fenton
,
Chaos Solitons Fractals
121
,
6
(
2019
).
95.
D. J.
Christini
,
M. L.
Riccio
,
C. A.
Culianu
,
J. J.
Fox
,
A.
Karma
, and
R. F.
Gilmour
, Jr.,
Phys. Rev. Lett.
96
,
104101
(
2006
).
96.
W.-J.
Rappel
,
F.
Fenton
, and
A.
Karma
,
Phys. Rev. Lett.
83
,
456
(
1999
).
97.
A.
Garzón
,
R. O.
Grigoriev
, and
F. H.
Fenton
,
Phys. Rev. E
80
,
021932
(
2009
).
98.
A.
Garzón
,
R. O.
Grigoriev
, and
F. H.
Fenton
,
Phys. Rev. E
84
,
041927
(
2011
).
99.
A.
Garzón
,
R. O.
Grigoriev
, and
F. H.
Fenton
,
Chaos
24
,
033124
(
2014
).
100.
101.
See http://www.nimbios.org/workinggroups/WG_arrhythmias
for useful discussions on “Prediction and control of cardiac alternans
.”

Supplementary Material

You do not currently have access to this content.