Introduction: Snake on LED MATRIX (BT)

Hi everyone!

Today i will show you how to make SNAKE on led matrix with BT controller ( everything is better with BT ).

Step 1: Materials

We need:

- 4 matrix modules with max7219 ( I use MOD-39 )
- BT module

- arduino UNO

- photoframe RIBBA from IKEA

- red foil to make better effect

- some smartphone

Step 2: Electronics

Everything is on the pictures :)

Step 3: Programs

I write simple programm for arduino in clear C.

For smartphone app i use appInventor.

Files to downloads are in pictures.

Step 4: Finish

Here is simple movie with game.

I use this led display to create others stuffs like: game of life display or simple image display :)

Visit my Youtube Channel and simple blog.

Comments

author
NguyễnK20 (author)2016-06-13

Hi author,

I found these error when building your code. Please tell me where I can add these libraries and solve this problem. Thank you so much!

error atmel.png
author
PrzemekM1 (author)NguyễnK202016-06-13

Why You have *.ino files? This is problem with project settings. This is not arduino. Create empty C project to atmega328p and write simple blink to make sure that project settings are ok, then copy my sources. Now you try use arduino libraries. I can send you .hex file with program to test.

author
NguyễnK20 (author)PrzemekM12016-06-13

I followed your steps, and this is result. Did I miss something?

error 1atmel.png
author
PrzemekM1 (author)NguyễnK202016-06-13

Why You have arduino 1.6 in settings? I will make some movie tutorial for You tomorrow, ok?

author
NguyễnK20 (author)PrzemekM12016-06-13

No, it's just an extention, and I do nothing with it. I create a new C Execute project, then add your code file. I'm waiting for your tutorial clip, everything will be clear. Thanks for your support. ^^

author
PrzemekM1 (author)2016-06-12

Hey Atmel studio is free :)

http://www.atmel.com/tools/atmelstudio.aspx

author
VũK3 (author)PrzemekM12016-06-13

May I have see your circuits?
Because I am afraid that I follow below scheme can not run with your code.

schema-matrix_0_o.png
author
PrzemekM1 (author)VũK32016-06-13

You must use this pinout: https://cdn.instructables.com/FDP/FCF8/IO36G3Y9/FDPFCF8IO36G3Y9.LARGE.jpg
because I use hardware SPI

author
VũK3 (author)PrzemekM12016-06-13

May you explain more specific about this thread?
I am newbie so it still has a lot of strange concept. Can I add your skype ID?

author
VũK3 (author)PrzemekM12016-06-13

Really? Ok, thanks a lots.

author
VũK3 (author)2016-06-08

Hi there,

I got problem with this instruction. I use Arduino Uno R3 and 4 LEDs Matrix and follow this

http://blog.carr3r.com/content/public/upload/schem... (because of your image is not clear) and Upload your code in Files.rar, but it present the errors (in the image). Please help.


fhsdf.PNG
author
PrzemekM1 (author)VũK32016-06-08

Hey, my programm is in clear C, not in arduino IDE. You should use atmel sudio or eclipse with avr toolchain. I use arduino only as hardware platform.

author
VũK3 (author)PrzemekM12016-06-12

Hey friend, I found that atmel studio is not free, but I want another one to be free. Is there any other software can build your code? Please help.

author
VũK3 (author)PrzemekM12016-06-09

I thought I can use arduino IDE to upload your code to arduino.
Thank you very much.

About This Instructable

3,595views

93favorites

License:

More by PrzemekM1:Simple Ammeter and Voltmeter BoxSimple STM32 heart-shaped led blinkerSimple ESP-01 testboard
Add instructable to: