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 ...
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 ...
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 ...
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 ...
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 ...
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.
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.
The second ...
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.
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....
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 ...
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.
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:
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 ...
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.
pip install picamera
Note, this installs picamera to your conda environment alongside the default python module in /usr/lib/python3/dist-packages/.
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.
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 ...
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.
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 ...
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 ...
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$ ...
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://...
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 ...
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.