Go to advanced search

by SteveSpencer
Fri Jun 16, 2017 1:13 pm
Forum: General discussion
Topic: 1000ma charger OK?
Replies: 7
Views: 1327

Re: 1000ma charger OK?

You don't say what model Pi you have.
That will make a difference. The recommended one for Pi3 is 2500mA, for example.
It also depends if you are plugging in USB devices, which will also draw power, unless you're using a powered hub.
by SteveSpencer
Fri Jun 16, 2017 8:16 am
Forum: Advanced users
Topic: 433mhz tx/rx working but not turn on rfoutlet
Replies: 5
Views: 1583

Re: 433mhz tx/rx working but not turn on rfoutlet

It looks like the tx/rx modules you have are very similar to the ones I have used. The reason I mention level shifters is simple. The modules are designed to run with VCC = 5V, and the data signals going to the transmitter and coming from the receiver are also 5V. For some transmitters you might get...
by SteveSpencer
Wed Jun 14, 2017 10:52 am
Forum: General discussion
Topic: Commercial Use of the Pi
Replies: 203
Views: 37720

Re: Commercial Use of the Pi

Right now, there is no intention to relax the one per customer limit on Zero's or provide them in bulk quantities. However, we are working on fixing that. We do have a road map, but I do not have a timescale for any announcements, there is a lot of discussion going on and still to be done. Right no...
by SteveSpencer
Wed Jun 14, 2017 9:43 am
Forum: Advanced users
Topic: 433mhz tx/rx working but not turn on rfoutlet
Replies: 5
Views: 1583

Re: 433mhz tx/rx working but not turn on rfoutlet

What tx/rx modules are you using?
Could it be that they are not correctly powered, or you need to use level-shifters to deal with incoming/outgoing signals?

That might explain why the range is so poor.
by SteveSpencer
Tue Jun 06, 2017 1:05 pm
Forum: Troubleshooting
Topic: my asoundrc is modified every reboot
Replies: 13
Views: 4193

Re: my asoundrc is modified every reboot

Ah, thanks Phil. That explains why I haven't come across this behaviour. The only machines I have which care about asoundrc (or ALSA in general) are headless, so no GUI, and hence, no changes.
by SteveSpencer
Fri Jun 02, 2017 1:22 pm
Forum: Beginners
Topic: Curious about mpeg2 hardware decoding
Replies: 6
Views: 1770

Re: Curious about mpeg2 hardware decoding

You would still need a key for each pi you want to have hardware acceleration on. They key is generated using the pi's serial number. Not having a dedicated card or usb per pi would end up making it a very annoying ordeal. If you do go that route i would highly suggest ordering the keys 1 at a time...
by SteveSpencer
Fri Jun 02, 2017 12:55 pm
Forum: Troubleshooting
Topic: my asoundrc is modified every reboot
Replies: 13
Views: 4193

Re: my asoundrc is modified every reboot

From reading the StackExchange thread, the key seems to be forcing the audio out to either 3.5mm or HDMI. If the default behaviour is "auto", then on booting, something on the audio side is determining if the connected HDMI device supports audio, or not, and then modifying the asoundrc accordingly. ...
by SteveSpencer
Fri Jun 02, 2017 12:27 pm
Forum: Beginners
Topic: Curious about mpeg2 hardware decoding
Replies: 6
Views: 1770

Re: Curious about mpeg2 hardware decoding

It activates a OTP bit in the GPU which activates it and tells it that it can decode. Really? That implies that you only need the key once, and thereafter, the bit is set anyway. I have a number of Pi boards of varying types, (Pi0,Pi0W,PiA,PiB,PiB+,Pi2B,Pi3B), and I assumed it was a runtime thing. ...
by SteveSpencer
Wed May 31, 2017 3:23 pm
Forum: General discussion
Topic: Raspbian Lite can't get ssh to work without monitor!
Replies: 4
Views: 1003

Re: Raspbian Lite can't get ssh to work without monitor!

Good. The confusion arises because on a Windows machine, you can see <b>only</b> the boot partition. Essentially, when the system boots, it loads the Linux kernel from the FAT partition. One of the startup things that is done is to mount file systems (partitions) according to what is in the fstab. F...
by SteveSpencer
Tue May 09, 2017 8:37 am
Forum: Advanced users
Topic: ZPL print problems
Replies: 2
Views: 1187

Re: ZPL print problems

Get a copy of https://www.zebra.com/content/dam/zebra ... -pm-en.pdf
Then capture the output that lowriter is sending to the printer, and check it against the specification.
You can use od to dump the raw data in a readable form, which might make it easier to do.
by SteveSpencer
Wed May 03, 2017 12:49 pm
Forum: Advanced users
Topic: How to check via cli if reboot is required
Replies: 3
Views: 881

Re: How to check via cli if reboot is required

I suspect you are referring to whether or not a reboot is required after applying updates. This will all depend on what's been updated, of course. I tend not to reboot unless the kernel or firmware has been changed, but it depends on what the Pi has been (or is) doing. Short answer appears to be no....
by SteveSpencer
Thu Apr 20, 2017 3:56 pm
Forum: Troubleshooting
Topic: Missing space on raspberry pi drive
Replies: 2
Views: 659

Re: Missing space on raspberry pi drive

One possibility is that the NAS uses a large "logical" block size. For example, if it uses a 16K block size, then having ten files which are only 1K in size each will use up 160K, not 10K as you might expect. Turning each of those 1K files into 15K files would not use up any more disk space, though....
by SteveSpencer
Tue Apr 18, 2017 8:42 am
Forum: Raspberry Pi OS
Topic: FAT32 partition size change
Replies: 10
Views: 1746

Re: FAT32 partition size change

To reduce the size a little. Why? No just idle curiosity. I have scripts that I used to modify the root fs of the img files once downloaded and unzipped. They stopped working because I had hard-coded the offset. I now do things properly by digging out the actual size, and everything works as it use...
by SteveSpencer
Thu Apr 13, 2017 1:31 pm
Forum: C/C++
Topic: List files in directory
Replies: 10
Views: 4415

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: Raspberry Pi OS
Topic: FAT32 partition size change
Replies: 10
Views: 1746

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: 523

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: 4234

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: 523

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: 816

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: 816

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: 1910

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: 678

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: 678

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: 1603

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: 13190

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...

Go to advanced search