This project shows christmas images on a 8x8 rgb led matrix grid
For this project you'll need :
- an arduino nano
- a matrix RGB grid see
To put it your arduino first plug your arduino as follows :
clone the project
git clone https://github.com/pmalhaire/christmas.git
cd christmas
install the arduino software if not done.
https://www.arduino.cc/en/Guide
run the following
arduino christmas.ino
upload the project to your arduino
install deps :
pip install -r requierements.txt
run the script for one drawing (here snow4.txt)
python draw.py snow4.txt
show all .txt drawing
python draw.py
You can add new paterns and visualise it with python
- create
my_object.txt
file in the repo folder - fill it with 1 and 0 with 8 lines of 8 bits (don't forget to add an empty line at the end)
- show the result with
python draw my_object.txt
The console log with show the hex values to be used in the christmas.ino
ex:
{0x81,0x24,0x66,0x18,0x18,0x66,0x24,0x81}
MERRY CHRISTMAS !