Go to advanced search

by B.Goode
Sun Jul 21, 2019 7:29 am
Forum: Beginners
Topic: Help/advice needed with a seti@home project/ldea
Replies: 4
Views: 87

Re: Help/advice needed with a seti@home project/ldea

For setting up a Raspberry Pi based 'cluster' there is guidance available from Raspberry Pi themselves. https://projects.raspberrypi.org/en/projects/build-an-octapi (Seems to use wireless connections, but can probably be adapted easily?) If you have difficulty with the terminology there, perhaps vol...
by B.Goode
Sun Jul 21, 2019 7:20 am
Forum: Beginners
Topic: Using the Raspberry pi 4 charger
Replies: 8
Views: 217

Re: Using the Raspberry pi 4 charger

Hi I just bought the raspberry pi 4 but it says that I have to use a 5v 3a charger. I only have 5v 2.4a power bank(my phone charger is 5v 2a). Can I use this 5v 2.4a? I'm just worried that it might break the raspberry pi or is it just fine? If it has any negative effects on the pi I will get a new ...
by B.Goode
Thu Jul 18, 2019 1:25 pm
Forum: Raspbian
Topic: Shut down multiple raspberry pis via SSH at once
Replies: 6
Views: 144

Re: Shut down multiple raspberry pis via SSH at once

This takes a lot of time to do for 9 RPis. Is there a way to shut them down all at once? Some kind of batch file or something? Yes. Some kind of batch file. Wouldn't a .BAT file for Powershell or the DOS Command Line under Windows be trivial to create? The same Command 9 times, with just the target...
by B.Goode
Thu Jul 18, 2019 1:12 pm
Forum: Troubleshooting
Topic: Raspberry Pi 3b+ not booting after connected to Raspberry pi camera
Replies: 13
Views: 274

Re: Raspberry Pi 3b+ not booting after connected to Raspberry pi camera

There is a summary of all the knowledge accumulated from these forums during the past 7 years about difficulties getting an RPi to boot, see - STICKY: Is your Pi not booting? (The Boot Problems Sticky) - https://www.raspberrypi.org/forums/view ... 28&t=58151
by B.Goode
Thu Jul 18, 2019 11:55 am
Forum: Troubleshooting
Topic: Raspberry Pi 3b+ not booting after connected to Raspberry pi camera
Replies: 13
Views: 274

Re: Raspberry Pi 3b+ not booting after connected to Raspberry pi camera

AshbirDhiman wrote:
Thu Jul 18, 2019 11:52 am
Please suggest something!!


Disconnect the camera and try again.
by B.Goode
Thu Jul 18, 2019 11:16 am
Forum: Python
Topic: My program stuck after sometime
Replies: 10
Views: 237

Re: My program stuck after sometime

Not happy about wasting time commenting on outdated code.

The answer remains the same. There is no assignment to start in the else branch of your if statement. So start might be undefined when its value is tested later.

If it is important, give it a default value at the outset.
by B.Goode
Thu Jul 18, 2019 10:48 am
Forum: Python
Topic: My program stuck after sometime
Replies: 10
Views: 237

Re: My program stuck after sometime

local variable 'start' referenced before assignment



Nothing to do with and/or

You have commented out the assignments to the start variable in your function definition.
by B.Goode
Thu Jul 18, 2019 9:24 am
Forum: Troubleshooting
Topic: Raspberry Pi /etc/network/interfaces file
Replies: 6
Views: 205

Re: Raspberry Pi /etc/network/interfaces file

