Build your own USB tuner . Questions about hardware

Trouble with SSD1306 128*64 display

Messagede radiogareth » Ven 17 Aoû 2018 15:30

I'm using MTv0.8 and its working fine receiving RPi across the shack and also my Pluto signals. I have added a small display (SSD1306 128*64 from eBay which tested fine with an arduino) and updated the MTv0.8 config file to say OLED=yes and Digole=No.
I have checked the wiring (0, 3.3, SCL&SDA all correct) but I have no display. Running 'TestmyMT v2.0a returns 'Pb with OLED1_Master SSD1306 init! NOT OK which probably explains why I have no display.
What might be a fix for this? I have checked with multiple displays.
Thanks
Gareth
Dernière édition par radiogareth le Sam 18 Aoû 2018 17:04, édité 1 fois.
radiogareth
 
Messages: 5
Inscription: 25 Oct 2017

Re: Trouble with SSD1306 128*64 display

Messagede radiogareth » Sam 18 Aoû 2018 09:44

I think my issue MUST be that my OLED display I2C address does not match what the software sends. I have tried both addresses on my boards, picture attached. Is there any way to change the display address that MT v0.8 sends the data to?
Or does anyone have a link to a know to work unit? eBay or amazon perhaps?
Thanks
Gareth
display OLEd.jpg
display OLEd.jpg (291.52 Kio) Vu 31541 fois
radiogareth
 
Messages: 5
Inscription: 25 Oct 2017

Re: Trouble with SSD1306 128*64 display

Messagede F6DZP » Sam 18 Aoû 2018 10:32

Hello,

using the software "TestMy MiniTiounerPro v0_1b":

"Test OLED1 Master" will test oled at address 78h and "Test OLED2" test oled at address 7Ah.

If I look at your photo, I see that address selected is 78h, so it is OK.

Test OLED1 master.jpg
Test OLED1 master.jpg (167.61 Kio) Vu 31538 fois


on one of my Oleds I have pins: 1 VDD(3.3v) 2 GND (ground) 3 SCL (clock) 4 SDA (data), on some other I have 1 GND 2 VCC 3 SCL (clock) 4 SDA (data), so verify twice

Please give a picture of the whole Oled you are using to compare with those I already know.

Jean-Pierre F6DZP
F6DZP
 
Messages: 1129
Inscription: 24 Déc 2010

Re: Trouble with SSD1306 128*64 display

Messagede radiogareth » Sam 18 Aoû 2018 12:04

2018-08-18 12.50.29.jpg
2018-08-18 12.50.29.jpg (242.73 Kio) Vu 31535 fois
2018-08-18 12.50.43.jpg
2018-08-18 12.50.43.jpg (350.22 Kio) Vu 31535 fois
Thanks you Jean-Pierre, you have explained how it all works now. All my units are 1 Gnd, 2 Vcc, 3 SCl and 4 SDA but none of them work with either OLED test.
But they all work on an arduino sketch. I will now find that sketch and look at the I2C address, or read it with another arduino code snippet I have found. It must be the address???
Thanks
Gareth, G4XAT
radiogareth
 
Messages: 5
Inscription: 25 Oct 2017

Re: Trouble with SSD1306 128*64 display

Messagede radiogareth » Sam 18 Aoû 2018 15:44

Some arduino software reports (from here https://gist.github.com/tfeldmann/5411375)

"I2C device found at address 0x3C" However, this may be a 7 bit address, which shifted left (to give an 8 bit address) would then give what's written on the PCB.

Now I know why it won't work on MT V0.8. Any chance of a third button Jean-Pierre, 'TestOLEDMaster3' or maybe a box to put in the address of a known device if indeed it is actually different?

Thanks

Gareth, G4XAT
Dernière édition par radiogareth le Sam 18 Aoû 2018 21:01, édité 1 fois.
radiogareth
 
Messages: 5
Inscription: 25 Oct 2017

Re: Trouble with SSD1306 128*64 display

Messagede F6DZP » Sam 18 Aoû 2018 19:23

If we look at the info written on your Oled pcb, we see that it is set for address 0x78 so it is exactly the value that Minitioune uses.
So there is nothing to change with the software.

Your OLED is set to 78h and Minitioune needs 78h, so the problem is not here.

Jean-Pierre F6DZP
F6DZP
 
Messages: 1129
Inscription: 24 Déc 2010

Re: Trouble with SSD1306 128*64 display

Messagede radiogareth » Sam 18 Aoû 2018 21:06

I think the problem is I have 0.96" displays. I assumed that the larger size related to the overall width of the PCB, not the display area. Clearly something is different. 1.3" on order.
Thanks
Gareth

UPDATE WIth a new display such as this, https://www.ebay.co.uk/itm/1-3-inch-Blu ... 2749.l2649 it works exactly as I expected. Clearly all OLEDs are NOT the same, whatever their address and stated resolution.....

It looks GREAT :-)
radiogareth
 
Messages: 5
Inscription: 25 Oct 2017

Re: Trouble with SSD1306 128*64 display

Messagede mucsb » Jeu 24 Mar 2022 22:44

Team,
I have a 0,96" display IIC address 0x3C. Can I use it with Minitiouner. Can I specify somehow a different IIC address?
73 de Béla HA4BM
mucsb
 
Messages: 4
Inscription: 15 Jan 2020

Re: Trouble with SSD1306 128*64 display

Messagede oe8pck » Sam 9 Avr 2022 08:02

radiogareth a écrit:I think the problem is I have 0.96" displays. I assumed that the larger size related to the overall width of the PCB, not the display area. Clearly something is different. 1.3" on order.
Thanks
Gareth

UPDATE WIth a new display such as this, https://www.ebay.co.uk/itm/1-3-inch-Blu ... 2749.l2649 it works exactly as I expected. Clearly all OLEDs are NOT the same, whatever their address and stated resolution.....

It looks GREAT :-)


I have tried using the link to buy the display but Ebay cannot find the product can you give me another link or to banggod or Amazon?
Many thanks in advance.

73 de Paul OE8PCK
oe8pck
 
Messages: 4
Inscription: 01 Nov 2021
Localisation: JN76do

Forums Statistiques

Qui est en ligne

Utilisateurs parcourant ce forum: Google [Bot] et 8 invités

Options

Retourner vers MiniTiouner

cron