Go to advanced search

by rpdom
Sun Oct 21, 2018 7:58 pm
Forum: Camera board
Topic: Is this camera connector backwards?
Replies: 4
Views: 105

Re: Is this camera connector backwards?

Yes, return it. I believe I have seen another post where a camera connector had been fitted the wrong way round. I guess a small batch had been assembled incorrectly.
by rpdom
Sun Oct 21, 2018 8:50 am
Forum: General discussion
Topic: Re: Stretch reboot and shutdown command syntax has changed!
Replies: 7
Views: 201

Re: PiZeroW - Reboot and shutdown no longer work

Ernst wrote:
Sun Oct 21, 2018 8:16 am
That is not the point, I think it is time to give up with this lot because I am wasting my time.
:shock:
I posted what you asked for. How is that wasting your time?
by rpdom
Sun Oct 21, 2018 8:34 am
Forum: General discussion
Topic: two address ip in raspbian stretch
Replies: 6
Views: 209

Re: two address ip in raspbian stretch

One possibility is to assign an alias interface in somewhere like /etc/rc.local Add the line /sbin/ifconfig eth0:0 192.168.0.150/24 before the "exit 0" line and it should create a virtual interface called eth0:0 with that IP address which will use eth0 as the physical interface. It seems dhcpcd hasn...
by rpdom
Sun Oct 21, 2018 8:05 am
Forum: General discussion
Topic: stretch Reboot and shutdown command syntax has changed!
Replies: 16
Views: 85

Re: PiZeroW - Reboot and shutdown no longer work

Can you please post an extract of from the shutdown man in Wheezy ? The manpage is the same in Wheezy as it is in Jessie (I have systems running both for testing purposes). -t sec Tell init(8) to wait sec seconds between sending processes the warning and the kill signal, before changing to another ...
by rpdom
Sat Oct 20, 2018 7:38 pm
Forum: Beginners
Topic: Raspberry Pi "Offline" communication
Replies: 16
Views: 225

Re: Raspberry Pi "Offline" communication

Vonbystrom wrote:
Sat Oct 20, 2018 7:07 pm
Whats the difference between Raspian and Raspian Stetch OS?
Raspbian is the name of the OS.
Stretch is the name of the release/version.

The previous release of Raspbian was called Wheezy. The next release will be called Buster.
by rpdom
Sat Oct 20, 2018 12:05 pm
Forum: Beginners
Topic: How to turn off Camera IR LEDs?
Replies: 9
Views: 193

Re: How to turn off Camera IR LEDs?

One to GPIO, other one to ground. According to the measure I got, the LED receives 3.3V from the camera, exactly what's the GPIO delivers The GPIOs can safely deliver up to about 16mA each (50mA total). The LEDs need a lot more than that. You'd need a separate power supply and switching transistor ...
by rpdom
Fri Oct 19, 2018 5:49 am
Forum: Beginners
Topic: Please help noob: 8th channel on relay board not working?
Replies: 7
Views: 120

Re: Please help noob: 8th channel on relay board not working?

Wiring Pi GPIO 7 (BCM GPIO 4) is the default for the 1-wire bus driver. It's possible that the driver is enabled and interfering with your code. Either use raspi-config to disable the w1 interface, or comment out or remove the line dtoverlay=w1-gpio from /boot/config.txt [edit] Updated to clarify Wi...
by rpdom
Thu Oct 18, 2018 7:08 pm
Forum: Beginners
Topic: How to turn off Camera IR LEDs?
Replies: 9
Views: 193

Re: How to turn off Camera IR LEDs?

Those LEDs have a light sensor connected to each one, so they shouldn't turn on unless it is dark. There is no other way of controlling them without modifying the hardware.
by rpdom
Thu Oct 18, 2018 1:43 pm
Forum: Troubleshooting
Topic: Raspberry pi heating up but won’t start
Replies: 6
Views: 144

Re: Raspberry pi heating up but won’t start

ironman4575 wrote:
Thu Oct 18, 2018 12:06 pm
I can’t find any heat around the cpu but the gpu seems to be getting very warm
I'm not sure what you mean by that. The GPU and CPUs are in the same chip.
by rpdom
Thu Oct 18, 2018 6:27 am
Forum: General discussion
Topic: 64-bit operating system
Replies: 111
Views: 11215

Re: 64-bit operating system

Heater wrote:
Thu Oct 18, 2018 5:57 am
Hmmm... Count the human population. Can't do that in a teeny tiny 32 bit integer.
I was using 32 bit integers on an 8 bit machine back in the day. Ok, it may not be as fast as native 32 bit, but it wasn't that inefficient.

32 bit machines can handle integers of any size, given the right code.
by rpdom
Tue Oct 16, 2018 5:56 pm
Forum: Python
Topic: RGB control via temperature
Replies: 4
Views: 94

Re: RGB control via temperature

Doesn't GPIO.cleanup() reset the GPIO pins to their default state and function? In which case it would turn the LEDs off as soon as it has turned them on.

I may be wrong, I'm too far from my Pis to test it right now.
by rpdom
Tue Oct 16, 2018 4:33 am
Forum: Beginners
Topic: Space problem trying to install with apt-get
Replies: 2
Views: 126

Re: Space problem trying to install with apt-get

You can safely clear out the old files from that area with the following command

Code: Select all

sudo apt-get clean
by rpdom
Mon Oct 15, 2018 5:04 pm
Forum: Raspberry Pi Desktop for PC and Mac
Topic: Raspian alternative to run on Windows laptop
Replies: 14
Views: 574

Re: Raspian alternative to run on Windows laptop

