Go to advanced search

by il_diavolo
Thu Feb 13, 2020 10:42 pm
Forum: Python
Topic: pigpio_encoder not installing on Buster
Replies: 19
Views: 410

Re: pigpio_encoder not installing on Buster

I can only say "I got it to work"! Once I realised that the "rotary.encoder" I was trying to import, thinking it was installed with pigpio, was actually the example code which needed importing as a module (put it in the same folder or make sure it's in the Python path). In fact I just cut and pasted...
by il_diavolo
Thu Feb 13, 2020 10:22 pm
Forum: General discussion
Topic: How to install OpenCV on Raspberry Pi?
Replies: 6
Views: 454

Re: How to install OpenCV on Raspberry Pi?

Have you tried renaming "cv2.cpython-37m-arm-linux-gnueabihf.so" to "cv2.so"? I'm sure that's what I did.
by il_diavolo
Fri Jan 24, 2020 10:23 pm
Forum: Troubleshooting
Topic: window is too big for the screen
Replies: 2
Views: 155

Re: window is too big for the screen

A work around is to hold the "alt" key down on the keyboard and move the window on the screen with your finger until you can see the area you need. It also works with the Florence on-screen keyboard. Sorry, I can't give you a resizing solution. I have the same problem with the VNC Viewer window on m...
by il_diavolo
Tue Dec 03, 2019 10:17 pm
Forum: General discussion
Topic: user profile page
Replies: 6
Views: 298

Re: user profile page

Now I know I'm an old F***. I don't understand a word of what's being discussed in this thread :cry:
by il_diavolo
Wed Oct 30, 2019 10:33 pm
Forum: Beginners
Topic: Motion -> v4l2_start: Failed to open video device /dev/video0: No such file or directory
Replies: 11
Views: 788

Re: Motion -> v4l2_start: Failed to open video device /dev/video0: No such file or directory

I just want to mention that the V4L2 drivers for the pi-camera is not loaded by standard. You need to do a "modprobe bcm2835-v4l2" to get the video0 devices. . Are you sure about that? I remember reading on here some time ago that the v4l2 drivers ARE now loaded in Rasbian. In fact I have been runn...
by il_diavolo
Sun Aug 25, 2019 9:17 pm
Forum: Official Foundation Display
Topic: [How To] Two finger touch for right click
Replies: 43
Views: 39170

Re: [How To] Two finger touch for right click

So, I've solved it myself, sorry to have bothered you all. The solution is to add the missing bit to: sudo nano /etc/udev/rules.d/70-touchscreen-raspberrypi.rules KERNEL=="event*",ATTRS{name}=="FT5406 memory based driver",SYMLINK+="twofingtouch",MODE="0440" which is: KERNEL=="event*",ATTRS{name}=="F...
by il_diavolo
Sat Aug 24, 2019 7:58 pm
Forum: Official Foundation Display
Topic: [How To] Two finger touch for right click
Replies: 43
Views: 39170

Re: [How To] Two finger touch for right click

Anyone got this to work with Buster? My set up is an early Pi2B and the official 7" screen. I had twofing working correctly with Stretch but it doesn't work after a fresh install of Buster, following the installation instructions in this thread. The error I get when I type "twofing --debug" in a ter...
by il_diavolo
Thu Aug 22, 2019 10:31 am
Forum: General discussion
Topic: "Twofing" /" long press" and Buster
Replies: 0
Views: 144

"Twofing" /" long press" and Buster

I've downloaded a fresh install of Buster to my "PortaPi" which uses the official 7" screen driven by an old(ish) Pi2B. Previously I was running Stretch and Twofing for right click emulation. With Buster I've tried both "Twofing" and the "long press" method listed in the Pi documentation for the 7" ...
by il_diavolo
Sun Jul 28, 2019 9:32 pm
Forum: Troubleshooting
Topic: RPI unable to host SSH/VNC when connected to wifi
Replies: 5
Views: 217

Re: RPI unable to host SSH/VNC when connected to wifi

I have a similar situation. I have two wifi signals in my home, one direct from the router and the other from a wifi repeater on the mains electricity ring main fed by an ethernet cable from the router, they have different SSIDs. As long as my laptop is connected to one and the Pi to the other VNC/S...
by il_diavolo
Mon Jun 10, 2019 9:14 pm
Forum: Troubleshooting
Topic: Bluetooth won't pair with keyboard, crashes
Replies: 5
Views: 682

Re: Bluetooth won't pair with keyboard, crashes

Similar problem with Bluetooth and my PS3 controller. Working fine until I updated + upgraded last week. Now repeatedly connects and disconnects and won't pair. Reverted to the backup I made before the update and it works fine again. Perhaps I'll just never update again :(
Pi 3B
Stretch
by il_diavolo
Mon May 20, 2019 9:33 pm
Forum: General discussion
Topic: is a RPi safe arround a pacemaker?
Replies: 7
Views: 542

Re: is a RPi safe arround a pacemaker?

My heart often beats faster when I play with my Raspberry Pi's. But I can be very positive that it does not affect my pacemaker in the slightest, it's my poor coding skills that cause me stress!
by il_diavolo
Wed Apr 17, 2019 9:34 pm
Forum: Python
Topic: cv2 camara problem (no img)
Replies: 2
Views: 250

Re: cv2 camara problem (no img)

Pi camera or USB camera? I have found that "cap=cv2.VideoCapture(0)" no longer works on my Pi's using the official Pi camera (version 1.0) since a recent update to Stretch, despite having worked for a couple of years previously. I have had to recode my programs to use Picamera instead. "cap=cv2.Vide...
by il_diavolo
Tue Dec 11, 2018 10:23 pm
Forum: Python
Topic: Error capturing video from the Pi camera with Open CV
Replies: 7
Views: 966

Re: Error capturing video from the Pi camera with Open CV

I should have asked in yesterday's post, did you start the v4l2 driver?
Type "sudo modprobe bcm2835-v4l2" in a terminal window before you run the program.
by il_diavolo
Mon Dec 10, 2018 10:27 pm
Forum: Python
Topic: Error capturing video from the Pi camera with Open CV
Replies: 7
Views: 966

Re: Error capturing video from the Pi camera with Open CV

I will be interested to see if you solve this. I have had the Pi camera working with OpenCV for a couple of years, first with Jessie and then with Stretch but after a recent apt-get update and upgrade the code (very similar to yours) ceased to work. I have had to rewrite using Picamera instead of Op...
by il_diavolo
Wed Nov 21, 2018 10:21 pm
Forum: Beginners
Topic: The window of video from usb camera is empty: python 3, opencv
Replies: 2
Views: 1354

Re: The window of video from usb camera is empty: python 3, opencv

The 0 in parentheses designates an internal webcam not a usb camera so that's what we need to change. If you want to know what to well I will tell you when I try IT!! Not necessarily true. On my set up with both the official Pi camera and a USB camera the USB camera is index (0) and the Pi camera i...
by il_diavolo
Fri Nov 16, 2018 10:28 pm
Forum: Camera board
Topic: Resolved: Onboard camera not working with OpenCV, USB camera works fine
Replies: 4
Views: 3556

Re: Onboard camera not working with OpenCV, USB camera works fine

Yes, I have the same problem...... https://www.raspberrypi.org/forums/viewtopic.php?f=43&t=225539&p=1384459#p1384459 Best of luck with it, I never got any response to the above post. Now working through all my programs to use picamera for the onboard camera, which works, and OpenCV for the USB camer...
by il_diavolo
Thu Oct 25, 2018 7:54 pm
Forum: Camera board
Topic: Official camera not working after update/upgrade
Replies: 0
Views: 1113

Official camera not working after update/upgrade

My set up is Raspbian Stretch on a Pi 3B. For the past couple of years I have been successfully using two cameras, the official CSI camera (mark 1 version) for shape recognition and an old Logitec webcam for colour recognition, both using Python 2.7, OpenCV version 3.3.0 and v4l2 (initiated with " s...
by il_diavolo
Thu Oct 11, 2018 9:57 pm
Forum: Troubleshooting
Topic: After update camera and VNC server no longer function
Replies: 1
Views: 229

After update camera and VNC server no longer function

As I have asked below (italics), is it possible to copy a complied (built) OpenCV installation to a new Raspbian without having to recompile? Thanks I have Raspbian Stretch running on my Pi 3B (not 3B+) in my DiddyBorg robot. As recommended I like to regularly update/upgrade but recently each upgrad...
by il_diavolo
Wed Jul 18, 2018 9:51 pm
Forum: Raspbian
Topic: apt-get dist-upgrade vs flash with new version of OS
Replies: 6
Views: 1493

Re: apt-get dist-upgrade vs flash with new version of OS

If you wish to go from Jessie to Stretch it is more complicated and not recommended:
I did this quite successfully (even the "two fingers" mod for the Florence virtual keyboard was carried over without problems) so it's well worth a try on a backed-up copy of your Jessie installation.
by il_diavolo
Wed Jul 18, 2018 9:35 pm
Forum: General discussion
Topic: GPS recommendations
Replies: 5
Views: 906

Re: GPS recommendations

Has anybody tried to make a local differential GPS system using two Pi's? It would need both Pi's to be fitted with similar GPS modules and both be on the same network so that they can communicate with each other. One of the Pi's (static Pi) will be in a fixed position and readings taken over a leng...
by il_diavolo
Thu Jul 12, 2018 9:17 pm
Forum: General discussion
Topic: Is there a way to connect 2 RPi's to make a functional computer?
Replies: 15
Views: 1838

Re: Is there a way to connect 2 RPi's to make a functional computer?

None of my Pis have attached keyboard, mouse or monitor. Two do not have microSD cards. All are functional, functioning computers, despite your assertion to the contrary.
You're obviously a very clever pedant.
by il_diavolo
Sat May 05, 2018 9:42 pm
Forum: Raspbian
Topic: Joystick map values
Replies: 0
Views: 278

Joystick map values

My DiddyBorg robot uses a Pi3B with Rasbian Stretch and is controlled via Bluetooth with a PS3 controller/joystick read using Pygame events. I did my usual monthly sudo apt-get update and sudo apt-get upgrade yesterday (4th May 2018) and found that all of the axis and button values for the PS3 had b...
by il_diavolo
Wed Mar 21, 2018 10:25 pm
Forum: Raspbian
Topic: Stretch slow - much slower than Jessie
Replies: 7
Views: 4486

Re: Stretch slow - much slower than Jessie

Yawn.

Go to advanced search