Most Popular

1500 questions
17
votes
5 answers

How do you protect the Raspberry Pi when you are carrying it about?

I am getting mine this week (or so I am told) and I am nervous about breaking it on the move since it looks so open and bare. How do you bring it around without breaking it? It has arrived. The packet says: This product should be placed on a…
Magpie
  • 273
  • 2
  • 8
17
votes
2 answers

What is the correct way to connect serial console on RPi4 Model B?

My config.txt has: dtoverlay=pi3-disable-bt enable_uart=1 at the end and my cmdline.txt has: root=/dev/mmcblk0p2 rootwait console=tty1 console=ttyAMA0,115200 And here's how I've connected it: I followed this based on some other examples on this…
Unmanned Player
  • 281
  • 1
  • 2
  • 5
17
votes
5 answers

Wake console screen with SSH

Avoiding installing anything or rebooting, how can I "wake" the TTY1 display via SSH? None of the suggestions (Stopping Raspberry Pi display sleep) worked on my running Pi. From what I have read trying to get an answer, these would work if I…
rob
  • 2,803
  • 2
  • 21
  • 31
17
votes
4 answers

How can I use more GPIO ports on the Raspberry Pi?

I am currently planning a project for a course at school which involves using the Raspberry Pi - however I'm worried that I will not have enough GPIO connectors for the inputs and outputs that I will need for the project. What could I use to allow…
ChaoticPanda
  • 395
  • 2
  • 3
  • 7
16
votes
3 answers

Pi as a RFID Reader

I have a need for a quick and dirty UHF RFID reader. I'm very green when it comes to electronics and have a couple questions: Has someone already done (documented) this? Can a UHF antenna be connected to a Pi via a coax to USB adapter (or perhaps…
Chris
  • 263
  • 2
  • 5
16
votes
9 answers

Copy files from OSX to/from Pi

I have a Pi running headless using ssh and Screen Sharing on OSX and tightvncserver on raspbian. Can I copy files from the Mac to/from the Pi using ssh or Screen Sharing (i.e. VNC) or do I need to use Samba or similar?
Milliways
  • 59,890
  • 31
  • 101
  • 209
16
votes
4 answers

Raspberry Pi fails to turn on

I have a problem with my Raspberry Pi. When I plug in the power, the device fails to power on. The POWER LED turns on, but nothing else happens. My display still says No signal, the OK LED does not turn on or blink and network LEDs stay unlit even…
user13
16
votes
6 answers

How can my Raspberry Pi turn on/off my Samsung TV

I want to be able to turn my Samsung TV on (and off) the raspberry pi is hooked up to my TV via a HDMI cable. My cousin already did this with other Tv and it worked, but with the Samsung seems not to work. What is the easiest way to do this? How is…
Esteban
  • 169
  • 1
  • 1
  • 3
16
votes
8 answers

How to directly get CPU temp in Python?

Goal is to switch an exhaust fan at an outside data-logging station at a solar power station. The data-collection program is written in Python under Raspbian. For reading CPU temp at a command line, there is the vcgencmd command. Example in…
SDsolar
  • 2,348
  • 8
  • 25
  • 43
16
votes
9 answers

Trying to image SD card not working: Read-only file system

I just got my Raspberry Pi and a brand new 16 GB Class 10 SD card. I am using Linux Mint and am trying to image the Raspbian Debian 7 (Wheezy) OS to the card, but whenever I try dd bs=4M if=2013-05-25-wheezy-raspbian.img of=/dev/sdc I get the…
Matt Hintzke
  • 261
  • 1
  • 2
  • 4
16
votes
4 answers

How can I lower the usage of CPU for this Python program?

I will be having a Python run 24/7 in a while loop, here is an example of the sort of program: while True: print ("me again...") But when I run it, my CPU goes to 100%! But I don't want that since my program will run for long lengths of time,…
user151324
  • 1,270
  • 4
  • 14
  • 17
16
votes
8 answers

Is there an IDE I could use to edit code from a personal computer over the network in real time?

I know it's possible to use FTP and various version control systems to upload or commit code developed on a full computer to the Raspberry Pi. Another possibility would be to simply use SSH and Vim (or Emacs). Is there an IDE that supports…
ramblinjan
  • 4,030
  • 7
  • 33
  • 52
16
votes
4 answers

Accessing the system log on Raspbian

How do I access the system logs in current versions of Raspbian? Where are these logs stored?
Mooshroom14
  • 313
  • 2
  • 3
  • 12
16
votes
4 answers

Is using a USB sound card still better than the onboard jack?

Back in the day of the Raspberry Pi 1 B+, if you didn't want to route audio through the HDMI cable it was a good idea to use a USB sound card, because audio out of the headphone jack tended to get a little scratchy. Is this still the case with the…
Mala
  • 313
  • 2
  • 8
16
votes
3 answers

CEC wake up command

When I boot my Raspberry my TV gets woken up over CEC. Is there a way to send the wake up signal using shell so I could use cronjob to start my TV every morning at 7, for example?
JThree
  • 263
  • 1
  • 2
  • 6