nicktaras
Posts: 1
Joined: Mon Jul 09, 2018 11:17 pm

XC4629 Display Module and pi zero

Mon Jul 09, 2018 11:33 pm

I recently bought an OLEDs to connect to my R PI Zero W.

Spec:
Mode: DuinoTech XC4629
Res: 128 x 128
Type: SPI interface
Chip Set: ST7735
Data sheet: https://www.jaycar.com.au/medias/sys_ma ... etMain.pdf

The XC4629 Display Module is supported by a library included with the Arduino IDE.

However, I wish to use this oled with my Rasberry Pi Zero. Does anyone know how to learn about writing a program to do this, or using a selection of tools such as http://wiringpi.com/ to help me get there.

To this point I'm have done the following:

- Installed Retro PI
- run raspi-config and enabled the SPI interface
- Checked in the config.txt that this is enabled
- Soldered and connected the oled to the PI

At this time I have a white screen.

When I'm looking to work out how to drive the PI at 128 x 128 resolution and display the contents on this micro screen.

Questions I currently have are:

- How can I install the XC4629 module on the pi?
- If required where should I look to learn more about programming with SPI / Oled
- Any experience you've had would be great : ) Many hours spent so far with no luck.

Thanks,

Nick

DirkS
Posts: 9936
Joined: Tue Jun 19, 2012 9:46 pm
Location: Essex, UK

Re: OLED and pi zero

Tue Jul 10, 2018 7:05 am

Google to the rescue again :)
Searching for "st7735 raspberry pi" gives over 60k results.
For example https://github.com/rm-hull/luma.lcd

BTW it's a TFT LCD screen, not OLED

User avatar
Z80 Refugee
Posts: 358
Joined: Sun Feb 09, 2014 1:53 pm

Re: OLED and pi zero

Tue Jul 10, 2018 7:41 am

GameboyMaster wrote:
Thu Oct 20, 2016 10:10 pm
Do I need specific wires? As in do I need wires that have specific functions? Or can I use normal wires?
Just wires, and it doesn't matter what colour they are either. But keep them short - half a metre should be no problem. I find solid-core telephone or alarm wire a convenient source of cheap and easily-available general purpose hook-up wire (but avoid multi-stranded unless you need a flexible wire).

Reasons to need wires with particular specifications include: sending signals over a long distance (over 1m*), high currents (over half an amp*), high voltages (over 100V*), high frequencies (over 100kHz*), small signals (less than 1V amplitude*). Keep within that and you can use pretty much whatever you have to hand.

* These are very much "engineer's rule of thumb" figures below which I wouldn't waste effort calculating exact requirements unless something isn't working. They are not hard-and-fast limits or guarantees.
Military and Automotive Electronics Design Engineer (retired)

For the best service: make your thread title properly descriptive, and put all relevant details in the first post (including links - don't make us search)!

Return to “Beginners”