Podcast #128: We chat with Kent C Dodds about why he loves React and discuss what life was like in the dark days before Git. Listen now.

New answers tagged

0

I would imagine 2 is the first HDMI output and 3 is the second HDMI output. Raspberry Pi 4 now has two HDMI outputs compared to the previous Pis only having one. (But I'm not sure about this and can't confirm it right now)


1

I'm using it with Raspbian Buster with Desktop and few scripts are running on startup. I2C and SPI both are running continuously and a graphical python script too. Then its temperature goes to ~60 degrees when room temperature is 27-28 degrees.


0

The problem might be the SD PIN. I would try to run the speaker test: https://learn.adafruit.com/adafruit-max98357-i2s-class-d-mono-amp/raspberry-pi-test#simple-white-noise-speaker-test-6-1 while adjusting the voltage according to the given parameters: https://learn.adafruit.com/adafruit-max98357-i2s-class-d-mono-amp/pinouts#sd-slash-mode-2-15 to see if ...


2

As of this moment the temperature of my Pi, which is up to date, is idle by 58°C and under constant load of 50% CPU utilization by 70°C. I use little heat sinks on the CPU and the voltage regulator.


0

I searched for a lot of questions and find that android development is not possible with raspberry pi. It is possible to develop Android applications for Raspberry Pi 3 model B running Android Things. Unfortunately, Raspberry Pi 4 is not yet officially supported by Android Things.


1

You need to enable SSH on Raspberry. Run raspi-config select Interfacing Options and navigate to and select SSH and choose Yes. Then reboot. If you don't have direct access to the Raspberry with a monitor and a keyboard place a file named exactly ssh on the FAT partition of the SD card. This will activate the ssh server at the next boot. You can find ...


2

After further testing, before moving onto more efficient methods (i.e. 'dd' command piped gzip for example), 2x total image copiers have been found and tested working (both freeware solutions): - gnome-disk-utility under Xubuntu HD Raw Copy Tool (under Windows 10) Both the above utilities work without any issues observed with the RPi4 microSD card format ...


0

Check out this page to see if your LCD is supported by fbtft. If it is, find out its device name and try to set it up (yours looks like tinylcd35): sudo modprobe fbtft_device name=tinylcd35 # check if you have /dev/fb1. If so, try using it, e.g. # map a login console con2fbmap 1 1 # run X windows (remove xorg.conf if it refers to /dev/fb0) FRAMEBUFFER=/...


0

