happyhappysundays / SparkBox

A BlueTooth/BLE effects pedal for the Spark40 guitar amp.
GNU General Public License v3.0
41 stars 13 forks source link

Using SSD1309 Display #50

Closed jkennedude closed 1 year ago

jkennedude commented 1 year ago

Love the work done on this!

I basically followed along the ESP32 parts list in the readme. I've managed to connect and get preset switching working, but with no display output. I think this is because I went with the large display from the parts list, and it uses an SSD1309 driver while the thingpulse library used only supports up to 1306.

This is my first time working with anything in the world of embedded/arduino so I am not sure if there is an easy fix to this issue. I don't have a huge problem buying a smaller display if I need to, but would of course prefer to use the one I already have (and if the 1309 display isn't supported it should be removed from the parts list as an option).

paulhamsh commented 1 year ago

This may help (not checked it) - a Thingpulse version for SSD1309:

https://github.com/ThingPulse/esp8266-oled-ssd1306/issues/120

happyhappysundays commented 1 year ago

Hi there. I do have the large display on my own one which works well. I do not recall which driver it has. It is feasible that the link I use in the pats list points to something that has changed on the vendor side, formerly being 1306-based but now 1309?

Update: Further checking shows that I did use the 1309-based one. I can't actually see 2.42" modules that don't use it. However, that link points to a number of versions of the module. Not just color, but interface type. Is it possible that you bought an SPI one instead?

jkennedude commented 1 year ago

However, that link points to a number of versions of the module. Not just color, but interface type. Is it possible that you bought an SPI one instead?

This is it, I have an SPI interface on mine. Will buy an I2C version if you're saying that it works OOTB without explicit SSD1309 support.

a Thingpulse version for SSD1309

This looked promising but doesn't compile (even after adding the SSD1309 includes in UI.h)

Thanks to you both!

happyhappysundays commented 1 year ago

All I can offer is that mine​ worked out of the box. I think you nailed it with the SPI/I2C confusion.


From: jkennedude @.> Sent: Thursday, 24 August 2023 4:13 AM To: happyhappysundays/SparkBox @.> Cc: David Thompson @.>; Comment @.> Subject: Re: [happyhappysundays/SparkBox] Using SSD1309 Display (Issue #50)

However, that link points to a number of versions of the module. Not just color, but interface type. Is it possible that you bought an SPI one instead?

This is it, I have an SPI interface on mine. Will buy an I2C version if you're saying that it works OOTB without explicit SSD1309 support.

a Thingpulse version for SSD1309

This looked promising but doesn't compile (even after adding the SSD1309 includes in UI.h)

Thanks to you both!

— Reply to this email directly, view it on GitHubhttps://github.com/happyhappysundays/SparkBox/issues/50#issuecomment-1690415820, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ACXLX3XT5APNT4TSSTUNCY3XWZB3XANCNFSM6AAAAAA33Z4H3I. You are receiving this because you commented.Message ID: @.***>

giovaboy commented 1 year ago

I got the large one from the part list working. It is SPI (out of the box) and I2C commutable by soldering some points as written on the back of the unit.

jkennedude commented 1 year ago

soldering some points as written on the back of the unit.

I ended up doing this too and now it works perfectly, and no new order needed. Thanks!

For posterity's sake I will also link here a pretty well made youtube video of someone changing the interface type on the same board. I personally just bridged with solder instead of 0 ohm resistors because I didn't have any handy.

Thanks again to all, can't wait to put it in a proper case!

happyhappysundays commented 1 year ago

Haha, when I clicked on that video it was already partially played, showing that I had used the same video to do mine! 🙂 I will make a note in the parts list.

David


From: jkennedude @.> Sent: Friday, 25 August 2023 12:55 AM To: happyhappysundays/SparkBox @.> Cc: David Thompson @.>; Comment @.> Subject: Re: [happyhappysundays/SparkBox] Using SSD1309 Display (Issue #50)

soldering some points as written on the back of the unit.

I ended up doing this too and now it works perfectly, and no new order needed. Thanks!

For posterity's sake I will also link here a pretty well made youtube videohttps://www.youtube.com/watch?v=uPWzL_MZ4q4&list=LL&index=3&t=590s&pp=gAQBiAQB of someone changing the interface type on the same board. I personally just bridged with solder instead of 0 ohm resistors because I didn't have any handy.

Thanks again to all, can't wait to put it in a proper case!

— Reply to this email directly, view it on GitHubhttps://github.com/happyhappysundays/SparkBox/issues/50#issuecomment-1691841552, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ACXLX3QMAUOREASHZVHOFD3XW5TOXANCNFSM6AAAAAA33Z4H3I. You are receiving this because you commented.Message ID: @.***>