Go to advanced search

by rpdom
Fri Oct 20, 2017 6:44 pm
Forum: Beginners
Topic: Pi 3 painfully slow (Raspbian)
Replies: 4
Views: 82

Re: Pi 3 painfully slow (Raspbian)

The description of a Pi 3B is that it can be an "entry level desktop" system. Many people assume that means it can perform as well as a basic Windows PC that you can get from your high street PC vendor. That is not what it means.
by rpdom
Fri Oct 20, 2017 6:40 pm
Forum: Automation, sensing and robotics
Topic: Need guidance with integrated development
Replies: 5
Views: 110

Re: Need guidance with integrated development

AcrimoniousMirth wrote:
Fri Oct 20, 2017 4:14 pm
Thanks RaTTus! What advantages does using basic have over rc.local?
It should be ".bashrc", not ".basrc" or "basic".

The advantage is that it runs on a logged in terminal session, instead of in the background, so the keyboard and screen will be available to it.
by rpdom
Fri Oct 20, 2017 4:16 pm
Forum: Beginners
Topic: Can I make PWM with GPIO
Replies: 9
Views: 182

Re: Can I make PWM with GPIO

You could go Bare Meta, which will give you much more control of the timings. You can use low-level interrupts to give precise times to event, but to go to that level takes some dedication and a lot of the standard devices (like USB and SD card) won't be available to you unless you get some driver c...
by rpdom
Fri Oct 20, 2017 2:40 pm
Forum: Troubleshooting
Topic: Weird relay behaviour: always on if GPIO is set to OUTPUT, kinda turns off if GPIO is set to INPUT
Replies: 11
Views: 174

Re: Weird relay behaviour: always on if GPIO is set to OUTPUT, kinda turns off if GPIO is set to INPUT

I'm not using any particular code, since I'm still testing if everything works before implementing it in a php page. I just use "gpio mode 5 out" and "gpio write 5 1/0" So you are using WiringPi 5, which is GPIO 24 (BCM) or pin 18 on the board. The w1-gpio module shouldn't affect that pin at all. I...
by rpdom
Fri Oct 20, 2017 12:22 pm
Forum: Beginners
Topic: Please Help ! -- Can I Reformat a Zero and USB Drive via SSH ?
Replies: 22
Views: 466

Re: Please Help ! -- Can I Reformat a Zero and USB Drive via SSH ?

so what do we use on a Pi system for burning ISO's (?) ? --or will I have to use one of my Linux Mint PC's ? We don't burn ISOs on a Pi. There are no CDs involved. We do flash images though, and unzipping the image and then using dd to write it to the card is usually sufficient. (Someone will no do...
by rpdom
Fri Oct 20, 2017 12:13 pm
Forum: Troubleshooting
Topic: Weird relay behaviour: always on if GPIO is set to OUTPUT, kinda turns off if GPIO is set to INPUT
Replies: 11
Views: 174

Re: Weird relay behaviour: always on if GPIO is set to OUTPUT, kinda turns off if GPIO is set to INPUT

Anyway, I installed wiringpi so that I can have access to the GPIO without root, loaded the w1-gpio kernel module, set the GPIO pin I wanted to OUT and the relay turns on without me even setting the GPIO pin value to 1. So I set the GPIO pin value to 0 but the relay doesn't turn off. If I disconnec...
by rpdom
Fri Oct 20, 2017 6:08 am
Forum: Troubleshooting
Topic: Hash Sum Mismatch on armhf packages
Replies: 2
Views: 116

Re: Hash Sum Mismatch on armhf packages

The download failed. The two file sizes don't match. Actual file size should be 116737 bytes, but only 16384 bytes were downloaded. The first thing I'd check is that you have enough "disk" space on your Pi to download the file.

If space isn't the issue, try the download again.
by rpdom
Wed Oct 18, 2017 7:59 pm
Forum: Python
Topic: Looping an mp3
Replies: 10
Views: 273

Re: Looping an mp3

Are you sure it doesn't play the track, then wait for 68 seconds before playing it again?
by rpdom
Tue Oct 17, 2017 5:38 am
Forum: General discussion
Topic: STICKY: USB boot now working on Pi3
Replies: 456
Views: 110401

Re: STICKY: USB boot now working on Pi3

So what mikerr posted above was wrong? Yes. You can use this method instead to find the Pi model name pi@raspi3 ~ $ cat /sys/firmware/devicetree/base/model;echo Raspberry Pi 2 Model B Rev 1.1 You'll then be able to see if it is a Rev 1.1 or Rev 1.2. Also, this looks like it may work too (I don't ha...
by rpdom
Tue Oct 17, 2017 2:11 am
Forum: General discussion
Topic: STICKY: USB boot now working on Pi3
Replies: 456
Views: 110401

Re: STICKY: USB boot now working on Pi3

HawaiianPi wrote:
Tue Oct 17, 2017 1:56 am
Why does my Pi3 say,

Code: Select all

Hardware        : BCM2835
???
This has been mentioned many times before.
viewtopic.php?t=188544#p1188136
It's a decision by the upstream kernel devs.
by rpdom
Tue Oct 17, 2017 1:59 am
Forum: General discussion
Topic: zero to zero serial
Replies: 1
Views: 68

Re: zero to zero serial

Just the three wires should be sufficient. Tx, Rx and Ground, with Tx and Rx crossed over. Make sure the serial ports are enabled on both Zeroes and the serial console is disabled on the one with the WiFi.
by rpdom
Mon Oct 16, 2017 8:59 pm
Forum: Automation, sensing and robotics
Topic: generating constant AC power
Replies: 2
Views: 151

Re: generating constant AC power

At that current level, the important questions are: What frequency? What Voltage? What waveform and how clean do you need the signal? For simple signals at low voltage you may be able to use the analogue audio out, but for cleaner signals or higher voltages you will need some external circuitry. Rel...
by rpdom
Mon Oct 16, 2017 4:30 pm
Forum: General programming discussion
Topic: Cross Compillers / ARM / Armhf
Replies: 2
Views: 159

Re: Cross Compillers / ARM / Armhf

You can't install gcc-arm-linux-gnueabihf on your Pi. That package isn't supported for it. It would be pointless anyway. Cross-compiling is compiling software on one architecture for another. That package is designed to compile software on x86 (and a few other) systems, so it can run on the armhf of...
by rpdom
Mon Oct 16, 2017 6:55 am
Forum: Raspbian
Topic: what sources for apt?
Replies: 8
Views: 358

Re: what sources for apt?

raspberrypi-firmware from raspberrypi.org contains the kernel + firmware (bootloaders). The kernel is from the RPF. That's somewhat out of date now. The RPF kernel is in the raspberrypi-kernel package. The RPF firmware/bootloader is in the raspberrypi-bootloader package. Both of those are in the 'a...
by rpdom
Mon Oct 16, 2017 6:35 am
Forum: Automation, sensing and robotics
Topic: Logic Chips for Pi Power Supply Project
Replies: 13
Views: 509

Re: Logic Chips for Pi Power Supply Project

If you're worried about the output levels exceeding 3.3V, use chips with an open collector output. They will either pull the output down to 0V, or leave it floating. By combining this will a pull-up resistor to 3.3V (the internal ones on the Pi may be sufficient), you can be sure the input to the GP...
by rpdom
Sun Oct 15, 2017 4:54 pm
Forum: Troubleshooting
Topic: DVI to HDMI not working
Replies: 4
Views: 165

Re: DVI to HDMI not working

Big Oops on my part. I have a couple of DVI-to-HDMI cables and should have remembered that they work bidirectionally, but the reason I didn't is they don't work with my Raspberry Pi or my Pandaboard on a nice 25" LCD monitor that doesn't have any HDMI inputs -- only DVI and VGA (analog). It depends...
by rpdom
Sun Oct 15, 2017 4:32 pm
Forum: Troubleshooting
Topic: Ds18B20 stopped working after a night without power
Replies: 11
Views: 299

