New answers tagged

0

It is possible you changed something in your list of repositories or it may even occur from a corrupted file. When you run sudo apt-get update (or use the Refresh button in a package manager), a list of packages will get downloaded from the Ubuntu servers. These files are then stored in /var/lib/apt/lists/. If I'm ever having issues running update my last ...


0

I rebooted my rpi a couple of times and the wifi started working.


2

I found a new recommended imager Etcher recommended by @HawaiianPi in this SD Cards issues thread. Etcher was able to image all the 3 cards without any hiccups and all 3 cards are booting in pi4 now. Win32DiskImager still doesnt work for me on the Buster image on the 16gb cards. Also etcher detected all the sd cards as having around 15.5 GB while both ...


0

Well, i was "closed-in-to-just-one-posibility" -or not thinking clear- The MFRC522-Python lib "Read.py" cannot be executed without sudo AND the chromium-browser CANNOT BE EXECUTED as SUDO, so... Afters a lot of Coffee and hours i found that i can execute the Read.py as SUDO and inside of it, the web browser directly with another username basicly i have ...


0

Thanks for the reply.Yes you are right radar connected with rpi using uart.But here bunch of data transmitted from radar with fix starting byte 02 01 04 03... 08 if rpi detects this data it counts that byte and print data at which count=28 which shows total number of object. this process repeats every time and find total number of objects. Here in rpi first ...


1

It's absolutely about peripherals. The lowest hanging fruit for Pi 2/3b is the gpu if you are not using a display, then the usb/ethernet. The combined USB/ethernet chip consumes a couple of watts even when idle, and cannot be turned off reliably when the USB is on (I believe this may have changed with the 3b+). I believe there is a way to reduce this ...


0

You are shifting the r1 register 16 bits left, this clears the 16th pin. You should instead shift the r1 register 47 bits left to clear pin 47(the ACT LED). As posted above, you cannot access the ACT LED through the GPIO controller, but you can on the RPI Zero/RPI Zero W, so your code should work on those.


1

As some of you already commented in the comments Raspberry Buster has some issues running Kodi. I decided to downgrade to Raspbian Stretch and captured all my steps in some blogpost. This first part is about how to reinstall Raspbian in a quick and easy way. https://marcofranssen.nl/install-fresh-raspbian-image-on-your-raspberry-pi-part-1/ The second ...


3

You can install lsb_release if you don't have it and run: lsb_release -a if you are looking for kernel info: uname -a or you can do this: cat /etc/os-release


1

The installation of hostapd has changed since its latest update. If you have installed it with sudo apt install hostapd then its service is masked now. You have to configure it first and then unmask and enable it what you have done later. It should work now. I do not understand why it works the first time.


1

Your question is ambiguous. If what you want is to execute the python script at the command line add the shebang at the start of the script and mark it as executable. #! /usr/bin/env python3 You can rename the script (omit the .py extension if desired). If you want any user to be able to execute the script you need to put it in a directory on the path e....


0

Put the following line at the start of your script. #!/usr/bin/env python Make the script executable. chmod +x script.py


0

There is no MySQLdb for python3.x PyMySQL is an interface for connecting to a MySQL database server from Python. It implements the Python Database API v2.0 and contains a pure-Python MySQL client library. The goal of PyMySQL is to be a drop-in replacement for MySQLdb. How do I Install PyMySQL? Before proceeding further, you make sure you have PyMySQL ...


0

I did read a while back a tutorial of creating your own PiCroft image on the picroft site. so in theory you could add PiCroft to Volumio image on the pi, by SSh into it and running commands. not sure if some of the configurations would interfear with each other though. let me know how you get on as I am looking at this too, but new baby so not much time.


1

The answers involving modprobe and removing fake hwclock are not needed for Stretch era Rasbian and beyond. Here's the steps that work for me as a reference: Install tools: sudo apt-get install -y i2c-tools sudo apt-get install -y python-smbus Update /boot/config.txt (Note: you can turn I2C 'on' via sudo raspi-config, but you need the overlay too to ...


1

Probably a bit late for you but it might help others. For me, the issue was solved by simply installing picamera in the conda environment. conda activate pip install picamera Note, this installs picamera to your conda environment alongside the default python module in /usr/lib/python3/dist-packages/.


0

The bash script was causing crashing becauses it was being fired through nodeJs spawn process. The process size was to big and caused crash. Fixed by configuring spawn process configurations.


0

Updated /lib/systemd/system/systemd-udevd.service Change: PrivateMounts=yes To: PrivateMounts=no see: https://raspberrypi.stackexchange.com/a/100375/1016


0

vcgencmd get_throttled See https://www.raspberrypi.org/forums/viewtopic.php?f=63&t=147781&start=50#p972790 for interpretation of get_throttled


1

While attempting to use the MK 360 combo with my rPi Zero W I have discovered that: -- if the receiver is attached directly via OTG Cable both the keyboard and mouse work no matter what -- however, if I connect the receiver through a cheapie 4-port USB hub (with power), I have to have both the keyboard and mouse powered up before booting the rPi Zero W. -- ...


1

Test your system with my "rpiburn" program. It is designed specifically for power supply testing: https://github.com/ronny-nilsson/rpiburn


0

You typically can’t run an ad-hoc and dedicated access point on the same WiFi interface, so you’ll need to add a second WiFi interface in addition to the built-in WiFi. There are some very inexpensive USB options on amazon, and the Raspberry Pi folks sell one. Make sure it says RPi compatible. Then look up one of the many online tutorials for building a ...


1

You will see the Lightning Bolt Firmware Icon when your Raspi voltage drops below 4.63v Firmware warning icons


0

Of course, there's no reason why you couldn't power the LED array from a separate power supply. As long as the ground lines are connected there should be no problem and you can simply use a power supply with as much output as needed.


1

I think the most simple way is to use the Pi's composite video output and a "Composite to RF modulator" sometimes referred to as "RCA RF modulator" since the composite A/V is using a RCA connector. These devices are independent of the Pi and could be used with any composite source. One would reasonably assume those devices will comply with all relevant ...


2

The confusion here is that most Raspberry Pi Python tutorial videos were made before IDLE was removed from the default Raspbian image (in favor of Thonny, a recent development). Thus, comments suggesting to try out commands in the videos are not helpful. If you wish to follow those videos starting from the point of opening Python 3 (IDLE), as @ben_nuttall ...


3

There is a tool named usbip that you can find in the default Raspbian repository: rpi ~$ apt show usbip and install it with: rpi ~$ sudo apt install usbip It should do what you want. It provides server and client components only for Linux. You don't tell us what operating system do you use on your desktop pc but you will also find drivers for MS Window$ ...


0

If the value floats between low and high that is because the GPIO is floating. Floating means the GPIO has not been set high (by connecting it to 3V3) or low (by connecting it to ground). That is why a pull-up or pull-down is often connected to a GPIO - so that it is in a known fixed state when not overridden by a more powerful voltage. E.g. see https://...


0

This is do-able but would likely require a good amount of non-Python glue code. For sending WASD keyboard events, you can modify SDL to send the appropriate key-down/key-up SDL_KeyboardEvent events at the right times. See a related question on input modding for how to inject a modified SDL library. Reading touch events can normally be done by SDL, but ...


0

To connect my RPi3B+ to an HDMI monitor, I purchased the following cable and it works great. I'm hoping to use this same cable for my incoming RPi4B along with an adapter I also got on amazon.com. https://www.amazon.com/gp/product/B014ROO71W/ref=ppx_yo_dt_b_asin_title_o02_s00?ie=UTF8&psc=1


Top 50 recent answers are included