Go to advanced search

by SteveSpencer
Thu Apr 13, 2017 1:31 pm
Forum: C/C++
Topic: List files in directory
Replies: 10
Views: 3072

Re: List files in directory

Every directory has these entries except for / which only has . as it has no parent. At the risk of seeming picky, ls -la / does show both . and .. although I would hope that they are both links to the same thing :) Also, char bad_1[1] = "."; char bad_2[2] = ".."; These are well named. The sizing e...
by SteveSpencer
Thu Apr 13, 2017 8:11 am
Forum: Raspbian
Topic: FAT32 partition size change
Replies: 10
Views: 1412

FAT32 partition size change

I see in the newest release of Raspbian (2017-04-10) that the FAT32 partition has changed size.
Is there a particular reason for this?
by SteveSpencer
Thu Apr 06, 2017 11:15 am
Forum: Automation, sensing and robotics
Topic: Replacing pushbutton switches
Replies: 2
Views: 409

Re: Replacing pushbutton switches

[fx: slaps forehead in Homer Simpson style] Of course, I should have thought of that myself. In any case, I need to measure the voltage to make sure the opto is the right size, which will tell me the polarity, and then measuring the current after that to do the same... It's amazing that the human br...
by SteveSpencer
Thu Apr 06, 2017 9:58 am
Forum: Automation, sensing and robotics
Topic: Relays
Replies: 33
Views: 3498

Re: Relays

Hmm. If the Pi3 only needs 700mA, why is the recommended supply for it a 2.5A one?
by SteveSpencer
Thu Apr 06, 2017 9:56 am
Forum: Automation, sensing and robotics
Topic: Replacing pushbutton switches
Replies: 2
Views: 409

Replacing pushbutton switches

This seems such a simple question, that I am almost too embarrassed to ask it. However, the stupid question is the one you didn't ask, and should have, so here goes :oops: . I have a device, which can be raised or lowered by means of two buttons (Up, and unsurprisingly, Down). These are connected to...
by SteveSpencer
Wed Mar 22, 2017 3:55 pm
Forum: Troubleshooting
Topic: apt-get upgrade having problems
Replies: 3
Views: 684

Re: apt-get upgrade having problems

Thanks for that. I have never noticed before, presumably because I normally wander off and do something else once it's started. Presumably then, there are lots of individual pieces that make up the package, rather than a single one which is often the case. It is taking rather a long time though, as ...
by SteveSpencer
Wed Mar 22, 2017 1:31 pm
Forum: Troubleshooting
Topic: apt-get upgrade having problems
Replies: 3
Views: 684

apt-get upgrade having problems

I routinely run apt-get update apt-get upgrade to make sure I have the latest packages. However, today is not going according to plan. I did the usual, and wolfram-engine is upgradeable. Since I'm not on a metered connection, I accepted the update. That was some time ago. I am now seeing a screen fu...
by SteveSpencer
Wed Mar 15, 2017 9:27 am
Forum: General discussion
Topic: Udp server port 161 Unreachable
Replies: 3
Views: 1551

Re: Udp server port 161 Unreachable

That's the SNMP port. By default, as far as I recall, in the 'as default' Raspbian, there is nothing listening on that port, so it comes as no surprise that it cannot be reached.

What are you trying to send, and what do you expect to be listening on the Pi?
by SteveSpencer
Mon Mar 13, 2017 9:08 am
Forum: General discussion
Topic: Connecting Explorenfc + Touchscreen
Replies: 3
Views: 553

Re: Connecting Explorenfc + Touchscreen

Not necessarily. Some devices expect that they will have exclusive use of something like a specific SPI channel.
Somewhere like https://pinout.xyz/# might be able to help determine what pins are used by each board.
by SteveSpencer
Fri Mar 10, 2017 5:41 pm
Forum: General discussion
Topic: Connecting Explorenfc + Touchscreen
Replies: 3
Views: 553

Re: Connecting Explorenfc + Touchscreen

Depends on the touchscreen, of course, so ideally you should say which one you have, or are thinking of getting. I have the Adafruit ones that mount directly onto a Pi, as well as official displays, which don't. It might be that if you know which GPIO pins you need for the exploreNFC and the touchsc...
by SteveSpencer
Thu Mar 09, 2017 12:05 pm
Forum: Beginners
Topic: WS2812B Wiring
Replies: 3
Views: 1421

Re: WS2812B Wiring

Well, I wouldn't. Use separate supplies, since the LEDs can take quite a bit of power at fully on, and you have 60 of them. If the PSU is suddenly unable to supply 5V and sufficient current to your Pi, the Pi will "fail" and may corrupt the SD card. Don't go there. In addition, you might find that t...
by SteveSpencer
Tue Mar 07, 2017 11:00 am
Forum: General discussion
Topic: [SOLVED] Pi Zero W slower CPU than original Pi Zero?
Replies: 11
Views: 11931

Re: Pi Zero W slower CPU than original Pi Zero?

