Go to advanced search

by bensimmo
Tue Dec 03, 2019 5:27 pm
Forum: Automation, sensing and robotics
Topic: Detecting an appliance is in use
Replies: 30
Views: 885

Re: Detecting an appliance is in use

I use power monitoring smart plugs for this (tutu based). Not expensive in the uk. Flashed them with tasmota firmware. Not only can I see they are using power, I can see how much once loosely calibrated if you also want that too. You do need a plugged appliance though, or buy sonoff-pow or similar a...
by bensimmo
Sat Nov 30, 2019 7:50 pm
Forum: Advanced users
Topic: RPI 3 Won't Overclock past 1.5ghz
Replies: 4
Views: 266

Re: RPI 3 Won't Overclock past 1.5ghz

If it's not stable at 1.55GHz then that past it point.

Get it stable there first.

1.5GHz is probably you'd max at the moment if that is stable (is this a 3B or 3B+ and if a 3B silver or black SoC?)

Anyway, when you are at 1.5GHz, and you sue it, does it throttle back at any point?
by bensimmo
Mon Nov 25, 2019 10:00 pm
Forum: Beginners
Topic: How to turn off GPS module?
Replies: 5
Views: 202

Re: How to turn off GPS module?

Pull the power cord from the Pi or turn the plug off.

I'm assuming you don't want the powersaving modes as you have the Pi turned off anyway.


But since I found a link, it maybe useful in future.
Note the newer Neo M8N is a better choice than the old Neo 6m now.
https://ukhas.org.uk/guides:ublox_psm
by bensimmo
Mon Nov 18, 2019 1:09 pm
Forum: General programming discussion
Topic: Liberation through Computer Literacy
Replies: 1764
Views: 97781

Re: Liberation through Computer Literacy

... I asked the former vice-president of testing whether this seemed reasonable from an educational point of view. With a whine the dog developer responded, I've been trying to do that all day. How do you combine Scratch and Python together in the same project? It may not have a happy outcome https...
by bensimmo
Sat Nov 16, 2019 3:31 pm
Forum: General discussion
Topic: Is there a function to check that the Pi camera is on?
Replies: 7
Views: 279

Re: Is there a function to check that the Pi camera is on?

Off or On should be easy as you will have set it to Off or On in your code. So you already know how it is set, you shouldn't need to check.

Just rethink you program.
by bensimmo
Mon Nov 04, 2019 4:51 pm
Forum: General programming discussion
Topic: Liberation through Computer Literacy
Replies: 1764
Views: 97781

Re: Liberation through Computer Literacy

jahboater wrote:
Sun Nov 03, 2019 9:45 am
bensimmo wrote:
Sun Nov 03, 2019 8:13 am
On a Pi4 they are pointless, the heat spreader and design mean a fan just blowing over it works best, heat is removed close to the source.
If you don't want a fan (for many obvious reasons) then a heat sink is useful.
Useful, but not best :-)
by bensimmo
Sun Nov 03, 2019 8:13 am
Forum: General programming discussion
Topic: Liberation through Computer Literacy
Replies: 1764
Views: 97781

Re: Liberation through Computer Literacy

For those who have recently joined, a photograph of the turbo encabulator borrowed by the lead developer of FidoBasic appears earlier in this thread. Have you heard about heatsinks ? :o On a Pi4 they are pointless, the heat spreader and design mean a fan just blowing over it works best, heat is rem...
by bensimmo
Thu Oct 31, 2019 9:03 am
Forum: Advanced users
Topic: rpi-eeprom beta package - VL805 updates
Replies: 50
Views: 6598

Re: rpi-eeprom beta package - VL805 updates

I would like to report that my raspberry pi 4B that I got a few days after release has been performing extremely well, and I decided to overclock it to 1925/600 @ +4, also downloaded the eeprom package here and it has become quite the little powerhouse. The performance appears smoother and faster t...
by bensimmo
Tue Oct 29, 2019 7:53 pm
Forum: Ubuntu
Topic: STICKY: New Ubuntu sub-forum
Replies: 68
Views: 5815

Re: Claim for an Ubuntu sub-forum

perhaps just a 'forum' that is actually a link to the one given above https://askubuntu.com/questions/tagged/raspberrypi I think Phpbb can do that (could do the same to WinIOT, but they probably support its setup) Maybe Canonical could support a section AND actually provide support in there ? https:...
by bensimmo
Tue Oct 22, 2019 6:19 pm
Forum: General programming discussion
Topic: Liberation through Computer Literacy
Replies: 1764
Views: 97781

Re: Liberation through Computer Literacy

bensimmo, I think you are saying something like we do for out air quality project (PM2.5 sensors). We have result in an SQL (or similar) database, they all have their GNSS location. I have my Pi with GNSS (or phone, or Alexa) and ask it to give me the current reading. I can grab the nearest by actu...
by bensimmo
Mon Oct 21, 2019 7:33 pm
Forum: General programming discussion
Topic: Liberation through Computer Literacy
Replies: 1764
Views: 97781

Re: Liberation through Computer Literacy

@John_Spikowski, Will objects have properties? For the purposes of the challenge the objects only have position (x, y). With the range specified. Of course that does not prevent one from building those coordinates into whatever object model you have of the otherway around extending that base proper...
by bensimmo
Mon Oct 21, 2019 7:17 pm
Forum: General programming discussion
Topic: Liberation through Computer Literacy
Replies: 1764
Views: 97781

Re: Liberation through Computer Literacy

