#help-with-linux-sbcs
1 messages · Page 29 of 1
this is the output from lsusb "Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub"
i don't see anything unusual in dmesg
so is it not seeing Ethernet either?
it's a pi 0 w
ahh right
I'm running from a 3B or 3B+
Bus 001 Device 003: ID 0424:ec00 Microchip Technology, Inc. (formerly SMSC) SMSC9512/9514 Fast Ethernet Adapter
Bus 001 Device 002: ID 0424:9514 Microchip Technology, Inc. (formerly SMSC) SMC9514 Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
bluetooth works so it has to be the pci link
bluetooth on the rpi runs over uart and the wifi over pci
I mean mine tells me wifi is disabled when I login, and to run the config. but you said that's what started this right?
it was fine one day than the next it stopped working
Wi-Fi is currently blocked by rfkill.
Use raspi-config to set the country before use.
the wpa_supplicant.conf is set corrextly
Since there seems to be a built-in mechanism for it - maybe check raspi-config and rfkill?
is it correct that reboots don't fix it?
okay. (different issue from someone else on here then - theirs came back after reboot)
what does "ip l" give you?
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
interesting. So even though my wifi doesn't show up in lspci, it still shows up in ip l
i think this pi 0 w has become a pi 0 with bluetooth
one way to know for sure would be to try a clean install on a new microSD card. That would rule out software issues vs hardware issues
Does the Pi Zero automatically output the video data on the labeled pins for it or do I have to change some config files or do I have to code something to take the screen data that would be sent through the mini hdmi port and translate it to data I can send through the gpio pins
To the screen
I’m using the 1.27” color OLED if that helps
This
you are better off using the display with blinka in python
it has a resolution of 128x96 so without kernel trickery it won't work if what you want is a small hdmi display
i've reflashed the sd card multiple times
it's a hardware problem
a PiTFT is better for a small hdmi display
that doesn't rule out a bad card though, but that certainly rules out a lot of other things, such as a corrupt file system
you said it was working and then it suddenly wasn't, so I wasn't sure what troubleshooting you'd done so far.
for kicks and giggles, have you tried an external Wi-Fi adapter to see if it recognizes that?
don't have one
the usb does work
i didnt mean i wanted a small hdmi display i meant like if i could take the hdmi output and run it through a script that made it into the right data format to send the the display
or does the pi do that automatically
or what
what do you want the display to do?
i mean what does the project do with it
its a portable arcade game thing
so display retroPI
RetroPi
or just a Raspbian distro for testing everything
its a screen
in theory it's possible but the slow spi along with the pi 0 would make the display and the pi slow
i'm pretty sure there are ways for retropie to display on a non-hdmi display
ok well does it have to run at 60fps for Frogger and PacMan
i'm not an expert so if you have the display already it might be something to look into
but if you don't have it a PiTFT would work better
i dont have it but what i do have is like 1.6 inches of room vertically for the display and its pcb
and this one fits pretty perfectly
I need to know which micro computer is raspberry pi compatible and has the lowest standby power consumption. Any suggestions?
I'm looking to monitor my battery life on a Cyberdeck I'm making. Does this layout work for that?
I guess I'd need to use a usb cable from the pi to the Featherboard to power the board, then the power source would connect to the powerboost.
do you want the feather on when not charging?
I want the display on while I am using the Pi. Or to where I press one of the buttons to display the battery level.
I just really don't know anything about STEMMA or what to do, but I just want to know if it can do what I'm looking for before jumping in and buying parts and learning how to do it
I appreciate the help though
Not sure where this goes ,
But I’m trying to find and modify the (a file?) for the TFT bonnet so I can use the dpad and the 2 buttons as hot keys and map them to something.
Any clues ?
I should specify it’s the 1.3” color bonnet 🙂
Instead of the feather being powered by the charge source use a small cable to either connect it to the output of the powerboost or use that cable to connect it to a usb port on the pi so you can edit the code on it when powered from battery
Then the charge source only goes to the powerboost
The rest of the design doesn’t need modification but i would go for one of the 4400mah, 6600mah or 10050mah batterys
STEMMA/STEMMA QT is just i2c with 3.3v power and ground in a jst connector
Red - 3.3VDC Power
Black - Ground
Blue - I2C SDA Data
Yellow - I2C SCL Clock
I have a 5600mah battery, salvaged from a handheld that hasn't been used in a whole, waiting to be used.
That will work
Aside from the feather plugged into the pi the rest of the design will work
hey, this might be a very dumb question but I'm trying to figure out how to use the raspotify library for python
I've mostly got it working but I can't figure out how to shuffle play or toggle shuffle
do you know where I would find a lit of all the functions in the library?
are there any expansion boards for pi 4b?
for gpio mostly
or maybe it would suffice by itself, if I just wanna connect 4 stepper motors to it?
So I have a Raspberry Pi 4 - 4gb Model with Raspbian 64bit installed. It is plugged directly into a 1080p 144hz monitor keyboard and mouse. The display refreshrate though only appears to be about 30 fps despite the setting claiming it is at 60 anyone know a fix for this? I've tried toggling settings/resolution to no avail
are you sure the cable supports 1080p60?
good call. i don't have a way to test it otherwise though. I think it may have came with the Kana kit starter kit. which does advertise 4k 60fps though
hmm that does look like it should work out of the box. What is the output of xrandr?
could you add
hdmi_group=1
hdmi_mode=78
to /boot/config.txt? https://www.jeffgeerling.com/blog/2022/gaming-1080p-and-120-hz-on-raspberry-pi-4 for more info
no cigar
i did a reboot too
i've tried some things like this years ago as well with diff monitors, but didn't try a diff cable
i'l prob need to order like a hdmi to mini adapter
Hi o/ Can raspberry Pi Zero, have three different analog video outputs?
No
I hope this is the right area, but I was wondering about using the fact that I2C can be used on different pins for the pi pico. Is it possible and do able to swap interfaces. IE I have 4 devices with the same address, but I have them split between port 0 and port 1 but on different GPIO?
IE
Screen1: 6, 7(i2c0)
Screen2: 9, 10(i2c1)
Screen3: 11,12(i2c0)
Screen4: 14,15(i2c1)
Effectively acting as a multiplexer.
In my case, I do want to grab data from a large set of accelerometer and gyros.
is this for a pi pico?
yup
it'll only work as far as two, since there are only two total i2c ports
those two ports can be used on different pins, but there are still only two total
I mean that I would change the port pin selection. Ie create on pins 6,7 for it, get data, then recreate it on pins 11,12 and get data there
Yes, that should work.
hmm...maybe
yah, guess that could work. as long as whatever software allows for dynamically setting up the buses like that
it seems plausible from a hardware perspective. from a software perspective, if you're using higher level drivers that depend on an I2C bus abstraction, you'll likely have to continually destroy and recreate those as well each time you switch
just to check - have you exhausted other possibilities? alternate addresses? using an i2c muxer?
I want to avoid the multiplexer as I need this to be small. One device can not change the addr less I order a large qty directly which I do not want to do
And you need four I2C displays, none of which use different addresses?
Which device are you using?
Screens are an example. Final would be a set of gyro and accelerometer
Screens are viable since they can be given data and left alone for a while, assuming you don't need any significant framerate. With sensors, you'll probably be much more restricted on poll rate if you have to constantly reinitialize the I2C bus on different pins.
If you're building a custom PCB for a final design, an I2C multiplexer would probably not take up a lot of real estate compared to a prebuilt module for a prototype.
Under the hood it should just be a couple of GPIO register writes to switch the pins, at least. But software libraries may complicate things depending on what platform you're using.
Then again, with a large set of sensors, it's unlikely you'll be reading any individual sensor very fast, anyways.
with a raspberry pi 4b should i get 60fps at 1080p overh dmi out of the box? I bought the cana kit and even weh ni try to change resolution / framerate it looks like im getting < 30 fps on desktop. Raspbian 32bit or 64bit OS same issues
what are you running on the pi?
anyone have problems with Mac M1s recognising Picos?
bootsel works - drag+drop firmware, reboots etc - but after that my mac rarely recognises the device. it does sometimes
if i use my PC, it seems to always work..
only sometimes appears in /dev/
do you see it as any kind of USB device in System Information?
under USB? nope..
but it does show up in when in bootloader mode?
yep
tried different cables, same issue
also
i have some python running a display on the pico
if i plug it into pc, works fine as i'd expect
on mac - it freezes after a second or so
and it reliably shows up (as a disk?) on the Mac when in bootloader mode?
if i plug the usb into the mains - it as expected runs correctly
yep, bootloader works every time on mac
exactly what cables/devices/adapters are between the Mac and the Pico when you connect them?
Macbook Air M1 has 2x USB-C ports.
I have an Anker USB-C to USB-A adapter plugged into that.
Then tried several (works on PC) USB-A > Micro-USB cables that connect to the Pico W.
It does sometimes appear on mac. Maybe 1 in 20 times I plug it in
Tried rebooting, closing apps, etc
so it's a pico W running MP ?
3B, and the 4R7 (sorry not sure what it is) is coming off
I had plugged it into my 3d printer to run octoprint and it kept giving me voltage warnings. Weird since I'm using an official power supply. After 2 prints just stopping randomly, I decided to switch it to my 3A and then I noticed that guy coming off
Looks like L2 (an inductor) let out the magic smoke
it looks like it's an inductor, possibly for a switching regulator
it is L2
do you know if it experienced mechanical stresses that broke it off, or did it fail through some kind of electrical overload?
Can you get a top-down photo?
it might have been mechanical
it is near a mounting hole. but even if it mechanically broke off, it might also have caused electrical failures in the surrounding circuits that could be difficult to track down
Looking at the schematic it’s a 4.7uh 2A inductor
It shouldn’t have caused any damage when it popped so if you replace it the pi will probably work
Where can I find replacements? Cause finding a replacement pi right now is not an option, ha
I found it on mouser
ohk cool
thanks
No problem
is it the right footprint?
It’s the exact same part number so yes
ordered, thank you
No problem
hopefully my moderate soldering skills will work for me, haha
The same inductor will also work for L1 if that one breaks
hopefully not, haha. But I ordered 5, so that backups are in hand
I got a pico w and am having issues seeing it as a usb drive. I can BootSel and put the pimoroni-picow micropython on it but it doesn't show up as a usb drive. I can see it in system information as USB COM15. any help appreciated.
MicroPython does not present a USB drive like CircuitPython does. When you use BOOTSEL you do see the RPI-RP2 drive, correct? I assume that is how you loaded Micropython.
To load code to MicroPython, you can use Thonny or rshell.
hi im trying to get composite out from a raspberry pi 4. can anyone tell me how to do this?
my random googling found
https://mlagerberg.gitbooks.io/raspberry-pi/content/3.5-analog-video-output.html
Hey, how long does it take for the raspi pico to set a pin from high to low and from low to high? Is it possible that if i set a pin to another value, it isn't yet "completely" set to it when executing the next line of code or is it fast enough that i'll never have to worry about stuff like that?
it depends on what's connected to it. everything digital is really analog
Just talking about setting it from high to low once
what do you have connected to it?
I connected it to a self build 3×3 LED matrix
at the Pico's max clock of 133MHz, one CPU cycle is about 7.5 nanoseconds, which is quite fast enough to run into all kinds of trouble in the analog domain. it's almost certainly too short a pulse to usefully turn on a visible LED
So i assume it's fast enough for any deceive that doesn't read data but is simply on as long as the pin is high?
exactly what problem are you running into, if any?
The short answer is that it's fast enough that you never need to worry about that.
I'm looking to a way to Hookup an Amiga 1200 Keyboard to the Pico there is this one project one made to hookup a 600 Keyboard to usb...is this possible for the Amiga 1200 Keyboard?
I would love to build one and give it a good test on the Amiga Emulator
I hope i posted this in the right spot as i am new here. I've been doing a lot of work with your RGB Matrix Bonnet/Hat for awhile now, and I was wondering if there was anyone willing to port this invaluable piece of software to the Pi4. Tony DiCola who no longer apparently works with you guys developed a desktop mirroring software that takes whatever is displayed on the Desktop of the Pi, and mirrors that onto RGB matrix panels using the Bonnet/Hat. I'm more of the "artsy" type, and my experience in programming is basically editing scripts. So with my limited knowledge I was still capable of making some neat things (the video I linked) Since the supply chain issues have made obtaining Pi3b & Pi3b+ quite expensive, it would be awesome if someone could port this software over to the Pi4. I can't imagine that it would be too difficult, and i also guarantee that if enough people knew what this stuff was capable of, it would most likely boost the sales of your Bonnet/Hat modules. I might even be willing to PayPal someone to do this, as it would save me a bunch of money being able to access Pi4's easier than the older models. 😛
https://learn.adafruit.com/raspberry-pi-led-matrix-display/overview
https://www.youtube.com/watch?v=pCmGmLDWalE
It all the time shows me this error please help😭
What board are you using?
pi pico
This question is better in #help-with-circuitpython
that looks like a thing with Thonny ?
you are using CP libraries in Micropython mode too, are you using blinka ?
Ok in theory is if possible to add a stick of ram using a custom cm4 bored
By disabling the on bored RAM
Theoretically possible yes, practical? Not very at all
That sounds like a challenge
Lol
Now I got a new project to spend 4 years of my life on
Hello, i am having this same exact problem with my Raspberry pi
if anybody knows any solution to this, Please Let me know
https://unix.stackexchange.com/questions/550472/qt-qpa-screen-could-not-connect-to-display-error-when-run-python-script-at-bo
When you get it working open source it plz
Ikr
do you know about pilocator?
No what's that
Find Raspberry Pi computers in stock with this simple to use web application.
So I checked it
And nun is in stock
Soo time to buy one from some sketchy seller on ebay
encoder
What
Hello any1 has a driver for LORA 32D uart interface?
how are you guys powering the rPi to be portable? i allways have low voltage indication and it is driving me nuts
What are you using as a power source?
More specifically what is the current rating?
The 4.8v is very close to the low voltage threshold
Can you send a top-down photo of the board or a link to it’s page on aliexpress?
Try adjusting the voltage up to ~5.2v
5.2v is within the usb spec so it won’t break anything
I have alora module, according to the datasheet, the input voltage should not be greater than 5.0V
maybe i can add capacitors? just got today 2 1000uF caps will it help?
One will be enough
The 5.2v will not break the lora
Are you using a adafruit lora board?
The 5.2v will not hurt it
Just a thought for moderators here - I notice a pinned message that references an archived channel; might be good to remove the pin? Channel description seems to cover the same content well.
This channel is for help with Raspberry Pi single board computers (Pi 3, Pi 4, etc.) and other single board computers that run Linux. Typically these boards are supported by the Blinka library. For help with Pi Pico or other RP2040 boards, use #help-with-circuitpython or #help-with-arduino, as appropriate. For help with pico-sdk use, #general-tech or https://forums.raspberrypi.com/viewforum.php?f=143.
Thanks! I revised the pinned message.
Now i am getting something really weird!! my LORA works great but my pi every time I transmit the hdmi screen shows some "white snow" even with power supply and with a cap1000uF then i switched to 470uF