How can I code two Pi Picos to send/receive data accurately to 10 milliseconds a bit using LED/Photodiode pairs? I am trying to send data from one PiPico to another wirelessly. I am on a bit of a time crunch and have unsuccessfully tried getting my photodiode circuit to output the correct voltage swings to use pico’s UART pins. There
Tag: raspberry-pi
Install Donkey car Python TensorFlow – Raspberry Pi
use Raspberry Pi 4 Model B 2GB Raspbian BULLSEYE (DEBIAN 11) ARMV71 package name “2022-04-04-raspios-bullseye-armhf-full” i try Install Donkeycar Python Code from official website when I enter installation code Error: donkeycar tensorflow-2.2.0-cp37-none-linux_armv7l.whl is not a supported wheel on this platform. Answer If you run the 64-bit Raspberry Pi OS you can install Tensorflow in the standard way – pip3 install
Running Flask and Postman on Raspberry Pi
I’m running a flask server on my Raspberry Pi just a simple one to test the POST or GET request but Postman “Could not send request”. But when I try to access the link via the browser, it displays the request. I’m accessing Raspberry Pi via SSH and using VNC Viewer.) I’m confused. Any help would be much appreciated. NOTE:
Why is mechanize not installing properly via pip on RPi? (python 3.9)
I can’t get to successfully install the package ‘mechanize’ on a Raspberry Pi (so, ARM chip) with Debian Bullseye, python 3.9 in a virtualenv. When I look in the virtualenv’s sitepackages folder, indeed the mechanize package only has .dist-info file, but not a mechanize.py file or mechanize package folder. See below. Question: Am I overlooking something? Details (1): Installing mechanize
How to send and receive data the same time Python UDP socket
I just learned about #python recently, I have done a small project about rasberry pi. I want to transmit and receive data between Server is Laptop, client is Ras via UDP protocol, I use Python’s socket library. Transmit sensor data from ras to laptop, and transmit control commands from laptop to ras. Data from ras must always be transmitted, so
Python script to check batterylevel on powerbank connected to Raspberry Pi
I have project that includes a Raspberry Pi connected to a powerbank as power source. In my python script I would like to check the battery status of the powerbank before starting a function. From what I’ve been able to look up on the internet there is no way this will work solely with a code and no additional parts(except
How to get the value of a python script I run through ssh
I am using 2 raspberry pi and each of them has a camera connected. I am trying to run, from the first pi, a script to get the video feed of the second one. And for that, I would need the value my function returns through ssh. With a simple example : slaveScript.py masterScript.py I would like, for this example
python-vlc running out of memory after playing multiple songs
I am writing a python program, running on a raspberry pi (PI 3 A+), that plays a song every 10 minutes. I am using python-vlc to play the song through the pi’s headphone jack. PlaySong() is a function that gets called (successfully) every 10 minutes. This works as expected the first 6 times. After 6 times, it doesn’t play anymore,
How can I record a video with MJPG instead of YUYV on a raspberry PI 4b with opencv-python code
Good day to you dear developers from stackoverflow. I am currently recording live-video with my usb webcam on my raspberry Pi with the following code: The code doesn’t work anymore, when I use the cap.set(cv.CAP_PROP_FPS, 15) function and I don’t know what I’ve done wrong. I get the following errors: Not the thing is, if I remove the cap.set(cv.CAP_PROP_FPS, 15)
What is the terminal script to run CoAP server
Im trying to run this CoAP server from https://github.com/Tanganelli/CoAPthon on a raspberry pi. i cant seem to find much instructions. This was one of the CoAP that my instructor wanted us to use, my instructor pretty much left us hanging with no help at all but this link. i followed the install instructions on the github page, the only thing