Go to advanced search

by rpdom
Fri Jun 14, 2019 10:13 pm
Forum: Raspbian
Topic: Strange behaviour with the latest raspbian image on my Pi Zero W...
Replies: 9
Views: 120

Re: Strange behaviour with the latest raspbian image on my Pi Zero W...

Possibly whatever editor Windows Explorer is using is converting the files to have Windows line endings (CRLF) instead of Linux line endings (LF). Raspbian won't like the files if they have Windows style line endings. Notepad++ is one editor for Windows that can save a file with Linux line endings. ...
by rpdom
Fri Jun 14, 2019 7:44 pm
Forum: Other projects
Topic: WS2812B Led Matrix 8x32
Replies: 9
Views: 144

Re: WS2812B Led Matrix 8x32

I'd connect the DI and GND wires to the Pi. Don't connect the 5V wire to the Pi.

Connect the power supply, set to 5V, to the pair of red and black wires.
by rpdom
Fri Jun 14, 2019 8:57 am
Forum: Troubleshooting
Topic: Raspbian stuck at login
Replies: 13
Views: 263

Re: Raspbian stuck at login

The user "pi" does appear in that file if you are using raspbian

Code: Select all

pi:x:1000:1000:,,,:/home/pi:/bin/bash
I wouldn't recommend editing that file manually though.

In the old days, the "x" used to be the encrypted password. Now that is held in /etc/shadow
by rpdom
Fri Jun 14, 2019 7:55 am
Forum: Beginners
Topic: Dreampiu failed once I updated form Dreampi 1.6 to 1.7
Replies: 7
Views: 158

Re: Dreampiu failed once I updated form Dreampi 1.6 to 1.7

