Go to advanced search

by tomsimmons
Thu May 30, 2019 5:57 pm
Forum: Troubleshooting
Topic: Pi 3 partially crashing
Replies: 2
Views: 227

Re: Pi 3 partially crashing

Last night I took a look through the log files (/var/log) but couldn't see anything obvious. To try an rule something/anything out, I stopped the Plex Media Server and PlexAmp services, logged out of the GUI (I was connected by SSH) and left that machine like that - this was about 2200. Checking the...
by tomsimmons
Wed May 29, 2019 8:46 pm
Forum: Troubleshooting
Topic: Pi 3 partially crashing
Replies: 2
Views: 227

Pi 3 partially crashing

I have a Pi 3 that is installed with all the latest updates for Sketch. It is running very little outside of the standard full download with the exception of Plex Media Server and PlexAmp. The Pi has been configured via the guide from Raspberry Pi to boot from USB, which is a 240GB Sandisk Ultra Plu...
by tomsimmons
Wed Jan 30, 2019 8:39 pm
Forum: Beginners
Topic: Diagnosing a hanging/crashing Pi
Replies: 4
Views: 177

Re: Diagnosing a hanging/crashing Pi

I haven't updated recently, probably a few weeks back now.
by tomsimmons
Wed Jan 30, 2019 8:26 pm
Forum: Beginners
Topic: Diagnosing a hanging/crashing Pi
Replies: 4
Views: 177

Re: Diagnosing a hanging/crashing Pi

tempest766, thanks for your quick response. Load shouldn't be an issue, it hasn't been used in a several days. Checking journalctl it appears to have snuffed it about 2118 last night - it wasn't in use at the time. However the entries only start about a minute earlier with the line booting Linux. Th...
by tomsimmons
Wed Jan 30, 2019 8:08 pm
Forum: Beginners
Topic: Diagnosing a hanging/crashing Pi
Replies: 4
Views: 177

Diagnosing a hanging/crashing Pi

I have a Pi 3 that is pretty much doing nothing other than running Plex Server. It had been stable for a long time (months), but has recently started hanging or crashing fairly frequently. Whilst I've been playing with the Pi for a while, and pretty proficient with computers, I'm not sure where to s...
by tomsimmons
Mon Dec 24, 2018 10:42 am
Forum: Python
Topic: Docker, PigPio, USB & Bluetooth
Replies: 0
Views: 436

Docker, PigPio, USB & Bluetooth

I'm considering moving a project I've been working on into a docker for ease of delivery and control over the deployed environment. What I'm not not sure about and can't find much information is how you can use PigPio through docker to the underlying Pi, and the same with USB and the on-board Blueto...
by tomsimmons
Sun Dec 09, 2018 3:34 pm
Forum: Python
Topic: PIGPIO Callback
Replies: 10
Views: 585

Re: PIGPIO Callback

Joan It's not a domestic flow meter I'm using, but it could well be I've been told a load of ... I was originally told it would be 1120 a litre with a max flow rate of litres per min. As a quick aside, PiScope, if I run that on the same Pi as my code, which is using most of the IO pins, does it have...
by tomsimmons
Sun Dec 09, 2018 3:11 pm
Forum: Python
Topic: PIGPIO Callback
Replies: 10
Views: 585

Re: PIGPIO Callback

Joan

When you say high, do you mean high for a flow meter, or high for Pigpio to handle?

I'm pretty sure my code is correct as I'm sure it worked previously and other interrupts seem to be working fine.


Tom
by tomsimmons
Sun Dec 09, 2018 11:41 am
Forum: Python
Topic: PIGPIO Callback
Replies: 10
Views: 585

Re: PIGPIO Callback

I've just remoted onto the Pi, installed PiScope, I'll see if that help.
by tomsimmons
Sun Dec 09, 2018 11:17 am
Forum: Python
Topic: PIGPIO Callback
Replies: 10
Views: 585

Re: PIGPIO Callback

It's really annoying, this project has been on the go for over a year, I was sent the spec, or at least a link, ages ago, since then they have changed the sub model of the flow sensor they are using, but I can't find the link.

The sensor is meant to provide a perfect square wave on it's own.

Tom
by tomsimmons
Sun Dec 09, 2018 11:04 am
Forum: Python
Topic: PIGPIO Callback
Replies: 10
Views: 585

Re: PIGPIO Callback

Bensimmo

Thanks for your reply.

Sadly I haven't been I a position to, it all looked like it was working on the workbench, since then it hasn't been somewhere that I can easily get a scope to.

I guess I'm going to have to, but was hoping someone could confirm my approach was correct.

Tom
by tomsimmons
Sun Dec 09, 2018 10:22 am
Forum: Python
Topic: PIGPIO Callback
Replies: 10
Views: 585

PIGPIO Callback

I'm using Python 3 and Pigpio to monitor and control some hardware, the problem I'm having is with callback on a connection to a flow meter. The flow meter is little more than an impellor in a tube that generates a pulse every revolution. I can't recall the max flow rate, but the sensor generates 75...
by tomsimmons
Tue Oct 30, 2018 5:38 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: General Purpose IO pins
Replies: 3
Views: 628

