News:

;) This forum is the property of Proton software developers

Main Menu

SSD1306 I2C with Proteus

Started by Yves, May 24, 2023, 09:24 AM

Previous topic - Next topic

Yves

Hi,

Is anyone has managed to simulate the SSD1306 with I2C protocol using Proteus V8.13. I have attached the pulling resistors 4.7k in Clock and SDA. I can see signals going but the display is blank. I'm using the Pic16F1825. in Proteus there is no indication of the address for that virtual display. There are some samples on Proteus that work but you cant see the code. Any ideas?

Yves 
Yves

Pepe

You don't have enough RAM to use that pic, you need more than 1024 bytes of RAM

trastikata

Quote from: Pepe on May 24, 2023, 01:17 PMYou don't have enough RAM to use that pic, you need more than 1024 bytes of RAM

You are probably referring to some universal library, but you don't need to buffer the entire graphic RAM, with less than 64 bytes of RAM and on-the-fly calculations everything can be done at the expense of more processing time and some speed degradation.

Dompie

In the WiKi there is an project: "SSDlite library for OLED display on 12F1840 like PIC's".-Click-
There is no Proteus stuf in that project.
I haven't tested it with a 16F1825.

Johan

Yves

OLED SSD1315 LITE.zipI'm using a code which was posted in this forum called "OLED 1306 lite" but using the 16F1825 instead which has more ram (8K) the 12FXXX in the original post. I have attached the code below. My original question is: Is anyone has managed to run the SSD1306 with Proteus? I have experimented with the 18F25K22 and it works with the real display but not in Proteus. I suspect it is an address issue on the simulation, unfortunately it cannot be define in the simulation.

Yves 
Yves

Dompie

I think you should go to the Proteus supplier and ask them to make the SSD1306 device in Proteus. If they have implemented the API that is in the datasheet of the SSD1306 in Proteus, than you can use this newly made device with various programs. But I give you very, very little chance that they will make an SSD1306 device.

Johan

Yves

Hi Johan,

The link you suggested worked perfectly in Proteus simulation. Maybe Hbus..  must be avoided in many cases. Many thanks for your time.

Yves
Yves

Pepe

demo proteus working

Dolci

hi pepe,

can you make a screenshot of proteus files? can't open the files since I got version 8.13 only.

Thanks
Dolci

Pepe

this is the picture