You are on page 1of 9

1

Sistemes de mesura i regulaci.


Prof. Emili Prez Robert
Prctiques de reguladors PID.
Module parameters:
1.A single module can drive an 8 * 8 common cathode lattice
2.Module Operating voltage: 5V.
3.Module size: 5 cm long X 3.2 cm wide X 1.5 cm high
4.With four screws hole, aperture 3mm, by using our M3 Tongzhu fixed
5.Module with input and output interfaces, supports multiple modules cascade
6.Led colour:Red

Wiring instructions:
1.The module left as an input port to the output port on the right.
2.The control of a single module, simply input port to the CPU
3.Multiple modules cascade input termination CPU, 2 output termination
module, a module of the input of the input terminal, the output terminal of the
first two modules of the first three modules, and so on ...
51 MCU, Arduino for example:
VCC 5V
GND GND
DIN P8
CS P9
CLK P10

Feature available to Store Members


2
Sistemes de mesura i regulaci.
Prof. Emili Prez Robert
Prctiques de reguladors PID.


3
Sistemes de mesura i regulaci.
Prof. Emili Prez Robert
Prctiques de reguladors PID.



4
Sistemes de mesura i regulaci.
Prof. Emili Prez Robert
Prctiques de reguladors PID.

5
Sistemes de mesura i regulaci.
Prof. Emili Prez Robert
Prctiques de reguladors PID.

6
Sistemes de mesura i regulaci.
Prof. Emili Prez Robert
Prctiques de reguladors PID.

16x8 LED dot matrix with MAX7219 module
16x8 LED dot matrix with MAX7219 module


The objective of this project is: to show off the use of the
module "MAX7219 dot matrix display module MCU control
DIY"

And you will need the MaxMatrix libraries files (which are 3):

7
Sistemes de mesura i regulaci.
Prof. Emili Prez Robert
Prctiques de reguladors PID.
https://docs.google.com/file/d/0B_YlEklLDDS7MDhRdWJKdmZ
QTnc/edit?usp=sharing

https://docs.google.com/file/d/0B_YlEklLDDS7WE9lQ1F1aFhnY
lE/edit?usp=sharing

https://docs.google.com/file/d/0B_YlEklLDDS7djd5T2JDeFVsaV
E/edit?usp=sharing



The sketch with the code can be found on the link below:

https://docs.google.com/file/d/0B_YlEklLDDS7WTF0c2hlVzFCZ
Wc/edit?usp=sharing



See in the attached picture the interconnection diagram
between Arduino module and MAX7219 module (it was used
only 2 MAX7219 modules in this case):


Arduino pin 13 (alternative: pin 10) connected to the CLK pin
8
Sistemes de mesura i regulaci.
Prof. Emili Prez Robert
Prctiques de reguladors PID.
of the module MAX7219
Arduino pin 11 (alternative: pin 8) connected to pin DIN
module MAX7219
Arduino pin 10 (alternative: 9 pin) connected to pin CS
module MAX7219
GND and VCC (+5V)

To expand the number of modules, you should just connect
Dout pin of one MAX7219 module with the Din pin of the
another MAX7219 module... and so on.

The MAX7219 Dout pin is at the top of the module while Din
pin is at the botton of the module.


Remembering that you can connect modules as you want,
just connecting the output of one module with the input of
the other and leaving the other signals in parallel.
In the sketch, you should to modify the parameter
"maxInUse" for the amount of modules that you will use.




9
Sistemes de mesura i regulaci.
Prof. Emili Prez Robert
Prctiques de reguladors PID.

The video is just demo.
Remember that you can modify the messages in the code
itself, or use the serial console to enter the message.

http://youtu.be/uG88Tt6Apoo





A second video using four MAX7219 modules.

http://youtu.be/yFx4r-WUp5g




Questions, suggestions and for any trouble with the files,
please contact by email:

marcelo.moraes.1971@gmail.com


Thanks.