Go to advanced search

by rpdom
Thu Mar 21, 2019 4:35 pm
Forum: Graphics, sound and multimedia
Topic: H.264 encoding with B+ and HDMI
Replies: 9
Views: 139

Re: H.264 encoding with B+ and HDMI

moodman wrote:
Thu Mar 21, 2019 4:08 pm
I assumed that the HDMI connector on the B+ was input as well as output. Is that not so?
No. It is output only. Why would it be input?
So, you are saying this is not possible?
Pretty much, yes. Sorry.
by rpdom
Thu Mar 21, 2019 10:42 am
Forum: Troubleshooting
Topic: Am I connecting the 12V relay switch correctly?
Replies: 9
Views: 159

Re: Am I connecting the 12V relay switch correctly?

If you use a 5v relay, using the Pi 5v , As the Pi 5v is not switched You will need to use a transistor and switch it from a GPIO 3.3v Many of the relay modules that use 5V relays already have the transistors and even opto-isolators on the board. The OP needs to look for one that states it is compa...
by rpdom
Thu Mar 21, 2019 7:33 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: SPI Micro SD Card Reader Module
Replies: 5
Views: 90

Re: SPI Micro SD Card Reader Module

Note that there is a limit to how many devices can be connected to USB on the Pi, even with a USB hub attached. I believe it is something like 6 devices, a limitation of the hardware inside the Pi's SoC, so not something that is easily fixed.
by rpdom
Thu Mar 21, 2019 6:15 am
Forum: Graphics, sound and multimedia
Topic: H.264 encoding with B+ and HDMI
Replies: 9
Views: 139

Re: H.264 encoding with B+ and HDMI

What HDMI input? The Pi doesn't have an HDMI input.

There is a board that can be connected to the camera connector and capture HDMI. Is that what you are using?
by rpdom
Thu Mar 21, 2019 5:52 am
Forum: Troubleshooting
Topic: Unable to install mysql server
Replies: 4
Views: 60

Re: Unable too install mysql server

None of those commands worked for me :/ They failed to run, or they just didn't help? Have you changed your sources.list file(s)? Installing mysql on Raspbian Stretch should "just work", although you will get MariaDB instead of MySQL now (It's pretty much the same thing). mysql-server should not be...
by rpdom
Thu Mar 21, 2019 5:39 am
Forum: Networking and servers
Topic: Run Shell srcript only once
Replies: 11
Views: 158

Re: Run Shell srcript only once

