talhayaa
May 24, 2024, 14:17

Need help at using Pi Hole

Hello, Iam a complete newbie but decided to use Pi Hole on my clients. Currently it works on my Raspberry Pi 5 just fine, but I cant activate it on my Windows Laptop. Could you help me? I would like it, if we could do a small live chat through discord.
glass3174
May 24, 2024, 01:21

RTL-SDR and the raspberry pi 5

currently, i am using the rpi 64 bit (debian bookworm) for the raspberry pi 5. i can get connected to the internet, terminal, general computer stuff. i start trying to install any sdr software period and it gives me all sorts of issues from telling me to install cython etc. im just gonna start completely fresh from the image (format and wipe), can anyone make suggestions on how i actually set up the software on the rpi 5? i suck at coding, i appreciate any help!
shen_neo
May 23, 2024, 06:40

I want to make a robot with more than 32 servos

I’m making a very complex robot with more than 32 servos and motors. I never used a raspberry pi. I’m considering getting one for my project. I want to know if it’s possible and how to do it.
kay_wayfarer
May 23, 2024, 05:00

bash: /usr/local/bin/ollama: cannot execute: required file not found

bash: /usr/local/bin/ollama: cannot execute: required file not found Hi, I'm trying to download ollama onto my RPi 5 (8GB), but after I ran the following command: "curl -fsSL https://ollama.com/install.sh | sh" and the terminal says ollama was successfully installed, when I tried to run "ollama --version", it sends the message in the title above. I am following this guide: https://pimylifeup.com/raspberry-pi-ollama/ Please ping me if you can help me, thank you! β€”-UPDATEβ€”- kaywayfarer@raspberrypi:~ $ sudo systemctl restart ollama kaywayfarer@raspberrypi:~ $ sudo systemctl status ollama ● ollama.service - Ollama Service Loaded: loaded (/etc/systemd/system/ollama.service; enabled; preset: enabl> Active: activating (auto-restart) (Result: exit-code) since Thu 2024-05-23> Process: 3019 ExecStart=/usr/local/bin/ollama serve (code=exited, status=20> Main PID: 3019 (code=exited, status=203/EXEC) CPU: 743us I think the text in bold is the issue. It should say "running" I tried rebooting my RPi 5 and using the command "sudo systemctl stop ollama" and then start Still doesn't work I have searched the internet for this, but I have found no solution to this.
.ashthedash
May 22, 2024, 15:51

[SOLVED] Ras pi 4b no camera option in configs

so i bought a new pi 4b 4gb and installed raspian 64 bit and have added a firewall and updated everything but in sudo raspi-config interface options there is no camera option nor in prefrances and i keep getting hat not detected
joeldx.
May 22, 2024, 13:16

wake on internet assistance

Can anyone tell me what additional hardware do I need to make this work other than the raspberry?
sr1zz
May 22, 2024, 03:18

Snake with joystick (root error help)

Hello, I'm an engineering student and I'm currently trying to do a project which involves making an arcade machine with Raspberry. So, I tried to code a game called Snake which could be played using a joystick connected to a GPIO port. However, I have an error that systematically occurs which is the root error. I tried several solutions which were given on the Internet but none worked so I would like to know the solutions which could be possible. So if you have either an example that works or a solution to my problem with my files, I would be delighted. Thanking you in advance for your attention to my message.
adde9882
May 22, 2024, 00:42

Vim via SSH not making letters bold

The theme I am using currently does not give bold letters where I want them. Neither italics or other types. If I use :set guifont=bold while in vim, nothing changes. Why are bold letters not shown?
ard.33
May 21, 2024, 19:48

Connecting Raspberry Pi 4 with Pico

I'm trying to configure my raspberry pi 4 and pico in a master / slave setup to have the pi 4 send data to the pico (2 integers) and having the pico display them on a dashboard and have it turn on some leds according to those values. I wanted to do this using I2C. Anyone have any help on how to get the software/hardware going?
gitgudscrubs
May 21, 2024, 17:06

Can someone provide recommendations for a project I’ve been brainstorming?

I’ve recently wanted to make a small raspberry pi system that will use a speaker/microphone coupled with a sensor/camera and open cv or the equivalent to make a conversing and surrounding-aware robot. I wanted to attach this to a remote control bird, and I was wondering what the best and most inexpensive materials would be for my needs. It’s kinda like a bird that can recognize people and imitate one’s voice using a TTS or other language learning model. Responses could be generated using an API key from ChatGPT. Thanks!
rese7948
May 21, 2024, 15:34

Raspberry PI 4 - what do I use of full image restorable backup (SSD) of running system?

As the title states. The main focus is to create a full restorable image backup of an SSD running Raspbian on RPI 4. It'd also be nice if it didn't take hours upon hours, but that's just a nice to have. Alternatively, if you think this is not the way, what else are you using for backups? I'm looking at this option purely because if something were to fail, I don't want to deal with the hassle of restoring everything manually. Thanks!
creeze_fnd
May 21, 2024, 14:39

i got a problem with xmacro, emergency +++

Hey there, i got a little problem with xmacro. When it says to press the Key i want to use to end the process, i press escape, but nothing happens, except that it types some characters, but nothing more. I'll send a pic.
pgthevrguy
May 21, 2024, 12:23

Issue reading GPIO input

so buttons 2 and 3 are working just fine, but when reading GPIO 17 its constantly reading a value as if the button is pressed, but when pressing the button this state doesnt change. Additionally, when I plug the switch im using to change 17 into a different button, the switch works just fine. So the switch is fine, and the code works fine for other pins. I have the switch connected where its just GND and GPIO 17, similar to how all the other pins are plugged in.
duviz2
May 21, 2024, 11:37

Cant connect TFT SPI 240x320 display to pico

It's my first time using a raspberry pi pico, so I don't know anything about how to use it, I am doing something wrong on the protoboard itself? The raspberry is lifted up a little bit in that photo but that's fixed
sharkieco
May 20, 2024, 18:13

no audio on raspberry pi 5

Hey guys, ive had my pi for about 6 months now but just decided to try and use it as a media device. I tried setting everything up, the rpi is now connect with a TV via HDMI. The sound should be working since there are speakers in the TV itself and i also tried connecting external speakers to the TV. When connecting my bluetooth earphones to the raspberry pi there is a little bit of sound but it lasts for 2 secs max and the stops for 10 secs and then continues this pattern. Does anyone know what could be the issue and how i could solve it? Thanks!
e3h0
May 20, 2024, 10:12

Help: Pi Pico SPI SD Breakout MicroSD py/c++ $40

$40 if you can get it done dm me for more info
n9tro
May 20, 2024, 01:19

LED strip doesnt turn on when connected to external power source

my wiring is: led + to supply + pi and led gnd to supply gnd pi gpio18 to led data see attached picture. It does turn on if i connect the led power to the pi, but its not enough power
rheanaaaa
May 19, 2024, 12:42

website building

hi guys, I was wondering if someone would like to help me code a website that features the videos that I've made to sponsor products.
andreaeaceae
May 19, 2024, 11:53

how to fix non-responsive pico to uploading uf2 file code (mac laptop)

Hello! My pico board is unresponsive to the uploading of our code into the disk, or just simple led flashing code uploaded into Thonny. There's nothing that happens on the PCB board, LED light, literal no signs of life. Confused on how to fix this. I have a macbook air laptop and the cable and everything should be fine. Thanks!
babypickles8
May 19, 2024, 04:46

Code works on my pc but not my pi

I am trying to run a program that works just fine on my pc, but once I move it over to my pi it stops working. Unsure at all what the issue is, I can put the exit message it gives me but it is EXTREMELY long and the exit code is 1.
bigbearpimppicks
May 18, 2024, 20:10

bad usb

Can’t get my bad usb to work and I’m doing everything correct if anyone can help
creeze_fnd
May 18, 2024, 19:58

I need to boot my raspberry pi 4 from a usb drive, i don't have a sd card adapter

hi, i'm in an emergency with my raspberry Pi 4. Since i didn't have a micro sd card, my girlfriend gave me one, but i don't have any adapter to put it in my main pc. I have two days to set up my raspberry for my highschool final exams. My situation is kinda critical since it counts a lot for my highschool degree. I would like to know if there is any way to install linux on my raspberry sd card from a usb drive, otherwise i'm in deep shit.
.daemos
May 18, 2024, 09:52

Windows 10 Folder Sharing

Issue setting up my raspi5 to be able to access my shared folder on my windows 10 machine. Ive tried posting the issue on multiple forums and none of the suggestions have made any difference. Note first time using one of these complete linux noob. my code is; sudo mount -t cifs -o username=Main_Link,pass='q&yLC0es9a' //192.168.xxx.xxx/Remote_Access ~/Desktop/share i proceed to get the following Mount error(13): Permission denied What ive tried: Disabling windows firewall Changing passwords/user Making sure the folder is shared to everyone Made sure i was discoverable on private network Yes samba is installed Yes cifs utils is installed Ive also tried - sudo mount -t cifs -o username=Main_Link //192.168.xxx.xxx/Remote_Access ~/Desktop/share And when prompted for the password there is no * symbols when i type in the password At this stage im considering using windows arm as my OS becoz this is beyond frustrating. Ive been able to set up RDP and this was the second task on my to-do list before i started really playing around.
caedencode
May 18, 2024, 07:50

How to connect these connectors to my RPI 2 grip header

Hey guys! I’m trying to connect my LED strip to my rpi 2 but even after applying gentle pressure it won’t go in. Help is appreciated.
lil_india
May 18, 2024, 03:27

Using Waveshare LCD libraries in my Pico-W project using cmake files (and an issue with Wifi libs)

