Go to advanced search

by richrussell
Fri Jul 31, 2020 10:46 am
Forum: General discussion
Topic: How to run X86 docker images on RPi 4 ?
Replies: 14
Views: 666

Re: How to run X86 docker images on RPi 4 ?

Ultimately if you need to run x86 binaries then the Pi is almost always going to be the wrong tool for the job. If you can compile the application to run on ARM, then it may well be suitable. Whilst it is technically possible to run x86 code, it's never going to be a good solution as it's simply not...
by richrussell
Fri Jul 31, 2020 10:38 am
Forum: General discussion
Topic: Pi power header
Replies: 4
Views: 165

Re: Pi power header

Or just buy the recommended, official PSU when you buy the Pi...
by richrussell
Thu Jul 09, 2020 7:55 am
Forum: Beginners
Topic: USE RPI to connect to network Camera DVR system
Replies: 2
Views: 126

Re: USE RPI to connect to network Camera DVR system

See if your IP cameras output an RTSP stream (most do) then you can use VLC or omxplayer to display the video on your Pi.
by richrussell
Tue Jun 23, 2020 9:35 am
Forum: Beginners
Topic: Only had my Pi 4 for a week, crashes/hangs multiple times a day
Replies: 14
Views: 673

Re: Only had my Pi 4 for a week, crashes/hangs multiple times a day

