Coder Social home page Coder Social logo

n5110_gui_encoder_demo's Introduction

N5110_GUI_encoder_demo

Simple GUI with Arduino, Encoder and Nokia LCD

YouTube video:

https://youtu.be/GHULqZpVpz4

Connections:

Encoder

Signal Pin
PinA 2
PinB 4
Button 3

Nokia 5110 LCD

No Signal Pin
1 RST 9
2 CS/CE 10
3 DC 8
4 MOSI/DIN 11
5 SCK/CLK 13
6 VCC Vcc
7 LIGHT 6
8 GND GND

DHT11 (for demo)

No Signal Pin
1 VCC 7
2 DATA 2
3 NC
4 GND GND

n5110_gui_encoder_demo's People

Contributors

cbm80amiga avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

n5110_gui_encoder_demo's Issues

How to adjust the contrast and backlight of the display - code

Can you tell me the logic of the contrast and backlight control code?
Let's start with the contrast, for some reason I got a revision of the display, where a contrast of 10-15 units is normal, and more than the entire display turns black.
When I load your code, I immediately get a black screen, and of course I don't see the menu bars.
In the SETUP code section, I added a line after clearing the display:

   lcd.init();
   lcd.clrScr();
   lcd setContrast(10);

But when I fail in the CONTRAST menu, the display is black again - where is the DEFAULT contrast parameter set?
...
Backlight for some reason works the other way around!
255 - no backlight, moving the slider from 000 increases the backlight.
...
Why did you choose decimal values from 000 to 255 for the highlight scale, and hexadecimal values for the contrast scale?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.