Go to advanced search

by B.Goode
Sat Nov 30, 2019 10:26 am
Forum: Python
Topic: using RPi.GPIO with defined classes
Replies: 5
Views: 173

Re: using RPi.GPIO with defined classes

The gpiozero Python library demonstrates some quite advanced and sophisticated use of python classes used with RPi.GPIO Otherwise you probably just need a basic object-oriented python tutorial? There is one in MagPi #54. Or the Raspberry Pi organisation has a FutureLearn lesson. Or almost any python...
by B.Goode
Sat Nov 30, 2019 8:58 am
Forum: General discussion
Topic: Problem with rpi4 boot time
Replies: 12
Views: 506

Re: Problem with rpi4 boot time

https://www.raspberrypi.org/forums/view ... 4#p1573753

Maybe let people answer your friend there...




But if those few seconds are perceived to be a 'problem', maybe power up the RPi and leave it running.
by B.Goode
Fri Nov 29, 2019 9:40 pm
Forum: Python
Topic: [guizero] import error Drawing [solved]
Replies: 4
Views: 96

Re: [guizero] import error Drawing

I was reading the docs here: https://lawsie.github.io/guizero/drawing/ and am getting an import error: [ >>> from guizero import App, Drawing Traceback (most recent call last): File "<pyshell#1>", line 1, in <module> from guizero import App, Drawing ImportError: cannot import name 'Drawing' from 'g...
by B.Goode
Fri Nov 29, 2019 6:58 pm
Forum: Beginners
Topic: Power Supply Raspberry Pi 2011.12
Replies: 15
Views: 273

Re: Power Supply Raspberry Pi 2011.12

The companies who try to sell us 5 volt regulator chips are obviously having a joke at our expense. Perhaps they just have a couple of overpriced resistors inside...

https://electronicsforu.com/resources/l ... -regulator
by B.Goode
Fri Nov 29, 2019 6:38 pm
Forum: Beginners
Topic: Power Supply Raspberry Pi 2011.12
Replies: 15
Views: 273

Re: Power Supply Raspberry Pi 2011.12

With a capacity of 12V and 30A so I don't think the power source is a problem.

Presumably you have some sort of voltage regulator between that 12 volt Power Supply and your Raspberry Pi board? (Because the latter requires a 5 volt supply.)
by B.Goode
Fri Nov 29, 2019 6:33 pm
Forum: Beginners
Topic: Controlling multiple electromotors with Raspberry pi
Replies: 9
Views: 193

Re: Controlling multiple electromotors with Raspberry pi

You are sure right Pcmanbob :lol: Thanks for all your replies! The steppermotors, I already have, are: https://reprapworld.com/products/motors_fans/stepper_motors/nema17_stepper_motor_1_8_step_connector_flat_shaft_5_0_kg_cm/ https://www.banggood.com/JKM-42-Hybrid-Stepper-Motor-2-Phase-1_840MM-For-C...
by B.Goode
Fri Nov 29, 2019 5:51 pm
Forum: Beginners
Topic: shutdown at alt esc
Replies: 6
Views: 193

Re: shutdown at alt esc

Hallo, i have a raspi 4 with 4 GB and debian duster Debian 10.1. It goes some times wrong when i will switch to another console and use esc instead of F1. For troubleshooting/diagnostic purposes, can you check whether you get the same behaviour with the recommended and supported Raspbian Buster Ope...
by B.Goode
Fri Nov 29, 2019 3:55 pm
Forum: C/C++
Topic: Beginners question: c(++)-Library for Sensor DHT22/11 ?
Replies: 6
Views: 140

Re: Beginners question: c(++)-Library for Sensor DHT22/11 ?

Hi again, :D looks good .. Anyway, it depends on pigpiod_if2, i would prefer a library which only depends on wiringPi (if there is such library). best regards Harry Just to point out that you have proof in person that the pigpio solution is actively supported by its developer. Whereas the developer...
by B.Goode
Fri Nov 29, 2019 11:02 am
Forum: Troubleshooting
Topic: analog Sound Raspberry PI 4 is mono, not stereo
Replies: 40
Views: 1044

Re: analog Sound Raspberry PI 4 is mono, not stereo

But Buster is installed by default on Raspberries of the fourth version and there is no alternative yet. That statement is demonstrably untrue in at least two respects. No model of Raspberry Pi board has any provision for persistent, non-volatile, storage that survives a power cycle. It follows tha...
by B.Goode
Thu Nov 28, 2019 4:23 pm
Forum: Beginners
Topic: Project Guidance | simulate sunrise and sunset
Replies: 5
Views: 121

Re: Project Guidance | simulate sunrise and sunset

I dont really have problem with the coding, I just need to know which components i need to use because I am not fimilliar with them. and I would like to get guidance, Which part should I buy, Which OS should I use, Perhaps start investigating with the Raspberry Pi Getting Started guide, which has a...
by B.Goode
Thu Nov 28, 2019 9:38 am
Forum: Networking and servers
Topic: ppp on boot not working
Replies: 2
Views: 65

Re: ppp on boot not working

I can't figure out how to get my Raspberry Pi to start my ppp interface on boot. I even tried putting `/sbin/ifup dsl-provider` in /etc/rc.local to no effect. Here is my '/etc/network/interfaces' source-directory /etc/network/interfaces.d auto eth0 iface eth0 inet static address 192.168.1.1 netmask...
by B.Goode
Wed Nov 27, 2019 9:04 pm
Forum: Python
Topic: 'set' object does not support item assignment
Replies: 2
Views: 91

Re: 'set' object does not support item assignment

Weird. That error usually comes when something is defined as a set ... mySet = {"api-key","api-date"} mySet["api-key"] = "magic number" Traceback (most recent call last): File "C:\Python\Tmp\XYZZY.PY", line 2, in <module> mySet["api-key"] = "magic number" TypeError: 'set' object does not support it...
by B.Goode
Wed Nov 27, 2019 6:01 pm
Forum: Troubleshooting
Topic: Help With Raspberry Pi Without HDMI On Boot
Replies: 5
Views: 150

Re: Help With Raspberry Pi Without HDMI On Boot

Just to add that this Moderator and I recently helped another user with near-identical symptoms, which turned out to be a cabling issue - https://www.raspberrypi.org/forums/view ... 4#p1570608

So this suggestion is based on experience not guesswork.
by B.Goode
Wed Nov 27, 2019 5:49 pm
Forum: Troubleshooting
Topic: Help With Raspberry Pi Without HDMI On Boot
Replies: 5
Views: 150

Re: Help With Raspberry Pi Without HDMI On Boot

In preparing the SD card, I have done the following on both Windows PC and MacOs: On Windows PC: - formatted SD card with SD Card Formatter, and used Balena Etcher to write Raspbian NOOBS to SD card. Pi still shows no HDMI during boot. On MacOs: -formatted SD card with SD Card Formatter, and used "...
by B.Goode
Wed Nov 27, 2019 4:35 pm
Forum: Python
Topic: New, Need help with getting Pi user access to GPIO pins?
Replies: 6
Views: 161

Re: New, Need help with getting Pi user access to GPIO pins?

This worked for me...


Using the release of Retropie used by the OP, or with the current supported Raspbian Buster Operating System?
by B.Goode
Wed Nov 27, 2019 4:09 pm
Forum: Python
Topic: New, Need help with getting Pi user access to GPIO pins?
Replies: 6
Views: 161

Re: New, Need help with getting Pi user access to GPIO pins?

Some thoughts. First thought is the one I have already offered. Second . All that code is largely irrelevant. The minimum test case is: import RPi.GPIO as GPIO pin = 18 # The pin ID, edit here to change it GPIO.setmode(GPIO.BCM) GPIO.setup(pin, GPIO.OUT) If that doesn't complete without error on you...
by B.Goode
Wed Nov 27, 2019 3:57 pm
Forum: General discussion
Topic: Booting remotely into different operating systems on a Pi4
Replies: 3
Views: 129

Re: Booting remotely into different operating systems on a Pi4

Yes I used Noobs to install them. I've tried the first option but running reboot 8 brings up Raspian not LibreElec still. Here are my cmdline.txt files... For /media/pi/System/cmdline.txt: oot=LABEL=System disk=LABEL=Storage quiet sdhci.debug_quirks2=4 And for /boot/cmdline.txt: console=serial0,115...
by B.Goode
Wed Nov 27, 2019 2:41 pm
Forum: Advanced users
Topic: Manually trigger the status indicators (lightning bolt, thermometer, etc)
Replies: 8
Views: 237

Re: Manually trigger the status indicators (lightning bolt, thermometer, etc)

Is there a way to trigger the icon that appears in the top right corner when there is undervoltage, overtemperature, etc? I'm trying to use it as a debugging flag and would like to toggle it independently of the actual fault conditions they are used for. Thanks This page of Raspberry Pi documentati...
by B.Goode
Wed Nov 27, 2019 1:03 pm
Forum: C/C++
Topic: Problem using libgpiod
Replies: 22
Views: 390

Re: Problem using libgpiod

I see. Thank you. So what method to use to work with pins? What library better? One of the people who has tried to help in the thread, @joan, has their own solution that might be worth investigating - http://abyz.me.uk/rpi/pigpio/ (I am not a C user so do not speak from experience and make no claim...
by B.Goode
Wed Nov 27, 2019 12:36 pm
Forum: Beginners
Topic: Raspberry Pi Zero WH Adapter
Replies: 18
Views: 371

Re: Raspberry Pi Zero WH Adapter

Welcome to the Raspberry Pi forums. Hi everybody I've just bought a Raspberry Pi Zero WH, and I have a question about its power supply. Which of these phones are more appropriate for the following usage: 1. Using a USB Hub for keyboard and mouse 2.Using 1080p HDMI output 3. DHT11Tempreture sensor h...
by B.Goode
Wed Nov 27, 2019 11:42 am
Forum: Beginners
Topic: Raspberry Pi Zero WH Adapter
Replies: 18
Views: 371

Re: Raspberry Pi Zero WH Adapter

ibhlool7 wrote:
Wed Nov 27, 2019 11:36 am
I choose the first adapter (2A) and my Raspberry doesn't have external devices in connection, will it hurt it?
Or use how many it wants?

The second of those choices.

(But damage to the files stored on the microSD card might still occur if the charger is unreliable when used in this way.)
by B.Goode
Wed Nov 27, 2019 11:39 am
Forum: Beginners
Topic: Raspberry Pi Zero WH Adapter
Replies: 18
Views: 371

Re: Raspberry Pi Zero WH Adapter

Power requirements are listed in the RPi FAQs. Clearly Adapter 2 is unsuitable. Adapter 1 might work, or might bring you a world of pain. As always, the recommended PSU is the official Raspberry Pi 5V1 2A5 unit. What is that pain? Unfortunately, I don't have access to this official PSU and I must u...
by B.Goode
Wed Nov 27, 2019 10:29 am
Forum: Beginners
Topic: Raspberry Pi Zero WH Adapter
Replies: 18
Views: 371

Re: Raspberry Pi Zero WH Adapter

Welcome to the Raspberry Pi forums. Hi everybody I've just bought a Raspberry Pi Zero WH, and I have a question about its power supply. Which of these phones are more appropriate for the following usage: 1. Using a USB Hub for keyboard and mouse 2.Using 1080p HDMI output 3. DHT11Tempreture sensor ht...
by B.Goode
Wed Nov 27, 2019 9:53 am
Forum: General discussion
Topic: Suggestions of which board to use?
Replies: 1
Views: 82

Re: Suggestions of which board to use?

Welcome to the Raspberry Pi forums. For my year 12 Major project i am creating a Small robot (i understand small is a broad term). So i thought here would be a good place to ask for suggestions for what Raspberry pi would be best suited to the job. Basic needs: Camera module (live feed analog or wif...
by B.Goode
Tue Nov 26, 2019 7:14 pm
Forum: General discussion
Topic: I need a little help to get going
Replies: 2
Views: 108

Re: I need a little help to get going

Hello my name is connor spaulding i am trying to learn to do basic coding with my raspberry pi and im having some issues. mainly bringing my code to life. i have done some work in Mu and python 3 idle with the help of these forums and youtube but i have one big issue. i cannot make my pi do anythin...

Go to advanced search