sammichFM OLED Display

Hey guys

i ordered a Newhaven OLED 2x20 Display, it seems it doesnt work on my sammichFM.. it just stays black.

 

What am i missing ?

Thanks

Patrick

 

Check the datasheet and compare with the “regular” displays!

Does the sammich run in 4 or 8 bit mode? Newhaven OLEDs dont like the 4bit midibox implementation 

According to the Datasheet the Pins etc. should be the same.

I dont know for the 4/8 bit thing, it isnt displaying anything.

Hope someone got a clue..

It’s very likely a 4/8 bit thing.

 

The solution would be a modified firmware (I could provide the modification if you are interested) and four wires to J16:D3..D0.

 

Could you please already do this hardware modification?

Connect:

  • PIC Pin RE2 to J16:D3

  • PIC Pin RE1 to J16:D2

  • PIC Pin RB1 to J16:D1

  • PIC Pin RB0 to J16:D0

/edit: pinning corrected, this one is working (confirmed by RyuX)

 

Compare following schematic for sammichFM J16 pinning: http://www.midibox.org/dokuwiki/lib/exe/fetch.php?media=sammichfm:sammichfm_base_pcb_rev_1.pdf

And following schematic for PIC pinning: http://www.ucapps.de/mbhp/mbhp_core_v3.pdf

 

Best Regards, Thorsten.

Hey Thorsten ! Thanks for your reply.

So i just put 4 wires directly from the PIC to the Digital Pins on J16 to the LCD ?

Do i need to cut any traces or just make the new connections in addition ?

 

If i make a firmware update will i have to remodify the firmware? If so could you point me at the part that i need to modify ? Thanks again!!!

Fortunately there are no tracks routed to J16:D3..D0, therefore you can add the wires without special measures.

 

I’m planning to update the firmware, so that a special flag can be set to enable the 8bit LCD interface option.

I would provide you a special precompiled version for testing - but if you already able to compile by yourself, then this would help me (a bit less effort at my side, especially whenever I provide a new firmware)

 

Note that I won’t be able to test the enhancement at my side - I hope that it will work immediately at your side, otherwise I will need some time to buy & try the same OLED.

 

Best Regards, Thorsten.

I dont know yet how to compile the firmware, havent used any programming languages for ages.

 

Ok will do the wiring tomorrow morning, thanks for your effort, would be really nice to get it working.

 

Thanks and best regards

Patrick

Ok, crossing fingers!

 

Please try this version: http://www.ucapps.de/mios/midibox_fm_v1_4j__sammichfm_8bitlcd.zip

 

I’ve enabled the new USE_8BIT_LCD_DRIVER option for the setup_pic18f4685_sammich_fm.hex file only!

 

Best Regards, Thorsten.

Thanks Thorsten… will try this version tomorrow after connecting the wires.

 

So basically flashing this firmware should enable the OLED Driver, if i want to use a normal LCD i would flash the standard version again?

 

Will keep you updated on the progress.

This could save my day.

 

Greets

Patrick

The USE_8BIT_LCD_DRIVER option will work with all LCDs together with the hardware modification, no need to switch to another firmware version.

 

Best Regards, Thorsten.

Hello

I did the Mod and flashed the firmware.

 

The normal LCD is not outputting the correct data anymore.

The OLED is at least showing the first R of what i guess should be (RANDOM PATCH) and some chars at the end.

 

Maybe you got a hint ?

Thanks again

 

EDIT: this is the OLED i got http://de.mouser.com/ProductDetail/Newhaven-Display/NHD-0220DZW-AG5/?qs=sGAEpiMZZMshRHSPqbouvFu0giaJJ%252b33TsxIS1Y%252b3Po%3d

The driver is selected and running.

But it looks like two wires are swapped.

 

Could you please take an hi-resolution picture of your HW mod, so that I can check if the cables are connected to the right pins?

 

Best Regards, Thorsten.

I connected them exactly like you wrote before.. also measure continuity again at those points, here is the pic.. 
Maybe i overlooked something.
Thanks

 

 

EDIT: Its working now.. i just randomly tried to Switch the Wire RE1 <-> RE2. Did i read the Shematics wrong ? you wrote:

 

  • PIC Pin RE1 to J16:D3

  • PIC Pin RE2 to J16:D2

  • PIC Pin RB1 to J16:D1

  • PIC Pin RB0 to J16:D0

/moderator edit: this is the wrong pinning, documentation has been corrected in TK’s posting above

 

Well nevermind.. its working so i am supper happy !! :smiley:

Cool! :smile:

 

Yes, the pin specification was wrong, I corrected it in my posting above.

 

Best Regards, Thorsten.

Thanks again Thorsten.. had to put some more work into it.. because the OLED is not nearly as high as the LCD.. so i had to remount it on the top and solder longer pins to it.

Now finally it looks like the Shruthi XT and fits inside my Studio  :sweat:

 

 

 

 

 

 

Thanks for making it possible  :w00t:

 

Best Regards
Patrick

Looks awesome! Congrats and enjoy your OLEDs! :slight_smile:

 

(The gameboy might be a little bit more difficult to convert ;-))

 

Many greets!

Peter

On 6/23/2014 at 5:18 PM, TK. said:

Ok, crossing fingers!

 

Please try this version: http://www.ucapps.de/mios/midibox_fm_v1_4j__sammichFM_8bitlcd.zip

 

I’ve enabled the new USE_8BIT_LCD_DRIVER option for the setup_pic18f4685_sammich_fm.hex file only!

 

Best Regards, Thorsten.

Is there any chance someone could fix this link? I just purchased a Vishay OLED for my Sammich, but it seems the wiring modification isn’t working. Perhaps my firmware needs updating?

No one?

1 hour ago, Academic Planner said:

No one?

Hi! how are you?
Could you share Oled reference or datasheet?
Best
Bruno