Go to advanced search

by bensimmo
Wed Jan 17, 2018 12:32 pm
Forum: Teaching and learning resources
Topic: GuiZero & the SenseHAT
Replies: 2
Views: 65

Re: GuiZero & the SenseHAT

Added the much needed clear LED on close, save the eyes Added a RGBtoHEX function thanks to https://github.com/lawsie/guizero/issues/31 and the Sliders to go with it RGB (top to bottom, just add labels), maybe even a single waffle to display the colour and a reset display. - possible changes alter i...
by bensimmo
Tue Jan 16, 2018 3:51 pm
Forum: Troubleshooting
Topic: Pi3 internal WiFi missing
Replies: 10
Views: 174

Re: Pi3 internal WiFi missing

Done and there is no entry there for brcmfmac. I'll take them home and have a rummage around and stick them in the PC and see what else is not quite right. Mainly my as I can use an internet search there to quickly.find details. (Joys of netnannies) j That would indicate the wireless chip hasn't be...
by bensimmo
Tue Jan 16, 2018 2:12 pm
Forum: Troubleshooting
Topic: Pi3 internal WiFi missing
Replies: 10
Views: 174

Re: Pi3 internal WiFi missing

Done and there is no entry there for brcmfmac.

I'll take them home and have a rummage around and stick them in the PC and see what else is not quite right.
Mainly my as I can use an internet search there to quickly.find details. (Joys of netnannies)
by bensimmo
Tue Jan 16, 2018 11:31 am
Forum: Troubleshooting
Topic: Pi3 internal WiFi missing
Replies: 10
Views: 174

Re: Pi3 internal WiFi missing

another thing I noticed is these do not shut down in the same way.
Usual methods (e.g. via GUI or sudo shutdown now).
And everything does its job screen off ect, buy it is left with both green and red board LED on.
Also if a SenseHAT is on all the SenseHAT LED will be left in the rainbow colouring.
by bensimmo
Tue Jan 16, 2018 10:31 am
Forum: Python
Topic: (SOLVED)How to add concatenation
Replies: 12
Views: 193

Re: How to add concatenation

Or you could just have done ... s = ':supra!~supra@192.168.200.100 JOIN #python-unregistered' n = s.find('JOIN') s = s[:n] + '/' + s[n:] I don't know why Python coders always seem to use the most convoluted ways to manipulate strings At least I got something right, same solution as mine (one ammend...
by bensimmo
Mon Jan 15, 2018 9:07 pm
Forum: Python
Topic: (SOLVED)How to add concatenation
Replies: 12
Views: 193

Re: How to add concatenation

Oh just add the slash before JOIN
Well you should see how to do that from the code.
Been a long time since I used IRC.
by bensimmo
Mon Jan 15, 2018 9:02 pm
Forum: Python
Topic: (SOLVED)How to add concatenation
Replies: 12
Views: 193

Re: How to add concatenation

Assuming JOIN is you keyword Then you could use thestring = "blah blah blah JOIN blah blah blah" joinplace = thestring.find("JOIN") Will get the he location in the string of the J in JOIN iirc. Then add 5(?) from there to where you want the # to start. joinplace +=5 Then create a new string from tha...
by bensimmo
Mon Jan 15, 2018 3:20 pm
Forum: Beginners
Topic: sense hat power supply
Replies: 1
Views: 34

Re: sense hat power supply

Personally I would bypass all that and just buy a flat type or lipstick type USB rechargeable battery.
It contains all of that.

You'll be about 500 to 750 mA depending on light being on or not and logging or not.
by bensimmo
Mon Jan 15, 2018 2:10 pm
Forum: Troubleshooting
Topic: Pi3 internal WiFi missing
Replies: 10
Views: 174

Re: Pi3 internal WiFi missing