Re: Ds18B20 stopped working after a night without power

kjaerre wrote:
Sun Oct 15, 2017 10:47 am
in boot/config i have dtoverlay=w1-gpio

and in /etc/modules i have w1-gpio and w1-therm,
You don't need both. Just the dtoverlay entry should be sufficient. However having both shouldn't cause any problems.
by rpdom
Fri Oct 13, 2017 4:33 pm
Forum: Off topic discussion
Topic: Burning down California
Replies: 18
Views: 837

Re: Burning down California

Perhaps you should give the "new Joe Schmoe" the exact same treatment as the old Joe Schmoe (since it's bloody obvious that Frezman is Schmoe). Hmm, hadn't made that connection. I've been thinking it for a while and mentioned it to someone recently, especially after MF made a reference to an old JS...
by rpdom
Fri Oct 13, 2017 3:37 am
Forum: Beginners
Topic: Default network config for Raspbian Lite
Replies: 12
Views: 333

Re: Default network config for Raspbian Lite

But, I made a mistake and assigned an IP that is already assigned to another device that is not always active but comes up from time to time:-( I'm pretty sure that this is what created the mess and generated the symptoms described above. I'll rebuild the thing from scratch tomorrow to be sure I ha...
by rpdom
Thu Oct 12, 2017 6:21 pm
Forum: Beginners
Topic: [SOLVED] Pi Zero W - Booting with GPIO3
Replies: 9
Views: 327

Re: Pi Zero W - Booting with GPIO3

Hmm, curious. I installed the latest Raspbian Stretch Lite on a Pi Zero with a Zero4U board attached, updated it, set gpio-poweroff to use GPIO 21, ran poweroff and it got to the power off message and then did a kernel panic. I would investigate more, but I'm off to Sweden first thing tomorrow morni...
by rpdom
Thu Oct 12, 2017 5:23 pm
Forum: Off topic discussion
Topic: Burning down California
Replies: 18
Views: 837

Re: Burning down California

Especially those with multiple warnings and previous temporary bans.... Sometimes, even mods have a line we don't like people to cross. Doesn't happen often. But don't think we are complacent. Please don't ban him over that post. I thought it was hilarious....in a very snide way. It wouldn't just b...
by rpdom
Thu Oct 12, 2017 4:39 pm
Forum: Beginners
Topic: [SOLVED] Pi Zero W - Booting with GPIO3
Replies: 9
Views: 327

Re: Pi Zero W - Booting with GPIO3

Which pin are you using for the gpio-poweroff?
by rpdom
Thu Oct 12, 2017 2:21 pm
Forum: Automation, sensing and robotics
Topic: How to shrink my pi3 program into a single chip?
Replies: 11
Views: 417

Re: How to shrink my pi3 program into a single chip?

mikerr wrote:
Thu Oct 12, 2017 2:01 pm
<grumpy old man talk:>
As an aside it does make me laugh (or groan) seeing "blinky LED" projects using a CPU chip which contains 100,000 transistors :shock: :lol:
555 or LM3909? Or do you prefer a handful of transistors, capacitor and resistors?
by rpdom
Thu Oct 12, 2017 12:19 pm
Forum: Automation, sensing and robotics
Topic: How to shrink my pi3 program into a single chip?
Replies: 11
Views: 417

Re: How to shrink my pi3 program into a single chip?

That somewhat depends on the complexity of your program and what interfaces it uses. Moving from an Arduino (a high end microcontroller with a fixed set of programming options) to a lower powered microcontroller may be easy, but moving from a full computer like the Pi may be a bit harder or even not...
by rpdom
Thu Oct 12, 2017 11:08 am
Forum: Other projects
Topic: Face recognition project using OpenCV
Replies: 1
Views: 148

Re: Face recognition project using OpenCV

Isn't it supposed to be your degree? In that case you need to work out the details yourself - that is the point of the degree, or if we give you a step-by-step guide do we get the degree instead? (In some forums people would just say "do your own homework"). If you have an specific questions feel fr...

Go to advanced search