Hello World!
I need to use a miniature display, I chose SD1306 0.42 and 0.69 inches displays using I2C interface. I started of course with a simple test program (from demo) to test the displays. But they only show dots, do not work. When connecting 0.91 and 0.96 inches displays - they work ok. Where could the problem be?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
In demo folder... Vendor_Boards\Microchip_Low_Pin_Count_Demo_Board\PICKit2_Board\16f18426\15_i2c_Discovery.gcb
This means the I2c was tested - that is good news.
@ALL. Always, always use I2CDiscovery. Use a software version first, the use hardware version. Why? Software will check the circuit - no pps etc etc. You must power cycle the chip if you have tried using PPS before the use of the software I2C.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
This project is designed to monitor the operation of the HALDEX clutch. VW group cars do not have any built-in control, no alarm notifications about the Haldex clutch not working. You drive through mud and sand, and suddenly you find that the rear wheels are not driving, when it is already too late. I made a similar project for the Skoda Yeti, which is published here. The VW T6 has less space to install a display, so need 0.42 inches. First I need for the display working.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Thanks Anobium! I suspect that I will not be able to start these displays with I2C. Because when trying this discovery test, the PC terminal screen shows scribbles. 'The fact that the PIC I2C communication with the display is working is clear, only the letters are not visible, but many dots. After the GLCDCLS command, the screen goes dark. As I said, the 0.96 inches screen works. I ordered the small display 0.42'' with SPI interface. Maybe it will work. There are no DEMO examples for such a case with SSD1306, but in the Help there is a description of how to start it, the settings are as follows:
The second problem - I just installed GC Studio and started using it (legacy mode of course :) ), but automatic Flash does not possible because it does not find my Pickit3+, a error appears:
Error: Programmer executable not found - C:\GCstudio\GCBASIC..\PICKitPlus\PICKitCommandline.exe
Hello World!
I need to use a miniature display, I chose SD1306 0.42 and 0.69 inches displays using I2C interface. I started of course with a simple test program (from demo) to test the displays. But they only show dots, do not work. When connecting 0.91 and 0.96 inches displays - they work ok. Where could the problem be?
What does I2C Discovery show? Does it show the devices?
I use these all the time. So, what chip? What is the setup?
Thanks! I added the code. I am confused why 0.91 and 0.96 inch displays work ok, but smaller ones don't.
How I can test discovery I2C?
In demo folder... Vendor_Boards\Microchip_Low_Pin_Count_Demo_Board\PICKit2_Board\16f18426\15_i2c_Discovery.gcb
This means the I2c was tested - that is good news.
@ALL. Always, always use I2CDiscovery. Use a software version first, the use hardware version. Why? Software will check the circuit - no pps etc etc. You must power cycle the chip if you have tried using PPS before the use of the software I2C.
This project is designed to monitor the operation of the HALDEX clutch. VW group cars do not have any built-in control, no alarm notifications about the Haldex clutch not working. You drive through mud and sand, and suddenly you find that the rear wheels are not driving, when it is already too late. I made a similar project for the Skoda Yeti, which is published here. The VW T6 has less space to install a display, so need 0.42 inches. First I need for the display working.
There is no point is investigating until I2C discovery works. As that will yield the result.
Thanks Anobium! I suspect that I will not be able to start these displays with I2C. Because when trying this discovery test, the PC terminal screen shows scribbles. 'The fact that the PIC I2C communication with the display is working is clear, only the letters are not visible, but many dots. After the GLCDCLS command, the screen goes dark. As I said, the 0.96 inches screen works. I ordered the small display 0.42'' with SPI interface. Maybe it will work. There are no DEMO examples for such a case with SSD1306, but in the Help there is a description of how to start it, the settings are as follows:
Right, or something else?
The second problem - I just installed GC Studio and started using it (legacy mode of course :) ), but automatic Flash does not possible because it does not find my Pickit3+, a error appears:
Error: Programmer executable not found - C:\GCstudio\GCBASIC..\PICKitPlus\PICKitCommandline.exe
I don't know where to set what :(
Many issues here.
Do you want to get on a call to sort? I am available on a SIP phone, or any of the popular channels.
I would like a photo of your GLCD. It may not be I2C device.
Where did you install your GCSTUDIO? did you migrate your PK+ installation?
I am about all day Thursday.
Thanks Anobium! Everything is simple, the problem was solved quickly. Now Flash works automatically.