The easiest would be to use 1 RPi for every screen to ensure scalability, and wired network connections between the nodes to avoid delays and dropouts. Configurations with multiple displays per node will be substantially more tricky to set up and operate. I think the cheapest configuration would be 4 x RPi Zero ($5 a piece) with USB network adapters (less ...


1

Write a script writing / printing current time every second, and run it as root with nice -20. If the log is not interrupted during the freeze, it's likely user-space, at which point killing persistent processes and waiting for the freeze to happen may find the culprit. If all userspace processes are frozen regardless of priority, then it's likely a kernel/...


1

At least for PI4, if you want to read from EnOcean PI 868 via /dev/ttyS0 you have to enable raw mode too: stty -F /dev/ttyS0 57600 raw hexdump -C < /dev/ttyS0 Shows hex dumps of EnOcean telegrams on stdout That's a good stating point to write my own implementation


1

Unfortunately it seems that as of November, 2019, this cannot be done. It can definitely multi-display using the same protocol/driver, however it can't do it if you are using DSI + HDMI. The issue is that the underlying boot code enables a framebuffer to HDMI or a framebuffer for DSI, but not both. There are TFT screens that actually have HDMI / mini ...


1

The objective is receiving the data from the Ground module to air module and decoding it without a controller board such as PX4 or Navio. Start with loopback test on the RPi4. Connect the Tx pin of the RPi4 to the Rx pin of the RPi4 with a jumper wire. Install cutecom/minicom/putty on RPi4 to test the loopback. I used minicom to do the loopback test. The ...


1

I've successfully powered a Pi 3B+ using a cheap 12V 3A wall wart from aliexpress and a cheap buck converter from aliexpress. The 12V 3A provides for well above 3A when dialed down to 5.1V through the buck converter. The most difficult part is soldering wire on to a USB plug. https://www.aliexpress.com/item/33014935336.html https://www.aliexpress.com/item/...


1

You might be interested in Android Things if you are just looking into having the pi run a single application. As of right now, this is the only supported way of putting android onto a pi. (as far as i know). There are other options such as LineageOS, but these tend to run pretty slow.


0

To migrate a working Raspbian system from a Raspberry Pi 3 to a 4: Assuming you're running Stretch and need to upgrade to Buster: Back up your card Update and upgrade: sudo apt update && sudo apt dist-upgrade -y Edit repository sources: sudo nano /etc/apt/sources.list Change "stretch" to "buster": deb http://raspbian.raspberrypi.org/raspbian ...


2

I've been tasked with updating a driver on a Raspberry Pi 4 running Raspbian. I'm told I need to apply this patch https://lkml.org/lkml/2019/4/1/1050 in order to get my USB modem to work. You are in luck in the sense that that patch has already been applied. Here is the relevant source file in what is approximately the current Pi kernel source: https://...


3

For such a small patch I wouldn't bother using a tool to apply it. Just add the lines starting with the + sign to option.c, not including the + sign itself. The first insertion will be at line 249, and another three lines should be inserted at line 1091 (or 1092 after you insert the first one). Bigger patches must be saved into a file and applied using a ...


0

If ip link does not show the wifi interface either you need a different kernel or the board has been physically damaged. If the exact same card works in another model 4 then the problem is not the kernel. The heat problem and the system log errors are consistent from this (defunct hardware). There maybe a slim chance that the chip is busted in such a way ...


2

the green LED is blinking 4 times and pauses and blinks again and continues this step. As you have seen this indicates a boot problem, namely that "start.elf is not found". Didn't find any docs on how to resolve it. I imagine that is a bit inscrutable if you don't know what it is referring to. start.elf is required to be in the boot partition, which is ...


1

You will not get anything at all until the Pi4B has successfully booted. Your Pi4B has not booted successfully. Go through this Pi4B specific boot sticky. If that does not resolve the issue go through the full boot sticky.


3

@Ingo has provided a good and correct answer. This answer is provided to augment Ingo's answer & provide details that may be helpful to your understanding. Know that cron is useful, but to use it effectively, you should understand its limitations. 1. cron has no knowledge of the state of your system during the boot process. This means that it is ...


2

In addition to what @ingo has stated, crontab can often start running your script before the Pi is able to do any networking, so it might be worth adding a sleep function to your code after your imports.


2

You tagged the question with python-3 but you call everywhere python that is calling python 2. Because you don't tell us how do you start the script after login it is unclear why it then unexpected runs. You should also use full path calls in crontab: @reboot /usr/bin/python3 /home/pi/Coding/BellButton.py >> /home/pi/Coding/BellButton.log Also ...


2

In addition to what Milliways said, you seem to use the wrong baudrate (115200 instead of 19200), unless of course you changed this too. Edit: it appears that your module is configured to 115200. I would recommend you to get a USB to UART converter such as this one and make sure the module replies to the AT commands using a regular PC, to completely ...


1

This "Question" is lacking detail (OS, did you enable serial) BUT the fundamental problem is you are trying to use /dev/ttyAMA0 which is connected to Bluetooth (except in the unlikely circumstance that you changed this). See How do I make serial work on the Raspberry Pi3 , Pi3B+, PiZeroW


0

I assume you are using Raspbian. On this, dhcpcd is configured to support normal networking out of the box, e.g. use WiFi in managed mode with hook scripts in /lib/dhcpcd/dhcpcd-hooks/. I'm fairly sure that dhcpcd does not support an ad-hoc network with this configuration so you have to do it all by hand. I suggest to use systemd-networkd to setup an ad-hoc ...


2

There is no performance hit. The Pi components, like all electronics, have minimum and maximum voltage ratings. If the voltage is not high enough, it will not boot. If it is at a threshold level, you will get intermittent low voltage warnings. An issue with voltage is that it can fluctuate, particularly under load (current draw), which widely varies for ...


0

The problem with the RPi 4B is that it is associated to the wifi network with ssid="eduroam" but does not get an ip address from the DHCP server on the network 150.229.196.0/16. If the network stack does not find a DHCP server it will give a Link-local address to the interface but that does not fit to the network address range and cannot work. So you have ...


1

If you only want to use Raspbian then using NOOBS is only waste of space. Most of us flash Raspbian direct from an image. Download one of the images from Raspbian Downloads. This will also avoid the problems you have with NOOBS.


1

Despite the Comments the rainbow screen is unlikely to have anything to do with power supply - it is indicative of missing/faulty boot files. Again contrary to comments the Pi4 does NOT REQUIRE a 2A (or 3A - as recommended) power supply - it will boot and run on a good 1A supply, although a quality (official) supply is recommended. See Pi4 Boot Problems ...


0

If it is stuck on rainbow pattern window then you are using a power source that can't supply minimum of 2A. Change your power supply and the problem will be solved. Use a power source of minimum 5V-2.5A .


1

Here is what you can do. Open a casing of a desktop PC. You will find a PSU. That PSU is called SMPS. Now go to a store and find that PSU. Grab it(of course after buying) and come home. Short the green line with black and power the SMPS. Find the 5 volt line with 5V-15A power and split that line into many USB type-C cable. Buy a 5 volt 15 A power source Or ...


1

I offer the following procedure on how to install Ubuntu 19.10 on a Pi4 I got most of the following information from the following youtube site  Give it a listen because it is quite accurate in the part it covers.  The only missing piece was how to configure a network on the Pi4 that has virtually no network tools installed.  This procedure will be self ...


0

Even the 4GB Pi 4 Model B uses an ARM based chipset (CPU) which (to my knowledge) Linux Mint doesn't support (and I believe that includes Ubuntu, considering they're both closely related). I don't know if it has to do with the Kernel or the desktop environment. I honestly THOUGHT the last Kernel update included ARM support, but ... However, (at least at ...


1

The Pi4 SHOULD enter a low power state on Halt, but this prevents the power up by pulling pin 5 low. There is a patch to make it operate the same as earlier models which continue to use power when shutdown. If using this the RUN pin should be used to restart. The original Buster image works, apparently the Foundation changed later images. My Pi4 (early ...


1

Of course Pi4 can play a bluRip file. But you have to notice 2 things: 1. Do not keep open other processes while playing videos 2. Use a good HDMI cable and a good power source


1

This can be done, but requires a bit of work to get the bootloader updated for Raspberry Pi 4. Here's how I did it: Back up your SD card!!! This can go wrong any number of ways. Not my fault if you bork something! Upgrade Raspbian on your Pi 3 to Raspbian Buster. Use Gparted on another computer to enlarge the boot partition of the card to 250MB. Make sure ...


0

There are a lot ofreasons for this. 1. The country select 2. Service daemon corruption 3. wpa_supplicant.conf has wrong configurations If any of this doesn't work then flash the sdcard again


1

I was able to do this with a USBC -> USB2 cable. I cut the USB2 end, which has red, black, green and white wires. Then I just connected the red and black to a battery.


Top 50 recent answers are included