LCD1602 Keypad Shield

560 руб.    Хотите дешевле?
Задать вопрос о товаре    Код товара: L1602SH
Доставка и сроки*
По России и миру: ПОЧТА, ЕМС 2-14 дней

Курьерская доставки и самовывоз:

МОСКВА    1 день
САНКТ-ПЕТЕРБУРГ    1 день
АБАКАН    5 дней
АБИНСК    6 дней
АЗОВ    3 дня
АЛМАТЫ    11 дней
АЛУШТА    6 дней
АЛЬМЕТЬЕВСК    5 дней
АНАПА    5 дней
АНАПАСВ    дня
АНГАРСК    8 дней
АРЗАМАС    2 дня
АРМАВИР    7 дней
АРТЕМ    16 дней
АРХАНГЕЛЬСК    5 дней
АСТРАХАНЬ    4 дня
АЧИНСК    12 дней
БАГРАТИОНОВСК    7 дней
БАЛАБАНОВО    4 дня
БАЛАКОВО    5 дней
БАЛАХНА    2 дня
БАЛАШОВ    5 дней
БАРНАУЛ    7 дней
БАТАЙСК    3 дня
БЕЖЕЦК    6 дней
БЕЛАЯ КАЛИТВА    4 дня
БЕЛГОРОД    2 дня
БЕЛОВО    10 дней
БЕРДСК    5 дней
БЕРЕЗНИКИ    5 дней
БЕРЕЗОВСКИЙ    4 дня
БИЙСК    5 дней
БЛАГОВЕЩЕНСК    11 дней
БОГОРОДИЦК    1 день
БОГОРОДСК    2 дня
БОДАЙБО    11 дней
БОР    2 дня
БОРИСОГЛЕБСК    4 дня
БОРОВИЧИ    4 дня
БРАТСК    3 дня
БРЯНСК    1 день
ВАЛУЙКИ    3 дня
ВЕЛИКИЕ ЛУКИ    2 дня
ВЕЛИКИЙ НОВГОРОД    3 дня
ВЕЛИКИЙ УСТЮГ    4 дня
ВЕРХ-ЧЕБУЛА    5 дней
ВЕРХНЕДНЕПРОВСКИЙ    6 дней
ВЕРХНИЙ ТАГИЛ    7 дней
ВЕРХНЯЯ ПЫШМА    6 дней
ВЕРХНЯЯ ТУРА    7 дней
ВЛАДИВОСТОК    14 дней
ВЛАДИКАВКАЗ    4 дня
ВЛАДИМИР    1 день
ВОЛГОГРАД    4 дня
ВОЛГОДОНСК    4 дня
ВОЛЖСК    10 дней
ВОЛЖСКИЙ    5 дней
ВОЛОГДА    1 день
ВОЛЬСК    5 дней
ВОРКУТА    6 дней
ВОРОНЕЖ    1 день
ВОТКИНСК    6 дней
ВЫКСА    2 дня
ВЫШНИЙ ВОЛОЧЕК    2 дня
ВЯЗЬМА    3 дня
ГАВРИЛОВ ЯМ    2 дня
ГАГАРИН    2 дня
ГЕЛЕНДЖИК    5 дней
ГЛАЗОВ    5 дней
ГОРНО-АЛТАЙСК    12 дней
ГОРОДЕЦ    2 дня
ГРОЗНЫЙ    5 дней
ГРЯЗИ    4 дня
ГРЯЗОВЕЦ    1 день
ГУБКИН    4 дня
ГУРЬЕВСК    6 дней
ГУСЕВ    7 дней
ГУСЬ-ХРУСТАЛЬНЫЙ    4 дня
ДАГЕСТАНСКИЕ ОГНИ    5 дней
ДЕРБЕНТ    6 дней
ДЖАНКОЙ    5 дней
ДЗЕРЖИНСК    2 дня
ДИМИТРОВГРАД    4 дня
ДОРОГОБУЖ    6 дней
ЕВПАТОРИЯ    5 дней
ЕЙСК    5 дней
ЕКАТЕРИНБУРГ    3 дня
ЕССЕНТУКИ    5 дней
ЖЕЛЕЗНОГ-К КУРСК ОБЛ    4 дня
ЖЕЛЕЗНОГОРСК    12 дней
ЗАВОДОУКОВСК    6 дней
ЗЕЛЕНОГОРСК    12 дней
ЗЕЛЕНОКУМСК    6 дней
ЗЕРНОГРАД    4 дня
ЗЛАТОУСТ    5 дней
ИВАНОВО    1 день
ИЖЕВСК    4 дня
ИЗБЕРБАШ    5 дней
ИНТА    6 дней
ИРКУТСК    7 дней
ИСКИТИМ    6 дней
ИШИМ    7 дней
ЙОШКАР-ОЛА    3 дня
КАДУЙ    4 дня
КАЗАНЬ    2 дня
КАЛИНИНГРАД    6 дней
КАЛУГА    1 день
КАМЕНСК-УРАЛЬСКИЙ    7 дней
КАМЫЗЯК    7 дней
КАМЫШИН    5 дней
КАНСК    12 дней
КАРГОПОЛЬ    12 дней
КАРПИНСК    6 дней
КАСПИЙСК    5 дней
КАЧКАНАР    6 дней
КЕМЕРОВО    6 дней
КИЗЛЯР    7 дней
КИМРЫ    2 дня
КИРЕЕВСК    1 день
КИРОВ    4 дня
КИРОВ КАЛУЖ.ОБЛ.    2 дня
КИРОВГРАД    7 дней
КИСЕЛЕВСК    6 дней
КЛИНЦЫ    2 дня
КОВРОВ    4 дня
КОЛЫВАНЬ    6 дней
КОЛЬЧУГИНО    4 дня
КОМСОМОЛЬСК-НА-АМУРЕ    13 дней
КОНАКОВО    2 дня
КОНДОПОГА    7 дней
КОПЕЙСК    4 дня
КОРЯЖМА    5 дней
КОСТРОМА    1 день
КОТЛАС    5 дней
КОТОВСК    4 дня
КРАСНОДАР    2 дня
КРАСНОЗНАМЕНСК    7 дней
КРАСНОКАМСК    5 дней
КРАСНОТУРЬИНСК    6 дней
КРАСНОУФИМСК    4 дня
КРАСНОЯРСК    7 дней
КРОПОТКИН    7 дней
КСТОВО    2 дня
КУЗНЕЦК    9 дней
КУЙБЫШЕВ    8 дней
КУНГУР    6 дней
КУРГАН    5 дней
КУРСК    1 день
КУРЧАТОВ    7 дней
КЫЗЫЛ    8 дней
КЫШТЫМ    7 дней
ЛЕБЕДЯНЬ    8 дней
ЛЕНИНСК-КУЗНЕЦКИЙ    6 дней
ЛЕСНОЙ    6 дней
ЛЕСОСИБИРСК    12 дней
ЛИВНЫ    4 дня
ЛИНЕВО    6 дней
ЛИПЕЦК    1 день
ЛЫСЬВА    5 дней
ЛЮДИНОВО    4 дня
ЛЯНТОР    9 дней
МАГНИТОГОРСК    6 дней
МАЙКОП    3 дня
МАЙМА    12 дней
МАЙСКИЙ    5 дней
МАЛОЯРОСЛАВЕЦ    4 дня
МАСЛЯНИНО    6 дней
МАХАЧКАЛА    5 дней
МЕГИОН    8 дней
МЕДВЕДЕВО    13 дней
МЕДНОГОРСК    4 дня
МЕЖДУРЕЧЕНСК    6 дней
МИАСС    6 дней
МИЛЛЕРОВО    8 дней
МИНУСИНСК    6 дней
МИРНЫЙ-АРХ    дня
МИХАЙЛОВКА    5 дней
МИХАЙЛОВСК    6 дней
МИЧУРИНСК    4 дня
МУРМАНСК    5 дней
МУРОМ    4 дня
МЦЕНСК    4 дня
НАБЕРЕЖНЫЕ ЧЕЛНЫ    3 дня
НАДЫМ    3 дня
НАЗРАНЬ    6 дней
НАЛЬЧИК    5 дней
НАРИМАНОВ    7 дней
НАРТКАЛА    5 дней
НАХОДКА    15 дней
НЕВЬЯНСК    4 дня
НЕМАН    7 дней
НЕФТЕКАМСК    5 дней
НЕФТЕЮГАНСК    6 дней
НИЖНЕВАРТОВСК    8 дней
НИЖНЕКАМСК    7 дней
НИЖНИЙ НОВГОРОД    1 день
НОВОАЛТАЙСК    8 дней
НОВОДВИНСК    4 дня
НОВОКУЗНЕЦК    6 дней
НОВОКУЙБЫШЕВСК    4 дня
НОВОМОСКОВСК    4 дня
НОВОРОССИЙСК    5 дней
НОВОСИБИРСК    5 дней
НОВОУРАЛЬСК    4 дня
НОВОЧЕБОКСАРСК    4 дня
НОВЫЙ УРЕНГОЙ    2 дня
НОРИЛЬСК    3 дня
НОЯБРЬСК    7 дней
НЯГАНЬ    8 дней
НЯЗЕПЕТРОВСК    6 дней
ОБНИНСК    4 дня
ОЗЕРСК    8 дней
ОМСК    5 дней
ОРДЫНСКОЕ    6 дней
ОРЕЛ    1 день
ОРЕНБУРГ    4 дня
ОРСК    6 дней
ПАВЛОВО    5 дней
ПЕНЗА    3 дня
ПЕРВОУРАЛЬСК    4 дня
ПЕРМЬ    4 дня
ПЕТРОЗАВОДСК    3 дня
ПЕТРОПАВЛОВСК-КАМЧАТ    3 дня
ПЕЧОРА    10 дней
ПЛЕСЕЦК    12 дней
ПОКАЧИ    10 дней
ПОЛЕВСКОЙ    4 дня
ПРАВДИНСК    7 дней
ПРОКОПЬЕВСК    6 дней
ПРОЛЕТАРСКИЙ    3 дня
ПРОХЛАДНЫЙ    5 дней
ПСКОВ    3 дня
ПУГАЧЕВ    5 дней
ПЫТЬ-ЯХ    9 дней
ПЯТИГОРСК    7 дней
РАДУЖНЫЙ    6 дней
РАМОНЬ    7 дней
РЕВДА    4 дня
РЖЕВ    3 дня
РОСТОВ ВЕЛИКИЙ    6 дней
РОСТОВ-НА-ДОНУ    2 дня
РУБЦОВСК    8 дней
РЫБИНСК    3 дня
РЫЛЬСК    2 дня
РЯЗАНЬ    1 день
САЛАВАТ    6 дней
САЛЕХАРД    3 дня
САЛЬСК    4 дня
САМАРА    3 дня
САРАНСК    3 дня
САРАПУЛ    6 дней
САРАТОВ    3 дня
САРОВ    2 дня
САСОВО    4 дня
САФОНОВО    6 дней
САЯНОГОРСК    6 дней
САЯНСК    10 дней
СЕВАСТОПОЛЬ    5 дней
СЕВЕРОБАЙКАЛЬСК    9 дней
СЕВЕРОДВИНСК    4 дня
СЕВЕРОУРАЛЬСК    6 дней
СЕВЕРСК    7 дней
СЕРОВ    6 дней
СИМФЕРОПОЛЬ    5 дней
СЛАВСК    7 дней
СЛАВЯНСК-НА-КУБАНИ    5 дней
СЛАНЦЫ    2 дня
СМОЛЕНСК    1 день
СНЕЖИНСК    7 дней
СОВЕТСК    7 дней
СОВЕТСКАЯ ГАВАНЬ    12 дней
СОВЕТСКИЙ    6 дней
СОКОЛ    1 день
СОЛИКАМСК    6 дней
СОЛЬ-ИЛЕЦК    5 дней
СОЧИ    4 дня
СТАВРОПОЛЬ    4 дня
СТАРЫЙ ОСКОЛ    4 дня
СТЕРЛИТАМАК    5 дней
СТРЕЖЕВОЙ    8 дней
СУРГУТ    5 дней
СЫЗРАНЬ    5 дней
СЫКТЫВКАР    6 дней
ТАВДА    7 дней
ТАГАНРОГ    5 дней
ТАМБОВ    1 день
ТАРКО-САЛЕ    8 дней
ТВЕРЬ    1 день
ТЕМРЮК    5 дней
ТИМАШЕВСК    5 дней
ТИХОРЕЦК    10 дней
ТОБОЛЬСК    7 дней
ТОГУЧИН    6 дней
ТОЛЬЯТТИ    4 дня
ТОМСК    5 дней
ТРЕХГОРНЫЙ    6 дней
ТРОИЦК    7 дней
ТУАПСЕ    6 дней
ТУЛА    1 день
ТУЛУН    10 дней
ТУТАЕВ    3 дня
ТЮМЕНЬ    4 дня
УДОМЛЯ    2 дня
УЗЛОВАЯ    3 дня
УЛАН-УДЭ    12 дней
УЛЬЯНОВСК    3 дня
УНЕЧА    7 дней
УРАЙ    8 дней
УСИНСК    10 дней
УСОЛЬЕ-СИБИРСКОЕ    10 дней
УССУРИЙСК    16 дней
УСТЬ-ИЛИМСК    10 дней
УФА    4 дня
УХТА    6 дней
ХАБАРОВСК    12 дней
ХАНТЫ-МАНСИЙСК    7 дней
ХАСАВЮРТ    6 дней
ЧАЙКОВСКИЙ    6 дней
ЧЕБОКСАРЫ    3 дня
ЧЕЛЯБИНСК    4 дня
ЧЕРЕПАНОВО    6 дней
ЧЕРЕПОВЕЦ    4 дня
ЧЕРКЕССК    7 дней
ЧЕРНОГОРСК    6 дней
ЧЕРНЯХОВСК    7 дней
ЧИТА    9 дней
ЧУСОВОЙ    6 дней
ШАДРИНСК    6 дней
ШАХТЫ    3 дня
ШЕБЕКИНО    3 дня
ШЕКСНА    4 дня
ШЕЛЕХОВ    8 дней
ШИЛОВО    3 дня
ШУМИХА    0 дня
ЭЛИСТА    5 дней
ЭНГЕЛЬС    4 дня
ЮГОРСК    9 дней
ЮЖНО-САХАЛИНСК    3 дня
ЮЖНОУРАЛЬСК    7 дней
ЮРГА    8 дней
ЯБЛОНОВСКИЙ    4 дня
ЯКУТСК    3 дня
ЯЛТА    6 дней
ЯЛУТОРОВСК    6 дней
ЯРОСЛАВЛЬ    1 день
ЯРЦЕВО    3 дня
* зависит от наличия на нашем складе. Точные сроки уточняйте у менеджера.

Плата расширения (Shield) LCD1602 Keypad

  • совместима с Arduino Mega, Arduino Uno
  • 2 строки, 16 символов
  • регулировка яркости подсветки
  • регулировка контаста
  • клавиши управления (UP, DOWN, LEFT, RIGHT, SELECT, RESET)
  • Рабочее напряжение 4.5-5.5v.
  • Потребление 2.0mA (5.0V)
  • Используются 14 стандартных пинов (без подсветки) и 16 пинов с подсветкой. Список пинов смотрите на доп. изображении

Описание пинов и пример скетча:

The VSS power ground 9 D2 data


2 VDD positive power supply 10 D3 data
11 D4 Data 3 VL LCD bias
4 RS data / command select 12 D5 data
5 R / W Read / Write Select 13 D6 data
6 E 14 D7 data enable signal
7 D0 data the 15 BLA backlight source positive
8 D1 data the 16 BLK backlight negative
Pin 1: VSS ground power.
Pin 2: VDD connected to the 5V positive supply.
Pin 3: VL LCD display contrast adjustment terminal connected to the positive power supply contrast weakest ground when contrast
Highest contrast is too high will produce "ghosting", used by a 10K potentiometer to adjust the contrast.
4-pin: RS register select the data register, select, high and low, select the instruction register.
Pin 5: R / W for read and write signal line, a high read operation, write operation is low. When RS
Low and R / W can be written instructions or display address when RS is high for the low-level R / W
Read busy signal, when the RS is high level R / W is low can write data.
: E end of the first 6 feet to enable end, When E Duanyou high jump goes low, the LCD module execute command.
7 to 14 feet: D0 ~ D7 8-bit bi-directional data line.
15 feet: backlight positive.
16 feet: backlight negative.
The 1602LCD the instruction descriptions:
1602 LCD module within the controller 11 control commands, such as table shown in the table below:
 The serial directive RS R / W D7 D6 D5 D4 D3 D2 D1 D0

