Qrome / marquee-scroller

Marquee Scroller Clock News Weather and More
https://www.thingiverse.com/thing:2867294
MIT License
332 stars 160 forks source link

Some changes I made in the code #42

Open hutje opened 6 years ago

hutje commented 6 years ago

All changes I made are hardcoded for me.

Thanks for this awesome arduino program!

Qrome commented 6 years ago

Do you want to contribute the suggested changes via a Pull Request?

hutje commented 6 years ago

Hey Qrome,

Would it be possible to attach the fusion360 file with the Thingiverse design? I really would like to edit this model to make it usable for 6 displays and also want to build a 4cm speaker+mp3 module inside to make it act as an alarm clock.

Thanks!

Qrome commented 6 years ago

I designed it in TinkerCad and it is only available as an STL from there. Sorry.

drogica commented 6 years ago

here is what I did for myself ledmatrix v7.zip

untitled 1

pl4y3r2nd commented 5 years ago

is it technically possible to get German or polish letters on led screen?

Qrome commented 5 years ago

@drogica -- nice looking box!

Qrome commented 5 years ago

@pl4y3r2nd -- It was frustrating to learn that the fonts used in the marquee scroller does not have a full international character set. If someone wants to try and implement those, that would be great. As for now, the full international letter set is not supported.

MachmaHinne commented 5 years ago

@Qrome: Can you give an advice where the font for the matrix is defined?

Thank you for the clock. Great project. I´ve build one. And now I´m also thinking about improvements. Support for different languages would be great. I would support you as good as I can.

Qrome commented 5 years ago

@MachmaHinne thanks! The project uses the Max72xxPanel and that in turn uses the Adafruit_GFX library -- the fonts belong to the Adafruit_GFX. I have not spent much time looking at it, however I have generated my own fonts for another project but not for the LED matrix. https://github.com/markruys/arduino-Max72xxPanel

MachmaHinne commented 5 years ago

Ok. I think there is hope for a solution for this problem. The Adafruit GFX lib contains only 7-bit fonts. But I found a tool that can generate also 8-bit fonts. I´ll stick on this. https://blog.squix.org/2016/10/font-creator-now-creates-adafruit-gfx-fonts.html

At the moment I have a problem with a bunch of 8x64 Modules I ordered at banggood.com, because the order of the 4 panels is reversed. #1 is on the right, #4 is on the left. Does anyone have heard about that problem? Any hints?

MachmaHinne commented 5 years ago

After reading arduino-Max72xxPanel-master, I´m not so confident any more, because this lib has to be changed for that. And the development of it seems to be dead.

For the problem with my modules I had to change matrix.setRotation(i, 3); to matrix.setRotation(i, 1); But now I have to rotate the whole module and change the pins from one side to the other :(

Qrome commented 5 years ago

I did a PR (change request) a while back to the arduino-Max72xxPanel-master -- if needed we could always create a branch of it to modify and include it as part of the marquee code.

As for the LED modules you have, I know there are some out there assembled differently than the ones I linked to. Someone else had the same issue, the where able to do it through rotation only.

costascontis commented 5 years ago

what should i change in the code so i can view news for my country (Greece) ?

Qrome commented 5 years ago

@costascontis -- the quick and easy way would be to edit line 45 of theNewsApiClient.cpp file where it defines the URL that requests the news.

You can find samples here on how you might change it: https://newsapi.org/docs/endpoints/top-headlines

costascontis commented 5 years ago

you mean the line String apiGetData = "http://" + String(servername) + "/v2/top-headlines?sources=" + mySource + "&apiKey=" + myApiKey; i dont understand well my country source is https://newsapi.org/v2/top-headlines?country=gr&apiKey=xxxxxxxxxxxxxxxxxxxxxxxxxxxxx how can i edit line 45 to be?

edit :i got it and Greek news are displaying fine at marquee's web page but are showning gibberish at marquee it self.It cannot display greek fonts right :(

phgsbr commented 5 years ago

How can i get this changes? It would be perfect for me. I live in Brazil and i would like to translate the Weather infos to Portuguese and use a brazillian news source too.

phgsbr commented 5 years ago

How can i get this changes? It would be perfect for me. I live in Brazil and i would like to translate the Weather infos to Portuguese and use a brazillian news source too.

Anyone please?

Qrome commented 5 years ago

The weather text comes from the weather service and would not be translated in the code here. There are only a few words that are in the code -- you can find them and change them as needed.

The fonts supported by the marque do not include special characters as mentioned above.

phgsbr commented 5 years ago

I tried to change the news source to globo or googlenews-br (two news source from Brazil) in the code. But, after upload, the news source stills on BBC (currently before the change). How can i fix this?

Qrome commented 5 years ago

You need to add it to the options in the ino file. Also once it is loaded you have to use the web interface to change settings.

sjef1979 commented 5 years ago

@costascontis How did you get this to work?

finnie2006 commented 2 years ago

Can the stuff from this issue get added to the project? @Qrome @hutje