Psycho_Moggie
Member since Aug 2015 • Last active Oct 2017Most recent activity
-
-
I've used nRF Connect on a Pixi 3 running Android 4.4.2 to update to 1.89.
I have the command line app running on a Pi 3, I haven't got espruino-server and the IDE running yet.
I also have an EDIMAX EW-7611ULB on order, which is a dual Wifi and Bluetooth USB dongle.
There is a guide to installing the driver on a Pi here:
https://edimax.freshdesk.com/support/solutions/articles/14000047172-how-to-install-ew-7611ulb-adapter-on-raspberry-pi
Edit: received the dongle, compiled the drivers and set up espruino and espruino-server on a Pi 2 Model B. Everything works.
2nd edit: This page shows how to compile the bluetooth driver if you have kernel version 4.9.
https://dawnmist.dreamwidth.org/8231.html -
-
- 4 comments
- 2,520 views
-
I had been wondering where the values came from that everyone uses for the SSD1306 initialisation, the answer is page 20 of this:
http://www.adafruit.com/datasheets/UG-2864HSWEG01.pdf
That's from an OLED manufacturer, so they are real world values.
The datasheet is for the 0.96" display, so I don't think it would do any harm to use the values for the larger display. I'm going to work out the equivalent values for the SH1106 chip & see what it looks like. -
While researching for the SH1106 driver chip module, I came across an application note which describes the characteristics of organic LEDs rather well, including a table which describes the effects of "improper register setup".
The application note is here:
http://www.osram-os.com/Graphics/XPic2/00032223_0.pdf/4-Bit%20Driver%20Basic%20Register%20Setup.pdf
Or just search for "Osram AN001". -
-
I've modified the SSD1306 code and got it working with an SPI interface. Most of the initialisation code is the datasheet defaults. I haven't tried I2C, and can only test 64 pixel display height, but all that code is still in. I've added an option to rotate the display so that the pin header can be at the bottom, however there is almost certainly a better way of doing it.
I've yet to write SH1106.md, and then wrestle with Github, which I've not used seriously before.
Edit: I've got round to actually reading the Graphics class documentation, and my rotate code is redundant, so it's coming out.
I've just got my paws on an Arduino A000096 display, which is 160x128.
It works, however in ILI9163.js you have to change var LCD_HEIGHT to 160, because the default orientation is portrait, with the active row of pins at the bottom.
I haven't tried the SD card slot yet, maybe tomorrow, before the pub.