For sure people don't want to waste time on useless things on their shiny new and expensive super computers. But they do brag about how fast they are at running industry standard bench marks. Which is very important, national pride and all that. So why not beating the world record for the digits of...
by bensimmo
Tue Oct 15, 2019 8:33 pm
Forum: General programming discussion
Topic: Liberation through Computer Literacy
Replies: 1764
Views: 97781

Re: Liberation through Computer Literacy

I thought this article goes quite well with the current topic title Mainly the last part, "The hope is that this paper gets us to talk a bit more about how we treat and view software that we exchange back and forth," said Williams. "We somehow naively assume this stuff will work, being experimental...
by bensimmo
Tue Oct 15, 2019 6:10 pm
Forum: General programming discussion
Topic: Liberation through Computer Literacy
Replies: 1764
Views: 97781

Re: Liberation through Computer Literacy

I blame the "computer scientists". They have created a computing world where the same program will produce different results depending on what machine it is run on. If mathematicians lived on such shifting ground we would get nowhere. In this case it was the ordering of file names when asking for a...
by bensimmo
Tue Oct 15, 2019 9:22 am
Forum: General programming discussion
Topic: Liberation through Computer Literacy
Replies: 1764
Views: 97781

Re: Liberation through Computer Literacy

I thought this article goes quite well with the current topic title Mainly the last part, "The hope is that this paper gets us to talk a bit more about how we treat and view software that we exchange back and forth," said Williams. "We somehow naively assume this stuff will work, being experimentali...
by bensimmo
Sun Oct 13, 2019 8:30 am
Forum: Raspbian
Topic: raspberrypi-bootloader (1.20190925-1) upgrade fails: /boot too small
Replies: 35
Views: 3467

Re: raspberrypi-bootloader (1.20190925-1) upgrade fails: /boot too small

... but the solution to it is getting more and more convoluted the more I work on it. When it's ready, I'll push it out. It seems to me the solution is for people to follow recommendations and not upgrade from an older OS. As far as I know, that was never a supported procedure (Debian/Raspbian stab...
by bensimmo
Mon Oct 07, 2019 4:46 pm
Forum: Raspbian
Topic: New Raspbian Buster image (Sep. 2019)
Replies: 21
Views: 3487

Re: New Raspbian Buster image (Sep. 2019)

It updates (or allows you to update if you set it to manual) the bootcode. https://www.raspberrypi.org/documentation/hardware/raspberrypi/booteeprom.md And its changelog (Unsure which version we're on, I thought we had the Sdram tweaks, but it still says beta in the changelog.) https://github.com/ra...
by bensimmo
Sun Oct 06, 2019 5:16 pm
Forum: Raspbian
Topic: New Raspbian Buster image (Sep. 2019)
Replies: 21
Views: 3487

Re: New Raspbian Buster image (Sep. 2019)

If the rpi-eeprom program hasn't come down with a full-upgrade, you'll need to apt install it
by bensimmo
Sun Oct 06, 2019 7:18 am
Forum: Off topic discussion
Topic: Best Raspberry Pi Alternatives 2019
Replies: 65
Views: 13099

Re: Best Raspberry Pi Alternatives 2019

The nodeMCU are simple, stick the prebuild firmwares on (espeasy V2, tasmota, etc ) that with the sensors section and off you go. Add sensors and send data. Other have micropython running on them so can port code over, they are of course not desktop computers. They are not the same things a Pi. Thou...
by bensimmo
Sat Oct 05, 2019 6:47 pm
Forum: General discussion
Topic: Simplest temperature data logger
Replies: 13
Views: 764

Re: Simplest temperature data logger

For web display, just install Cayenne and it sort it out for you with DSB18's
by bensimmo
Sat Sep 28, 2019 9:59 am
Forum: General discussion
Topic: Simplest temperature data logger
Replies: 13
Views: 764

Re: Simplest temperature data logger

If you want to keep it drag and drop, you can log and chart DS18B20's in Scratch on the Pi
;-)
by bensimmo
Sat Sep 28, 2019 9:57 am
Forum: Troubleshooting
Topic: Raspberry Pi 4 temperature
Replies: 564
Views: 202359

Re: Raspberry Pi 4 temperature

Angle your fan so it blows over the Pi, not directly down on it. To be honest you can power that USB one from the Pi itself. That way you should get a better flow. And update Raspbian and install the boot eeprom updates (if it doesn't do it automatically). You may need sudo apt install rpi-eeprom Th...
by bensimmo
Wed Sep 25, 2019 12:31 pm
Forum: Python
Topic: how to measure duration of pulse in python
Replies: 15
Views: 600

Re: how to measure duration of pulse in python

Your best bet is to look over a Python3 module and see how they are doing it.
You can then try to implent your own version if you want.

e.g. from a very quick search
https://github.com/UedaTakeyuki/mh-z19
by bensimmo
Wed Sep 25, 2019 7:00 am
Forum: Beginners
Topic: error in temperature with buzzer sensor
Replies: 4
Views: 172

Re: error in temperature with buzzer sensor

On to the main loop. You don't need that many sleeps, it's no harm but slows it all down. (Not a sensor read will automatically be just under a second delay by itself) As before the if and, pick one C or F Take the Buzzer(23) setting out of the the whole thing and place it before the main loops star...
by bensimmo
Wed Sep 25, 2019 6:52 am
Forum: Beginners
Topic: error in temperature with buzzer sensor
Replies: 4
Views: 172

Re: error in temperature with buzzer sensor

Is Python3 new to you? You seem to not quite understand functions, e.g. how to use read_temp() I can see it's a cut and paste from the web. You should remove your globals, there is no need for them (I'm guessing you added them?) Then call the function, returning the values to a variable. Then use th...

Go to advanced search