Posts Tagged ‘PIC’
For who need SH1101A OLED driver, I’m posting here my code (written in Microchip C18, but easly to port to other platform) to help more people on get use this great OLED display. It’s not finished, yet, but it’s very useful.
The code has geometric draw functions to draw single pixel, lines, rectangles and circles with fill option. There’s characters output functions too, with 8×6 pixel font.
The icons for Battery (animated), Bluetooth, WiFi, Sound (animated), etc are on the code too.
Some example of available functions are:
- SetPixel(), GetPixel();
- Character output functions, PutROMString(), PutString();
In the code you’ll find a DS18B20 Dallas OneWire Digital Temperature sensor driver too. That’s a limited version (only work for one sensor in OneWire bus) but works great. You get a float reading plus a string with temperature value (in Celsius Degrees). More improvements coming soon.
Well, let’s go to download link:
If you have any trouble with that code, email-me or let me a comment.
Some people ask me about how to do hand soldering on smaller parts, like on my OLED Display Board. It uses a “TAB” (tape automated bonding) or “COF” (chip on flex) style flex tail mated with a “COG” (chip on glass) display. Normally, TAB connector is soldered directly to corresponding pads on your PCB using a hot-bar soldering machine.
I don’t have that hot-bar soldering machine, so my hand’s can make the job. The first time I’ve done this soldering, I was a bit scare about damage the connector. My only tip is “don’t spend much time over the fragile contacts.”
For help us, I’ve recorded my last OLED soldering. Maybe can help some people about SMD soldering (as some internet videos help me some years ago).