( ping -c1 10.1.10.228 if [ $? -eq 0 ]; then if [ $dummy -ne 1 ];then dummy=1 sleep 2 # Command to run one time goes here fi fi )& Variables in the shell must be prefixed with a $ for the value substitution to work. Otherwise you are testing the literal "dummy" with the numeric value 1. The word "d...
by rpdom
Thu Mar 21, 2019 5:29 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: SPI Micro SD Card Reader Module
Replies: 5
Views: 90

Re: SPI Micro SD Card Reader Module

Why not just put the micro SD card in a USB adaptor? They are cheap and easy to get hold of.
by rpdom
Wed Mar 20, 2019 7:13 pm
Forum: Python
Topic: Temperature
Replies: 8
Views: 132

Re: Temperature

The DS18B20 is a temperature sensor that is commonly used with the Pi. You can get breakout boards with it on, or just connect it yourself with a minimum of soldering and just one resistor. Drivers for it are included in Raspbian (just require one line in /boot/config.txt to activate). Many examples...
by rpdom
Wed Mar 20, 2019 6:58 pm
Forum: Windows 10 for IoT
Topic: 10 Pi Devices - all have same MAC Address
Replies: 9
Views: 196

Re: 10 Pi Devices - all have same MAC Address

Heater wrote:
Wed Mar 20, 2019 5:59 pm
I'm still wondering how you could get 10 identical Pi out of "5 devices in total".
Possibly the subject might have been "Win 10 Pi Devices..."?
by rpdom
Wed Mar 20, 2019 6:54 pm
Forum: Troubleshooting
Topic: Software install questions
Replies: 6
Views: 138

Re: Software install questions

The package unrar-free will decompress rar files in Raspbian.

More important is to pay heed to what fruity said about the drivers being compatible with the Raspberry Pi (armhf).
by rpdom
Wed Mar 20, 2019 5:20 pm
Forum: Troubleshooting
Topic: Why does my Pi zero reboot after shutdown?
Replies: 4
Views: 101

Re: Why does my Pi zero reboot after shutdown?

bill2009 wrote:
Wed Mar 20, 2019 2:52 pm
rpdom wrote:
Wed Mar 20, 2019 2:24 pm
Do you get the same result if you try sudo poweroff ?
HA! That worked - Thanks. I've always used "shutdown now". Is poweroff more correct?
In theory shutdown with no parameters should be the same as the poweroff command. I'm not sure why it seems to be different in your case.
by rpdom
Wed Mar 20, 2019 5:01 pm
Forum: Troubleshooting
Topic: No IP on Gigabit Switch !
Replies: 19
Views: 206

Re: No IP on Gigabit Switch !

Let me follow up because it looks that nobody noticed the real problem: it looks this switch is a professional managed type switch made for network professionals for environments where configuring port speed is the normal procedure. It's normal procedure only with crap hardware/software unable to h...
by rpdom
Wed Mar 20, 2019 4:54 pm
Forum: Automation, sensing and robotics
Topic: Raspberry Pi 3 + DS18B20 + Python problems
Replies: 2
Views: 54

Re: Raspberry Pi 3 + DS18B20 + Python problems

The 00- entries indicate that no sensor was detected on the bus. This is usually due to incorrect wiring.
by rpdom
Wed Mar 20, 2019 2:33 pm
Forum: Troubleshooting
Topic: No IP on Gigabit Switch !
Replies: 19
Views: 206

Re: No IP on Gigabit Switch !

The Pi will normally try to connect at the fastest speed that its interface is capable of. Have you made sure that all the Pis have different hostnames? That could confuse a DHCP server if they are all claiming to be the default "raspberrypi". Otherwise there should be no issues. I have almost every...
by rpdom
Wed Mar 20, 2019 2:29 pm
Forum: Python
Topic: 'Printing' GPIO status to a separate file
Replies: 5
Views: 95

Re: 'Printing' GPIO status to a separate file

Thanks! The new code works perfectly once you move the try: into the while loop. For a better understanding, how exactly does this version of the code manage to print the status of each LED only once? Also how do the below lines work, specifically why is there an exclamation point after state (seco...
by rpdom
Wed Mar 20, 2019 2:24 pm
Forum: Troubleshooting
Topic: Why does my Pi zero reboot after shutdown?
Replies: 4
Views: 101

Re: Why does my Pi zero reboot after shutdown?

Do you get the same result if you try sudo poweroff ?
by rpdom
Wed Mar 20, 2019 1:23 pm
Forum: Troubleshooting
Topic: Am I connecting the 12V relay switch correctly?
Replies: 9
Views: 159

Re: Am I connecting the 12V relay switch correctly?

The 12V is the coil (activating) voltage. If you look at the relay itself you see that it is rated for switching up to 10A at 250V AC or 10A at 30V DC. This also depends on if the loads are resistive (light bulb/heating element etc), or inductive (motor/transformer etc), I think that the lower value...
by rpdom
Wed Mar 20, 2019 10:15 am
Forum: Troubleshooting
Topic: Am I connecting the 12V relay switch correctly?
Replies: 9
Views: 159

Re: Am I connecting the 12V relay switch correctly?

That is a 12V relay. That means it needs 12V to switch it on. The Pi will only supply 5V which is not enough.
by rpdom
Wed Mar 20, 2019 10:10 am
Forum: General discussion
Topic: Pi password pwned...
Replies: 7
Views: 231

Re: Pi password pwned...

I never use just numbers for passwords. On really security sensitive things I use completely random strings of characters.

Having said that, I was pleased to see that the cv2 security code on my (old - now expired) credit card was 314 :-)
by rpdom
Wed Mar 20, 2019 1:05 am
Forum: Troubleshooting
Topic: Is there a way to fsck run on boot if there is an unclean shutdown.
Replies: 7
Views: 142

Re: Is there a way to fsck run on boot if there is an unclean shutdown.

That should happen automatically. It is part of the boot sequence. It may be so quick that you don't notice it.
by rpdom
Tue Mar 19, 2019 6:42 pm
Forum: Raspbian
Topic: Unable to install nginx
Replies: 2
Views: 50

Re: Unable to install nginx

Also there doesn't appear to be a package called php-ncrypt (in php5 or php7). Perhaps you meant php-mcrypt?
by rpdom
Tue Mar 19, 2019 6:26 pm
Forum: General discussion
Topic: Pi Zero camera case, for use in a car
Replies: 6
Views: 150

Re: Pi Zero camera case, for use in a car

The 5V adaptors for car "accessory sockets" (they don't call them cigarette lighters any more) are fine for running a Pi Zero. The sockets can provide up to 10A at between 10 and 14V (it will vary depending on battery condition and engine speed/load). The Pi Zero will need under 0.2A with that volta...
by rpdom
Tue Mar 19, 2019 4:11 pm
Forum: Advanced users
Topic: Multiple DS18B20 temperature sensors
Replies: 25
Views: 12539

Re: Multiple DS18B20 temperature sensors

The stubs should be as short as possible.
by rpdom
Tue Mar 19, 2019 7:09 am
Forum: Raspbian
Topic: Permissions for system created folders
Replies: 13
Views: 223

Re: Permissions for system created folders

As far as I know Raspbian [email protected]:~/Downloads $ uname -a Linux raspberrypi 4.14.98-v7+ #1200 SMP Tue Feb 12 20:27:48 GMT 2019 armv7l GNU/Linux That's the kernel version, not the OS. Try cat /etc/os-release My Pi reports: PRETTY_NAME="Raspbian GNU/Linux 9 (stretch)" NAME="Raspbian GNU/Linux" ...
by rpdom
Mon Mar 18, 2019 4:41 pm
Forum: C/C++
Topic: How to use libssh2 in C
Replies: 2
Views: 64

Re: How to use libssh2 in C

You'll probably need libssh2-1-dev for building programs. libssh2-1 (no -dev) is used just for running them.

Go to advanced search