70C is nowhere near overheating for a Pi 4 - they can run a lot hotter than that without issue (CPU throttling doesn't even start until higher than that).

What spec is your SD card, and what power supply are you using?

Can you try a fresh install of Raspbian/Pi OS on a difference SD card?
by richrussell
Tue Jun 23, 2020 8:08 am
Forum: General discussion
Topic: Changing the Raspberry Pi’s IP address
Replies: 6
Views: 377

Re: Changing the Raspberry Pi’s IP address

Or if you prefer graphical interfaces, simply right click on the network icon next to the clock on the Rasbian/PiOS desktop and click 'Wireless and Wired Network Settings', then fill in the boxes with what you want.
by richrussell
Fri Jun 12, 2020 9:50 am
Forum: General discussion
Topic: (Solved) How to use files in bash that have other name than in the script? aka globbing
Replies: 6
Views: 305

Re: How to use files in bash that have other name than in the script?

Remember bash doesn't treat a dot in a filename as anything special, so it really is as simple as:

cp spigot.* spigot.jar

Or have I misunderstood what you're trying to do?
by richrussell
Mon Jun 08, 2020 11:50 am
Forum: General discussion
Topic: Raspberry pi official touch screen and micro hdmi
Replies: 2
Views: 196

Re: Raspberry pi official touch screen and micro hdmi

You can happily use the touchscreen and HDMI at the same time. As you mention micro-HDMI I'm going to take a guess that you're talking about a Raspberry Pi 4B - although you can use the touchscreen display and HDMI on most earlier models just as well (although there is more of a restriction as to wh...
by richrussell
Mon Jun 08, 2020 11:44 am
Forum: General discussion
Topic: Question to Raspberry Pi Foundation
Replies: 44
Views: 2422

Re: Question to Raspberry Pi Foundation

The way I look at it, the Raspberry Pi is just a computer motherboard. If I short data pins to pins carrying higher voltages that they're meant to accept on my HP laptop's motherboard would I expect it not to suffer? No way can this be called a design flaw, any more than I can blame Mitsubishi shoul...
by richrussell
Fri Jun 05, 2020 1:25 pm
Forum: Advanced users
Topic: Howto start 2 rtsp streams with omxplayer on a dual screen RPi4?
Replies: 8
Views: 439

Re: Howto start 2 rtsp streams with omxplayer on a dual screen RPi4?

I have something very similar set up to view a security camera that points at my front door and driveway on a Pi 3B+ with 7" touchscreen display in my living room so we can see when we get deliveries etc. I created two scripts, one to start the display and one to stop it, then stuck those on icons o...
by richrussell
Fri Jun 05, 2020 1:11 pm
Forum: General discussion
Topic: Interfacing a IP CCTV Camera to Raspberry Pi 4
Replies: 1
Views: 118

Re: Interfacing a IP CCTV Camera to Raspberry Pi 4

Usually there will be an rtsp stream you can connect to on most ONVIF compliant IP cameras. For example, you can use programs such as omxplayer, VLC or motion to connect to the stream. I've got a several IP cameras around my house that are recorded on a proprietary storage system. However the camera...
by richrussell
Fri May 29, 2020 9:06 am
Forum: General discussion
Topic: Powering PCA9685 with Raspberry Pi
Replies: 13
Views: 614

Re: Powering PCA9685 with Raspberry Pi

Following the RC plane analogy - don't worry about the servo power compared to the main motor. I've got a couple of planes that have 8 servos (rudder, ailerons, elevator, flaps and landing gear) as well as a beefy brushless motor all running off one 3S 2200mAh Lipo battery. That can last for around ...
by richrussell
Wed May 27, 2020 3:40 pm
Forum: General discussion
Topic: Powering PCA9685 with Raspberry Pi
Replies: 13
Views: 614

Re: Powering PCA9685 with Raspberry Pi

Most ESCs have a 'battery eliminator' circuit that provides 5V for powering RC receivers and servos on the plug that goes to the receiver. So in a typical radio controlled model, the Lipo plugs into ESC, ESC plugs into receiver, servos plug into receiver, and motor plugs into ESC. You can power the ...
by richrussell
Wed May 27, 2020 9:38 am
Forum: Beginners
Topic: Multiple video output by HDMI
Replies: 8
Views: 368

Re: Multiple video output by HDMI

As mentioned above - you'll need to use the screen configuration tool to move the second screen so it's not overlapping with the first. By default they'll both show the same thing - all you need to do is move one to one side in the tool. You might also need to mess about to find a resolution that wo...
by richrussell
Thu May 21, 2020 12:29 pm
Forum: Advanced users
Topic: Serial Port traffic duirng Boot-up
Replies: 13
Views: 876

Re: Serial Port traffic duirng Boot-up

Yes, you should connect the ground on the display to the Raspberry Pi's ground.

For serial communication to work each end need to see a voltage on a wire. With no reference point (eg ground) it can't tell whether there is a voltage or not. Consider using a voltmeter with just one lead for example.
by richrussell
Thu May 14, 2020 9:32 am
Forum: General discussion
Topic: HOSTNAME -I Showing different IP address
Replies: 4
Views: 304

Re: HOSTNAME -I Showing different IP address

As above - Linux is case sensitive. So 'hostname -i' is different to 'hostname -I'. In your initial post you said you ran 'HOSTNAME -I' - which wouldn't work, because the command 'hostname' only exists in lower case. Easy mistake if you're from a Windows background where in general things aren't cas...
by richrussell
Wed May 06, 2020 11:29 am
Forum: Troubleshooting
Topic: Unmount command not found by BASH
Replies: 10
Views: 447

Re: Unmount command not found by BASH

As far as I know it's been 'umount' not 'unmount' in all Unix and Unix-like operating systems since the 1970s. The reason is the very early Unix systems only allowed six characters for filenames/commands. Hence they were all quite short, such as 'ls', 'mv', 'sed' etc. Can you link to documentation t...
by richrussell
Fri Apr 24, 2020 11:51 am
Forum: Advanced users
Topic: RPi 4 heat sink - it made a difference !
Replies: 38
Views: 2724

Re: RPi 4 heat sink - it made a difference !

Until I saw your posts I have never heard of any proper installation with a fan but no heat sink! Take any Intel PC apart for example. We never needed heatinks on Intel 8086, 286, 386 and 486 until we got to about 100MHz, we just had the fan in the PSU or case. In fact I don't think a heatsink was ...
by richrussell
Tue Apr 14, 2020 1:43 pm
Forum: General discussion
Topic: Dual microphone noise cancellation
Replies: 15
Views: 720

Re: Dual microphone noise cancellation

Whilst it may be possible to reduce the wave sounds - as noted above, waves are very broad spectrum in frequency and a reasonable approximation to white noise (other than amplitude). So when you come to do the cross-correlation stage of the noise cancellation it'll be very difficult for it to get a ...
by richrussell
Tue Apr 14, 2020 8:38 am
Forum: Troubleshooting
Topic: Supply less voltage then required
Replies: 10
Views: 346

Re: Supply less voltage then required

Is this a 16x2 HD44780 LCD with a small PCB on the back containing a PCF8574 (or similar) I2C serial to parallel chip to allow it to be interfaced via I2C? If so, most of those are designed to be connected to the Pi's 5V, 0V, SDA and SDC pins directly.
by richrussell
Wed Apr 08, 2020 7:57 am
Forum: Troubleshooting
Topic: Inconsistent results with Freenove kit
Replies: 10
Views: 586

Re: Inconsistent results with Freenove kit

Anywhere on the row is indeed fine, you don't have to follow the diagram exactly - I was just pointing out that you might not be able to follow the diagram if you had the smaller chip on the little pcb because the pcb gets in the way. I'm sure you're just missing a connection somewhere (perhaps the ...
by richrussell
Tue Apr 07, 2020 11:44 am
Forum: Troubleshooting
Topic: Inconsistent results with Freenove kit
Replies: 10
Views: 586

Re: Inconsistent results with Freenove kit

OK - I've just put the circuit together on breadboard as shown in the tutorial and it worked first time when I ran the python code. So double check your wiring on the breadboard - if you've got the smaller PCF8591 on a little circuit board you'll find you might need to alter the position of some of ...
by richrussell
Tue Apr 07, 2020 11:10 am
Forum: Troubleshooting
Topic: Inconsistent results with Freenove kit
Replies: 10
Views: 586

Re: Inconsistent results with Freenove kit

It will need at least the power pins (Vdd and Vss) as well as the I2C pins (SCL, SCD) and the hardware address pins (A0, A1, A2) pins connecting up as shown in the diagram in the tutorial to communicate with the Raspberry Pi. That's pins 5, 6, 7, 8, 9, 10 and 16. Also you'll need the 10k pullup resi...
by richrussell
Mon Apr 06, 2020 12:33 pm
Forum: General discussion
Topic: Video Chat on the Raspberry 4
Replies: 35
Views: 8226

Re: Video Chat on the Raspberry 4

What do you use for camera and microphone? Does the Raspberry Pi camera work? I've got a cheap USB webcam plugged into a Raspberry Pi connected to a television. Various web based video calling sites all work fine with that (eg Facebook Messenger). I just had to enable websites to access the camera'...
by richrussell
Mon Apr 06, 2020 11:03 am
Forum: Troubleshooting
Topic: Inconsistent results with Freenove kit
Replies: 10
Views: 586

Re: Inconsistent results with Freenove kit

Is that the A/D converter tutorial (read the value of a potentiometer) - Chapter 7 (it is in the PDF I have, which might be older than yours)?

If so, make sure you have got I2C enable in raspi-config as it shows in the tutorial, and do the test to see if the PCF8591 is detected on the I2C bus.
by richrussell
Mon Mar 30, 2020 10:29 am
Forum: General discussion
Topic: Pi 4 old and new, how can I tell them apart?
Replies: 12
Views: 651

Re: Pi 4 old and new, how can I tell them apart?

The 2GB one I got two weeks ago from PiHut is a v1.1. However as I'm powering it with the Official PSU it makes no difference as people have said. I really wouldn't worry about whether it's a v1.1 or v1.2 - as said above, for 99.9999% of people it won't matter as they won't be powering it in a way t...

Go to advanced search