Monthly Archives: October 2018

The Death of S6D02A1 Displays?

S6D02A1 Alive and Well?

That title as it happens was a bit premature. Those of you who have been following this blog for sometime will know that the ESP-GO project supports, amongst others, little LCD displays based around the S6D02A1 chip – and has done from the beginning. This VERY inexpensive display is full colour and supports 160 x 128 pixels.

For a while, it seemed to have gone out of favour as a scour around the web for a while including AliExpress showed none of these, only alternatives which are more expensive.

Meanwhile, I ordered a sample ST7735-based board from Ebay at £2.77, GREAT but the overall size is slightly wider. There are drivers for Raspberry Pi out there, I’m not sure but I’ve not seen S6D02A1 drivers for the Pi – anyone know better?

Meanwhile, one reader said he had found an AliExpress ad for the S6D02A1 boards and since then I’ve found several, as low as £2.51 + 13p shipping to the UK.

I know some other readers use these, too. If anyone has a half decent S6D02A1 driver for the Pi (Python) do let me know.  ESP-GO supports this display.

Facebooktwitterpinterestlinkedin

DANIU A99 2MP USB/microUSB Boroscope

Bright LEDs on this boroscopeHere’s the full item description as supplied by Banggood.

DANIU A99 720P 2MP Tube Camera — https://goo.gl/njddmw

Good toy. In order to use it with Windows, you need to download www.kkmoon.com/pc.rar and for Android: www.kkmoon.com/an99.apk

Danui camera from BanggoodExcept when you don’t. In my case, the USB/microUSB interface is no good for my phone (USB C) but I found that as soon as I plugged the camera into my PC (Windows 10) it was immediately recognised as a USB 2 camera and the standard “camera” app on Windows ran with it, no problem.

So I didn’t need to install ANYTHING. There are attachments for checking teeth or other body parts (45 degree mirror in a tube) but I figured you would prefer I NOT demo that facility.

Initial impression: does as it says – good, stable image, (in my case) trivial installation, full colour, readable instructions. A USB C option would have been nice but I guess you can’t please everyone. The (metal) unit is IP67 waterproof, whatever that means.

Facebooktwitterpinterestlinkedin

Raspberry Pi GPIO Zero

For simple (and not so simple) IO control on the Pi without worrying about access control and SUDO etc. all of which can get in the way of having fun, you can use the GPIO Zero library and API – rather than go into detail I’ll refer you to the Raspberry Pi site..

https://www.raspberrypi.org/blog/gpio-zero-a-friendly-python-api-for-physical-computing/

Examples of use:

https://www.raspberrypi.org/documentation/usage/gpio/python/README.md

Reference:

https://gpiozero.readthedocs.io/en/stable/

That lot covers everything from simple IO to SPI, I2c and serial. What more could you want (yes, I know, drivers for every device on the planet). I’ve played with PWM and digital LED output which works as you’d expect.

I’m on a roll now and having turned on SPI (SPI0 and SPI1) with the command line RASPI-CONFIG, I’ve just installed SPI-DEV (https://pypi.org/project/spidev/) using:

sudo pip install spi-dev

There are several libraries out there for driving various displays… and so now, adding displays and buttons to the PI gets very simple.

Facebooktwitterpinterestlinkedin