Go to advanced search

by pfletch101
Thu Oct 10, 2019 12:29 am
Forum: General discussion
Topic: Switch or not
Replies: 21
Views: 1662

Re: Switch or not

I must seriously ask why though. What's stopping you from moving the additional couple of feet to reach the switch at the wall where you plugged the power supply in... Depending where the OP lives, there may not be "a switch on the wall". Switched outlets are the rule (though not universa...
by pfletch101
Sat Oct 05, 2019 7:35 pm
Forum: Beginners
Topic: How to distinguish that the python program is executed on a RPI?
Replies: 7
Views: 741

Re: How to distinguish that the python program is executed on a RPI?

I am developing Python scripts on different machines, including RPI. Is there a way to distinguish on which machine I am working, so that I load the right modules? There is 'os.name' and I am sure others which can give you information about what the code is being run on. One can search for the pres...
by pfletch101
Sat Oct 05, 2019 4:50 pm
Forum: Beginners
Topic: How to distinguish that the python program is executed on a RPI?
Replies: 7
Views: 741

Re: How to distinguish that the python program is executed on a RPI?

I am developing Python scripts on different machines, including RPI. Is there a way to distinguish on which machine I am working, so that I load the right modules? E.g. PySimpleGUI uses this: #!/usr/bin/env python import sys if sys.version_info[0] >= 3: import PySimpleGUI as sg else: import PySimpl...
by pfletch101
Sat Oct 05, 2019 4:34 pm
Forum: General discussion
Topic: Disk space full
Replies: 10
Views: 789

Re: Disk space full

Another thought is to copy your root filesystem to an ext4-formatted iSCSI network-attached storage device and then use the 8GB SD card only for the initial boot. More specifically, you need to create an initial RAM filesystem with the passwords needed to mount the NAS and then pivot root to the iS...
by pfletch101
Thu Oct 03, 2019 8:28 pm
Forum: Off topic discussion
Topic: I need to rotate a heavy mass in a controlled manner - Do I need ramps?
Replies: 5
Views: 2781

Re: I need to rotate a heavy mass in a controlled manner - Do I need ramps?

It is a long time since I studied the physics, but I am not quite sure that I understand the basis for your calculations. If your rotating mass is symmetrical about its axis of rotation or rotating in the horizontal plane, you need torque only to accelerate it, not (assuming perfect bearings) to kee...
by pfletch101
Sat Sep 21, 2019 3:04 am
Forum: Other projects
Topic: 360 degree human presence detection
Replies: 19
Views: 3067

Re: 360 degree human presence detection

Andyroo wrote:
Sat Sep 21, 2019 1:40 am
Sorry but a camera above the bed sounds so wrong on a family forum :lol: :oops: :lol:
I obviously have too pure a mind - I didn't even think of that aspect. :oops: Though the camera software could be configured not to record anything except motion/no motion.
by pfletch101
Sat Sep 21, 2019 12:39 am
Forum: Other projects
Topic: 360 degree human presence detection
Replies: 19
Views: 3067

Re: 360 degree human presence detection

?Camera pointing down from above the bed with appropriate focal length lens to provide necessary field of view, and motion detection. By default, you would see someone further away on the long sides of the bed, but you could ignore motion that was not within the field of interest.
by pfletch101
Fri Sep 20, 2019 10:55 pm
Forum: Advanced users
Topic: RaspberryPi 4: heatsink or fan
Replies: 84
Views: 53637

Re: RaspberryPi 4: heatsink or fan

I've seen reports of similar heatsink cases / covers not being ribbon cable friendly. Your standard hat header fits in that curved space but the ribbon cable header doesn't. I'd be using a booster header or stacking header anyway no matter what I connected to the GPIO. I think that a 'skinny' ribbo...
by pfletch101
Mon Sep 16, 2019 9:29 pm
Forum: General discussion
Topic: GPIO access with Pi 4 Flirc Case
Replies: 10
Views: 2120

Re: GPIO access with Pi 4 Flirc Case

