¿ªÔÆÌåÓý

ctrl + shift + ? for shortcuts
© 2025 Groups.io

clk and data lines


 

Hi,i am trying to find out why my atu 100 display dont work,what scope traces should i see on the clk and data lines?,on mine i have brief activity on turn on then nothing.cheers.


 

Hi Paul,
It should send the initial settings for the OLED and then the startup screen information and then after a short delay the main screen information.
After that, the display only gets updated with changes. Examples:
Short press of the TUNE button should update the display with ¡°RESET¡±.
Long press of the TUNE button should update the display with ¡°TUNE¡±.

For a 128x64 OLED the settings I have used are as follows.


If you have a Rigol or Siglent oscilloscope, it may have the I2C serial decode features and you should be able to check the I2C interface.
The I2C address 0x78 = 0111 1000 in the EEPROM configuration is the value written to the interface (Read/Write bit-0 = 0).


The slave address is the upper 7-bits = 0x3C which is what is shown on the Rigol oscilloscope (see below).






From the code the values on the interface at startup match those seen on the Rigol oscilloscope.



?
73, Dave


 

i get nothing like that,just a brief spike at turn on and nothing,i have 2 of these both do the same,need to find my pickit3 and read them.one of these is new just the diode caps +vreg+headers fitted,seems dead,bit odd tho,first one was ok untill the cap fried,was still showing data on the display tho when it was disconnected to check over,its very odd.73


 

Yes, it seems very strange, particularly if it was working before the capacitor problem. Check that the MCLR is not stuck low for some reason. I think you will have to validate the EEPROM configuration with the PICkit. Hopefully you will get to the source of the problem.
73, Dave
?


 

well i have used an arduino uno with a test sketch,all my oled displays work fine,need to hunt down my programer now,at least i now know the displays are ok,can rf corupt the pic fw on these?.73 m3vuv


 

Well it now has a semi working display,looks like an iffy dupont lead connector,i hate them with a vengance,total crappy idea!.


 

Hi Paul, Yes, the female connectors can be a bit of a pain. I tend to just make up a multi-pin connectors as required, and they seem to be a little more reliable.
Anyway, is sounds like you are back up and running with the OLED display.
I plan to add a D1 Mini (ESP8266) module to provide remote WIFI/MQTT monitoring and control of the ATU, hence the small additional board in the box.
I am trying out a SoftSPI interface, using the PIC as the SPI master.



73, Dave


?