Quick summary of my project is that I'm trying to build a "Spotify iPod" device with my Pico-W. I purchased a Waveshare display that comes with a library. I have a lib folder that contains my pico-sdk and my Waveshare display library. I have little experience using cmake but was able to get the pico-sdk pico_stdlib working included into my project and working. But, I haven't been able to import my display libraries and can only use them without the hacky workaround of copying the header files to a separate directory and importing from there (in an effort to bypass cmake for that library). I want the project structure to look sensible so I want to do it the legit way through cmake. In line with that issue, I also need to use the cwy43_arch code in the pico-sdk which I haven't been able to import the same way I did pico_stdlib. In summary, I need help understanding how the heck CMake works in my project. Attached is my project structure in VSCode. My CMakeLists.txt files in my project directory, src, and lib. And my main.c file that is trying to access the display libraries. Here is the error message I get as well:
/home/dev/SpotifyPico/src/main.c:6:10: fatal error: LCD/LCD_1in3.h: No such file or directory
    6 | #include "LCD/LCD_1in3.h"
Please let me know if additional context, code, screenshots, etc. are needed.
sikewerld
May 18, 2024, 00:18

permission denied on flashdrive on pi 5

I'm trying to plug in a flashdrive and take the files out of it. when i try to open the flash drive directory is says permission denied. why is it so difficult to do even basic things on the pi 5 and how do I fix this stupid error?
tolek3.0
May 17, 2024, 21:21

Pi-hole

Well, ive set my pi-hole up correctly, but yet no ads are blocked. anyone knows why?
fauteen
May 17, 2024, 18:43

Electronic cricket Scoreboard wireless (battery 12v operated)

Hi! Basically I came up with this idea to make a custom portable led cricket scoreboard which you use possibly on your phone via Bluetooth with another app. I have a raspberry pi 4 and was looking if anyone could help with the basics of creating something like this and how it works. I found this helpful website (https://buildyourownscoreboard.wordpress.com) which explains in detail how to build one. Any help would be greatly appreciated!
cryptokovri
May 17, 2024, 16:39

Solid Red Light on Pi 5 & No HDMI Signal. No Peripherals Connected. Any Options to Recover?

I've tested with multiple pi's. This isn't a power supply issue because the other pi's work fine with the same setup. When plugged in, the LED lights go Red, Green and Solid Red again. I've flashed the EEPROM Bootloader image and waited 10 seconds, nothing. The SDCard doesn't get read. Are there other ways to recover these? Not sure what else to try.
philip.2000
May 17, 2024, 13:50

Any CMake pros?

I am trying to restructure my project and I cannot get it to compile. My CMakeTexts right now with everything in one folder and everything working:
cmake_minimum_required(VERSION 3.12)

include(pico_sdk_import.cmake)

project(pico_examples C CXX ASM)
set(CMAKE_C_STANDARD 11)
set(CMAKE_CXX_STANDARD 17)

pico_sdk_init()

set(FAMILY rp2040)
set(BOARD pico_sdk)

add_executable(keyboard_firmware)

target_sources(keyboard_firmware PUBLIC
        ${CMAKE_CURRENT_LIST_DIR}/main.c
        ${CMAKE_CURRENT_LIST_DIR}/usb_descriptors.c
        )

# Make sure TinyUSB can find tusb_config.h
target_include_directories(keyboard_firmware PUBLIC
        ${CMAKE_CURRENT_LIST_DIR})

target_link_libraries(keyboard_firmware PUBLIC pico_stdlib pico_unique_id tinyusb_device tinyusb_board pico_cyw43_arch_none hardware_pio)

pico_add_extra_outputs(keyboard_firmware)
Everything perfect. Now the new structure:
Project/
β”œβ”€ CMakeLists.txt (1)
β”œβ”€ pico_sdk_import.cmake
β”œβ”€ src/
β”‚  β”œβ”€ CMakeLists.txt (2)
β”‚  β”œβ”€ main.c
β”‚  β”œβ”€ usb/
β”‚  β”‚  β”œβ”€ CMakeLists.txt (3)
β”‚  β”‚  β”œβ”€ tusb_config.h
β”‚  β”‚  β”œβ”€ usb_descriptors.c
β”‚  β”‚  β”œβ”€ usb_descriptors.h
# CMake 1
cmake_minimum_required(VERSION 3.12)

project(pico_examples C CXX ASM)
set(CMAKE_C_STANDARD 11)
set(CMAKE_CXX_STANDARD 17)

include(pico_sdk_import.cmake)
pico_sdk_init()


add_executable(keyboard_firmware)
add_subdirectory(src)

target_link_libraries(keyboard_firmware PUBLIC pico_stdlib pico_unique_id tinyusb_device tinyusb_board pico_cyw43_arch_none hardware_pio)

pico_add_extra_outputs(keyboard_firmware)
# CMake 2
target_sources(keyboard_firmware PUBLIC
        ${CMAKE_CURRENT_LIST_DIR}/main.c
        )

    add_subdirectory(usb)

# CMake 3

set(FAMILY rp2040)
set(BOARD pico_sdk)

target_sources(keyboard_firmware PUBLIC
        ${CMAKE_CURRENT_LIST_DIR}/usb_descriptors.c
        )

# Make sure TinyUSB can find tusb_config.h
target_include_directories(keyboard_firmware PUBLIC
        ${CMAKE_CURRENT_LIST_DIR})