Clear screen 1 0 0 0 0 0 0 0 0 0 1

2 cursor returns 000,000,001 *


3 is set to the input mode 0 0 0 0 0 0 0 1 I / D S
4 shows the ON / OFF control 0 0 0 0 0 0 1 D C B
5 cursor or character shift 0 0 0 0 0 1 S / C R / L **
6 set function 0 0 0 0 1 DL N F **
7 set character generator memory address 0001 character generator memory address
8 set data memory address 001 to display the data memory address
9 read busy flag or address 0 1 BF counter address
10 write the number to CGRAM or DDRAM) 1 0 write data content
11 11 reads out the data content from CGRAM or DDRAM readings
1602 LCD module of read and write operations, the operation of the screen and the cursor are achieved through instruction programming. (Note: a high, 0 low)
Directive 1: clear script 01H, the cursor reset to address 00H position.
Instruction 2: Cursor reset, the cursor returns to the address 00H.
Instruction 3: cursor and display mode settings I / D: Move the cursor direction, high to the right, low level to the left S:
All the text on the screen whether the left or the right. High indicates low invalid.
Instruction 4: switch control. D: on and off, control the overall display a high level open display, low power
Level expressed concern C: control the cursor on and off high indicates the cursor, low non-cursor B: control
Made whether the cursor is flashing, high flash, low level does not blink.
Directive 5: cursor or display shift S / C: high mobile display text, low, move the cursor.
Instruction 6: Function Set command DL: high four bus low level for 8-bit bus N: low power
Usually displayed as a single line, two-line display F: 5x7 dot matrix characters, high low when high
5x10 dot matrix characters.
Directive 7: The character generator RAM address set.
Directive 8: DDRAM address setting.
Directive 9: read a busy signal and cursor address BF: for busy flag high indicates busy, the module can not be connected
Received command or data, if is low is not busy.
Directive 10: write data.
Instruction 11: read data.
 Compatible with the HD44780 chip timing table is as follows:

Read Status input RS = L, R / W = H, E = H output D0-D7 = Status Word

 Write instructions input RS = L, R / W = L, D0-D7 = script, E = high pulse output without


Read data input RS = H, R / W = H, E = H output D0-D7 = data
Write data input RS = H, R / W = L, D0-D7 = Data, E = high pulse output without

 1602LCD general initialization (reset) process:

Delay 15mS

Write command 38H (does not detect a busy signal)


Delay 5mS
Write command 38H (does not detect a busy signal)
Delay 5mS
Write command 38H (does not detect a busy signal)
Each subsequent write instruction, read / write data operations are necessary to detect a busy signal
Write instruction 38H: display mode setting
Written instructions 08H: display off
Written instructions 01H: clear screen
Written instructions 06H: Move the cursor is set
Write instruction 0CH: open and the cursor is set
AUDUINO official routine:

/ / Example use of LCD4Bit_mod library

# Include

/ / Create object to control an LCD.

/ / Number of lines in display = 1

LCD4Bit_mod lcd = LCD4Bit_mod (2);

 

/ / Key message

char msgs [5] [15] = {"Right Key OK",

                   "Up Key OK",

                   "Down Key OK",

                   "Left Key OK",

                   "Select Key OK"};

int adc_key_val [5] = {30, 150, 360, 535, 760};

