Go to advanced search

by skypi
Sat Sep 07, 2019 3:06 pm
Forum: Troubleshooting
Topic: Getting GPS (BU-353) to work with Pi3b+ and Stretch
Replies: 10
Views: 1226

Re: Getting GPS (BU-353) to work with Pi3b+ and Stretch

The problem I had was in the usb connecter to the pi zero, started by using one of those with an extra bit of cable and a female full size usb slot. Once I had set the baud rate to 4800 I was getting intermittent messages swapped that usb adaptor for one of the little micro usb shim adaptors that pl...
by skypi
Fri Sep 06, 2019 1:55 pm
Forum: Troubleshooting
Topic: enabling bluetooth on pi zero actually wrecks the whole wifi network
Replies: 3
Views: 168

Re: enabling bluetooth on pi zero actually wrecks the whole wifi network

Of course could be one of those coincedences, that I disabled bluetooth at the time the network just got better anyway, but that is certainly what seemed to fix it. And in fact, just now I tested it again with the pi zero in access point mode and anecdotally, connecting to it to access a python flas...
by skypi
Fri Sep 06, 2019 12:36 am
Forum: Troubleshooting
Topic: enabling bluetooth on pi zero actually wrecks the whole wifi network
Replies: 3
Views: 168

Re: enabling bluetooth on pi zero actually wrecks the whole wifi network

One project, many test nodes. It is as I described, opened up bluetooth for one device and wifi screwed (that is to say my desktop was having problems communicating with wifi nodes and nodes having problems communicating with each other), when I shut off bluetooth all back to good wifi comms. plenty...
by skypi
Thu Sep 05, 2019 3:49 pm
Forum: Troubleshooting
Topic: enabling bluetooth on pi zero actually wrecks the whole wifi network
Replies: 3
Views: 168

enabling bluetooth on pi zero actually wrecks the whole wifi network

Strange one I already suspected enabling bluetooth was wrecking the wifi and so on all 10 or so of my raspberrys I have bluetooth disabled in config.txt wanted to use a blutooth gps and so on one node enabled blutooth, started to see all kinds of problems on other nodes on the wifi network could not...
by skypi
Tue May 21, 2019 9:14 pm
Forum: Python
Topic: RPi CPU temp with Python
Replies: 15
Views: 19957

Re: RPi CPU temp with Python

yeah, but this device wants the compact nature and price of the zero really! rsync is probably the problem LOL, that really drives the pi! (copying 1gb+) time=now, ambient at pi = 22.5c, pi zero was running about 35c do an rsync and temperature up to 54c and 10mins after rsync finished, cpu temp sti...
by skypi
Thu May 16, 2019 9:38 pm
Forum: Python
Topic: RPi CPU temp with Python
Replies: 15
Views: 19957

Re: RPi CPU temp with Python

What do you think it will tell you? Running any program will make the CPU run hotter. What do you think you can do if it runs hot? well, if you have control of the program (i.e. you wrote it or can amend it) that is driving the pi hard, then checking the cpu temperature you can slow that program do...
by skypi
Fri Mar 08, 2019 9:28 pm
Forum: General discussion
Topic: The Frog Leap target constant
Replies: 23
Views: 1289

Re: The Frog Leap target constant

actually it just dawned on me that the recursive solution to 64 disk towers of hanoi is probably doomed to fail!... stack overflow! but what I mean is for an object to observe things of a different scale or be capable of movement in a different scale it needs to be of a different scale.... the exerc...
by skypi
Thu Mar 07, 2019 6:41 pm
Forum: General discussion
Topic: The Frog Leap target constant
Replies: 23
Views: 1289

Re: The Frog Leap target constant

yeah, but 1 second is a very long unit of time in computer terms... the 64 disk stack could be solved by fastest computer a lot quicker than 1 nanosecond per move. And for educational purposes it is a nice recursive solution. Mind you no solution that you can make parrallel LOL! As for the frog (or ...
by skypi
Fri Mar 01, 2019 12:30 am
Forum: General discussion
Topic: The Frog Leap target constant
Replies: 23
Views: 1289

Re: The Frog Leap target constant

kind of related to the mythology surrounding the "towers of hanoi" game, in that supposedly when the monks had completed the problem (which involved puzzling out the solution and then doing the actual moves) the world would end... but they could only move one perforated-cylinder per quite long time ...
by skypi
Tue Feb 26, 2019 8:31 pm
Forum: General discussion
Topic: The Frog Leap target constant
Replies: 23
Views: 1289

Re: The Frog Leap target constant

All this is generally known as Zeno's paradox. Don't they teach this stuff in school anymore? There are two possibilities then for the algorithm given on any finite machine: 1) It will loop forever and never arrive at the correct result. 2) It will bail out early with the wrong result. Either not q...
by skypi
Tue Feb 26, 2019 10:32 am
Forum: General discussion
Topic: The Frog Leap target constant
Replies: 23
Views: 1289

Re: The Frog Leap target constant

The false positives I was getting were also a result of precision errors, it is a theory that holds true whatever the target distance, given that a frog could even hop that accurately LOL reworking with decimal type #skypi.org import time from decimal import * getcontext().prec = 500 target=Decimal(...
by skypi
Mon Feb 25, 2019 8:40 pm
Forum: General discussion
Topic: The Frog Leap target constant
Replies: 23
Views: 1289

Re: The Frog Leap target constant

yeah That's a good learning/educational example as well eh!

of course it depends on the part tolerance!!!

and I am not sure there is not this frog leap constant where target < dconst where contact can be made anyway?
by skypi
Mon Feb 25, 2019 8:13 pm
Forum: General discussion
Topic: The Frog Leap target constant
Replies: 23
Views: 1289

