-
Notifications
You must be signed in to change notification settings - Fork 73
Proof of concept
This page shows testings with different MCU's and display's with settings, pin explained and benchmark results.
If your set do not work, please double check connections, bla, bla. I will not accept stupid questions like I've tested your library and do not work..., I normally testing in all conditions and combinations, sometime something is missed but here's the proof that concepts works!
Multi Instance mode - Arduino NANO , ILI9163C (yellow pin), ILI9163C (black pin)
For this setup I had to use an HCF4050 as level converter and following pin used:
Display side | NANO pin (or different) |
CS1 | 10 (trough HCF4050) |
A0(1) | 9 (trough HCF4050) |
CS2 | 6 (trough HCF4050) |
A0(2) | 8 (trough HCF4050) |
rst1 | 10K to +3v3 |
rst2 | 10K to +3v3 |
sck1 | 13 (sclk) (trough HCF4050) |
sck2 | 13 (sclk) (trough HCF4050) |
sda1 | 11 (mosi) (trough HCF4050) |
sda2 | 11 (mosi) (trough HCF4050) |
led (1 & 2) | 100R to +5V |
gnd | gnd |
vcc | +5V |
Paerdon the horrible and messy soldering, it was quickly assembled only for tests!
{click over image for video}
benchmark_version2.ino
1.0p7 - Arduino NANO, double display | ||
Code size optimization: ON | ||
Test | Yellow Pin (microSecs) | Black Pin (microSecs) |
Screen(F) | 46396 | 46388 |
Screen2(F) | 60992 | 60996 |
Text | 29100 | 29096 |
Lines | 493432 | 493444 |
Lines2 | 30132 | 30132 |
Rectangles | 39768 | 39768 |
Rectangles(F) | 772476 | 772500 |
Circles(F) | 905624 | 905576 |
Circles | 1010340 | 1010236 |
Triangles(F) | 284252 | 284240 |
Triangles | 331976 | 331904 |
Multi Instance mode - ESP8266 (NodeMCU 0.9) , ILI9163C (yellow pin), ILI9163C (black pin)
I've got also several boards NodeMCU 1.0 that uses ESP826612E, one of this board has a very weak SCLK output and not working with double display because the signal was so weak that display not working. Generally I have noticed that ESP8266 SCLK is weak, about 1.8 to 2.6V pp, much lower than MOSI and CS or GPIO.
Display side | ESP8266(NodeMCU 0.9) pin |
CS1 | 16 |
A0(1) | 5 |
CS2 | 4 |
A0(2) | 0 |
rst1 | 10K to +3v3 |
rst2 | 10K to +3v3 |
sck1 | D5 (sclk) |
sck2 | D5 (sclk) |
sda1 | D7 (mosi) |
sda2 | D7 (mosi) |
led (1 & 2) | 100R to +5V |
gnd | gnd |
vcc | +5V |
{click over image for video}
ESP8266/multiple_bench.ino
1.0p7 - Esp8266, double display | ||
Note: CPU Frequency = 160Mhz | ||
Test | Yellow Pin (microSecs) | Black Pin (microSecs) |
Screen(F) | 35254 | 35244 |
Screen2(F) | 35919 | 35881 |
Text | 8746 | 8633 |
Lines | 304034 | 303789 |
Lines2 | 17518 | 17447 |
Rectangles | 23112 | 23067 |
Rectangles(F) | 414652 | 414614 |
Circles(F) | 488612 | 488481 |
Circles | 542425 | 542192 |
Triangles(F) | 117735 | 117674 |
Triangles | 146612 | 146429 |