Ok Pi is fine Update to Stretch must have/probably taken it out on both cards. --- Jessie reteopie sd test I remembered I have a RetroPie which is on Jessie still and will boot on the Pi3. (Even though at work in a school ;-)) It sees it and sees three lines brcm entities (usbcore... , firmware ...,...
by bensimmo
Mon Jan 15, 2018 1:54 pm
Forum: Troubleshooting
Topic: Pi3 internal WiFi missing
Replies: 10
Views: 174

Re: Pi3 internal WiFi missing

Nothing in dmesg, no mention at all.
(sudo | grep brcmfmac ). (nothing for shortened brc either)

Can't seem to get anything from the debug, always say permission denied
(I assume I can sudo cat .... It?)
by bensimmo
Mon Jan 15, 2018 12:16 pm
Forum: Troubleshooting
Topic: Pi3 internal WiFi missing
Replies: 10
Views: 174

Re: Pi3 internal WiFi missing

fresh stretch , just keyboard and monitor ifconfig says what ? also cat /proc/cpuinfo Waiting on new SD card for a fresh Stretch install :-( On the current two cards it is eth0 and lo only Wlan0 only appears with the WiFi dongle Cpuinfo is the usual 4 cores repeated (ARMv7rev4 (v71)) Then BCM2835 a...
by bensimmo
Mon Jan 15, 2018 11:02 am
Forum: Troubleshooting
Topic: Pi3 internal WiFi missing
Replies: 10
Views: 174

Pi3 internal WiFi missing

Hi, what should I be looking for to see if it is starting, seeing the internal WiFi after bootup. I cannot find it from a simple look around. Nothing in iwconfig Nothing at the desktop icon. dmesg | grep WLAN dmesg | grep 802 Shows nothing related other than my added WiFi dongle that I'm having to u...
by bensimmo
Mon Jan 15, 2018 9:44 am
Forum: General discussion
Topic: Overclocking...
Replies: 3
Views: 140

Re: Overclocking...

Cool it, they do get hot and are know to throttle (as they should) when they get there, hence reducing the speed. It shouldn't cost a lot for a simple heatsink and quality thermal compound adhesive strip, also it doesn't harm the Pi :-) Overclocking on the Pi3 is a step by step process, not just a b...
by bensimmo
Mon Jan 15, 2018 9:30 am
Forum: Beginners
Topic: I need someone make my code
Replies: 12
Views: 410

Re: I need someone make my code

Have you had a go at the links posted, that 2 days of trying & learning, what have you come up with (what scool age level project is this, only approx needed?) The people at RaspberryPi have done an excellent job of making it easy to get into with GpioZero. One link missed out is this https://projec...
by bensimmo
Sun Jan 14, 2018 5:46 pm
Forum: Beginners
Topic: In which order does a Python Program run
Replies: 18
Views: 446

Re: In which order does a Python Program run

However, the mention of BBC BASIC reminds me of an important difference in the way DEF works. You define procedures outside your normal flow, such as after END, and the PROC statement magically finds them: 10 PROChello 20 END 30 : 40 DEF PROChello 50 PRINT "hello" 60 ENDPROC If you try to define a ...
by bensimmo
Sun Jan 14, 2018 5:36 pm
Forum: Beginners
Topic: In which order does a Python Program run
Replies: 18
Views: 446

Re: In which order does a Python Program run

In Visual Basic for Applications you are working with classes all the time and function/procedures. A Button is a class btnButton The Button class has various premade options btnButton.click btnButton.OnRelease btnButton.Value Etc. The .Value is a function in the class that returns whatever it progr...
by bensimmo
Sun Jan 14, 2018 9:25 am
Forum: Beginners
Topic: Wire gauges
Replies: 2
Views: 115

Re: Wire gauges

Using "pcb screw terminals" if you can. Or solder a molex/socket clip connector or spade connectors on with as thick a wire as you can get through for a short distance. It also gives you an easy way to remove the battery etc. You can buy single pins you can solder to the board and then solder direct...
by bensimmo
Sun Jan 14, 2018 9:08 am
Forum: Advanced users
Topic: USB or SD speed limit?
Replies: 7
Views: 262

Re: USB or SD speed limit?

You miss-understand(my poor wording ;-)), you can set the SD bus frequency to 100MHz from it default for the Pi 50MHz, its classed as an overclock though but UHS1 capable cards should be fine to run at that speed. UHS1 here just been used as a label on the card, not the method of use. Edit add a lin...
by bensimmo
Sun Jan 14, 2018 9:01 am
Forum: General discussion
Topic: GPS module in Python
Replies: 17
Views: 468

Re: GPS module in Python

Did you set gpsd up? Because something is wrong with the setup. Serial is working and the module is working (gpsmon, it doesn't use gpsd but it own internal 'drivers') but is show you that it is all working. gpsd is the go between program your code is using. First sudo killall gpsd These are the nor...
by bensimmo
Sat Jan 13, 2018 10:40 pm
Forum: Advanced users
Topic: Zero W exceeds USB spec for input capacitance?
Replies: 9
Views: 346

Re: Zero W exceeds USB spec for input capacitance?

Most phone chargers are 2/2.5A and have been for many years. I know some still come with 1A so they can upsell a 'fast charger'. In fact the recent charger I got with a Moto is 5.2V as it has taken into account the separate cable it uses (unlike the Pi3). However, since phone charging does not requ...
by bensimmo
Sat Jan 13, 2018 10:37 pm
Forum: Beginners
Topic: Suggestion on HAT design
Replies: 6
Views: 172

Re: Suggestion on HAT design

On the SenseHat the riser doobery can be pulled out and you can put a longer one in it or anything with pins into it.
it has some metal friction fit tabs that keep it all tight and in place.
No idea what they call it so try some picture searches.
by bensimmo
Sat Jan 13, 2018 10:34 pm
Forum: General discussion
Topic: GPS module in Python
Replies: 17
Views: 468

Re: GPS module in Python

gpsmon shows it working :-) But it uses its own code to get gps from it. is gpsd setup and working? does it know shic serial location it can get info from (use cgps or xgps as they use gpsd) the print shows what would be written, so the 'save' isn't a problem. No idea how your code is suppose to wor...
by bensimmo
Sat Jan 13, 2018 3:36 pm
Forum: General discussion
Topic: GPS module in Python
Replies: 17
Views: 468

Re: GPS module in Python

Stick a print statement in before the writes and see what it's saying (or debug in Thonny if it now copes with threads).

Also use print in other places to see what is happening.

It might not be seeing a lock yet and hence no location. That or you're on a boat in the Gulf of Guinea (iirc?)
by bensimmo
Sat Jan 13, 2018 3:26 pm
Forum: General discussion
Topic: When will Raspberry Foundation admit that the Pi destroys your SD cards?
Replies: 48
Views: 1732

Re: When will Raspberry Foundation admit that the Pi destroys your SD cards?

As above perhaps alter the way you write to the cards, I assume it all data logging. I know for our fast datalogging with rockets and other things I have it setup in the program that the looking to RAM is collected then after so many lines or time it will write it all out to disk. Not only does this...
by bensimmo
Sat Jan 13, 2018 3:19 pm
Forum: Advanced users
Topic: Zero W exceeds USB spec for input capacitance?
Replies: 9
Views: 346

Re: Zero W exceeds USB spec for input capacitance?

I'm guessing the explanation is that a Pi isn't a USB device - it uses a micro-USB connector for power because it's convenient, but doesn't have to adhere to the USB spec. because of that. A USB host should be designed to be able to continue working when a device is connected that adheres to the sp...

Go to advanced search