Re: General Purpose IO pins

Just found the note about the permanent pull ups on pinout.xyz 😉
by tomsimmons
Tue Oct 30, 2018 5:35 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: General Purpose IO pins
Replies: 3
Views: 628

Re: General Purpose IO pins

Thanks for the link, that diagram indicates 28 lines of IO, but doesn't state which device it is for. This link... https://www.raspberrypi.org/documentation/usage/gpio/ Suggest 26 IO pins with GPIO 2 & 3 having permanent pull-ups, something not mentioned on pinout.xyz Some sites suggest there is a d...
by tomsimmons
Mon Oct 29, 2018 9:18 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: General Purpose IO pins
Replies: 3
Views: 628

General Purpose IO pins

I though this would be a simple thing to find online, but I seem to find varying answers. What I would like to know is how many IO pins are available on a Pi2 & Pi3 that are accessible for individual input and output control? Further to this is any limitations, for example any that are one direction...
by tomsimmons
Mon Oct 01, 2018 9:24 pm
Forum: General discussion
Topic: Booting a Pi Zero without SD
Replies: 4
Views: 350

Re: Booting a Pi Zero without SD

Hmm, not sure how I missed the 3rd link. This looks to be what I'm after, thanks.


Tom
by tomsimmons
Mon Oct 01, 2018 9:06 pm
Forum: General discussion
Topic: Booting a Pi Zero without SD
Replies: 4
Views: 350

Re: Booting a Pi Zero without SD

Fruit of the Loom

Thanks for the quick reply. This isn't what I was looking for however. Maybe this YouTube video of the cluster hat will give more of an idea?

https://www.youtube.com/watch?v=sm1WUY5XgrQ

I however only want to boot a single Pi Zero using the approach behind this.


Tom
by tomsimmons
Mon Oct 01, 2018 8:28 pm
Forum: General discussion
Topic: Alexa on a Pi
Replies: 0
Views: 139

Alexa on a Pi

I've looked at several of the guides and video on installing Alexa on a Pi, there are many, and several seem to be quite detailed and good. When I can't find a recent definitive answer on is the completeness of a the Alexa experience you get. What I'm most interested in is whether (assuming you have...
by tomsimmons
Mon Oct 01, 2018 8:18 pm
Forum: General discussion
Topic: Booting a Pi Zero without SD
Replies: 4
Views: 350

Booting a Pi Zero without SD

From what I can make out it is possible to boot a Pi Zero from a PC (possibly only Linux) and also possibly from another Pi. I think it's called RPIBoot? What I can't find is any guide to doing this other than for a Hat that is booting 4 x Pi Zero off a Pi 2 or 3. Can anyone shed any light on how to...
by tomsimmons
Sat Mar 24, 2018 9:53 am
Forum: Python
Topic: Connecting to USB by ID
Replies: 3
Views: 576

Re: Connecting to USB by ID

Scruss, you were spot on.

Using the undo buffer my mistake was is in the path section which is why it didn't work last night.

Thanks for your help.


Tom
by tomsimmons
Sat Mar 24, 2018 9:28 am
Forum: Python
Topic: Connecting to USB by ID
Replies: 3
Views: 576

Re: Connecting to USB by ID

Thanks for the reply.

This is what I thought I had to do from reading around , but when I tried, it didn't work. However, it was pretty late, and I might have had a couple of shandys or more, so that might have influenced things slightly.


Tom
by tomsimmons
Sat Mar 24, 2018 12:02 am
Forum: Python
Topic: Connecting to USB by ID
Replies: 3
Views: 576

Connecting to USB by ID

I was happily connecting to a USB to Serial converter using the Python Serial module and the following rfid = serial.Serial() rfid.port = "/dev/ttyUSB1" However when I connected a second USB to Serial for another device I discovered that the ttyUSB# can change quite freely. I know if you look in /de...
by tomsimmons
Mon Mar 05, 2018 9:13 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: BCN 1 as general IO
Replies: 2
Views: 550

BCN 1 as general IO

Is it possible to use BCN 1/Pin 28 (Pi 3) for general IO? I'm using pigpio in Python and get an error of "no permission to update GPIO" when I try to configure that pin for input. BCN 23,24,25, 8 & 7 have all configured without out issue. I get the same error with BCN 0. Both of these pins are used ...
by tomsimmons
Mon Feb 12, 2018 4:20 pm
Forum: General discussion
Topic: SSD TRIM Function
Replies: 1
Views: 1290

SSD TRIM Function

Is TRIM supported under Raspbian (Stretch)? If so how is it enabled?

I had a Google there wasn't much about it, which doesn't surprise me as I doubt many people would bother with SSD on a Pi.


Tom
by tomsimmons
Sat Feb 10, 2018 9:45 pm
Forum: General discussion
Topic: Cloned a hard disk not working
Replies: 4
Views: 453

Re: Cloned a hard disk not working

Found the problem. I'd attached both drives to the Pi, and whilst I could navigate to media/pi/<long string>/etc to edit fstab, you can't navigate to /media/pi/<long string>/boot and edit cmdline.txt, the directory is empty. What I'd done was move to /media/pi/<long string> then stupidly done a sudo...

Go to advanced search