int NUM_KEYS = 5;

int adc_key_in;

int key = -1;

int oldkey = -1;

 

void setup () {

 pinMode (13, OUTPUT); / / we'll use the debug LED to output a heartbeat

 

 lcd.init ();

 / / Optionally, now set up our application-specific display settings, overriding whatever the lcd did in lcd.init ()

 / / Lcd.commandWrite (0x0F) ;/ / cursor on, display on, blink on. (Nasty!)

  lcd.clear ();

 lcd.printIn ("KEYPAD testing ... pressing");

   

}

 

void loop () {

 

  adc_key_in = analogRead (0); / / read the value from the sensor

 digitalWrite (13, HIGH);

 key = get_key (adc_key_in); / / convert into key press

  

  if (key! = oldkey) / / if keypress is detected

  {

   delay (50); / / wait for debounce time

     adc_key_in = analogRead (0); / / read the value from the sensor

   key = get_key (adc_key_in); / / convert into key press

   if (key! = oldkey)

   {

     oldkey = key;

     if (key> = 0) {

     lcd.cursorTo (2, 0); / / line = 2, x = 0

       lcd.printIn (msgs [key]);

     }

   }

 }

 

 / / Delay (1000);

 digitalWrite (13, LOW);

 }

 

/ / Convert ADC value to key number

int get_key (unsigned int input)

{

  int k;

   

  for (k = 0; k <NUM_KEYS; k + +)

  {

     if (input
     {

          

   return k;

       }

  }

   

   if (k> = NUM_KEYS)

       k = -1; / / No valid key pressed

   

return k;

}



LCD1602 Keypad Shield Отзывы:

Отзывы: 0, Оценка: 0.00

Ваш отзыв может быть первым.

С данным товаром также покупают: