Announcement
Collapse
No announcement yet.
VDI-RODERICO
Collapse
X
-
Finally I found a problem and my VDI working great with zolen display. Problem was bad reset button, remaining on all time. Thank you a lot :-)
-
I reviewed my st7565 driver and I was WRONG about the #define GLCD_SET_CONTRAST 0x81. The 0X81 is the address pointer to the contrast control, this command is sent first then you send the data O-63 to set the contrast. The Chinese call the contrast "electronic volume". I don't use this compiler so I can't view or change it for you.
Leave a comment:
-
https://www.ebay.com/itm/12864-128X6...-127632-2357-0
This is my zolen display from ebay.
I use pcb v2.2 with mcp604
Leave a comment:
-
Originally posted by zmaj od nocaja View PostHi Waltr I have a problem with my VDI module. I connected the Zolen display to the PCB as follows: 1-8 on data port, RD-RA5, WR-RC4, D / I-RC5, REST-RC6, CS-RC7, VDD- + 5V, VSS-GND, A + on the pcb A+. But the display remains black. The hex code is loaded correctly ВДИ_СТ7567_П18Ф26К22_РР40. Am I wrong somewhere?
Please post a link to data sheet of the EXACT display you are using.
LCD displays need contrast adjusted else they look blank.
Recheck the wiring again. Also read about contrast adjust on that display.
Leave a comment:
-
I read every post from this forum and that is why I chose to order a zolen display with the st7565 controller because it is supported. The only problem is that this is a 16-pin version but I connected according to the template from post 442 #, side 18 and I think that's ok. Probably my problem is cotrasst adjusment. Thank you so much Altra for your help.
Leave a comment:
-
I have problem to creating hex file from C sorce in my mplab. I can only load hex file in pic with pic kit2 programmer. Can you please send me hex file for pic 18f26k22 with correction kontrast.
Leave a comment:
-
-
I looked through the source code and found this..
#define GLCD_SET_CONTRAST 0x81
The contrast has a range of 0-63 Dec or 5bits the upper 3 bits are ignored. With 0X81 the lcd is set to 1 the 8 is ignored. I use between 10 - 20 dec try changing it to 0X18. It was probably a typo and got inverted.
Code:/* Copyright (C) 2019-2020 E. Serradilla This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>. */ #ifndef _ST7567_H_ #define _ST7567_H_ #ifdef __cplusplus extern "C" { #endif #ifdef __18CXX #include "inttypes.h" #else #include <stdint.h> #endif #define GLCD_INIT_DELAY 50 // ms // predefined commands #define GLCD_DISPLAY_ON 0xAF #define GLCD_DISPLAY_OFF 0xAE #define GLCD_SET_CONTRAST 0x81 #define GLCD_RMW_BEGIN 0xE0 #define GLCD_RMW_END 0xEE #ifdef __cplusplus } #endif #endif /* _ST7567_H_ */
Leave a comment:
-
I don't now how to do that. I just programed pic18f26k22 with pickit2 and get message Successfully programmed.
But displey is empty and back light not power. On display I have 5v on VDD and on pin 20 on pic.
Leave a comment:
-
Sorry I don't understand. The Hex files can not be modified. You would have to make changes to the src files in C to to change the contrast.
Ok the text is now translated. You need to find the C source code, it is located back a few pages. I am not set up to help you maybe Roderico or Walter can guide you.
Also there are jumper connections on the zolen for serial or parallel and 80/68 style addressing. Check that the "80"and "P" jumpers are soldered
Leave a comment:
-
Pozz Altra. The display remains blank and does not turn on the backlight. How do I increase the contrast? By the way, the hex code is from 21 pages of this forum for pic18f26k22
Leave a comment:
-
Is the display black or blank? I use these displays and the contrast is controlled by the firmware. So if black you need to lower the contrast. If blank (gray) you need to increase it. Assuming your wiring is correct. Do you have a link to the code you are using?
Leave a comment:
-
Hi Waltr I have a problem with my VDI module. I connected the Zolen display to the PCB as follows: 1-8 on data port, RD-RA5, WR-RC4, D / I-RC5, REST-RC6, CS-RC7, VDD- + 5V, VSS-GND, A + on the pcb A+. But the display remains black. The hex code is loaded correctly ВДИ_СТ7567_П18Ф26К22_РР40. Am I wrong somewhere?
Leave a comment:
Leave a comment: