Announcement

Collapse
No announcement yet.

VDI-RODERICO

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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.

    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_ */

      Comment


      • Yes jumper R1-paralel port is connect and R4-80 is connect. This is zolen displey with 16 pins
        Click image for larger version

Name:	IMG_20220404_050305.jpg
Views:	1
Size:	943.8 KB
ID:	362797

        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.

          Comment


          • Buy the right display that is recommended by the author

            Comment


            • Originally posted by ArchibaldSTM View Post
              Buy the right display that is recommended by the author
              See page 13 post 304 in this thread

              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.

                Comment


                • Originally posted by zmaj od nocaja View Post
                  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?

                  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.

                  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

                    Comment


                    • 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.

                      Comment


                      • 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 :-)

                        Comment


                        • Originally posted by zmaj od nocaja View Post
                          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 :-)

                          Ahhh...something simple and stupid...
                          Great nothing was wrong with display connections or code.

                          Comment


                          • Anybody care to comment on the discrimination accuracy of Roderico VDI vs. the display made by Holyuser?

                            Comment


                            • Originally posted by Wiltran View Post
                              Anybody care to comment on the discrimination accuracy of Roderico VDI vs. the display made by Holyuser?
                              I can comment on the Roderico VDI but never used the Holyuser and do not know what it is.

                              I use the VDI on a TGSL and the X-Y display I find to be most useful. I do not use the VDI numbers but look at the angle and shape of the X-Y graph while doing short sweeps across the target in multiple directions. Correct ID of target is then about 80%. Many targets will fool you, had one that seemed to be can slaw but dug it and found a 14ct gold ring with three diamonds that had been plow bent.

                              Comment


                              • You must have some idea about the vdi numbers accuracy. Holyuser made the first vdi display on this board whites VDI that really worked. It makes me realize how old the Geotech board is, pretty cool. from what Ive read he has health issues. Yeah I agree with you that the x-y graph is great and i am wondering if it will work on tejon.

                                Comment

                                Working...
                                X