Go to advanced search

by rpdom
Tue Jan 16, 2018 6:46 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: 1-wire DS18B20 disappears
Replies: 36
Views: 2600

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: 88

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: rp 0 sudo apt-get upgrade results in an error
Replies: 1
Views: 78

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: 7
Views: 232

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: 36
Views: 2600

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: 343

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: 37
Views: 676

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: 343

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: 446

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: 105

Re: HDMI and Composite simultaneous video

No. It is not possible. It is a hardware limitation.
by rpdom
Sun Jan 14, 2018 4:29 pm
Forum: Python
Topic: Can't run a script on startup with /etc/rc.local
Replies: 3
Views: 3220

Re: Can't run a script on startup with /etc/rc.local

Are you replying to a four year old post just to publicise your you tube video?
by rpdom
Sun Jan 14, 2018 3:34 pm
Forum: General programming discussion
Topic: Is there anything wrong with this bash script (timelapse)?
Replies: 6
Views: 123

Re: Is there anything wrong with this bash script (timelapse)?

sbaratheon wrote:
Sun Jan 14, 2018 2:47 pm
I was under the impression that $SECONDS was an internal variable (http://tldp.org/LDP/abs/html/internalvariables.html)
It is. But you might want to set it to zero at the start.
by rpdom
Sun Jan 14, 2018 2:09 am
Forum: General programming discussion
Topic: ls question (I'm so embarassed..)
Replies: 2
Views: 118

Re: ls question (I'm so embarassed..)

In that particular instance you are looking at a device file, not a normal file. Device files are identified by a Major and Minor device number. The first number 250 is the major number, the second number 0 is the minor number. One example of this is your SD card, where on a standard (non-NOOBS) Ras...
by rpdom
Sat Jan 13, 2018 8:09 pm
Forum: Advanced users
Topic: [SOLVED] RPi 3 MPG2 code not activating
Replies: 6
Views: 133

Re: RPi 3 MPG2 code not activating

How much memory is allocated to the GPU? vcgencmd get_mem gpu
It needs to be about 64MB or higher for the codec to activate.
by rpdom
Sat Jan 13, 2018 8:29 am
Forum: Raspbian
Topic: Tutorial: Compile VLC with HW acceleration - Stretch, RPi 2/3
Replies: 50
Views: 8412

Re: Tutorial: Compile VLC with HW acceleration - Stretch, RPi 2/3

For this sort of thing I would use omxplayer with h264 video and the --loop option. I've had a video of that form running continuously for a few months on a Pi (I'd switched the screen off and forgotten it was running) with no problems at all. (It was a 4 hour long video of a log fire that I downloa...
by rpdom
Fri Jan 12, 2018 8:47 pm
Forum: Off topic discussion
Topic: theft mode
Replies: 3
Views: 251

Re: theft mode

Translation error, perhaps.

What was the exact full wording of the message?
by rpdom
Fri Jan 12, 2018 8:10 pm
Forum: General discussion
Topic: entertainment
Replies: 5
Views: 210

Re: entertainment

But, we did have a metal shop kitted out with a couple of industrial sized lathes, a milling machine, a shaper, a forge and all kind of other tools. We could even make aluminium castings. Then there was the wood shop. It was worth the incarceration to be able to use those facilities for some hours ...
by rpdom
Fri Jan 12, 2018 7:19 pm
Forum: Troubleshooting
Topic: Extremely hot SD card/reader
Replies: 4
Views: 130

Re: Extremely hot SD card/reader

There have been a few reports over the years of SD cards overheating or melting. In PCs as well as Pi.
by rpdom
Fri Jan 12, 2018 6:47 am
Forum: Troubleshooting
Topic: raspi-config options missing
Replies: 5
Views: 2011

Re: raspi-config options missing

Just FYI I was looking for the same items as OP, i see the answer must have been correct as at Feb 2017, I have just installed Raspian Stretch and I cannot find the option to enable Device Tree.. has this had a name change? There is no option to enable Device Tree. It is always enabled now. sorry f...
by rpdom
Fri Jan 12, 2018 5:26 am
Forum: Media centres
Topic: pi zero hdmi connector.
Replies: 10
Views: 321

Re: pi zero hdmi connector.

You won't get HDMI from the GPIO pins. It just isn't possible. What you can get is something like a VGA666 board which will give you a reasonable quality VGA output from the GPIO pins. It uses almost all of the pins.However the output is above the Pi and at the side. The schematics are available (th...
by rpdom
Thu Jan 11, 2018 9:10 pm
Forum: Beginners
Topic: VPN
Replies: 3
Views: 86

Re: VPN

I use OpenVPN on a Pi B+, also Tinc, which is a "mesh" VPN rather than end to end.
by rpdom
Thu Jan 11, 2018 9:06 pm
Forum: Troubleshooting
Topic: Can I run GParted, without the "live" / boot?
Replies: 3
Views: 102

Re: Can I run GParted, without the "live" / boot?

apologies, but I'm very new to all of this. You're saying that I can install GParted on my Pi, and then use that software on the Pi to adjust the partition sizes of the SD card that the Pi is running on? It would be tricky to adjust the card you are running from. There are issue that may block that...
by rpdom
Thu Jan 11, 2018 7:32 am
Forum: Troubleshooting
Topic: RFID Reader not reading RFID Card
Replies: 3
Views: 111

Re: RFID Reader not reading RFID Card

Ok, the wiring instructions are right, but the diagram has SCK and SDA on the wrong pins. The light blue wire (SDA) is shown going to pin 23, and the light brown wire (SCK) going to pin 24. The text correctly states that SDA should connect to 24 and SCK to 23.

The code works for me.
by rpdom
Wed Jan 10, 2018 8:46 pm
Forum: Troubleshooting
Topic: SD card sizing issue...I searched!
Replies: 11
Views: 236

Re: SD card sizing issue...I searched!

This is the one you need to expand
H: Ext4 28.00GB 2.49GB 25.51GB Logical None
You need to expand that using the unallocated space.
by rpdom
Wed Jan 10, 2018 7:42 pm
Forum: Troubleshooting
Topic: Mysql-server does not ask for entering password while installing
Replies: 1
Views: 54

Re: Mysql-server does not ask for entering password while installing

MySQL has been replaced with MariaDB. The setup in Debian/Raspbian is slightly different now.

To log in as root you need to use "sudo mysql". That will log you in directly and you can create a database and grant permissions for a new user to it.

Go to advanced search