Go to advanced search

by B.Goode
Sun May 20, 2018 5:59 pm
Forum: Troubleshooting
Topic: I cannot get my Pi to connect to the internet
Replies: 3
Views: 63

Re: I cannot get my Pi to connect to the internet

Welcome to the Raspberry Pi forums. There is a Troubleshooting guide for these forums here: https://www.raspberrypi.org/forums/viewtopic.php?f=28&t=58151 It contains the accumulated wisdom from these forums over the past six years. From your description it seems possible that the reason for your net...
by B.Goode
Sun May 20, 2018 11:41 am
Forum: Beginners
Topic: Controlling RPi wired from PC without ethernet.
Replies: 6
Views: 157

Re: Controlling RPi wired from PC without ethernet.

Ethernet is a LAN technology. You don't have to dedicate an ethernet port to a point-to-point connection to a single system. Why not add a cheap Ethernet switch like this one: http://www.broadbandbuyer.com/products/9673-tp-link-tl-sf1005d/ (Similar products are available from other manufacturers and...
by B.Goode
Sun May 20, 2018 8:10 am
Forum: Python
Topic: serial read
Replies: 1
Views: 49

Re: serial read

Welcome to the Raspberry Pi forums. Anything to do for reading more than 3 parameters and publishing? [The following is untested but gives the general principle - ] 1. Ensure the 4th and subsequent values are present in the serial data; 2. Extract the required data from the serial input; altitude = ...
by B.Goode
Sun May 20, 2018 6:28 am
Forum: General discussion
Topic: Setup, Upgrading from B to B+
Replies: 1
Views: 42

Re: Setup, Upgrading from B to B+

Welcome to the Raspberry Pi forums. A precise answer to your question depends on knowing what Operating System is installed on your older RPi, and how it was installed. If you are running Raspbian Stretch installed directly from an image file and it is fully up-to-date the microSD card can simply be...
by B.Goode
Sun May 20, 2018 6:14 am
Forum: Beginners
Topic: GPIO button connection with pi zero W
Replies: 5
Views: 112

Re: GPIO button connection with pi zero W

I tested one circuit on my rpi3 and the led attached to it lit up and then plugged the same circuit into the pi zero and the led did not light up. Is it possible that there is a fault with the soldering of the 40-way header to the RPi Zero? An RPi 3 will have that header installed on the production...
by B.Goode
Sat May 19, 2018 8:01 pm
Forum: Python
Topic: What is the difference between code academy Python and Pi's Python?
Replies: 24
Views: 367

Re: What is the difference between code academy Python and Pi's Python?

it doesn't work Presumably there is only one correct way for it to work? But a multiverse of ways in which it might not work! Does it give a syntax error? Or no output? Or the wrong output? (Indentation is a critical part of Python syntax. The forum software removes indentation from material posted...
by B.Goode
Sat May 19, 2018 5:51 pm
Forum: Troubleshooting
Topic: [SOLVED ]Force Boot to Bash (LightDM not installed/NO DISPLAY)
Replies: 2
Views: 42

Re: Force Boot to Bash (LightDM not installed/NO DISPLAY)

Welcome to the Raspberry Pi forums.

I probably can't help, but I have a feeling that anyone who does know enough to help you may need to know what Operating System is running on your RPi.
by B.Goode
Sat May 19, 2018 5:24 pm
Forum: Beginners
Topic: Controlling RPi wired from PC without ethernet.
Replies: 6
Views: 157

Re: Controlling RPi wired from PC without ethernet.

Curious to understand why you explicitly rule out Ethernet?

Is WiFi an option instead?
by B.Goode
Fri May 18, 2018 9:27 pm
Forum: Troubleshooting
Topic: Raspberry Pi 3 B V1.2 Not Booting - Possible Short
Replies: 3
Views: 103

Re: Raspberry Pi 3 B V1.2 Not Booting - Possible Short

There is a Troubleshooting guide for these forums here: https://www.raspberrypi.org/forums/viewtopic.php?f=28&t=58151 It contains the accumulated wisdom from these forums over the past six years. No Act light does not look promising. I have never heard an RPi make an audible whine: perhaps there is ...
by B.Goode
Fri May 18, 2018 9:12 pm
Forum: Python
Topic: Subscribing to Multiple MQTT topics
Replies: 5
Views: 96

Re: Subscribing to Multiple MQTT topics

So you can see from the content of the Topic: debugging message that the on_message() function is aware of the message topic and the message payload.

All you have to do is write some code that reacts to the content of those variables and plays a different .wave file for each one.
by B.Goode
Fri May 18, 2018 9:04 pm
Forum: General discussion
Topic: View PDF on Raspbian Lite?
Replies: 5
Views: 173

Re: View PDF on Raspbian Lite?

It might be easier to concede that one of the major sets of components that are omitted to make a Lite version of the operating system are the graphical utilities needed to display images, such as the Desktop? So to be able to display an inherently graphical file format such as a PDF you will need t...
by B.Goode
Fri May 18, 2018 8:56 pm
Forum: Python
Topic: Subscribing to Multiple MQTT topics
Replies: 5
Views: 96

Re: Subscribing to Multiple MQTT topics

Your script only subscribes to a single topic, tamper.

If you publish an mqtt message to the tamper topic does your script print the progress message beginning "Topic: " ? Does it play the designated sound file?
by B.Goode
Fri May 18, 2018 9:14 am
Forum: Python
Topic: Unable to write to a .txt file when using GPS
Replies: 2
Views: 57

Re: Unable to write to a .txt file when using GPS

Welcome to the Raspberry Pi forums.


Maybe you should close the file to ensure that data is written to it.

Even if you do that, you will only see "writing to file" many times, you do not write any gps data to the file.
by B.Goode
Fri May 18, 2018 7:07 am
Forum: Beginners
Topic: Halloween Project
Replies: 10
Views: 214

Re: Halloween Project

Its issue 51, November 2016. If you look at the illustration on it, the connections don't show pin 4 being used, even though the code to get it to work is pin 4. Hope this makes some sense :) The annotation on the diagram says "Connect the PIR sensor's OUT cable to GPIO pin 4. As the image posted b...
by B.Goode
Thu May 17, 2018 8:28 pm
Forum: Beginners
Topic: SSH or VNC direct with no Internet access
Replies: 2
Views: 88

Re: SSH or VNC direct with no Internet access

would like to be able to access my pi in the field over my telephone where there is no wifi. You can provide your own WiFi, you don't have to rely on someone else providing it as a service. And you don't need Internet access. The following options require either an RPi ZeroW or one of the RPi 3B mo...
by B.Goode
Thu May 17, 2018 8:15 pm
Forum: General programming discussion
Topic: How do I protect my code?
Replies: 32
Views: 1826

Re: How do I protect my code?

I wonder how the developers of commercial RPI commercial aps handle this issue As an example, go to the Download page for the Raspberry Pi Foundation supported Raspbian Operating System: https://www.raspberrypi.org/downloads/raspbian/ Look carefully at the Note: foot of the page where your attentio...
by B.Goode
Thu May 17, 2018 4:10 pm
Forum: Troubleshooting
Topic: intalling updates
Replies: 3
Views: 112

Re: intalling updates

Since what you describe does indeed sound strange, could you provide some background information to support a possible meaningful reply?

What Operating System is running on your RPi?

How exactly do you try to install updates?

What is the full text of the resulting error message?
by B.Goode
Thu May 17, 2018 2:21 pm
Forum: Automation, sensing and robotics
Topic: temp sensor ds18b20 problems
Replies: 8
Views: 219

Re: temp sensor ds18b20 problems

do u have any code or script to simulate another w1 on other pin? i was searching all day and i didnt found anything :( At the moment I can't find a definitive answer from the Raspberry Pi Foundation documentation either. But this link appears to provide the basic details you need to know: https://...
by B.Goode
Thu May 17, 2018 2:08 pm
Forum: Advanced users
Topic: Set panel settings programmatically
Replies: 1
Views: 47

Re: Set panel settings programmatically

Maybe it would make it easier to provide an informed reply if you gave some background such as the Operating System that is running on your RPi, and how these panels are generated and displayed.
by B.Goode
Thu May 17, 2018 2:02 pm
Forum: Beginners
Topic: Pi 3 - buy kit or buy separate? + Do I need heat sink?
Replies: 6
Views: 197

Re: Pi 3 - buy kit or buy separate? + Do I need heat sink?

charger: assuming ANY usb charger will be ok? No ! Don't assume that! https://www.raspberrypi.org/help/faqs/#powerReqs And: Note that Raspberry Pi 3B+ does consume substantially more power than its predecessor. We strongly encourage you to use a high-quality 2.5A power supply, such as the official ...
by B.Goode
Thu May 17, 2018 1:56 pm
Forum: Other projects
Topic: Raspberry PI 3 ethernet link with (SOA, FTP, SSH, HTTP, mDNS, DHCP, IP) Linux
Replies: 11
Views: 212

Re: Raspberry PI 3 ethernet link with (SOA, FTP, SSH, HTTP, mDNS, DHCP, IP) Linux

My mission is that my Raspberry PI is configured with these protocols, being a beginner in Raspberry PI's network programming, I do not know whether to code these protocols as for a PIC with C, or just as you say! Take advantage of the RPI3 and just configure! How can I start to configure my RPI, a...
by B.Goode
Thu May 17, 2018 9:31 am
Forum: Automation, sensing and robotics
Topic: Raspberry pi as a IOT Gateway
Replies: 4
Views: 146

Re: Raspberry pi as a IOT Gateway

Welcome to the Raspberry Pi forums. Why do you need the complexity of a web server if you only need to harvest the data from some sensors and pass it on to another server? Maybe MQTT (trivially easy to implement on an RPi running Raspbian) would be worth investigating? If you feel more comfortable w...
by B.Goode
Thu May 17, 2018 8:02 am
Forum: General discussion
Topic: Where does the 3B+ put software I install myself.
Replies: 2
Views: 157

Re: Where does the 3B+ put software I install myself.

If the package you installed was gqrx-sdr , then according to the details held by Debian the executable should be in /usr/bin/gqrx. See https://packages.debian.org/stretch/armhf/gqrx-sdr/filelist There is no config file installed as part of that package - maybe it is created on first run? It is unli...
by B.Goode
Wed May 16, 2018 4:53 pm
Forum: Troubleshooting
Topic: Question about shutdown
Replies: 6
Views: 148

Re: Question about shutdown

it's just the regular shutdown script that comes from the company (RetroFlag) it seems to shutdown properly, but I'm not sure how to be able to tell. Since the vast majority of volunteer helpers in these forums will not have a copy of the script, and you don't seem to want to share it, perhaps you ...

Go to advanced search