Most Popular

1500 questions
9
votes
3 answers

Is it possible to use an additional HAT with the Raspberry Pi PoE HAT

I recently got a Raspberry Pi 3 Model B+ and the official Raspberry Pi PoE HAT. It is powering it from my switch fine but I am wondering if it is possible to also use an additional HAT with it? The PoE HAT seem to allow pins to pass all the way…
njh
  • 199
  • 1
  • 3
9
votes
3 answers

Get reading of RPI supply voltage

On the most recent pi I've been playing with I've noticed the under-voltage lightning bolt warning, discussed on this question. My question is whether there's a way I can access the voltage reading used to trigger this warning, so that I can see how…
kabdulla
  • 193
  • 1
  • 1
  • 5
9
votes
2 answers

Toggling a GPIO pin set as output

I read here that I could toggle the state of a GPIO pin set to output in Python using the following command: GPIO.output(LED, not GPIO.input(LED)) where LED is the pin value. I can turn the LED on using the following code: import RPi.GPIO as…
bobthechemist
  • 546
  • 1
  • 6
  • 17
9
votes
1 answer

How to correctly restart wpa_supplicant debug with networkd-systemd?

I am trying to debug setting up wifi with networkd-systemd managing wpa_supplicant. The overall objective is to get wifi AP and managed client modes working at the same time. I can get managed client working. I can't get the AP mode working. To…
dazz
  • 175
  • 1
  • 1
  • 9
9
votes
3 answers

Enabling audible terminal bell/beep on wheezy

I am trying to enable an audible terminal bell/beep through the 1/8" mini-rca audio out (headphone jack) on debian wheezy with the rapsberry pi model b. Normal audio works as expected, when playing a shockwave file in Midori with gnash for…
humbolight
  • 251
  • 1
  • 2
  • 8
9
votes
3 answers

raspberry pi as access point with captive portal

I recently got a raspberry pi. I have it set up as an access point in a standalone network (not connected to the internet). I can also serve a static website on this network. I've been trying to set up a captive portal so that when a user joins the…
global
  • 91
  • 1
  • 1
  • 5
9
votes
1 answer

pi1, armv6, how to disable armhf packages?

I dusted off a Pi 1, which is armv6, then installed Raspbian on it. The base OS works, but many of the packages I install won't even start- they say illegal instruction. That's because the armhf binary packages are being installed, which isn't…
300D7309EF17
  • 1,372
  • 1
  • 11
  • 17
9
votes
5 answers

GPIO Interrupt debounce

I was following this guide, Raspberry Pi GPIO interrupts in kernel space, to create a kernel module handling GPIO interrupt. The problem is that this code doesn't have software debounce implemented. Can you please give me advice about how software…
Flavio Barisi
  • 357
  • 1
  • 4
  • 10
9
votes
2 answers

What Pi Model & OS version is installed

Users often seem confused about what Pi model they have and what OS version is installed or how to find details. Where is this located?
Milliways
  • 59,890
  • 31
  • 101
  • 209
9
votes
5 answers

Disabling USB ports

I'm using the RPI to create a program, but I need to disable the USB ports so that the end user cannot plug in a keyboard or mouse and mess with the device. Is this possible, and if so how is it done?
fypfyp
  • 167
  • 1
  • 2
  • 6
9
votes
1 answer

Remote full reset (re-install) of a Raspberry

I've had a Raspberry Pi now for some time. I did a lot of fun stuff with it. A lot of the fun stuff is still on there, and that's not always fun. I could reset my Raspberry Pi by walking over to it, powering it down, remove the micro SD card, and…
Nick Dewitte
  • 107
  • 1
  • 1
  • 9
9
votes
3 answers

Good lightweight web server framework?

Which web servers and frameworks work well on the RP? Are there tweaks which can be made to the web server config files that will make it run better given the limited RAM?
Darren Wilkinson
  • 2,912
  • 4
  • 26
  • 27
9
votes
4 answers

What is the earliest place in the boot process where I can put my script?

For my application, I need to cut off the USB power at the earliest possible stage. Right now it starts early in init.d but I would like it, if possible, to start before the init.d stuff starts. I read somewhere that Linux normally calls /sbin/init…
Radu
  • 480
  • 2
  • 4
  • 12
9
votes
2 answers

i2cdetect doesn't catch ANY address. How can I tell if I2C working correctly?

I'm having difficulties interfacing the Raspberry Pi to basically any I2C sensor. I've gone through a lot of tutorials on how to get the I2C driver to work and my connections are correct. Still, i2cdetect (Or any I2C based code) doesn't get me any…
Ahmed Farid
  • 91
  • 1
  • 1
  • 2
9
votes
3 answers

Can't delete pi user on Raspbian

I have made a new Raspbian installation. All good. I wanted to delete pi user and make another user with same privileges (lets say gordon). So first I enabled direct ssh access to user root by doing this: sudo nano /etc/ssh/sshd_config ...and…
FedeKrum
  • 193
  • 1
  • 1
  • 5