![]() #include //MenuBackend library – copyright by Alexander Brevig IMPORTANT: to use the menubackend library by Alexander Brevig download it at and add the next code at line 195 You should have received a copy of the GNU General Public License GNU General Public License for more details. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. This program is distributed in the hope that it will be useful,īut WITHOUT ANY WARRANTY without even the implied warranty of The Free Software Foundation, either version 3 of the License, or It under the terms of the GNU General Public License as published by I think this type of structure although very simple may be useful in many situations to manage menu and LCD display with Arduino, and ican be used as a basis for other modifications.Ĭopyright Giuseppe Di Cillo (Contact: program is free software: you can redistribute it and/or modify Update: As noted by Liudr for safety reasons is better to use a very old 40 wires calble instead of the 80 wires cable used by me in these pictures. To connect the LCD display to the Arduino I first soldered two 6-pin strips male on the proto pcb and then, thanks to the an idea given to me by Emanuel in the comments of another post, I used an old parallel cable for IDE hard disks. The other end of the buttons is connected to the Arduino 5V. The 4 buttons are connected to four input pins of the Arduino, which also are connected to the ground through 10K resistors. There are 12 of the 16-pin LCD display connected to the Arduino board: 6 are input pins, 2 power pins, 2are used to power the interior light ,1 to enable writing ( it is connected to ground )and 1 to adjust the contrast ( even is connected to the this ground to have always the maximum contrast). Optionally, to facilitate connections you can use a card for prototypes (protoshield).
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |