Python • Obstacle Avoidance Robot Mark 3!
I need some help, I upgraded my obstacle avoidance robot to use a ultrasonic sensor. I wrote code and it can use and read the data. But, it won't move, I was wondering if anyone had any help to offer....
View ArticlePython • Re: Obstacle Avoidance Robot Mark 3!
Your code never gets out of the first loop printing the distances!Statistics: Posted by rpiMike — Fri Jan 17, 2025 10:53 pm
View ArticlePython • Re: Keep getting this error message
I can confirm that since putting in a clean OS, that due to upgrading Python, for whatever reasons unbeknown only to me, kinda messed things up. All running smoothly now. And I can also confirm, I...
View ArticlePython • Re: Rpi5, pi3d, x11, uggg lol
OK, Well I finally got this figured out! Fresh bookworm with desktop installation, boot to the CLI. Screw messing around with the virtual environment, let the installs rip with --break-system-packages...
View ArticlePython • Re: remove jitter from servo?
Which pi is it running on and which OS (e.g. Raspberry Pi OS 64-bit Lite or other)?Statistics: Posted by neilgl — Sun Jan 19, 2025 10:00 am
View ArticlePython • Combine three elements to make a URL
I am trying to clean up some code so that it may be shared. The existing code contains URLs that if in the hands of the wrong people could be used to really confuse my device. The URLs contain...
View ArticlePython • Re: LED matrix board error
What LED matrix board are you using? Got a link?Post your Python code.Code: ''' Created by Baue Teeling '''# import librariesfrom flask import Flask, request, jsonifyfrom flask_cors import CORSimport...
View ArticlePython • Re: Combine three elements to make a URL
Maybe -Code: URL = "{}{}{}".format(KEY1,alert,KEY2)Or even -Code: URL = KEY1 + alert + KEY2Statistics: Posted by hippy — Sun Jan 19, 2025 2:00 pm
View ArticlePython • KeyboardInterrupt in While True statement
I have a program that starts with an image. When a button is pressed, a video plays, then when the video is over, it loops back to the original image. This is for a display room so I want this to...
View ArticlePython • MicroPython/RPi Pico sys.exit()
Hello AllNewbie question:Running a Pico with MicroPython (Thonny on my PC). I wrote three programs. I am running two sets of servos, each with different timings. The third program "calls" the first...
View ArticlePython • Re: MicroPython/RPi Pico sys.exit()
This is a guess based on my knowledge of how microPython and thonny work so could be wrong.When running from thonny, the code is pushed into RAM on the Pico which then gets erased when the Pico...
View ArticlePython • Re: Importing picamera2 causes imshow hang
Hi, wondering if any of you have luck? I have the same issue.Running RPi4B w/ new install of Bookworm as well, w/ a RPi Camera Module 3.Statistics: Posted by easternspork — Sun Jan 19, 2025 6:05 pm
View ArticlePython • Re: KeyboardInterrupt in While True statement
I guess you're using os.system. Don't use it.Sample to demonstrate:Code: import osimport subprocessdef video1(): # blocking call # grabs stdin, stdout, stderr and KeyboardInterrupt # simply, never use...
View ArticlePython • Issues installing pybluez2
I've been working on a little project that scans nearby bluetooth devices and was trying to use pybluez2. Whenever I try to do it on the pi, I get this error.Code:...
View ArticlePython • Re: Issues installing pybluez2
"fresh raspian" - is that Raspberry Pi OS (64-bit) with desktop "Bookworm" or something else?Which pi are you running it on?Statistics: Posted by neilgl — Mon Jan 20, 2025 10:06 pm
View ArticlePython • Re: remove jitter from servo?
Is it a servo like this?Statistics: Posted by neilgl — Tue Jan 21, 2025 10:14 am
View ArticlePython • 8-color mode only on a MSP3520 LCD (ILI9488 driver)
Hi all,I'm using the Vasily Kapustin driver with a 3.5inch SPI Module ILI9488 SKU:MSP3520 LCD display on Raspberry PI 3B.It works but it's only 8-color mode.I d'ont know why the RGB565 mode is not...
View ArticlePython • Re: ST7588 driver for python script raspberry pi
thks have you already tested this lib ?Statistics: Posted by bbd666 — Tue Jan 21, 2025 3:23 pm
View ArticlePython • Vosk in Raspberry pi 4, i have errors how to fix?
my code: Code: from vosk import Model, KaldiRecognizerimport pyaudiofrom rapidfuzz import fuzz# Load Vosk modelmodel =...
View ArticlePython • Re: Obstacle Avoidance Robot Mark 3!
Awesome thank you!Statistics: Posted by Jweld1117 — Tue Jan 21, 2025 8:04 pm
View Article