arduino:displays_for_classic_arduinos:nokia_5110_displays_and_classic_arduinos
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
arduino:displays_for_classic_arduinos:nokia_5110_displays_and_classic_arduinos [2018/01/27 22:25] – [Summary opinions] mithat | arduino:displays_for_classic_arduinos:nokia_5110_displays_and_classic_arduinos [2018/01/28 06:24] – mithat | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Nokia 5110 Displays | + | ====== Nokia 5110 displays |
===== Summary opinions ===== | ===== Summary opinions ===== | ||
Line 15: | Line 15: | ||
* The LCD contrast is set in software. At first this seems like something that might be cool. But if you're going to build more than one of whatever you're building, it means you'll have to tweak the code for each one you build or write software that allows the contrast to set at runtime. And save that to persistent memory. That's not a small amount of overhead. | * The LCD contrast is set in software. At first this seems like something that might be cool. But if you're going to build more than one of whatever you're building, it means you'll have to tweak the code for each one you build or write software that allows the contrast to set at runtime. And save that to persistent memory. That's not a small amount of overhead. | ||
- | The order of the pins on these will vary from supplier to supplier. One of the best sources of information on these displays is SparkFun' | + | The order of the pins on these will vary from supplier to supplier. One of the best sources of information on these displays is SparkFun' |
===== Libraries ===== | ===== Libraries ===== | ||
Line 30: | Line 30: | ||
/* | /* | ||
+ | * Basic test a Nokia 5110 display and the U8g2 library. | ||
+ | * | ||
* Notes: | * Notes: | ||
* Program storage space and dynamic memory are the same whether you use HW or SW SPI. | * Program storage space and dynamic memory are the same whether you use HW or SW SPI. | ||
Line 77: | Line 79: | ||
==== U8glib ==== | ==== U8glib ==== | ||
- | Before there was U8g2, there was [[https:// | + | Before there was U8g2, there was [[https:// |
<file c++ display_nokia_5110_u8glib.ino> | <file c++ display_nokia_5110_u8glib.ino> | ||
+ | // Modified by Mithat Konar from | ||
// Henry' | // Henry' | ||
// Arduino Nokia 5110 U8Glib Tutorial | // Arduino Nokia 5110 U8Glib Tutorial | ||
- | // From http:// | + | // http:// |
- | // Modified by mfk. | + | |
#include " | #include " | ||
Line 150: | Line 152: | ||
code as you see fit. If you find it useful, and we meet someday, | code as you see fit. If you find it useful, and we meet someday, | ||
you can buy me a beer. | you can buy me a beer. | ||
- | */ | + | */ |
/* | /* | ||
- | | + | |
| | ||
* Notes: | * Notes: | ||
* This minimal version uses 6% of program storage space and 26% of dynamic memory. | * This minimal version uses 6% of program storage space and 26% of dynamic memory. | ||
- | * Different fonts can be experimented with | + | * Different fonts can be experimented with. |
*/ | */ | ||
| | ||
- | /* mfk pin assignments (set in LCD_Functions.h: | + | /* Mithat' |
* RST: 8 | * RST: 8 | ||
* CE/CS/SCE: 10 | * CE/CS/SCE: 10 | ||
Line 191: | Line 193: | ||
==== Rinky-Dink Electronics ==== | ==== Rinky-Dink Electronics ==== | ||
- | Rinky-Dink Electronics has a number of libraries for working with the Nokia 5110: a [[http:// | + | Rinky-Dink Electronics has a number of libraries for working with the Nokia 5110: a [[http:// |
I have not yet tested any of these, but I like the two-tiered and modular approach to functionality. | I have not yet tested any of these, but I like the two-tiered and modular approach to functionality. |
arduino/displays_for_classic_arduinos/nokia_5110_displays_and_classic_arduinos.txt · Last modified: 2018/01/28 21:36 by mithat