Outils pour utilisateurs

Outils du site


issue94:arduino

Ceci est une ancienne révision du document !


The aim of this mounting is to simulate the flame observed in a fire.

An 8×8 LED matrix using the MAX7219 driver is lit with SPI protocol. DataIn, Clock and Chip Select pins are connected to the Arduino board using pin 11, 13 and 10 respectively. VCC (+5V) and GND pins are also used to power the LED matrix.

Drawing a flame on squared paper

We have plotted the flames on a ‘digital ribbon’ as shown right.

In the void loop, the flame array is written in the MAX7219 using a moving window governed by variable j. A delay of 25ms is used to render the flame dynamics.

Arduino code: http://pastebin.com/DmABRLHs

issue94/arduino.1425135502.txt.gz · Dernière modification : 2015/02/28 15:58 de andre_domenech