kiu / wham

silly project to annoy my colleagues at work
MIT License
1 stars 0 forks source link

In need of some more detailed instructions #1

Open winks opened 5 years ago

winks commented 5 years ago

Hey, sorry to hijack this for technical support but I guess I underestimated the setup or overestimated my ability to figure stuff out, so I have a few questions:

Panel

This is from the example:

You configure CLK and CS, but not DIN. Is it important? Is it ok to just leave it at D10? (I used LED_PIN 13 of course because I had the example setup.

DFPlayer

According to http://www.picaxe.com/docs/spe033.pdf I thought I only needed

Also, how do you make sure the correct mp3 is played? Simply only having one on the MicroSD?

Bonus question: Don't have the mini speaker thingy so I'd like to try it with a normal 3.5 jack and speakers, but so far unsure if this will work...

Thanks :)

kiu commented 5 years ago

Panel 1) For a working matrix display, you need +5V, GND, DIN, CLK and CS 2) In my code I only configure CS as I use the built-in SPI port which has MOSI (connected to DIN) and CLK predefined, you don't need to set it up

DFPlayer 1) I use 5V directly from my power supply hooked up to VCC 2) The pins you need are: [1] VCC, [7 or 10] GND, [11] IO2, [6] SPK2 and [8] SPK1 3) In my setup I have 4 short audio clips on the DFPlayer and by using IO2, I just play one after eachother

My Arduino setup is: Reference: https://christianto.tjahyadi.com/wp-content/uploads/2014/11/nano.jpg D13 --> matrix CLK D11 --> matrix DIN D10 --> matrix CS

D2 --> button D3 --> LED D4 --> player IO2

5V --> power supply GND --> power supply

Hit me up on twitter (@kiu112) .. there we can chat via DM ...