The Frog Leap target constant

The Frog Leap target constant assuming a frog can only leap half its last leap to a target and its first leap is halfway to its target what is the target distance that a frog will never get to? (LOL/NO-LOL) target distance 2.2 units frog gets there in 53 hops target distance 2.3 units, python float ...
by skypi
Sun Feb 10, 2019 6:43 pm
Forum: General discussion
Topic: octoprint and old atmega based 3d printers?
Replies: 2
Views: 201

Re: octoprint and old atmega based 3d printers?

seems this practitioner has id'd the problem so, cutting out the marlin SD/LCD support improves the usb print, unfortunately seems velleman have woven their sd support into the code so it is not easily commented out.... i.e. not just a #define in configuration.h http://lokspace.eu/bad-print-quality-...
by skypi
Fri Feb 08, 2019 6:11 pm
Forum: General discussion
Topic: octoprint and old atmega based 3d printers?
Replies: 2
Views: 201

octoprint and old atmega based 3d printers?

OK I did a rant a while back, and I reckon after rebuild after rebuild I think I was right all along it is octoprint that is adding to the problem. In a certain set of conditions, ATMEGA is 250k baud rate max, whereas later boards with real USB are megabit data transfer and have faster CPU's so mayb...
by skypi
Tue Dec 18, 2018 12:46 am
Forum: General discussion
Topic: gadget mode ethernet - the mac address
Replies: 1
Views: 264

gadget mode ethernet - the mac address

gadget mode ethernet - the mac address so if designing a product and want only method of update to be plug in via usb on a zero-w based device otherwise operating in ap mode (don't want to mess with knowledge of client-to-host wifi password and implications) but to get gadget mode working always pro...
by skypi
Thu Dec 06, 2018 11:34 am
Forum: General discussion
Topic: Just about to buy Raspberry Pi for Media Centre and would appreciate help
Replies: 30
Views: 2140

Re: Just about to buy Raspberry Pi for Media Centre and would appreciate help

how much money do you want to spend, just get the pi b+ and an sd card and a case, then install the openelec distro (or run it from the noobs sd) edit: and get a wireless or bluetooth keyboard for couch control. when an external usb drive is plugged in it will automatically be recognised by openelec...
by skypi
Wed Dec 05, 2018 10:50 pm
Forum: General discussion
Topic: default certificate type of ssh daemon
Replies: 0
Views: 152

default certificate type of ssh daemon

What would be ideal would be to select your own 1st priority preference then fall back in order to least desired which would be ecdsa, based on what the ssh client can provide... a good article on subject seems https://www.instructables.com/id/Raspberry-Pi-SSH-Hardening/ but I noticed the pi's were ...
by skypi
Tue Nov 27, 2018 3:22 am
Forum: General discussion
Topic: is there some apt toggle to override any update interactive block to an upgrade?
Replies: 1
Views: 247

is there some apt toggle to override any update interactive block to an upgrade?

is there some apt toggle to override any update interactive block to an upgrade? yada yada gnutls28 (3.3.30-0+deb8u1) jessie-security; urgency=high . "Require strict DER " etc. only option is q to quit which upgrades any way... [Mod edit: removed bad language. Post now makes even less sense, but hop...
by skypi
Mon Nov 26, 2018 2:59 pm
Forum: Troubleshooting
Topic: dpkg-query: no packages found matching at-spi2-core
Replies: 10
Views: 1318

Re: dpkg-query: no packages found matching at-spi2-core

yes, just tested another spi library https://github.com/joosteto/ws2812-spi and that one works OK so some problem (maybe my oversight) in this library with spi, using it on PWM is OK https://github.com/jgarff/rpi_ws281x UPDATE: Turns out to be a weird solution for the above library, on the github is...
by skypi
Mon Nov 26, 2018 2:27 pm
Forum: Troubleshooting
Topic: dpkg-query: no packages found matching at-spi2-core
Replies: 10
Views: 1318

Re: dpkg-query: no packages found matching at-spi2-core

getting same error on a Pi Zero just updated, first time using the spi interface LOL and am wondering if this error is why the WS2812 library does not work on spi, first time I tried it, kind of works but leds get set to wrong color... does work OK on the pwm pin but then got the requires-root-acces...
by skypi
Wed Nov 14, 2018 11:31 pm
Forum: General discussion
Topic: GQ GMC series radiation logger
Replies: 1
Views: 293

Re: GQ GMC series radiation logger

I'd say from my observations it (gmc300e-plus) misses a very fast count in a second which echoes on its speaker but not in data but only statistically significant at low level reading perhaps... plus it is probably 1/6 as accurate as a pankake detector at low levels, apparenttly they balance out at ...
by skypi
Wed Nov 14, 2018 10:22 pm
Forum: General discussion
Topic: GQ GMC series radiation logger
Replies: 1
Views: 293

GQ GMC series radiation logger

Hi Folks Here's a little logger for a GMC-300EPlus radiation counter and the GQ GMC 300 series... #!/usr/bin/env python2 # log data from gq gmc 300e (works with all 300 series, might need to change baud rate to 115200, or set on device) # # Author: Paul W. Rogers (SkyPi) # (c) 2018 P.W. Rogers, Free...
by skypi
Sat Oct 20, 2018 10:18 pm
Forum: Raspbian
Topic: is hostapd compiled with the acs option from the raspbian stretch repo ?
Replies: 0
Views: 702

is hostapd compiled with the acs option from the raspbian stretch repo ?

is hostapd compiled with the acs option from the raspbian stretch repo ? setting channel to zero or channel=acs_survey does not work for me now with stretch at whatever versions of whatever... whereas setting channel=13 or whatever does work OK I saw someone claimed some years ago channel=acs_survey...

Go to advanced search