Go to advanced search

by DirkS
Wed Jun 20, 2018 3:54 pm
Forum: Beginners
Topic: Two 44780 LVD displays on one Raspi
Replies: 3
Views: 59

Re: Two 44780 LVD displays on one Raspi

As i said ;) , i use an LCD 20x4 screen with an 44780 controller and an I2C interface piggy backed on the lcd. As you correctly said, the I2C makes it addressable. However i dont know how to do that with the drivers i use; which parts if the classes to change or add to control two addresses. The I2...
by DirkS
Wed Jun 20, 2018 1:05 pm
Forum: General discussion
Topic: use pi zero w in commercial production
Replies: 57
Views: 9583

Re: use pi zero w in commercial production

Some Chinese manufacturers copy legit designs right from the source. They make a genuine product then sell the source code to another factory, or manufacture the exact same item for a competitor. Crazy. I thought all Zeros are manufactured by Sony in Wales... I find it hard to believe that someone ...
by DirkS
Wed Jun 20, 2018 12:31 pm
Forum: General discussion
Topic: No such file or directory: '/dev/epd/version'
Replies: 1
Views: 46

Re: No such file or directory: '/dev/epd/version'

I assume the error means that the device driver for the screen is not yet loaded To see if the problem was a timing problem, I put a sleep(5) just after the main(), without results. What does this mean? To me it sounds as if the error could occur before the sleep is reached. Can you post your code (...
by DirkS
Wed Jun 20, 2018 8:38 am
Forum: Beginners
Topic: Two 44780 LVD displays on one Raspi
Replies: 3
Views: 59

Re: Two 44780 LVD displays on one Raspi

Where/how in the coding can i change the address of the 44780. Perhaps make different instances of the classes used? The address is determined by the hardware. A bare HD44780 does not use I2C, but a lot of boards add extra logic so that you can address them using I2C. See e.g. https://www.aliexpres...
by DirkS
Tue Jun 19, 2018 3:42 pm
Forum: General discussion
Topic: Graphics Programming
Replies: 6
Views: 2158

Re: Graphics Programming

assasinsareus wrote:
Tue Jun 19, 2018 2:08 pm
I know this topic is now rather old but...
On this forum this is pretty much as old as it gets!
by DirkS
Mon Jun 18, 2018 8:46 am
Forum: Beginners
Topic: [Seek help] a problem about setting up wlan0 on pi 2b+
Replies: 1
Views: 63

Re: [Seek help] a problem about setting up wlan0 on pi 2b+

SWUSTER wrote:
Sun Jun 17, 2018 12:14 pm
show "SIOCSIFFLAGS: Input/output error",when run "sudo ifconfig wlan0 up".
what can I do?
More info needed. Exact model Pi (2b+ does not exist!)
What brand / model WiFi module?
Which OS (+ version)?
Contents of /etc/wpa_supplicant/wpa_supplicant.conf and /etc/network/interfaces .
by DirkS
Mon Jun 18, 2018 8:41 am
Forum: Troubleshooting
Topic: Error check the log for more information
Replies: 1
Views: 33

Re: Error check the log for more information

Best to post this on the Kodi forum: https://forum.kodi.tv/

If you installed a distro like LibreElec or OSMC then you could also try their forums
https://forum.libreelec.tv/
https://discourse.osmc.tv/

You will have to give them some more info, like exactly what you are trying to play, etc
by DirkS
Mon Jun 18, 2018 8:31 am
Forum: Beginners
Topic: New to Raspberry pi, what do I need to know to start a project?
Replies: 7
Views: 259

Re: New to Raspberry pi.

Do you need to know how to write codes & scripts & programs before starting a project? :roll: Depends on the project. With some projects it could be an advantage that you have some coding experience. But in a lot of cases there's not a lot of coding to be done or others have already done the hard w...
by DirkS
Mon Jun 18, 2018 8:24 am
Forum: Android
Topic: Android Docker container on Pi3
Replies: 1
Views: 98

Re: Android Docker container on Pi3

No. And if you want to know more about Android on PI you should have a look at https://groups.google.com/forum/?fromgr ... ndroid-rpi
by DirkS
Mon Jun 18, 2018 6:55 am
Forum: Troubleshooting
Topic: PiScope Installation Problem
Replies: 1
Views: 58

Re: PiScope Installation Problem

Most likely cause is that pigpiod is already running.
It's normally activated through raspi-config (or its GUI version)

If that's the case then you don't have to start it manually.
by DirkS
Sun Jun 17, 2018 4:18 pm
Forum: Troubleshooting
Topic: RPI3 B >>> Mariadb >>> E: Unable to correct problems, you have held broken packages.
Replies: 4
Views: 83

Re: RPI3 B >>> Mariadb >>> E: Unable to correct problems, you have held broken packages.

To install Mariadb: (i downloaded and extracted successfully to /opt) then.. apt-get update && apt-get install mariadb-server So you're on Stretch but downloaded a non-Stretch version from somewhere? (Raspbian Stretch version is 10.1) Why? And did you also download the newer version's dependencies?
by DirkS
Sat Jun 16, 2018 3:59 pm
Forum: Raspbian
Topic: simplified steps to login as root / set root password.
Replies: 4
Views: 194

Re: simplified steps to login as root / set root password.

hatcreek68 wrote:
Sat Jun 16, 2018 3:47 pm
This is not a debate post on the security risk of allowing root login - plenty of those posts on other threads hence this simplified guide:
Well, that means that your post is pretty superfluous.
The information you give does not add anything to what is already widely available...
by DirkS
Sat Jun 16, 2018 2:47 pm
Forum: General discussion
Topic: Shell script won't run just edit
Replies: 5
Views: 237

Re: Shell script won't run just edit

Did you make the file executable?

Code: Select all

chmod +x createdirectories.sh
BTW: do you really need to run that script as root? It will set 'root' as the owner instead of user 'pi'
by DirkS
Sat Jun 16, 2018 1:45 pm
Forum: General discussion
Topic: Fake Pi Cameras
Replies: 4
Views: 277

Re: Fake Pi Cameras

These have been around for years.
I would class them as clones, not fakes.

Note that you will only find v1 cameras. RPF added encryption to the v2 camera and so far that has not been beaten.
by DirkS
Sat Jun 16, 2018 1:31 pm
Forum: Troubleshooting
Topic: Black screen after boot up
Replies: 7
Views: 208

Re: Black screen after boot up

pcmm wrote:
Sat Jun 16, 2018 1:09 pm
I had similar issues when I switched from a raspberry pi 2 to a 3. Seems the "official" power supply is not strong enough to run the rpi 3
Irrelevant for the OP's issue. In this case the sd card had insufficient disk space.
by DirkS
Fri Jun 15, 2018 8:51 am
Forum: General discussion
Topic: Getting RPi. Python script to run 24/7 without laptop turned on
Replies: 69
Views: 1719

Re: Getting RPi. Python script to run 24/7 without laptop turned on

By the way, my impression, rightly or wrongly, was that the camera problem started after I ... The problem doesn't have to be the code itself. You will get that error also when you try to run a camera script more than once simultaneously. I would suggest you check if the 'old' script + service are ...
by DirkS
Thu Jun 14, 2018 5:38 pm
Forum: General discussion
Topic: Getting RPi. Python script to run 24/7 without laptop turned on
Replies: 69
Views: 1719

Re: Getting RPi. Python script to run 24/7 without laptop turned on

Still no success. I tried to follow the steps here: See what I mean? Did you see the error message? Doesn't seem to have anything to do with systemd... picamera.exc.PiCameraMMALError: Failed to enable connection: Out of resources To OP: some googling suggests that you're trying to create / open mul...
by DirkS
Thu Jun 14, 2018 1:14 pm
Forum: Camera board
Topic: Spring watch DIY camera
Replies: 16
Views: 515

Re: Spring watch DIY camera

B.Goode wrote:
Thu Jun 14, 2018 11:03 am
DirkS wrote:
Thu Jun 14, 2018 10:54 am
B.Goode wrote:
Thu Jun 14, 2018 10:50 am
https://shop.pimoroni.com/pages/contact-us
or https://forums.pimoroni.com/
Listed on the Contact Page, along with their Discord 'chat room' which can sometimes be more responsive.
Ah... of course I did not check that first.
by DirkS
Thu Jun 14, 2018 10:54 am
Forum: Camera board
Topic: Spring watch DIY camera
Replies: 16
Views: 515

Re: Spring watch DIY camera

by DirkS
Thu Jun 14, 2018 10:49 am
Forum: Beginners
Topic: Wireless Keyboard and Pi
Replies: 11
Views: 347

Re: Wireless Keyboard and Pi

Reminder for any responders: OP doesn't ask for advice on what kb / mouse to use, but if the stuff (s)he has will work or not...
by DirkS
Thu Jun 14, 2018 9:45 am
Forum: General discussion
Topic: Getting RPi. Python script to run 24/7 without laptop turned on
Replies: 69
Views: 1719

Re: Getting RPi. Python script to run 24/7 without laptop turned on

My unit file has: ExecStart=/usr/bin//home/pi/python.py No, your unit file has /usr/bin/python /home/python.py ● python.service - My Script Service Loaded: loaded (/lib/systemd/system/python.service; enabled; vendor preset: e Active: failed (Result: exit-code) since Thu 2018-06-14 08:55:21 UTC; 7mi...
by DirkS
Thu Jun 14, 2018 9:09 am
Forum: Beginners
Topic: Wireless Keyboard and Pi
Replies: 11
Views: 347

Re: Wireless Keyboard and Pi

A lot of these work out of the box, but there are some with probblems.
Exactly which model do you have.

You can find info on working / problem keyboards at https://elinux.org/RPi_USB_Keyboards
by DirkS
Thu Jun 14, 2018 1:12 am
Forum: Raspbian
Topic: Older Version of Raspbian
Replies: 7
Views: 21582

Re: Older Version of Raspbian

adamreisnz wrote:
Thu Jun 14, 2018 12:30 am
For anyone looking for older versions of Raspbian Lite, they are located here http://downloads.raspberrypi.org/raspbian_lite/images/
Thanks for re-activating a dead post. @Texy posted the same info more than 2 years ago (see above)
by DirkS
Thu Jun 14, 2018 1:00 am
Forum: Beginners
Topic: Pi zero with camera - video play back not working
Replies: 3
Views: 90

Re: Pi zero with camera - video play back not working

Did you try to play the raw output of picamera or did you convert it after capture? Most players cannot play raw h264 files. See e.g. https://www.raspberrypi.org/documentation/usage/camera/raspicam/raspivid.md for adding an mp4 container using MP4Box BTW: omxplayer should be able to play the h264 fi...

Go to advanced search