Debian GNU/Linux is the underlying OS for Raspbian too. Raspberry Pi Desktop & Raspbian are both based on the same underlying system, the main difference is that Raspbian is compiled for the Pi's ARM architecture. More specifically, it is compiled for the Pi 1's (and Zero) ARM architecture. Debian ...
by rpdom
Mon Oct 15, 2018 5:22 am
Forum: Automation, sensing and robotics
Topic: Relay Module KY-019 5V
Replies: 446
Views: 19059

Re: Relay Module KY-019 5V

I am using the amazing Amazon's waterproof electric shaver that works under a shower. But I always worry one day the shaver leaks AC 220V electricity and the shock shaves all the hair on my head in a split second! :mrgreen: I don't know about where you are, but here in the UK there are very strict ...
by rpdom
Sun Oct 14, 2018 3:07 pm
Forum: General discussion
Topic: Nginx hosting problems.
Replies: 17
Views: 319

Re: Nginx hosting problems.

DougieLawson wrote:
Sun Oct 14, 2018 3:04 pm
You've got an error in your config
Which shouldn't happen if this was a clean install of nginx. It sounds like some files have been created before installing the software, which is not the correct way to do it.
by rpdom
Sun Oct 14, 2018 2:19 pm
Forum: General discussion
Topic: Nginx hosting problems.
Replies: 17
Views: 319

Re: Nginx hosting problems.

Code: Select all

Job for nginx.service failed. See 'systemctl status nginx.service' and 'journalctl -xn' for details.
Ok, as it suggests, see if these commands give any more clues

Code: Select all

sudo systemctl status nginx.service
sudo journalctl -xn
by rpdom
Sun Oct 14, 2018 12:25 pm
Forum: General discussion
Topic: Nginx hosting problems.
Replies: 17
Views: 319

Re: Nginx hosting problems.

I'm assuming that the '1' was the one in '1p;/:80/p' Correct. The result you got says that no web servers are running on your Pi. It looks to me like the installation of nginx failed. The "dependency problems" message implies there is another package involved. Can you please show us the full output...
by rpdom
Sun Oct 14, 2018 11:50 am
Forum: General discussion
Topic: Nginx hosting problems.
Replies: 17
Views: 319

Re: Nginx hosting problems.

The first character in the sed expression is a number "1", did you perhaps type a lower case "L" instead? [email protected]:~ $ sudo netstat -ntlp | sed -n '1p;/:80/p' Active Internet connections (only servers) tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN 674/nginx: master p tcp6 0 0 :::80 :::* LISTEN 674/nginx: ...
by rpdom
Sun Oct 14, 2018 10:29 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: GPIO as Vdd for DS18B20
Replies: 2
Views: 145

Re: GPIO as Vdd for DS18B20

You can use the same 3.3V power pin for all your sensors. Don't use the GPIO pins, they are not designed to supply power like that (although they would probably be ok with a few DS18B20s). I have multiple DS18B20s running from a single Pi using just the three pins (Pin 1, pin 7 and pin 6) and one re...
by rpdom
Sat Oct 13, 2018 6:37 pm
Forum: Gaming
Topic: Jedi Knight?
Replies: 113
Views: 43410

Re: Jedi Knight?

d_a_v_e wrote:
Sat Oct 13, 2018 2:10 am
So do these files still exist or have they been pulled from the internet?
Download fails for me. Could be a server is down, or maybe they have gone. Posting just to let you know that it's not just you.
by rpdom
Sat Oct 13, 2018 6:26 pm
Forum: General discussion
Topic: New version of Raspbian
Replies: 15
Views: 939

Re: New version of Raspbian

I only offered that as a theoretical possibility, not something that will happen. However, there does remain the question about the old images in the archives. They still have Wolfram installed. I can imagine that trying to rebuild those old images would be a right pain, although not impossible. How...
by rpdom
Sat Oct 13, 2018 11:27 am
Forum: General discussion
Topic: New version of Raspbian
Replies: 15
Views: 939

Re: New version of Raspbian

I had wondered about upgrading and losing Mathematica/Wolfram but, unless something has changed, an apt-get upgrade should not remove anything if I am correct. Correct. dist-upgrade could remove packages if another package says it clashes with, or replaces, an existing package. I suppose if an empt...
by rpdom
Fri Oct 12, 2018 3:34 pm
Forum: Networking and servers
Topic: https access
Replies: 5
Views: 198

Re: https access

I have Installed the apache2 server. I am using as a local server. In that, I should provide https access. can you please help me. If you are just going to use LAN for https access then this will not work, you cannot issue a Let's encrypt free SSL if for LAN use. You can. I do. It's a bit fiddly an...
by rpdom
Fri Oct 12, 2018 7:25 am
Forum: Automation, sensing and robotics
Topic: Relay Module KY-019 5V
Replies: 446
Views: 19059

Re: Relay Module KY-019 5V

If it doesn't have a ground wire, then it shouldn't need one. Putting a ground wire in your tank would be more likely to kill the fish if there was a leak as the electricity would flow through the water from the pump to the ground.
by rpdom
Thu Oct 11, 2018 4:47 am
Forum: Bare metal, Assembly language
Topic: Accessing GPIO Pins via Bare Metal
Replies: 5
Views: 425

Re: Accessing GPIO Pins via Bare Metal

I went through the bcm2387 peripherals guide which sadly borrows alot of its content from its predecessor the bcm2385. Why "sadly"? The GPIO hardware on the two chips is pretty much identical. The main differences were the CPU cores used and the bootrom update. please explain the correlation betwee...

Go to advanced search