can take a look at Argon Forty Neo Case. It is a aluminium case with a slide top cover that gives you access to the GPIO. https://www.argon40.com/argon1/argon-neo-raspberry-pi-4-case.html Do you have any data on heat handling with that case? It does not appear to have the pillar that (in the Flirc ...
by pfletch101
Sun Sep 15, 2019 2:12 pm
Forum: General discussion
Topic: GPIO access with Pi 4 Flirc Case
Replies: 10
Views: 2120

Re: GPIO access with Pi 4 Flirc Case

See https://www.raspberrypi.org/forums/viewtopic.php?f=29&t=248516 . The bottom line is that provided you get and use a cable with narrow connectors referred to in that thread and in the Flirc case FAQ, there is no significant problem. Obviously, you have to connect the cable before you assemble...
by pfletch101
Thu Sep 12, 2019 4:29 pm
Forum: Troubleshooting
Topic: Using a light sensor: Problems reading light/dark (output only prints out zeroes)
Replies: 2
Views: 277

Re: Using a light sensor: Problems reading light/dark (output only prints out zeroes)

The default settings for the timeout within the LightSensor code may not be long enough for your environment (they seem to assume either a very well illuminated environment or a very sensitive sensor). Try playing with the optional charge_time_limit argument. I got good results in a normal home envi...
by pfletch101
Wed Sep 11, 2019 9:54 pm
Forum: General discussion
Topic: 12v battery + 25 watt Solar = always powered 4B?
Replies: 14
Views: 1689

Re: 12v battery + 25 watt Solar = always powered 4B?

The biggest problem is that you are unlikely to get a full 25W from your solar panel unless you live in a very sunny climate. From my own experience in the UK with solar panels on my house I rarely average more than 60% of there total output in the summer and considerably less in the winter. Are yo...
by pfletch101
Tue Sep 10, 2019 4:04 pm
Forum: Troubleshooting
Topic: Raspberry Pi 4 temperature
Replies: 617
Views: 357913

Re: Raspberry Pi 4 temperature

bensimmo wrote:
Tue Sep 10, 2019 3:54 pm

it would be really nice if there was a Pi4 Lite.
sort of cool and usable with HATs and out of the case.
the processing power can be lower, as long as it can still run the usual stuff. just without the heat.
Isn't that called a 3B(+)? :)
by pfletch101
Tue Sep 10, 2019 12:36 am
Forum: Troubleshooting
Topic: Please Help... Accidentally renamed a file in /lib/ Raspbian Buster
Replies: 6
Views: 602

Re: Please Help... Accidentally renamed a file in /lib/ Raspbian Buster

Unless you have also been messing with my /lib folder :) , the strange name is correct. I have a file with precisely the same name. Why do you think that you renamed it?
by pfletch101
Sat Sep 07, 2019 10:29 pm
Forum: Networking and servers
Topic: Make RPi show in Network List in Windows 8 or 10
Replies: 9
Views: 1643

Re: Make RPi show in Network List in Windows 8 or 10

Hopefully just something stupid I have done. I just want to see my RPi (3+B) in the list of computers when I look at the network display of devices in Windows 8 or 10. I can ping the RPi with the DHCP assigned IP(4) address. I can see the Shared Folder contents on the RPi using Samba. But I can not...
by pfletch101
Fri Sep 06, 2019 10:43 pm
Forum: Troubleshooting
Topic: VLI firmware v2.0 - powersaving features enabled
Replies: 117
Views: 38862

Re: VLI firmware v2.0 - powersaving features enabled

@jcyr: your issue with sudo reboot does seem to be specific to your setup. On my Pi4, running from an SD Card, there is no problem rebooting after the update, and I assume that the other positive responders in this thread also had no problems.
by pfletch101
Thu Sep 05, 2019 2:31 pm
Forum: Automation, sensing and robotics
Topic: Using ouimeaux with Python 3 on Buster
Replies: 3
Views: 961

Re: Using ouimeaux with Python 3 on Buster

More searching found pywemo (https://github.com/pavoni/pywemo), which provides the facilities that I need under Python 3 in a usable form, though you have to do some spelunking in the code to work out how to use it.
by pfletch101
Wed Sep 04, 2019 6:57 pm
Forum: Automation, sensing and robotics
Topic: Using ouimeaux with Python 3 on Buster
Replies: 3
Views: 961

Using ouimeaux with Python 3 on Buster

Has anyone any useful experience with running the ouimeaux application (which provides a Python interface to WeMo devices) under Python 3.x? If I use pip to install it to run with Python 2, everything seems to work as documented, both for the standalone CLI 'wemo' application and when you import the...
by pfletch101
Tue Sep 03, 2019 5:52 pm
Forum: Troubleshooting
Topic: Raspberry Pi 4 temperature
Replies: 617
Views: 357913

Re: Raspberry Pi 4 temperature

Pads are sticky and can be used to secure a heatsink to a device. I doubt a pad would stick if one (or both) surfaces had paste applied but I've not got any pads here to waste trying it out. PeterO Don't generalize from limited experience! Pads may be sticky and act as an adhesive connection betwee...
by pfletch101
Tue Sep 03, 2019 3:46 pm
Forum: Troubleshooting
Topic: Raspberry Pi 4 temperature
Replies: 617
Views: 357913

Re: Raspberry Pi 4 temperature

Would be nice to see if you could use the stock thermal pads in combination with thermal paste, to see if that improves the heat transfer? Do you understand the purpose of thermal paste ? The primary purpose of thermal paste is to fill in small irregularities in two imperfectly mating surfaces so t...
by pfletch101
Mon Sep 02, 2019 10:01 pm
Forum: General discussion
Topic: RPi 4 UPS choice.
Replies: 1
Views: 630

Re: RPi 4 UPS choice.

I am working on a raspberry pi 4 free NAS server, and I thought just for extra safety I should install a UPS, I found a UPS on aliexpress, but I'm not sure if it wil work (or not break) the RPi. Here's what I found: https://tr.aliexpress.com/item/32919869618.html?trace=wwwdetail2mobilesitedetail&am...
by pfletch101
Mon Sep 02, 2019 9:36 pm
Forum: Advanced users
Topic: Access to GPIO connector in a Flirc Case
Replies: 20
Views: 5766

Re: Access to GPIO connector in a Flirc Case

There's a FAQ on the Flirc RPi 4 case page where question 9 specifically adresses the gpio ribbon cable issue: I'm having trouble fitting a standard IO Cable for the Connectors, do you have a recommendation? Yes, this one works perfectly fine: https://octopart.com/search?q=IDSD-20-D-06.00 I haven't...
by pfletch101
Mon Sep 02, 2019 9:32 pm
Forum: General discussion
Topic: Are there any methods to cool a Raspberry Pi 3B?
Replies: 8
Views: 693

Re: Are there any methods to cool a Raspberry Pi 3B?

The Flirc Gen2 is made specifically for the Pi 3B and 3B+ models, and it has an internal post to transfer heat away from the SoC. It has 2 thermal interface pads, a thin one for the 3B+ model (and newer 3B with 2837 B0 SoC), and a thicker one for the older 3B. There is a slot on the bottom of the F...
by pfletch101
Fri Aug 30, 2019 10:32 pm
Forum: Device Tree
Topic: [SOLVED] raspberry pi 4 gpio uart (ttyS0) not working like 3B+
Replies: 25
Views: 14998

Re: raspberry pi 4 gpio uart (ttyS0) not working like 3B+

It is now nearly September, and my 4B has been regularly updated/upgraded since I got it, earlier this month, but I am also seeing problems with serial transmission with a small beta HAT that uses UART0 and works perfectly on a 3. I don't have an oscilloscope or another serial terminal I can test it...
by pfletch101
Sun Aug 25, 2019 8:49 pm
Forum: General discussion
Topic: power supply raspberry pi 3 b+
Replies: 12
Views: 856

Re: power supply raspberry pi 3 b+

But then...I tend to nitpick the very common but badly used technical terms. To take one that shouldn't be a problem here, there is no such aircraft as an "Me-109". There was a "Bf-109" and an "Me-262", but no "Me-109" in spite of the Bf-109 having been desig...

Go to advanced search