You are not logged in.

#1 2019-10-16 13:35:48

alexsson
Member
Registered: 2019-10-14
Posts: 13

ConkyPi

Moving out from ""Show us your conky", and creating a new thread for this project here, which I call ConkyPi.

Why do I post here? I am not using "bunsenlabs" as my distro but another, but I know there are a lot of awesome people here that I think are a bit of a Conky-fan like me, and therefore love to share my work with you.

I have created a Conky that will run on a Rpi Zero W. It will use an external LCD from an old laptop with 1440x900 resolution which will run vertically (900x1440).

The original purpose of Conky was to read the weather at 3-hour intervals, but it all developed further with;

  • clock

  • date

  • namesday

  • Lunch at work

  • image that is updated every 5 minutes that is randomly picked from a directory of images

  • message, parsing from a textfile

  • temperature and disk space on Rpi Zero W

Furthermore, the conky will change background, lighter during day, and darker during nights.  I will try to make this conky as general as possible in such a sense that it can easily be installed.

Bear in mind, I am only a "scripting guy" and not really a "programming guy", so I am afraid the code is a bit hardcoded (conky is hardcoded for 900x1440 resolution). But I hope you will at least get ideas from this project.


During daylight
ddi701c-f1cfc8fa-92cf-4388-b9da-1c3e1f04a8a8.th.png

During night (technically not true right now, I changed the background manually for illustration as you can see it is 09:00 in the picture)

OQWmbqB.th.png

When I feel ready, I will open a github for the public. I will also come with more pictures regarding the hardware. Stay tuned!

Cheers!

Last edited by alexsson (2019-10-19 19:02:00)

Offline

#2 2019-10-16 13:41:27

clusterF
Member
Registered: 2019-05-07
Posts: 257

Re: ConkyPi

Looking forward to further advancements alexxson! 

You could get really technical with some ideas from here: https://www.timeanddate.com/sun/sweden/uppsala


"Thou Wanderer, Father of all! Thou Wanderer, Spirit of all!"

Offline

#3 2019-10-16 13:47:20

alexsson
Member
Registered: 2019-10-14
Posts: 13

Re: ConkyPi

clusterF wrote:

Looking forward to further advancements alexxson! 

You could get really technical with some ideas from here: https://www.timeanddate.com/sun/sweden/uppsala

Wow, thank you! I could use this do define more correctly "Daylight" vs "Night".

Offline

#4 2019-10-16 14:17:54

Sector11
The Tpyo Knig Mod
From: 77345 ¡#
Registered: 2015-08-20
Posts: 5,653

Re: ConkyPi

subscribed and watching ...  very nice indeed


BunsenLabs Forum Rules ---== I'm a Conky 1.9'er ==---
System:    Host: d67 Kernel: 4.9.0-9-amd64 x86_64 (64 bit gcc: 6.3.0)
Desktop: Openbox 3.6.1 Distro: Debian GNU/Linux 9 (stretch)

Offline

#5 2019-10-18 14:27:55

alexsson
Member
Registered: 2019-10-14
Posts: 13

Re: ConkyPi

Got all hardwares except the RPi Zero W itself, guess I have to wait a bit longer, probably not in stock. However, that does not stop me to test the LCD.

The LCD itself (17" with 1440x900 pixels)
IMG_20191018_151540.th.jpg

LCD is taken apart from an old Dell laptop.

12V 5A power supply with 2.1mm (inner diameter)/5.5mm (outer diameter) connector
IMG_20191018_152148.th.jpg

12V 3A power supply (will be connected to the main board) should be enough, but added 5A to be sure the power supply is not getting too hot. This will be running 24h/day after all.

HDMI Input LCD Controller Board
IMG_20191018_152041.th.jpg

LCD controller board allow us to control the LCD such as power and brightness and output the signal to HDMI. Controller board contains following:

  • IR receiver and button controller board. This is the circuit board with power button.

  • Remote controller (with CR2032 battery).

  • Stabilizer board. Without this one, the brightness is extremely dark and you can barely see something on the screen.

  • Main board, having HDMI output and port for the power supply.

This specific LCD controller board is bought from Amazon (https://www.amazon.co.uk/Controller-CLA … B06XCGMLK7). There are many more that fits other specific LCDs. To find it, you just need to google the ID you find on the back of the LCD, in my case "LP171WP4", see pic below.
IMG_20191019_124617.th.jpg

Connecting controller boards to LCD
IMG_20191019_120638.th.jpg
Main board and stabilizer board are both connected to the LCD (LCD have two connection ports fitted for this type of LCD controller board, main board and stabilizer, respectively). Used some PVC electrical band to cover the main board connection with the LCD. Stabilizer and IR receiver / button controller board are in turn connected to the main board. Finally, we connect the power supply to the main board.

Testing the LCD
Connecting everything together, I tested using a HDMI cable connected to my main computer and the main board.
IMG_20191018_160027.th.jpg

So far so good, very happy the LCD worked, as it would be a disaster if it would not.

Coming up next; Design of the frame.

Cheers!

Last edited by alexsson (2019-10-19 18:55:58)

Offline

#6 2019-10-19 08:58:46

ohnonot
...again
Registered: 2015-09-29
Posts: 4,129
Website

Re: ConkyPi

How do you connect an old laptop screen to a pi?
It's this "HDMI Input LCD Controller Board", yes?
Some links, maybe?

and what are all these "p.jpeg?fv_content=true&size_mode=5" in your posts???

Offline

#7 2019-10-19 10:33:41

alexsson
Member
Registered: 2019-10-14
Posts: 13

Re: ConkyPi

ohnonot wrote:

How do you connect an old laptop screen to a pi?
It's this "HDMI Input LCD Controller Board", yes?
Some links, maybe?

and what are all these "p.jpeg?fv_content=true&size_mode=5" in your posts???

Hehe, and here I thought the images were working. I edited my post above.

Offline

Board footer

Powered by FluxBB