Go to advanced search

by Paul Hutch
Tue Dec 18, 2018 1:53 pm
Forum: General discussion
Topic: Extending power supply cable using Cat6 pair
Replies: 8
Views: 524

Re: Extending power supply cable using Cat6 pair

To figure out the voltage drop you can use this spreadsheet. https://docs.google.com/spreadsheets/d/1_Z_ef7yN4aqKFH5u5rLQuIe44sPckPo6ikrf9Xva41o/edit?usp=sharing To see how much current it takes to fuse (melt) wires see this chart. https://www.powerstream.com/wire-fusing-currents.htm ETA 12/19 - For...
by Paul Hutch
Fri Dec 14, 2018 8:31 pm
Forum: General discussion
Topic: Windows Share suddenly stopped working
Replies: 12
Views: 679

Re: Windows Share suddenly stopped working

If the server is Windows 10 or Windows Server then it may be that a Windows update disabled SMB 1.0. I know it's been happening for many home network users making some NAS and other network devices no longer appear on the network, most home users are opting to turn SMB 1.0 back on as the easy, albei...
by Paul Hutch
Fri Dec 14, 2018 8:06 pm
Forum: Raspberry Pi Desktop for PC and Mac
Topic: Can't Install Geany
Replies: 13
Views: 1611

Can't Install Geany

In the latest version of RPD Add/Remove Software silently fails when trying to install Geany. When I tried, sudo apt install geany, I get this error message. Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribut...
by Paul Hutch
Fri Dec 14, 2018 4:27 pm
Forum: General discussion
Topic: Raspberry pi as a local network
Replies: 3
Views: 328

Re: Raspberry pi as a local network

If you can physically locate the RasPi close to the router you can use the wired Ethernet between the Pi and router instead of adding a second WiFi adapter.
by Paul Hutch
Fri Dec 14, 2018 4:20 pm
Forum: General discussion
Topic: Raspberry Pi or Arduino better for the job?
Replies: 4
Views: 338

Re: Raspberry Pi or Arduino better for the job?

IMO an Arduino, or any microcontroller with built-in A2D and precision counting/timing, will be better for the measuring parts of the application. The uploading to an online database is easier on a Raspberry Pi or any SBC. If I was doing this project I'd probably have a microcontroller making the me...
by Paul Hutch
Fri Dec 14, 2018 1:04 am
Forum: General discussion
Topic: Minimum and maximum operating temperature for raspberry pi 3
Replies: 11
Views: 1065

Re: Minimum and maximum operating temperature for raspberry pi 3

I had a Pi0W halt at -20°C after multiple days below -10°C. Keep in mind that the operating temperature range of the uSD card, power supply, and other peripherals you use will often be the limiting components. In my case I have no idea whether mine stopped due to the Pi, the uSD, the power supply or...
by Paul Hutch
Fri Dec 14, 2018 12:52 am
Forum: General discussion
Topic: Tweaking Raspbian img
Replies: 11
Views: 649

Re: Tweaking Raspbian img

This post describes how I create my custom images. The images end up small and automatically expand to fill the uSD card on first use.
viewtopic.php?f=29&t=228353&p=1400649#p1400649
by Paul Hutch
Thu Dec 13, 2018 9:50 pm
Forum: General discussion
Topic: STICKY: Pi 3 A+
Replies: 132
Views: 40604

Re: STICKY: Pi 3 A+

The standard requires a minimum of 0.5A, more current can be made available but is not required by the standard e.g. charging port on my HP workstation can supply 1.5A. I also have a USB hub with a 4A adapter that can supply 1.5A on each of the two charging ports. https://www.newark.com/stellar-labs...
by Paul Hutch
Thu Dec 06, 2018 12:14 am
Forum: Python
Topic: Pyserial - 'device reports readiness to read but returned no data '
Replies: 7
Views: 5972

Re: Pyserial - 'device reports readiness to read but returned no data '

Having looked at the serialposix.py module source; it looks to be something like that. The weird thing is why this would happen with a hard-wired on-chip peripheral ? That would be more understandable with a USB serial cable which could get disconnected between checking if there's anything to read ...
by Paul Hutch
Wed Dec 05, 2018 3:21 pm
Forum: Python
Topic: Pyserial - 'device reports readiness to read but returned no data '
Replies: 7
Views: 5972

Re: Pyserial - 'device reports readiness to read but returned no data '

"'device reports readiness to read but returned no data ' serial.serialutil.SerialException: device reports readiness to read but returned no data ( device disconnected or multiple access on port?)" The part of the error message I made bold tells me this is an error that covers many types of common ...
by Paul Hutch
Wed Dec 05, 2018 3:06 pm
Forum: Advanced users
Topic: How to pre-install packages on custom image (pi-gen)
Replies: 4
Views: 908

Re: How to pre-install packages on custom image (pi-gen)

Here's what I do to create my custom starting point images. Configure one of the a stock Raspbian images the way I want it. Delete the DUID (DHCP Unique Identifier) file so that a new DUID is created when a new Pi boots sudo rm /etc/dhcpcd.duid Put the uSd card in another Pi Change to the directory ...
by Paul Hutch
Wed Dec 05, 2018 1:44 pm
Forum: General discussion
Topic: STICKY: Pi 3 A+
Replies: 132
Views: 40604

Re: STICKY: Pi 3 A+

FYI, Newark now has the 3A+ in stock and the price is down to $25. They have also sold over 40,000 of their in stock 3B+'s.
by Paul Hutch
Sun Dec 02, 2018 3:54 pm
Forum: General discussion
Topic: Case for RPi 3A+ and Sense HAT?
Replies: 7
Views: 976

Re: Case for RPi 3A+ and Sense HAT?

dckornbluh wrote:
Sun Dec 02, 2018 1:47 pm
The one that JamesPi123 recommended is out of stock so I guess she'll be a chilly pi for a bit.
FYI, only the "Smoke Gray" version is out of stock, the clear and other colors are in stock.
by Paul Hutch
Sun Dec 02, 2018 3:51 pm
Forum: General discussion
Topic: Is camera module really suitable for.24/7 streaming?
Replies: 16
Views: 1213

Re: Is camera module really suitable for.24/7 streaming?

There are so many factors that determine if a specific Raspberry Pi with a specific official camera module will be "reliable" in your particular application that it is not possible to give a definitive answer. I have Pi Zero W with an official camera module running 24/7 on my porch as a bird nest ca...
by Paul Hutch
Mon Nov 26, 2018 4:45 pm
Forum: General discussion
Topic: Pi user-change or create new
Replies: 12
Views: 1342

Re: Pi user-change or create new

For Raspberry Pi's in a network where I control the security, I just change the password of the pi user. For Pi's that will end up on a network I don't control the security of I create a new user and disable the pi user with these steps. Create a new user: sudo adduser newusername Add the new user t...
by Paul Hutch
Thu Nov 22, 2018 2:12 pm
Forum: General discussion
Topic: RPi 3 -> Serial port issue
Replies: 16
Views: 1571

Re: RPi 3 -> Serial port issue

That looks shielded so that helps but keep in mind TTL was designed/engineered only for short distance runs on PCB tracks, not for any wire length at all, that's why TIA-232, USB, IEEE 1284, I2C, etc. exist. If the character corruption isn't due to noise, I'd try a new USB/TTL cable, new Raspberry P...
by Paul Hutch
Wed Nov 21, 2018 6:06 pm
Forum: General discussion
Topic: RPi 3 -> Serial port issue
Replies: 16
Views: 1571

Re: RPi 3 -> Serial port issue

Garbage characters when you expect ASCII are very often a sign of noise corrupting the data stream. If the TTL wires are more than a few inches long try shortening them or shielding them.
by Paul Hutch
Wed Nov 21, 2018 4:21 pm
Forum: General discussion
Topic: RPi 3 -> Serial port issue
Replies: 16
Views: 1571

Re: RPi 3 -> Serial port issue

Getting a descriptive error message is a very useful result. Unfortunately with that particular message there are many possible sources for the problem but the good news is that to me it most likely does rule out your python code as the problem. A few of the possible sources of a "(device disconnect...
by Paul Hutch
Tue Nov 20, 2018 2:05 pm
Forum: General discussion
Topic: RPi 3 -> Serial port issue
Replies: 16
Views: 1571

Re: RPi 3 -> Serial port issue

When I saw that enable_uart=1 was not in your config.txt yesterday I knew that you could not be using the built-in UART but didn't have time to reply. Good to see you've got that part sorted out. The advise in my previous post applies just as much to the USB UART you are actually using. To carry out...
by Paul Hutch
Mon Nov 19, 2018 2:45 pm
Forum: General discussion
Topic: Backup PI SD card
Replies: 4
Views: 348

Re: Backup PI SD card

The best thing to do in my opinion is to take an image of your SD card using the DD command in terminal. I'm afraid I don't remember the exact command, so you may have to look around online. If you have another computer on the local network, setup a samba share and transfer the image over samba. Th...
by Paul Hutch
Mon Nov 19, 2018 2:16 pm
Forum: General discussion
Topic: RPi 3 -> Serial port issue
Replies: 16
Views: 1571

Re: RPi 3 -> Serial port issue

There are many possible causes for that symptom. Assuming you don't have serial data monitoring equipment to see exactly what is happening, I'd start by making sure there are timeouts on the wait for data to be received. Also I'd make sure the Pi only sends another command after it has received a re...
by Paul Hutch
Mon Nov 19, 2018 2:05 pm
Forum: General discussion
Topic: Something missing or something missed?
Replies: 22
Views: 1122

Re: Something missing or something missed?

The command I used, sudo apt update && sudo apt full-upgrade, does exactly the same thing as the commands you posted (with less typing). Thanks, I wasn't aware that dist-upgrade for apt-get from the blog post is equivalent to full-upgrade for apt (why do authors use different names for equivalent p...
by Paul Hutch
Mon Nov 19, 2018 1:58 pm
Forum: General discussion
Topic: Something missing or something missed?
Replies: 22
Views: 1122

Re: Something missing or something missed?

Actually... If you read the blog post, this is the *last* time that will happen because the system changes---that will be installed-- mean that, going forward, they won't do that. The old settings should be in an "oldconffiles" directory right under the home directory. Doh! Thanks for the correction.
by Paul Hutch
Fri Nov 16, 2018 9:45 pm
Forum: General discussion
Topic: Something missing or something missed?
Replies: 22
Views: 1122

Re: Something missing or something missed?

The only problem I had was the usual annoyance of my Desktop settings being reset (in spite of answering No to the prompt). The blog post says that this is supposed to be fixed in the new distro. Since it didn't fix it for you I'm guessing you have to do sudo apt-get update sudo apt-get dist-upgrad...

Go to advanced search