I Know SDHC is a higher "speed" format than a standard SD card. So If I have a Standard SD card, that can be the answer. I’ll go check once I get an answer to this? Not quite. SDHC is a higher "capacity" format than a "standard" SD card. Almost any card over 2GB is SDHC (or higher - SDXC or SDUC - ...
by rpdom
Fri Jun 14, 2019 5:21 am
Forum: Beginners
Topic: Anyone run MySQL on a RPi 3+?
Replies: 8
Views: 226

Re: Anyone run MySQL on a RPi 3+?

But just to confirm... you've installed MariaDB, but you log in with sudo MYSQL? That is correct. MariaDB and MySQL are compatible. The Opensource community were unhappy with Oracle taking over MySQL, so they forked an earlier version of the code, updated it and renamed it MariaDB. (That's a simpli...
by rpdom
Thu Jun 13, 2019 7:34 pm
Forum: Beginners
Topic: How do you name your Pies?
Replies: 14
Views: 276

Re: How do you name your Pies?

I call mine raspi1 to raspi11, plus various others that have temporary names when I fire them up.
by rpdom
Thu Jun 13, 2019 3:41 pm
Forum: Beginners
Topic: How would I only boot into one program and not a full blown OS
Replies: 13
Views: 302

Re: How would I only boot into one program and not a full blown OS

You can boot a single program by putting its name on the kernel command line. The problem with that is you wouldn't have Wifi or Bluetooth, which the OP needs. I would suggest putting an entry in rc.local, but I see one of the other requirements is "access to the hardware and terminal", which I pre...
by rpdom
Thu Jun 13, 2019 3:34 pm
Forum: Troubleshooting
Topic: raspbian.raspberrypi.org down?
Replies: 5
Views: 120

Re: raspbian.raspberrypi.org down?

If you are still getting errors can you post the full messages you are experiencing. It may be a single mirror that is offline or not synchronised with the others that is causing the problem.
by rpdom
Thu Jun 13, 2019 3:31 pm
Forum: Other programming languages
Topic: ScriptBasic
Replies: 987
Views: 24638

Re: ScriptBasic

ScriptBasic wrote:
Thu Jun 13, 2019 3:11 pm
If ScriptBasic is installed in its traditional way, scriba is in /usr/local/bin with root privileges. Like Peal, Python, ... scripting engines.
Python and (I assume you mean) Perl etc. are usually installed in /usr/bin and although owned by root, don't have any special privileges.
by rpdom
Thu Jun 13, 2019 12:04 pm
Forum: General programming discussion
Topic: A Final Fibonacci Challenge
Replies: 485
Views: 12695

Re: A Final Fibonacci Challenge

Awesome. I was there the day they delivered a new ICL 2960 to our uni CS department. A few giant trucks turned up. They laid down an aluminium plate road way from the trucks into the building. Then rolled out a lot of very big sexy looking bright orange boxes, drives, processor, etc. Most impressiv...
by rpdom
Thu Jun 13, 2019 11:40 am
Forum: Advanced users
Topic: Convert a SD boot + USB root system to standalone USB boot+root
Replies: 2
Views: 100

Re: Convert a SD boot + USB root system to standalone USB boot+root

k-pi wrote:
Thu Jun 13, 2019 10:14 am
Maybe the boot flag needs setting(?).
The boot flag has no meaning to a Pi.
by rpdom
Thu Jun 13, 2019 11:39 am
Forum: HATs and other add-ons
Topic: Connect 40 pin 2.4" TFT to Pi Zero w
Replies: 6
Views: 115

Re: Connect 40 pin 2.4" TFT to Pi Zero w

aBUGSworstnightmare wrote:
Thu Jun 13, 2019 10:15 am
Philipp091003 wrote:Do you know how I can connect it?
Your display has a MCU interface, so my answer is: not at all!
Well, it could be connected, but AFAIK there isn't a framebuffer or similar driver for it.
by rpdom
Thu Jun 13, 2019 11:32 am
Forum: Troubleshooting
Topic: Waterproof DS18B20 isn't showing up in /sys/bus/w1/devices
Replies: 10
Views: 201

Re: Waterproof DS18B20 isn't showing up in /sys/bus/w1/devices

Further to the good advice that pcmanbob has provided, you should note that the "sudo modprobe" commands are not required if the correct entry is set in config.txt as mentioned in the (somewhat out of date) instructions. The w1-gpio module should be loaded at boot time and the w1-therm module will b...
by rpdom
Thu Jun 13, 2019 8:57 am
Forum: General discussion
Topic: CMOS Technology on BCM2837
Replies: 3
Views: 132

Re: CMOS Technology on BCM2837

I don't know the transistor type, but it is 40nm size.
by rpdom
Thu Jun 13, 2019 5:36 am
Forum: Beginners
Topic: How would I only boot into one program and not a full blown OS
Replies: 13
Views: 302

Re: How would I only boot into one program and not a full blown OS

Raspbian Lite is a full OS without the GUI. Much smaller than the full desktop version. There are also smaller, less well supported, OSen for the Pi like TinyCore Linux.
by rpdom
Thu Jun 13, 2019 5:34 am
Forum: C/C++
Topic: code for UART comm from Pi to Arduino hangs up
Replies: 46
Views: 1397

Re: code for UART comm from Pi to Arduino hangs up

dsyleixa123 wrote:
Wed Jun 12, 2019 8:57 pm
- solved -
Are you going to tell us how, so that others may benefit from your experiences?
by rpdom
Thu Jun 13, 2019 5:28 am
Forum: Python
Topic: How to change any value in python with an input
Replies: 15
Views: 317

Re: How to change any value in python with an input

Thank you Scotty101 and rpimike, just one last question... what does this line do? Drums = ['Drum1','Drum2','DrumSp','BassDrum','Cymbal1','Cymbal2','Cymbal3','Cymbal4'] How can we define so many sounds to a single object? The object is a list. See https://www.w3schools.com/python/python_lists.asp
by rpdom
Thu Jun 13, 2019 5:25 am
Forum: HATs and other add-ons
Topic: Connect 40 pin 2.4" TFT to Pi Zero w
Replies: 6
Views: 115

Re: Connect 40 pin 2.4" TFT to Pi Zero w

It should be easy enough to find the specs for that display. The DSO138 Oscilloscope schematic and details are available on line. I've got one and have the diagram somewhere.
by rpdom
Thu Jun 13, 2019 5:18 am
Forum: Raspbian
Topic: [Solved] PiVPN and Updates missing
Replies: 6
Views: 192

Re: PiVPN and Updates missing

juanii wrote:
Wed Jun 12, 2019 6:26 pm
Is there a chance to temporarily remove this mirror (just like plugwash did here) so we don't have to fiddle with apt configuration?
That's why I asked for the post to be moved to the Raspbian area. Plugwash is more likely to see it here and take action when he is able if needed.
by rpdom
Thu Jun 13, 2019 5:10 am
Forum: Advanced users
Topic: Linux distributions available
Replies: 2
Views: 148

Re: Linux distributions available

You could use Debian Sid armhf with a 3B+, but you'd still have to use some parts from the Raspberry Pi repository which has Stretch and Buster available. Of course this is an unsupported setup and if you get any issues you will have to sort them out yourself. ;) I'm running some packages from Sid o...
by rpdom
Thu Jun 13, 2019 5:04 am
Forum: Troubleshooting
Topic: problem with pip install
Replies: 2
Views: 153

Re: problem with pip install

My guess it you used copy/paste from a web browser and it contained some characters that don't show on the screen, but cause pip to complain.
by rpdom
Thu Jun 13, 2019 4:54 am
Forum: Troubleshooting
Topic: connecting to pi
Replies: 1
Views: 40

Re: connecting to pi

Did you enable SSH on the Pi? You can do that in the configuration menu, or by creating a file /boot/ssh (contents do not matter). A reboot of the Pi would be required to activate the SSH server.
by rpdom
Thu Jun 13, 2019 4:33 am
Forum: Troubleshooting
Topic: Defective Pi Zero? No power
Replies: 3
Views: 80

Re: Defective Pi Zero? No power

Did you follow the instructions on formatting the SD card before use? Cards of 64GB and over use ExFAT format by default, which the Pi can't boot from. It needs to be formatted as FAT32 before putting NOOBS on it - or even better, use something like Etcher to write a Raspbian image instead of using ...
by rpdom
Wed Jun 12, 2019 8:01 pm
Forum: Other projects
Topic: WS2811 LED matrix
Replies: 5
Views: 102

Re: WS2811 LED matrix

I mostly use 5V strips and power them from the same source as the Pi (Zeros in my case). I only run up to about 60 LEDs on each Pi maximum.
by rpdom
Wed Jun 12, 2019 6:33 pm
Forum: Other projects
Topic: WS2811 LED matrix
Replies: 5
Views: 102

Re: WS2811 LED matrix

Yes, you can connect two or more strips together. It is probably worth running a separate 12V supply to each strip, but keep the GND/0V connections joined. I believe the strips you are looking at are the sort that have chips that drive three RGB LEDs on each section. Other types of strip (WS2812?) h...

Go to advanced search