Go to advanced search

by rhubarbdog
Thu Aug 23, 2018 12:54 am
Forum: Beginners
Topic: Authority GUI defaults to only root and pi
Replies: 1
Views: 74

Authority GUI defaults to only root and pi

Hi, I'm setting up my new pi zero created myself a new user and added to groups like sudo gpio etc created a new user 'robot' to be the default log on an run my robot i have locked root `sudo usermod -L root` i have locked pi and removed it from all groups `sudo usermod -G pi pi` I was logged in as ...
by rhubarbdog
Wed Aug 22, 2018 2:17 am
Forum: Troubleshooting
Topic: 5 volt GPIO power pins broken
Replies: 3
Views: 117

Re: 5 volt GPIO power pins broken

To test the voltage on pins 2 and 4 i just use F-M jumper wires and a multi meter. One wire on a ground one on a power pin. Nothing from my 5 volt pins but 3.3volt still ok
by rhubarbdog
Wed Aug 22, 2018 1:26 am
Forum: Troubleshooting
Topic: 5 volt GPIO power pins broken
Replies: 3
Views: 117

5 volt GPIO power pins broken

I was trying to remove a HAT which had become bonded to my raspberry pi and slipped a bit. The pi stopped working, so i bought a new one. When it arrived I swapped the disk over to find i'd damaged the disk. I had a new NOOBS in pi zero I was still setting up. I tried the new disk in the 'broken' pi...
by rhubarbdog
Sun May 13, 2018 1:58 pm
Forum: Python
Topic: 20x4 i2c lcd lines out of order.
Replies: 23
Views: 21509

Re: 20x4 i2c lcd lines out of order.

I've done some research and the initial fork from Arduino put the code in public domain, I'm going to use the GNU license and hope the guy on Amazon who did some of the conversion to raspberry pi didn't put a license on it.
by rhubarbdog
Sun May 13, 2018 12:45 pm
Forum: Python
Topic: 20x4 i2c lcd lines out of order.
Replies: 23
Views: 21509

Re: 20x4 i2c lcd lines out of order.

I am a bit of a novice on this forum, i couldn't find how to send a user a private message or track a user down by any means.
How did you achieve finding that @natbett hadn't logged in in ages?
by rhubarbdog
Sun May 13, 2018 11:13 am
Forum: Python
Topic: 20x4 i2c lcd lines out of order.
Replies: 23
Views: 21509

Re: 20x4 i2c lcd lines out of order.

Hi @natbett i found this code and have used it on my raspberry pi. I have ported it to micro:bit code and was going to put it in a repository on GitHub what license should i use. I personally use the GNU license when i authored the code from an empty text editor, but if i port it i always leave the ...
by rhubarbdog
Tue Feb 06, 2018 10:54 am
Forum: Troubleshooting
Topic: Add/remove software gui needs user pi.
Replies: 1
Views: 205

Add/remove software gui needs user pi.

I have disabled user pi with a view to deleting it. I now can't use the add/remove software gui. It launches ok, but when i try to install something (click apply) it prompts me for the password for either users root or pi. Both accounts are locked and i never have been given a root password. Is ther...
by rhubarbdog
Tue Feb 06, 2018 9:03 am
Forum: Troubleshooting
Topic: Problem for writing file (Raspberry 2 - Rasbian)
Replies: 10
Views: 745

Re: Problem for writing file (Raspberry 2 - Rasbian)

RaTTuS wrote:
Mon Feb 05, 2018 8:07 am
sudo adduser pi gpio
What's that supposed to do?
perhaps usermod
by rhubarbdog
Sat Feb 03, 2018 5:35 am
Forum: Beginners
Topic: Simple RPI Camera
Replies: 3
Views: 317

Re: Simple RPI Camera

Using the jumper cables which are used to link a raspberry pi and bread board. Individual wires that is (M to F wires), not a ribbon cable and cobbler can easily be soldered to components.
by rhubarbdog
Sat Feb 03, 2018 5:20 am
Forum: General discussion
Topic: Time Lapse Photography And avconv
Replies: 13
Views: 3861

Re: Time Lapse Photography And avconv

I save my pictures ... import datetime as dt filename=(dt.datetime.now().strftime('%Y%m%d - %a %H:%M')) camera.capture('/home/pi/pictures/' + str(filename) + '.jpg') and it saves pictures with filenames such as: 20171018 - Wed 22:30.jpg Just a quick note. If your using this code to name your files ...
by rhubarbdog
Tue Jan 23, 2018 5:48 am
Forum: The MagPi
Topic: Back issues
Replies: 2
Views: 1159

Back issues

Hi in the last 6 months you did a mag pi for Lego and raspberry pi. I never bought it and now regret it. Are back issues available ,if so how do i get this magazine
by rhubarbdog
Fri Jan 05, 2018 9:34 am
Forum: Beginners
Topic: Power Supply for a Raspberry Pi 3
Replies: 8
Views: 1251

Re: Power Supply for a Raspberry Pi 3

