Go to advanced search

by rpdom
Sun Jan 21, 2018 1:40 pm
Forum: General discussion
Topic: SD card boot config question
Replies: 11
Views: 318

Re: SD card boot config question

k-pi wrote:
Sun Jan 21, 2018 12:09 pm
.....or run a 'live' Linux, pendrive or CD/DVD. :)
What, like this one? ;-)
by rpdom
Sun Jan 21, 2018 9:07 am
Forum: Advanced users
Topic: Why raspberry have 2 ip ?
Replies: 4
Views: 125

Re: Why raspberry have 2 ip ?

This is the bit that is causing your problem iface wlan0 inet static address 192.168.1.130 netmask 255.255.255.0 gateway 192.168.1.1 You seem to have deleted the lines that say # Please note that this file is written to be used with dhcpcd # For static IP, consult /etc/dhcpcd.conf and 'man dhcpcd.co...
by rpdom
Sun Jan 21, 2018 8:46 am
Forum: General discussion
Topic: Broadcom BCM2835 Power Saving
Replies: 31
Views: 854

Re: Broadcom BCM2835 Power Saving

I think the thing to remember is this: while the raspberry pi processor chip uses familiar building blocks, the design and implementation were towards the goal of making a small minimalist hobbyist computer system in a tiny space. Trade-offs were made, functionality was not the prime goal. Reducing...
by rpdom
Sun Jan 21, 2018 8:30 am
Forum: Troubleshooting
Topic: PHP installed but not working?
Replies: 8
Views: 152

Re: PHP installed but not working?

What do you get in the browser when you try to open index.php?

Is there anything useful in the Apache error logs? (The standard one is /var/log/apache2/error.log)
by rpdom
Sat Jan 20, 2018 9:41 pm
Forum: General discussion
Topic: Broadcom BCM2835 Power Saving
Replies: 31
Views: 854

Re: Broadcom BCM2835 Power Saving

bullen wrote:
Sat Jan 20, 2018 9:08 pm
So how does one make sure they are not in use?
You don't need to. They shut down automatically when not in use.
by rpdom
Sat Jan 20, 2018 7:05 pm
Forum: Raspbian
Topic: How to empty the Trash can in Raspian
Replies: 8
Views: 4898

Re: How to empty the Trash can in Raspian

rmorin wrote:
Sat Jan 20, 2018 6:59 pm
The folder trash can is in /home/pi/.local/share/Trash/, exists two folder inside: one is files and the second is info.
Did you know you were replying to something that happened two years ago?
by rpdom
Sat Jan 20, 2018 6:19 pm
Forum: Raspbian
Topic: raspbian-stable-main package repository very dated
Replies: 7
Views: 168

Re: raspbian-stable-main package repository very dated

Of course in that case you must get your kernel via 'rpi-update' to your machine. Since debian does not (yet) provide a specific raspberry-kernel in their own repositories. The simple answer to that is to leave the raspberrypi.org stretch repositories in your sources.list.d directory. You can even ...
by rpdom
Sat Jan 20, 2018 6:30 am
Forum: Troubleshooting
Topic: SPI doesn't work on Rpi Zero W, Stretch
Replies: 16
Views: 307

Re: SPI doesn't work on Rpi Zero W, Stretch

I notice your "gpio readall" output looks a little different to mine with SPI enabled. You have: | 11 | 14 | SCLK | OUT | 0 | 23 || 24 | 1 | ALT0 | CE0 | 10 | 8 | | | | 0v | | | 25 || 26 | 1 | ALT0 | CE1 | 11 | 7 | and I have | 11 | 14 | SCLK | ALT0 | 0 | 23 || 24 | 1 | OUT | CE0 | 10 | 8 | | | | 0v...
by rpdom
Sat Jan 20, 2018 6:11 am
Forum: Android
Topic: Android OS
Replies: 6
Views: 240

Re: Android OS

Use Raspbian. It is the best supported OS.

There is no officially supported version of Android for the Raspberry Pi.
by rpdom
Fri Jan 19, 2018 5:56 am
Forum: Teaching and learning resources
Topic: Super-cheap Computing Cluster for Learning
Replies: 24
Views: 1570

Re: Super-cheap Computing Cluster for Learning

I believe a non-powered hub may be used instead of a powered hub. It would be great if someone on this forum could confirm that the following setup works. First, power the Pi B+, 2B or 3B directly from a sufficient power supply. Enable max_usb_current=1 in /boot/config.txt and then connect the Zero...
by rpdom
Thu Jan 18, 2018 9:24 pm
Forum: General discussion
Topic: Pi zero video output
Replies: 3
Views: 160

Re: Pi zero video output

How about bare wires connected to the TV pin holes on the Zero -> RCA

That cable is unlikely to work. The TV connections already provide composite video output which should be compatible with RCA video inputs.
by rpdom
Thu Jan 18, 2018 9:14 pm
Forum: Beginners
Topic: Understanding Micro SD Cards, NOOBS, Booting, Saving
Replies: 7
Views: 153

Re: Understanding Micro SD Cards, NOOBS, Booting, Saving

1. Some people seem to have more than one Micro SD Card. Does Noobs have to be on each one? No. If you only have one OS on a card you don't need NOOBS on it at all. The installation procedure is different and it will use a bit less space without NOOBS. 2.Presumably the cards can't be interchanged w...
by rpdom
Thu Jan 18, 2018 8:27 pm
Forum: Advanced users
Topic: SSD drive boot experience ??
Replies: 7
Views: 278

Re: SSD drive boot experience ??

I have also updated internal fw of Pi to latest one, same for raspbian (I have one on a SD card) and have setup fw to boot in USB mode. There is no internal firmware on the Pi. It is all held on the SD card or USB/network storage (for the Pi 3B/2Bv2). I presume you have set the one-time option to e...
by rpdom
Thu Jan 18, 2018 6:47 am
Forum: Bare metal
Topic: GPIO pull up resisance
Replies: 15
Views: 18427

Re: GPIO pull up resisance

I'm pretty certain that the 50mA recommendation was based on the old 3v3 linear regulator on the original Pi. The newer ones (B+ and later) use a more efficient switching regulator and can supply much more current. I haven't seen an actual recommended maximum, but I believe it can supply over 100mA ...
by rpdom
Wed Jan 17, 2018 6:56 pm
Forum: Troubleshooting
Topic: Reading GPIO states via web interface - php
Replies: 2
Views: 91

Re: Reading GPIO states via web interface - php

You can get the current value like this

Code: Select all

$status = shell_exec("/usr/local/bin/gpio -g read 17");
$status will now contain 1 (on) or 0 (off).
by rpdom
Tue Jan 16, 2018 6:46 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: 1-wire DS18B20 disappears
Replies: 42
Views: 2892

Re: 1-wire DS18B20 disappears

The recommended pull-up on the datasheet for the DS18B20 is 5K. The closest common resistor to that is the 4K7. Best to stick with that (although I have used two 10K resistors in parallel when I didn't have a 4K7 to hand).
by rpdom
Tue Jan 16, 2018 9:02 am
Forum: Beginners
Topic: Connecting many sensors, and some advice might help :)
Replies: 3
Views: 118

Re: Connecting many sensors, and some advice might help :)

that page said "Also make sure your Raspberry Pi is running the latest Raspbian Jessie operating system (either the full or lite version) before starting the guide." it only work with raspi Jessie OS? instead of other OS like 10 IoT ? That guide is a bit out of date. You should use the latest Raspb...
by rpdom
Tue Jan 16, 2018 8:09 am
Forum: Beginners
Topic: [solved] rp 0 sudo apt-get upgrade results in an error
Replies: 2
Views: 113

Re: rp 0 sudo apt-get upgrade results in an error

Seek and ye shall find... it is a problem that others have encountered. Try the fix mentioned here viewtopic.php?f=28&t=202523
by rpdom
Mon Jan 15, 2018 9:50 pm
Forum: General discussion
Topic: Most advisable lightweight Web server
Replies: 8
Views: 340

Re: Most advisable lightweight Web server

Nginx is good for reverse proxy. I don't thing lighttpd can do that.
by rpdom
Mon Jan 15, 2018 9:40 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: 1-wire DS18B20 disappears
Replies: 42
Views: 2892

Re: 1-wire DS18B20 disappears

What kind of divider resistor. how big are your resistors. You know that a resistor divider could be reduce by thevenin theorem. You will get 3.3V but you add a resistor in series and this could be your problem. Is the resistor divider only on the power pin or you have the same thing on the data pi...
by rpdom
Mon Jan 15, 2018 9:12 pm
Forum: Troubleshooting
Topic: cannot ssh into my raspberry pi zero W
Replies: 22
Views: 402

Re: cannot ssh into my raspberry pi zero W

robjak wrote:
Mon Jan 15, 2018 7:16 pm
~ $ sudo apt-get install --reinstall openssh-server

my bad, thought it was just openssh.
Mine too. I didn't bother to check. I thought there was an openssh meta-package that installed the openssh-server and openssh-client packages.
by rpdom
Mon Jan 15, 2018 8:58 pm
Forum: General discussion
Topic: Failing USB hard drive
Replies: 40
Views: 917

Re: Failing USB hard drive

Try sticking the failed drive in a freezer for a few hours, then see if it works. It may get it going for long enough for you to get some data off it. I've done this with some failed drives in the past and have had some success.
by rpdom
Mon Jan 15, 2018 8:31 am
Forum: Troubleshooting
Topic: cannot ssh into my raspberry pi zero W
Replies: 22
Views: 402

Re: cannot ssh into my raspberry pi zero W

The package is called openssh, not openshh.
by rpdom
Sun Jan 14, 2018 5:30 pm
Forum: Beginners
Topic: In which order does a Python Program run
Replies: 18
Views: 484

Re: In which order does a Python Program run

However, the mention of BBC BASIC reminds me of an important difference in the way DEF works. You define procedures outside your normal flow, such as after END, and the PROC statement magically finds them: 10 PROChello 20 END 30 : 40 DEF PROChello 50 PRINT "hello" 60 ENDPROC If you try to define a ...
by rpdom
Sun Jan 14, 2018 4:38 pm
Forum: Graphics, sound and multimedia
Topic: HDMI and Composite simultaneous video
Replies: 3
Views: 159

Re: HDMI and Composite simultaneous video

No. It is not possible. It is a hardware limitation.

Go to advanced search