Skip to main content

Questions tagged [python]

Python is a general-purpose, dynamically typed, object-oriented high-level programming language. Interpreters for versions 3.x and 2.x come installed on the Raspberry Pi's most popular operating system distributions.

Filter by
Sorted by
Tagged with
0 votes
1 answer
99 views

I have two RPi 4b boards and two nRF24L01 PA modules. The goal is to use both RPi 4b boards and transceivers (both send and receive data). Note 1: I am using 64-bit OS on RPi 4b. For more details, ...
Elmar's user avatar
  • 21
0 votes
0 answers
33 views

Following some initial one-time device-tree setup, the script below seems to do what I need, which is a python-controllable PWM signal at fixed frequency and slowly varying duty cycle (update a few ...
uhoh's user avatar
  • 562
0 votes
0 answers
114 views

I am currently trying to control a NEMA 17 stepper motor rated for 1.5A through a DRV8825 driver using a Raspberry Pi 4B for a school project. I was trying to use RPi.GPIO to control the motor but it ...
silkysomen's user avatar
0 votes
0 answers
149 views

I run an open source project called PiFire which aims to provide an open source smoker controller using a Raspberry Pi and some off the shelf hardware. I have used a DSI connected touch screen display ...
Ben Parmeter's user avatar
-1 votes
1 answer
133 views

for a school project, I would like to take measurements of the Earth’s magnetic field using an RM3100 Breakout Board magnetometer from PNI Sensor. I soldered the headers myself onto the pads. I ...
thanatos's user avatar
0 votes
0 answers
87 views

I’m trying to set up wireless communication using two NRF24L01 modules. I’m using a Raspberry Pi 4 Model B as the receiver using the pyRF24 Library and a Raspberry Pi Pico with MicroPython as the ...
Nicolas's user avatar
0 votes
0 answers
59 views

Using the command lsusb i am getting the following output: pi@raspberrypi:~ $ lsusb Bus 001 Device 005: ID 19d2:1405 ZTE WCDMA Technologies MSM ZTE Mobile Broadband Bus 001 Device 002: ID 1a40:0101 ...
YvetteLee's user avatar
  • 127
0 votes
0 answers
78 views

I've being trying to install Mojo a replacement for Python using the instructions here. All goes well until I try to run mojo when it crashes immediately with 2343 external/tcmalloc+/tcmalloc/system-...
Nicholas Walton's user avatar
0 votes
0 answers
79 views

I wrote code for my RPi as below and it was working preatty long time, unfortunatelly after system update buttons Start and Stop does not generate any reaction. What may be the reason and how to fix ...
adamssson's user avatar
-1 votes
1 answer
756 views

I'm trying to set up pigpio on my Raspberry Pi 5 (aarch64 architecture running 64-bit Raspberry Pi OS Lite). The installation appears successful, but I can't connect to the daemon from Python. ...
Alex's user avatar
  • 1
-1 votes
1 answer
440 views

I'm using a raspberry pi 5 to read from a dht11 sensor with the signal line connected to gpio pin 26. I tried using the Adafruit_DHT and adafruit_dht libraries, which led to the error messages "...
EskimoJones's user avatar
-1 votes
1 answer
234 views

I am trying to install opencv on my raspberry pi 5 (os: 32-bit lite). I've tried the code to install opencv: sudo apt-get install python3-opencv -y but encounter the error below: The following ...
Alex's user avatar
  • 1
0 votes
0 answers
76 views

I have a PanTilt Hat powered by two servos over i2c. The example code below works fine and the hat mechanism will move smoothly for many minutes until ended by being terminated using Ctrl-C from the ...
Nicholas Walton's user avatar
2 votes
1 answer
163 views

I'm using an Arduino Mega to send data via serial communication to a Raspberry Pi 5. The connection is made through a TTL-232R cable (TTL serial on the Arduino side, USB on the Raspberry Pi side). On ...
bardulia's user avatar
  • 131
2 votes
0 answers
84 views

I'm building a device that if in my Python program the USB speakers are not connected it directs sound only to the headphones but the device works differently in a different mode with not so many ...
Gadgettyke's user avatar

15 30 50 per page
1
2 3 4 5
215