Go to advanced search

by hippy
Sun Feb 25, 2018 8:27 pm
Forum: The MagPi
Topic: MagPi67: Pi in Spectrum case: diodes on 'address' lines
Replies: 3
Views: 77

Re: MagPi67: Pi in Spectrum case: diodes on 'address' lines

As you say there is no need for diodes for a keypad matrix. Perhaps the author just didn't realise that.
by hippy
Sun Feb 25, 2018 3:21 pm
Forum: Beginners
Topic: Are GPIO pins the same?
Replies: 4
Views: 76

Re: Are GPIO pins the same?

Nice dynamic web page - click on the pin your interested in : https://pinout.xyz It's a shame that doesn't use the same GPIOn terminology the Pi uses in its schematics and elsewhere. Just looking at the first I/O pin down on the left shows just how confusing it can be for people not familiar with t...
by hippy
Sun Feb 25, 2018 3:07 pm
Forum: Beginners
Topic: Are GPIO pins the same?
Replies: 4
Views: 76

Re: Are GPIO pins the same?

Note that GPIO0 and GPIO1 should not be used for anything other than HAT identification and GPIO2 and GPIO3 have pull-up resistors fitted on-board.
by hippy
Sun Feb 25, 2018 11:47 am
Forum: General discussion
Topic: help with .exe on raspberry pi
Replies: 3
Views: 211

Re: help with .exe on raspberry pi

If you are looking for text to speech output then Android Things running on your Pi may be the answer. When I last used Android Things it included Google's standalone PicoTTS and wipes the floor with every other text to speech generator I tried under Raspbian. Alternatively you can use a cheap Andro...
by hippy
Wed Feb 21, 2018 6:50 pm
Forum: General discussion
Topic: TERMINAL: The Two Most Useful Customizations
Replies: 12
Views: 551

Re: TERMINAL: The Two Most Useful Customizations

What would make sense to me is to have an option to enable Ctrl-C as a Copy shortcut when text to copy has been selected, have it function as normal when there isn't. The best of both worlds. The windows Telnet client I use drives me up the wall because it allows text to be selected for copying, the...
by hippy
Tue Feb 20, 2018 5:53 pm
Forum: Off topic discussion
Topic: RPi4
Replies: 20
Views: 809

Re: RPi4

After the Pi 4; what's the Pi 5 going to have ?

:mrgreen: :mrgreen: :mrgreen: :mrgreen: :mrgreen:
by hippy
Sat Feb 17, 2018 12:28 pm
Forum: Off topic discussion
Topic: How good is current AI ?
Replies: 14
Views: 640

Re: How good is current AI ?

One needs to define what one means by Artificial Intelligence before one can determine if we have that, have got anywhere near it or in part. Computers are doing some pretty amazing things these days. Some of those are called Artificial Intelligence but many of those things can also be described as ...
by hippy
Sat Feb 17, 2018 12:34 am
Forum: Python
Topic: micropython
Replies: 8
Views: 330

Re: micropython

How can I make ./micropython available system wide as in command python and python3? This will make micropython available everywhere - sudo ln -s ~/micropython/ports/unix/micropython /usr/bin/micropython Not sure if it's the ideal solution, or if /usr/bin is the right place. If someone could confir...
by hippy
Fri Feb 16, 2018 8:30 pm
Forum: Python
Topic: micropython
Replies: 8
Views: 330

Re: micropython

That what I thought, so I installed MicroPython, I still get the no module named utime error. Seems to work for me when I use it in interactive REPL mode ... pi@Pi3B:~/micropython/ports/unix$ ./micropython MicroPython v1.9.3-217-g5de064fb on 2017-12-26; linux version Use Ctrl-D to exit, Ctrl-E for ...
by hippy
Fri Feb 16, 2018 6:22 pm
Forum: Python
Topic: micropython
Replies: 8
Views: 330

Re: micropython

From the github it looks like you need to install MicroPython and it uses its own libraries so they may need to be installed separately. The utime package might however be included. Take a look here - https://www.raspberrypi.org/forums/viewtopic.php?t=191744 The Adafruit tutorial however seems to be...
by hippy
Fri Feb 16, 2018 6:16 pm
Forum: General discussion
Topic: No Wifi connection to Pi Zero W after Raspbian update
Replies: 92
Views: 3681

Re: No Wifi connection to Pi Zero W after Raspbian update

Please let me know your observations compared to the log files provided with https://www.raspberrypi.org/forums/viewtopic.php?f=63&t=204882&start=25#p1272918 ... I took a look but things are so different in the sequencing that it's impossible for me to arrive at any sensible conclusion. I guess it'...
by hippy
Thu Feb 15, 2018 2:27 pm
Forum: Python
Topic: Timer Interrupt with Python 3
Replies: 4
Views: 194

Re: Timer Interrupt with Python 3

After your "def hello():" add another line "global a".

At the moment your "a=1" is creating and setting a local variable known only within the hello routine, not the global variable which others will have access to.
by hippy
Wed Feb 14, 2018 4:56 pm
Forum: Off topic discussion
Topic: It *has* to happen!
Replies: 28
Views: 1544

Re: It *has* to happen!

jojopi wrote:
Wed Feb 14, 2018 4:22 pm
With each additional selection there is one fewer choice left that will not collide any previous one.
Bingo. Many thanks. I now make it 4823 +/-1 also.

1881 is 10% chance of having two the same
2737 is 20%
3108 is 25%
4823 is 50%
6821 is 75%
8790 is 90%
12430 is 99%
15223 is 99.9%
17578 is 99.99%
by hippy
Wed Feb 14, 2018 2:42 pm
Forum: Off topic discussion
Topic: It *has* to happen!
Replies: 28
Views: 1544