Are you confusing that file with /etc/hosts? Or do you mean the loopback interface "lo"? (type "ip link show" and you'll see it is there) No i cant use local host when trying to do TCP connection between two Pi. That seems to be a simple statement of fact. localhost is a network naming convention t...
by B.Goode
Thu Jul 18, 2019 9:19 am
Forum: General discussion
Topic: Button presser with motor
Replies: 15
Views: 288

Re: Button presser with motor

rajbuddy007 wrote:
Thu Jul 18, 2019 9:11 am
I checked with the angular servo code but its not providing enough force to press the 1.6N button


So it seems this is a problem with your choice of servo, not something that can be resolved by code running on an RPi board.
by B.Goode
Thu Jul 18, 2019 9:02 am
Forum: General discussion
Topic: Curl - Illegal instruction
Replies: 8
Views: 229

Re: Curl - Illegal instruction

I tried to install Kodi with no success (apparently is not ready for Buster yet, can you use it on lite?) and then purged it, I'm worried I "broke" something That seems to be a potential source for your difficulty. What steps did you take during that process? (But maybe the quickest way to a reliab...
by B.Goode
Thu Jul 18, 2019 8:46 am
Forum: General discussion
Topic: Button presser with motor
Replies: 15
Views: 288

Re: Button presser with motor

As the stepper motor wasn't looking efficient to me so i ordered a servo. But i have a doubt where we can calibrate the position of it and rotate it to certain angles. Any help would be much appreciated in this topic. https://www.graupner.de/Servo-digital-DES-707-BB-MG-20-mm/7945/ gpiozero See Simp...
by B.Goode
Wed Jul 17, 2019 9:18 pm
Forum: Beginners
Topic: Recommended Software not listed
Replies: 1
Views: 64

Re: Recommended Software not listed

Welcome to the Raspberry Pi forums.


Have you used the NOOBS Installer to install an Operating System for your RPi3B+ board? If so, which?
by B.Goode
Wed Jul 17, 2019 7:29 am
Forum: General discussion
Topic: Using raspberry pi 4 B as an everyday desktop?
Replies: 9
Views: 458

Re: Using raspberry pi 4 B as an everyday desktop?

Hello, my laptop died last month and a week after that new raspberry pi got released. I am thinking to use raspberry pi 4 as my everyday desktop. I am a computer science undergrad and used my laptop primarily for YouTube and a bit of C++ coding and programming my Arduino. My question is that can a ...
by B.Goode
Tue Jul 16, 2019 8:49 am
Forum: General discussion
Topic: Button presser with motor
Replies: 15
Views: 288

Re: Button presser with motor

As the stepper motor wasn't looking efficient to me so i ordered a servo. But i have a doubt where we can calibrate the position of it and rotate it to certain angles. Any help would be much appreciated in this topic. https://www.graupner.de/Servo-digital-DES-707-BB-MG-20-mm/7945/ gpiozero See Simp...
by B.Goode
Tue Jul 16, 2019 6:22 am
Forum: Python
Topic: How to set python 3.5 as a default language in raspberry pi 3?
Replies: 8
Views: 278

Re: How to set python 3.5 as a default language in raspberry pi 3?

My program based on python3 so if i boot directly from my program will it work fine?


If your program runs correctly it will not make any difference how your system was rebooted.
by B.Goode
Mon Jul 15, 2019 3:04 pm
Forum: Advanced users
Topic: Communication between Pis
Replies: 13
Views: 393

Re: Communication between Pis

Hello, im making ROV that uses one RPi at underwater and one RPi on above water controller box. I want to take camera display and sensor values from ROV to the controller box and take controller values from controller box to the ROV. How can i make communication between 2 Pis? With a long, flexible...
by B.Goode
Mon Jul 15, 2019 1:50 pm
Forum: Python
Topic: How to set python 3.5 as a default language in raspberry pi 3?
Replies: 8
Views: 278

Re: How to set python 3.5 as a default language in raspberry pi 3?

I tried to set python 3.5 using command cd Desktop alias python="/usr/bin/python3.5" but whenever system reboot or restart it again set python2.7 as its default language.I want to set python3.5 as permanently default language. Your system is working as designed. A shell alias is only active for the...
by B.Goode
Mon Jul 15, 2019 10:33 am
Forum: General discussion
Topic: Designing real electrical car
Replies: 13
Views: 451

Re: Designing real electrical car

my teammates are going to design PCB and I need to code them properly to raspberry pi 4. I know how to write code on python but I dont know how to code the headlight controlling mechanism,BMS etc. I could not find good article or example about these topics. Maybe it is impossible to make progress u...
by B.Goode
Mon Jul 15, 2019 10:02 am
Forum: Python
Topic: Servo motor control with 4 PIR sensors using Raspberry Pi
Replies: 31
Views: 3972

Re: Servo motor control with 4 PIR sensors using Raspberry Pi

In addition to the resources referred to by @pcmanbob - The gpiozero library, shipped by default as part of the Raspbian Operating System, has support for both these external devices. It provides a 'toolkit' of software components that can easily be used together. Motion Sensor 2.17 https://gpiozero...
by B.Goode
Mon Jul 15, 2019 9:50 am
Forum: General discussion
Topic: Designing real electrical car
Replies: 13
Views: 451

Re: Designing real electrical car

Also, I'm an electrical engineering student so I know the circuit design,PCB design etc. Actually, I want to code the headlight control, battery management system, heat controller . I mean that I dont want to design car like Tesla so its not too complicated. Furthermore, I could not find related so...
by B.Goode
Mon Jul 15, 2019 9:32 am
Forum: Beginners
Topic: Downloading problem Help needed
Replies: 6
Views: 133

Re: Downloading problem Help needed

Can you rewind a step and explain how you can use Raspbian Lite to try to download something if you don't have an RPi board to run that Operating System on?
by B.Goode
Mon Jul 15, 2019 7:13 am
Forum: Other projects
Topic: non programmer needs to build an all inclusive pool controller
Replies: 15
Views: 690

Re: non programmer needs to build an all inclusive pool controller

No problem, you need to hire a man who familiar with web development (html, js, angular) it's simple. A woman might be able to do it as well... And this has already been posted in the Wanted sub-forum and attracted offers of paid assistance. https://www.raspberrypi.org/forums/viewtopic.php?f=61&t=2...
by B.Goode
Sun Jul 14, 2019 12:11 pm
Forum: General discussion
Topic: Want to measure battery volts
Replies: 30
Views: 970

Re: Want to measure battery volts

The mcp3008 ADC chip is supported by the gpiozero python library which is a standard part of Raspbian.

The documentation includes code and wiring diagrams, from Section 2.26 onwards:
https://gpiozero.readthedocs.io/en/stab ... entiometer
by B.Goode
Sun Jul 14, 2019 7:24 am
Forum: Beginners
Topic: Moving an image file...
Replies: 6
Views: 167

Re: Moving an image file...

If you are running a standard version of the Raspbian Operating System, the default pi user does not have write permission for that target. pi@RPi3BplusOffice:~ $ ls -ald /usr/share/rpd-wallpaper/ drwxr-xr-x 2 root root 4096 Apr 18 2018 /usr/share/rpd-wallpaper/ pi@RPi3BplusOffice:~ $ touch /usr/sha...
by B.Goode
Sat Jul 13, 2019 5:09 pm
Forum: Off topic discussion
Topic: long live Rpi2b
Replies: 10
Views: 598

Re: long live Rpi2b

"Re: long live Rpi2b" Obsolescence Statement Raspberry Pi 2 Model B will remain in production until at least January 2022 Ref: https://www.raspberrypi.org/products/raspberry-pi-2-model-b/ I was thinking rather longer term than that. Oops! Sorry W.H. - that was thoughtless... Of course, there is no ...

Go to advanced search