Certainly with Raspbian (sorry, I don't use ARCH), there was a firmware issue to resolve a problem where the Zero W was being clocked at 700MHz, not 1GHz. The latest updates to Raspbian fixed that, according to the Zero W I have here on my desk recompiling a kernel. Don't know, however, if you can f...
by SteveSpencer
Wed Mar 01, 2017 12:57 pm
Forum: Troubleshooting
Topic: Updating a downloaded image
Replies: 2
Views: 459

Re: Updating a downloaded image

Hmm. The short answer is yes and no.
I can do Jessie lite, but not full Jessie, since it runs out of space :(

However, for this particular use-case that's fine, since I am producing headless images for Pi Zero (and Zero W!) anyway.
by SteveSpencer
Wed Mar 01, 2017 11:30 am
Forum: Troubleshooting
Topic: Updating a downloaded image
Replies: 2
Views: 459

Updating a downloaded image

What I want to do is relatively simple. I want to take a downloaded .img file, on a Pi, and bring it up to date in terms of having the latest version of packages (including the kernel). In this way, I would avoid having to run apt-get update && apt-get dist-upgrade when I copy the image to a card an...
by SteveSpencer
Fri Feb 24, 2017 5:17 pm
Forum: General discussion
Topic: Anyone owns cm3
Replies: 20
Views: 3596

Re: Anyone owns cm3

jamesh wrote:Was going to try this, but don't have a CM3L which is required as the CM3 doesn't have enough flash to run Android.
Wow! So if you don't have one, what chances for us mere mortals? :o
by SteveSpencer
Mon Feb 06, 2017 12:53 pm
Forum: General discussion
Topic: Putty connection 64 bit
Replies: 2
Views: 697

Re: Putty connection 64 bit

And to answer the original question, the 32-bit version is fine. I run that on Win10x64 and have no problems.
by SteveSpencer
Thu Jan 19, 2017 10:12 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: Pin numbering
Replies: 7
Views: 1272

Re: Pin numbering

Thanks Dougie, I now see what you mean, and in the context of the Pi that makes perfect sense - and of course it also means that 40->26 "downgrade" cabling will work perfectly well.

I will go and sit on my hands now, and use my brain instead. :)
by SteveSpencer
Thu Jan 19, 2017 10:09 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: Pin numbering
Replies: 7
Views: 1272

Re: Pin numbering

Not if you compare the numbering scheme to any common IC. For those, the actual physical pin numbers run 1-20 on the left side, and 21-40 (going upwards) on the right side, whereas in the diagrams on the site, they go row-wise, not column-wise. I'm not saying the pin descriptions are wrong, just tha...
by SteveSpencer
Thu Jan 19, 2017 9:57 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: Pin numbering
Replies: 7
Views: 1272

Pin numbering

I admit I didn't know where else to put this, so this seemed appropriate. In all the pin-out descriptions and tables I have seen, from the first Pi to the most recent (except, of course the Compute Modules), the pins are numbered "incorrectly", which has only just dawned on me while I was trying to ...
by SteveSpencer
Fri Jan 13, 2017 1:46 pm
Forum: Troubleshooting
Topic: is the raspian mirror server down?
Replies: 19
Views: 8866

Re: is the raspian mirror server down?

To be clear, Hit http://archive.raspberrypi.org jessie InRelease Hit http://mirrordirector.raspbian.org jessie InRelease Hit http://archive.raspberrypi.org jessie/main Sources Hit http://mirrordirector.raspbian.org jessie/main armhf Packages Err http://archive.raspberrypi.org jessie/ui Sources 406 N...
by SteveSpencer
Fri Jan 13, 2017 12:39 pm
Forum: Troubleshooting
Topic: is the raspian mirror server down?
Replies: 19
Views: 8866

Re: is the raspian mirror server down?

Not quite. Still reporting an issue for Jessie/ui sources
by SteveSpencer
Fri Jan 13, 2017 9:46 am
Forum: General discussion
Topic: apt-get failing, mirrordirector refusing connections
Replies: 2
Views: 609

Re: apt-get failing, mirrordirector refusing connections

Thanks, didn't see that (because I didn't look...)
by SteveSpencer
Fri Jan 13, 2017 9:43 am
Forum: General discussion
Topic: apt-get failing, mirrordirector refusing connections
Replies: 2
Views: 609

apt-get failing, mirrordirector refusing connections

At the time of posting this, I seem unable to connect to http://mirrordirector.raspbian.org/raspbian, so apt-get update is failing.
(Yes, I am running it as root, via sudo).
It is telling me that 46.235.227.11 is refusing the connection with a 406 error.
by SteveSpencer
Wed Jan 11, 2017 11:19 am
Forum: Raspbian
Topic: New Jessie Image (2017-01-11) Difference ??
Replies: 36
Views: 10319

Re: New Jessie Image (2017-01-11) Difference ??

ShiftPlusOne wrote:The only difference is that the boot partition is FAT32 instead of FAT16.
Which begs the question, why?
by SteveSpencer
Tue Jan 10, 2017 3:13 pm
Forum: General discussion
Topic: Raspberrypi 0
Replies: 22
Views: 3658

Re: Raspberrypi 0

Same voltage (5V), but generally consumes less current.

Go to advanced search