![]() #define HARDWARE_TYPE MD_MAX72XX::GENERIC_HW The rest of the setup and MAX_DEVICES is the same as for the FC-16 modules. C C D G Vįor the generic display modules, you need to set the HARDWARE_TYPE to GENERIC_HW. Simply connect all the pins of the DOUT side of the first module to the DIN side of the next module. ![]() You can connect multiple modules together with some short female to female jumper wires. The generic module needs to be oriented with the MAX7219 IC at the top. They are characterized by the 5-pin connectors at the short ends of the rectangular PCB. This is an 8×8 module mounted on a green PCB with the MAX7219 IC below the LED matrix. MD_Parola matrix = MD_Parola(HARDWARE_TYPE, DATA_PIN, CLK_PIN, CS_PIN, MAX_DEVICES) Generic 8×8 module For software SPI you also need to specify the DATA_PIN and the CLK_PIN connections: MD_Parola matrix = MD_Parola(HARDWARE_TYPE, CS_PIN, MAX_DEVICES) Create a new instance of the MD_MAX72XX class: #define HARDWARE_TYPE MD_MAX72XX::FC16_HW An 8×8 matrix counts as 1 device, so if you want to control an 8×32 module you need to set MAX_DEVICES to 4 (an 8×32 display contains 4 MAX7219 ICs). When setting up the display in your Arduino code you need to set the HARDWARE_TYPE to FC16_HW and specify the number of devices you have connected. +-+ Hardware configuration in Arduino code Note that the screen-printed text on the back of the PCB might be upside down in this orientation. The display is oriented with the DIN side on the right. This way you can take them apart without having to desolder any connections. I typically solder straight male headers on the back of the modules and connect them together using jumpers. You can easily connect multiple 8×8 or 8×32 modules together to create one larger display. is a participant in the Amazon Services LLC Associates Program, an affiliate advertising program designed to provide a means for sites to earn advertising fees by advertising and linking to products on. Generic 8×8 MAX7219 LED dot matrix display (alternative) If you have any questions, please leave a comment below.Ĩ×8 MAX7219 LED dot matrix display (alternative)
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |