Go to advanced search

by DirkS
Sat May 19, 2018 7:39 am
Forum: Troubleshooting
Topic: Cant install using pip
Replies: 4
Views: 89

Re: Cant install using pip

For python 3 you need to use pip3
by DirkS
Tue May 15, 2018 8:12 pm
Forum: Raspbian
Topic: Auto mounting network drive
Replies: 3
Views: 153

Re: Auto mounting network drive

One way to do it is by systemd create a service, There is a tut somewhere around here that I am currently looking for again. Ah-ha; found one of them: https://discourse.osmc.tv/t/how-to-use-systemd-to-mount-remote-shares/38190 I managed to do it using https://blog.tomecek.net/post/automount-with-sy...
by DirkS
Tue May 15, 2018 8:04 pm
Forum: Beginners
Topic: Pins on rpi2 blocked by touch lcd connector
Replies: 15
Views: 300

Re: Pins on rpi2 blocked by touch lcd connector

alphanumeric wrote:
Tue May 15, 2018 7:13 pm
One way is to solder a stacking header to it, female on bottom male on top. Then put it between your Pi and display.
But then you can't use the HDMI - HDMI connector that comes with the screen.
AIUI OP prefers to use that connector
by DirkS
Tue May 15, 2018 3:05 pm
Forum: General discussion
Topic: Chromium on Raspbian needs an update
Replies: 7
Views: 247

Re: Chromium on Raspbian needs an update

BTW: are you still running on Jessie?
I think the current version in the RPF repo for Stretch is 60.x
by DirkS
Tue May 15, 2018 9:52 am
Forum: Troubleshooting
Topic: Sudo Error
Replies: 13
Views: 288

Re: Sudo Error

jaendress3995 wrote:
Tue May 15, 2018 9:46 am
ls doesn't even show sudo at all.
Screen shot of my /bin folder https://drive.google.com/open?id=19yzRb ... jSLUT04Nvh
Please have another look at @BGoode's post...
You're looking in /bin
'sudo' is in /usr/bin
by DirkS
Mon May 14, 2018 11:04 pm
Forum: Beginners
Topic: Pins on rpi2 blocked by touch lcd connector
Replies: 15
Views: 300

Re: Pins on rpi2 blocked by touch lcd connector

Or solder e.g. a 26 pin box connector on the LCD https://www.google.co.uk/search?q=26+pin+smd&sa=X&rlz=1C1CHBF_en-GBGB763GB763&biw=1745&bih=854&tbm=isch&source=iu&ictx=1&fir=Yfy3H6SRXuktmM%253A%252CUqaaDSf91xo5TM%252C_&usg=__AH_pBZuU3MhVxlTfUK0yUrbq70k%3D&ved=0ahUKEwiw_NjDp4bbAhUJaFAKHc3HDwcQ9QEILzA...
by DirkS
Mon May 14, 2018 10:53 pm
Forum: Python
Topic: Use 2 devices withe the i2c ports
Replies: 5
Views: 130

Re: Use 2 devices withe the i2c ports

you could use a shim like this one: http://cpc.farnell.com/piface/shim/i-o- ... 61?st=shim
by DirkS
Mon May 14, 2018 9:49 pm
Forum: Python
Topic: Use 2 devices withe the i2c ports
Replies: 5
Views: 130

Re: Use 2 devices withe the i2c ports

kdamav7949 wrote:
Mon May 14, 2018 8:02 pm
but i now realize that the screen already uses the i2c ports.
No, it uses SPI
by DirkS
Mon May 14, 2018 5:44 am
Forum: General discussion
Topic: New Article: Convert an RPi based website from HTTP website to HTTPS.
Replies: 3
Views: 178

Re: New Article: Convert an RPi based website from HTTP website to HTTPS.

That must be the wrong link. It leads to a page from last year with no mention of letséncrypt on it. Clicking around there I don't find any mage the mentions letsencrypt. Found this link at the bottom of the page OP linked to: http://unixetc.co.uk/2018/05/13/how-to-convert-a-website-from-http-to-ht...
by DirkS
Sat May 12, 2018 9:47 am
Forum: For sale
Topic: World’s first and smallest Pi 3B+ Poe Hat
Replies: 24
Views: 963

Re: World’s first and smallest Pi 3B+ Poe Hat

NavoLabs wrote:
Thu May 10, 2018 5:49 am
We relased the world’s first and smallest POE hat for the 3 B+ model 2 weeks ago
[pedant]
It may be a hat, but strictly speaking you can't call it a HAT..
https://github.com/raspberrypi/hats#hat-requirements
[/pedant]
by DirkS
Tue May 08, 2018 11:49 am
Forum: Device Tree
Topic: ads7846 on spi1
Replies: 44
Views: 1492

Re: ads7846 on spi1

dtoverlay=spi1-1cs,cs2_spidev=off ... i have wired the touch trough pi via the following pinout: CS to BCM 16 (SPI1 CE2) MOSI to BCM 20 (SPI1, MOSI) SCLK to BCM 21 (SPI1, SCLK) MISO to BCM 19(SPI1, MISO) IRQ to BCM 5 Could you check together with me what i do wrong ? thanks in advance :) The CS pin...
by DirkS
Mon May 07, 2018 4:44 pm
Forum: Troubleshooting
Topic: NOOBS only giving two OS choices
Replies: 6
Views: 189

Re: NOOBS only giving two OS choices

ShiftPlusOne wrote:
Mon May 07, 2018 4:31 pm
LibreElec is also included in Full NOOBS.
In that case https://www.raspberrypi.org/downloads/noobs/ could do with an update...
by DirkS
Mon May 07, 2018 3:30 pm
Forum: Troubleshooting
Topic: NOOBS only giving two OS choices
Replies: 6
Views: 189

Re: NOOBS only giving two OS choices

I've tried both the torrent download and the direct download. In both cases when the OS installer window show up I only have two OS options: Raspbian and LibreELEC. Suggestions? IIRC, that's normal if there's no active network connection. Trev. Only Raspbian is part of standard Noobs. If LibreElec ...
by DirkS
Wed May 02, 2018 5:58 pm
Forum: Troubleshooting
Topic: Trouble with cards
Replies: 4
Views: 167

Re: Trouble with cards

Possibly running into the exFAT issue.
See https://www.raspberrypi.org/documentati ... matting.md
by DirkS
Thu Dec 21, 2017 12:49 pm
Forum: Graphics, sound and multimedia
Topic: fruitbox MP3 jukebox
Replies: 600
Views: 42160

Re: fruitbox MP3 jukebox

I was planning to use a pi zero. If I add the justboom amp hat, will I still have access to the GPIO pins to connect buttons? I expect this is a dumb question, but can somebody confirm with a yes or no? I’m itching to order the amp :) . Thanks yes. https://pinout.xyz/pinout/amp_hat Unused GPIO pins...
by DirkS
Wed Dec 20, 2017 10:51 am
Forum: General discussion
Topic: Apache web server problem
Replies: 3
Views: 713

Re: Apache web server problem

Your apt / package cache is out of date.
Run

Code: Select all

sudo apt update
and try again.
by DirkS
Sun Dec 17, 2017 9:54 am
Forum: Beginners
Topic: Missing Libraries?...?
Replies: 9
Views: 653

Re: Missing Libraries?...?

Another thought for OP: are you trying to run these commands from inside the Python interpreter (IDLE)?
All the commands you gave should be run directly from the command line / terminal window.
by DirkS
Sat Dec 16, 2017 10:07 pm
Forum: Beginners
Topic: completely remove arduino ide
Replies: 1
Views: 305

Re: completely remove arduino ide

IIRC there's an uninstall script in the directory where you unzipped the archive
by DirkS
Sat Dec 16, 2017 9:09 pm
Forum: Troubleshooting
Topic: RPi doesn't boot after editing /boot/cmdline.txt
Replies: 5
Views: 704

Re: RPi doesn't boot after editing /boot/cmdline.txt

I assume you still have physical access to the pi?
If so, the take out the card and put it in any computer. You should see the file cmdline.txt
Use a text editor to undo your changes.
NB: make sure that everything in this file is on a single line
by DirkS
Sat Dec 16, 2017 9:03 pm
Forum: Beginners
Topic: C:\ Prompt
Replies: 9
Views: 682

Re: C:\ Prompt

I enter python and Bash commands using the C:\ prompt screen. Some commands are long, how to save them for later use - when I turn off PI they are lost There is no C:\ prompt on the Pi... But bash has a command history. Try typing CTRL+r and then part of the command See e.g. https://www.howtogeek.c...
by DirkS
Sat Dec 16, 2017 8:58 pm
Forum: Troubleshooting
Topic: Raspberry Pi with PN532 NFC/RFID chip - can't read or write to chip?
Replies: 4
Views: 830

Re: Raspberry Pi with PN532 NFC/RFID chip - can't read or write to chip?

You can't read the card directly through the UART. To use libnfc you need to use its API.
Maybe you can use https://github.com/ikelos/pynfc

f your reader has an SPI interface you could use https://github.com/adafruit/Adafruit_Python_PN532 instead. It doesn't use libnfc
by DirkS
Sat Dec 16, 2017 2:50 pm
Forum: Automation, sensing and robotics
Topic: DS18B20 reading 85°C
Replies: 27
Views: 26479

Re: DS18B20 reading 85°C

guiguima wrote:
Sat Dec 16, 2017 2:13 pm
I use GPIO pin 2 as 3.3V as Vpu for the ds18b20.
Pin 2 is 5V...
Please post a picture that gives a clear view of the wiring

Go to advanced search