Category Archives: Uncategorized


SSD1332 65K 96×64 Color OLED sample code + pinout + simplest Eagle breakout

So, I’ve searched for this display’s files for two weeks. Those are cheap (3$ on eBay), but unlike all those SSD1332 displays with green ribbon of uniform width (and available drivers and breakouts). I’m not even sure if this display is SSD1332 based, and I’m not sure I care after many frustrating unsuccessful attempts to get it working. It’s cheap, however, but you do get a bare panel with a controller.

Apparently, these displays are produced by RiTDisplay. They weren’t that helpful with datasheets though and it’s not even listed on their page. Also, apparently, it’s discontinued now. The display has 27 pins, with SPI and 8-bit interface both available. I found it listed as RGS10096064FR004 on one site but the datasheet seemed to be behind the paywall.

Recently, I found the datasheet (more or less accessible), pinout information (found it before somewhere too, but it was hard) AND SAMPLE CODE! I haven’t yet checked it, but since it was hard to find, I’m sharing it with others.

Dropbox link

RGHost link

Yandex Disk link

Also, I’m sharing the simple board I’ve made in Eagle. It’s in no way complete –  no annotations, some jumpers might be missing for your purpose and you’ll have to check the pinout for your driving mode, but the FPC pitch is right and all the pins you’d need are broken out on headers. I also plan to transfer it to KiCad quite soon, so expect it to be available as well.




Yandex Disk

The sudo fraud

Ilya's blog

Dear systems engineers,

It really amazes me how people are fine with typing sudo all the time. A kitten is denied a new toy for another day when you do this!


Typing sudo locally all the time

Is it really simpler for you to type sudo all the time rather than having one terminal tab open with a root shell? Besides, some systems even ask for a password when you run a sudo command. Be honest with yourself, are you a masochist?

Using sudo on servers


Intro: each Amazon image comes with standard username for logging in. Never seen anyone changing that username.

Supposedly, the attacker would need to know the username in addition to your stolen private key. Right… and it’s not one of these: ubuntu, admin, ec2-user, centos … and looking at your ssh banner won’t give any clue as to which username is used:


View original post 220 more words

CTRL-EVENT-REGDOM-CHANGE on latest Raspbian Jessie Lite

I’d get following errors when I ran wpa_supplicant to connect to my home network from Raspbian Jessie Lite (using CLI, of course)

wlan0: SME: Trying to authenticate with 0c:xx:xx:xx:xx:xx (SSID=’MYSSID’ freq=2412 MHz)
wlan0: Trying to associate with 0c:xx:xx:xx:xx:xx (SSID=’MYSSID’ freq =2412 MHz)
wlan0: Associated with 0c:xx:xx:xx:xx:xx
wlan0: CTRL-EVENT-DISCONNECTED bssid=0c:xx:xx:xx:xx:xx reason=3 locally_generate d=1

It turns out that wpa_supplicant runs as a service and is to be controlled through wpa_cli. You can go that way, or you can simply killall wpa_supplicant if you’re in a hurry and run  the usual command line, and the errors will go away.

The software awards scam

Well, that’s another example of how it goes.

Successful Software

software awardI put out a new product a couple of weeks ago. This new product has so far won 16 different awards and recommendations from software download sites. Some of them even emailed me messages of encouragement such as “Great job, we’re really impressed!”. I should be delighted at this recognition of the quality of my software, except that the ‘software’ doesn’t even run. This is hardly surprising when you consider that it is just a text file with the words “this program does nothing at all” repeated a few times and then renamed as an .exe. The PAD file that described the software contains the description “This program does nothing at all”. The screenshot I submitted (below) was similarly blunt and to the point:


Even the name of the software, “awardmestars”, was a bit of a giveaway. And yet it still won 16 ‘awards’. Here they are:


Some of them…

View original post 1,089 more words

The Bluetooth iPod Controller For Android

Not bad! Should I get a broken iPod, this will definitely be the first project to do =)



By now, just about everyone in the industrialized world has a broken iPod with a cracked screen, a battery that won’t charge, or one that’s simply sitting in a drawer somewhere. The iPod is still a great way to store music, though, and [Trevor] came up with a way to control its playback with an Android device, showing the song name, playlists, and everything else with an Arduino and a cheap Bluetooth adapter

With the right resistance on a specific pin on the 30-pin dock connector, iPods will send the track name, and playlists over a serial connection, as well as respond to play, pause, skip, and volume commands. There hasn’t been much work towards implementing the copious amount of documentation of this iPod accessory mode in small microcontroller projects, but with a little bit of work, [Trevor] managed to replicate the usual iPod dock commands with an Arduino.


View original post 58 more words

EAGLE Library – List of most commonly used electronics components

Nice collection! Also, pin headers are available in “pinhead.lbr”. Either way, I guess I will make my own blog post about this.

Electronics - Tutorials, Tips and more ...

12 Nov 2009 – Post Updated

EAGLE is preferred by many hobbyists and professionals all over the world. EAGLE comes with huge component library, however to find the desired part in this library is really difficult for beginners. Generally we need resistors, capacitors, voltage regulators, pin headers, connectors, etc when designing any electronic PCB. Following is the list of EAGLE library part names of most commonly used electronics components. This list will be very handy when you have just started using the EAGLE and don’t know which part to select and from which library.

View original post 232 more words

Parallel Thermoprinter

Just another really cheap piece of hardware that might turn out to be able to be repurposed into something really cool =)


Another day, another gadget.

I recently acquired a miniature thermoprinter just for fun because spending 14 EUR (that is 18.47 USD at the time I am writing this) was a no-brainer. I will skip one beer in the beer garden. NOT. It’s 37 °C outside…
For those interested, here is the link to the German ebay-offer.

Sorry. Back to the printer. It has originally a parallel port but comes packaged with a usb-parallel adapter cable. The question was: will the Raspberry work with an adapter and subsequently, the printer. Things turned out to be not that simple. Missing modules, the usual permission problems and the German language with its funny Umlauts (ÄÖÜ).


View original post 591 more words