The information regarding the fan going crazy before the raspberry pi dies. Is there enough current supplied to those gpio pins to power a fan. I would have thougth a transistor and seperate power in the collector emitter circuit.
by rhubarbdog
Fri Jan 05, 2018 9:26 am
Forum: Beginners
Topic: error trying to remove multiple files?
Replies: 2
Views: 208

Re: error trying to remove multiple files?

When you say doesn't work can you elaborate posting the output of the rm command
by rhubarbdog
Fri Jan 05, 2018 9:13 am
Forum: Beginners
Topic: Newbie, cannot get a Hellow World to run. please help
Replies: 13
Views: 838

Re: Newbie, cannot get a Hellow World to run. please help

If you really need to use sudo from geany then it should be gksudo
by rhubarbdog
Fri Jan 05, 2018 9:11 am
Forum: Beginners
Topic: Newbie, cannot get a Hellow World to run. please help
Replies: 13
Views: 838

Re: Newbie, cannot get a Hellow World to run. please help

Remove that sudo from your execute command if if needs any thing other than ./%e or /home/pi/Public/C_Programs/%e then its bash
by rhubarbdog
Fri Jan 05, 2018 8:35 am
Forum: Troubleshooting
Topic: Is my USB controller dead
Replies: 3
Views: 261

Re: Is my USB controller dead

You may be lucky , that is as i type this your raspberry pi is working again. If a mirical cure hasn't happened within 30 mins of you shorting pins on the gpio then the computer is probably dead
by rhubarbdog
Fri Jan 05, 2018 8:30 am
Forum: Troubleshooting
Topic: Pi Not Booting on Laptop
Replies: 3
Views: 240

Re: Pi Not Booting on Laptop

You need to connect to a Television via hdmi not laptop. You laptop has a hdmi socket so it can be connected to a tv as a second monitor
by rhubarbdog
Thu Jan 04, 2018 7:35 am
Forum: Troubleshooting
Topic: trying to install bitcoin core
Replies: 3
Views: 400

Re: trying to install bitcoin core

You do realise mining for bitcoin on raspberry pi uses more electric than it generates in bitcoin revenue
by rhubarbdog
Wed Jan 03, 2018 12:27 pm
Forum: Beginners
Topic: Newbie, cannot get a Hellow World to run. please help
Replies: 13
Views: 838

Re: Newbie, cannot get a Hellow World to run. please help

I can't verify this but it appears that %e expands to the file name without .c to run the command in a terminal type /home/pi/Public/C_Programs/Test1 If geany has an execute button type /home/pi/Public/C_Programs/%e Stop typing sudo before your commands. sudo gives you super user authority (root pri...
by rhubarbdog
Wed Jan 03, 2018 12:15 pm
Forum: Beginners
Topic: Newbie, cannot get a Hellow World to run. please help
Replies: 13
Views: 838

Re: Newbie, cannot get a Hellow World to run. please help

Geany is buggy. I have many years experience in computing . When i bought a raspberry pi 3 as a device for my friends child to learn programming. I tried geany and recomended it not be used. Get any editor with syntax high lighting. Use a terminal to compile and build. Do your debugging with gdb. Ju...
by rhubarbdog
Tue Jan 02, 2018 11:54 am
Forum: Troubleshooting
Topic: locked out by crontab
Replies: 1
Views: 145

Re: locked out by crontab

Do you have another linux computer? Raspberry pi or laptop. You'll be able to insery the sd card into a card reader mount the raspbian image partition edit file mount-point/etc/crontab
by rhubarbdog
Tue Jan 02, 2018 11:49 am
Forum: Troubleshooting
Topic: RPI3 Does not run my system after weekend, but does during weekdays
Replies: 7
Views: 558

Re: RPI3 Does not run my system after weekend, but does during weekdays

I'm on my phone so it's not ideal. Your cron job to shutdown the raspberry pi on the 29th appears to begin shutting down at 17.00.12 but begins starting things at 17.00.13 are you rebooting the computer or shutting it down?
by rhubarbdog
Tue Jan 02, 2018 11:25 am
Forum: Beginners
Topic: Geany Debug Tab Not Shown
Replies: 1
Views: 215

Re: Geany Debug Tab Not Shown

Geany is quite buggy.
Try 'gdb' in a terminal window.
Add breakpoints with b followed by a line number
run to start the program being debugged
print variable-name to inspect a variable
by rhubarbdog
Tue Jan 02, 2018 11:18 am
Forum: Beginners
Topic: Newbie, Adafruit MotorHAT, and Stepper Control Program Modification
Replies: 13
Views: 876

Re: Newbie, Adafruit MotorHAT, and Stepper Control Program Modification

How much python have you done.
The test program seems quite clear and i'm not a python expert. Have you not considered buying a beginners python book before starting with this program and hardware build
by rhubarbdog
Fri Dec 29, 2017 2:00 pm
Forum: Beginners
Topic: Writing Permissions Help Please
Replies: 6
Views: 393

Re: Writing Permissions Help Please

Try changing the ownership with

Code: Select all

chown pi:pi /usr/share/games/quake

Go to advanced search