Re: It *has* to happen!

If you have a 6 sided dice the chance of any two rolls (no matter how many other rolls between them) being the same is 1 in 6. Same probability theory applies to your 2"24 sided dice in the RPi factory. Good point. A 1 in 6 chance of being the same as previous for dice, a 1 in 16777216 of the Pi's ...
by hippy
Tue Feb 13, 2018 7:00 pm
Forum: General discussion
Topic: No Wifi connection to Pi Zero W after Raspbian update
Replies: 92
Views: 3681

Re: No Wifi connection to Pi Zero W after Raspbian update

Not sure if this helps any. Perhaps the most obvious thing is that there's no starting or started udev kernel Device Manager in Feb, that comes well afterwards. What was done in the Nov syslog before dhcpcd starts which wasn't done before dhcpcd starts in the Feb syslog Nov systemd[]: Starting udev ...
by hippy
Tue Feb 13, 2018 6:13 pm
Forum: General discussion
Topic: No Wifi connection to Pi Zero W after Raspbian update
Replies: 92
Views: 3681

Re: No Wifi connection to Pi Zero W after Raspbian update

The two syslog files differ in their order and content too much for me to figure out anything meaningful so far. There are things like RF Kill Switch which come before dhcpcd in Nov which works, after in Feb which doesn't, a whole lot more fsck checking in Feb. I don't know enough about Linux or wha...
by hippy
Tue Feb 13, 2018 5:29 pm
Forum: General discussion
Topic: No Wifi connection to Pi Zero W after Raspbian update
Replies: 92
Views: 3681

Re: No Wifi connection to Pi Zero W after Raspbian update

That's interesting because your most recent Nov 29 version has the /sbin/crda failure after the initial dhcp 'dev: loaded udev' and that works, no "No valid interfaces" error, and it works. The repeated udev and the dhcp 'dev: loaded udev' stuff later on in the Feb 13 version seems to be triggered b...
by hippy
Tue Feb 13, 2018 1:43 pm
Forum: General discussion
Topic: No Wifi connection to Pi Zero W after Raspbian update
Replies: 92
Views: 3681

Re: No Wifi connection to Pi Zero W after Raspbian update

What I then thought was irrelevant to mention, but now seems to maybe be of importance, is that just before I updated/upgraded Raspbian, I actually soldered GPIO pin headers to the board... I would suspect that was more coincidence than causal. Especially if you soldered the headers on, then connec...
by hippy
Mon Feb 12, 2018 10:41 pm
Forum: Off topic discussion
Topic: It *has* to happen!
Replies: 28
Views: 1544

Re: It *has* to happen!

if you have 2 RPis the chance of both having the same MAC is 1 in 16777216. I'm not sure that's correct because my understanding is that addresses are chosen at random, that not all 16777216 combinations will have been used before some of those are reused. Like a 16777216 sided dice rolled every ti...
by hippy
Mon Feb 12, 2018 4:29 pm
Forum: General discussion
Topic: No Wifi connection to Pi Zero W after Raspbian update
Replies: 92
Views: 3681

Re: No Wifi connection to Pi Zero W after Raspbian update

Would properly setting CRDA help? Possibly but it works even with that failure. I recall I get that failure as well yet all works for me. It seems to be whether the first time that failure occurs comes before dhcpcd starts or later. "No valid interfaces" is reported by dhcpcd when it comes later. W...
by hippy
Mon Feb 12, 2018 4:13 pm
Forum: Off topic discussion
Topic: It *has* to happen!
Replies: 28
Views: 1544

Re: It *has* to happen!

Does anyone know what the actual process of assigning addresses is and have the mathematical skills to work out the likelihood of encountering two which are the same ?

Some may already have a pair but will never realise that if they have never checked, never used them both at the same time.
by hippy
Sun Feb 11, 2018 6:46 pm
Forum: Beginners
Topic: Asking for tutorial "how to send data from raspberry pi to android app"
Replies: 2
Views: 109

Re: Asking for tutorial "how to send data from raspberry pi to android app"

I don't have a tutorial but I used MIT App Inventor 2 to create an Android app which provides a number of means to interact with a web server such as whenever a button is pushed. The receiver can run a webserver which interprets what that interaction means, what button was pushed etc. Example, not m...
by hippy
Sat Feb 10, 2018 8:49 pm
Forum: Beginners
Topic: Using the RasPi as a Parallel Terminal
Replies: 11
Views: 572

Re: Using the RasPi as a Parallel Terminal

The advantage of focussing on video-only is, that video doesn't need 2 way communication. If I can get the M100 to output anything towards a device that understands it, does it matter that the M100 knows it's there? I suppose it depends on whether you are trying to clone or emulate that DVI device ...
by hippy
Sat Feb 10, 2018 12:09 pm
Forum: Teaching and learning resources
Topic: Build My Own Embedded System
Replies: 13
Views: 734

Re: Build My Own Embedded System

I think the first question I need answered is: how do people generally learn how to work directly with SoCs to make their own embedded system? Is this generally learned in computer engineering programs in colleges, on-the-job at large companies (such as Broadcom, ARM, Sony, Apple, Nintendo, etc), o...
by hippy
Sat Feb 10, 2018 11:49 am
Forum: Recommended peripherals
Topic: Battery Pack Power For Raspberry Pi
Replies: 2
Views: 275

Re: Battery Pack Power For Raspberry Pi

What do you think? Will this be enough? Depends on exactly how long you want it to power things, exactly what you will be powering and how capable the supply is beyond its headline specification - and that's not always easy to tell until one comes to test or use it. It might be worth checking the f...

Go to advanced search