Go to advanced search

by pcmanbob
Sat Aug 17, 2019 1:13 pm
Forum: Advanced users
Topic: dhcpcd.service: Failed with result 'signal'
Replies: 3
Views: 270

Re: dhcpcd.service: Failed with result 'signal'

Hi.

The first thing to do is to run raspi-config

Code: Select all

sudo raspi-config
in the terminal and got to the locations setting and set your location and wifi country then reboot your pi and try connecting to your wifi again.

https://www.raspberrypi.org/documentati ... ess-cli.md
by pcmanbob
Sat Aug 17, 2019 1:08 pm
Forum: Troubleshooting
Topic: Pi4's (2) not booting ...
Replies: 23
Views: 416

Re: pi 4 32GB sd card doesn't work.

Hi, I am experiencing similar issues with RP4 - i hope I am not hijacking this thread - if so I can repost as a new thread. I opened my two Pi4s today and having had some experience with Pi2, Pi3B and now with Pi4 I looked forward to the improved performance. Since starting the setup process this m...
by pcmanbob
Sat Aug 17, 2019 11:36 am
Forum: Automation, sensing and robotics
Topic: L298N H-Bridge Voltage Drop for 2 motors
Replies: 10
Views: 396

Re: L298N H-Bridge Voltage Drop for 2 motors

If you want to use a mains power supply you need on that will supply 6A if you want to run both motors at the same time under load.
by pcmanbob
Sat Aug 17, 2019 11:07 am
Forum: General discussion
Topic: RPI 4B will not display anything on HDMI screen
Replies: 4
Views: 339

Re: RPI 4B will not display anything on HDMI screen

Hi.
Display Number 2, type HDMI 0
So which HDMI socket do you have the display plugged in to ?

if you are only using a single display you should be using the HDMI socket closest to the USB "C" power socket.
by pcmanbob
Sat Aug 17, 2019 10:59 am
Forum: Beginners
Topic: cron/bash job to run when ip s not responding to ping
Replies: 22
Views: 432

Re: cron/bash job to run when ip s not responding to ping

Hi. This is a simple bash script I use on my pi zero to keep it connected to my wifi , as its on the edge of the range it some time looses the connection this script detects that and then restarts wlan0, #!/bin/bash # keep wifi alive echo "................................................" date "+%Y....
by pcmanbob
Sat Aug 17, 2019 10:43 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: solid state relay
Replies: 16
Views: 480

Re: solid state relay

Yes you need to common the grounds but you don't need the 330R resistor in the ground leg of the transistor, you just need to connected it to the ground of the pi/12v psu.

what do the specifications say for the SSR you are using not all of them are usable with 3 or 5V on the control inputs.
by pcmanbob
Sat Aug 17, 2019 10:38 am
Forum: Troubleshooting
Topic: pi 4 32GB sd card doesn't work.
Replies: 33
Views: 1097

Re: pi 4 32GB sd card doesn't work.

As I have said several times try a different card reader 32GB is right on the limit where cards change from SDHC to SDXC, its possible that your card reader cant handle the 32GB card because its not fully supporting the SDXC SD card specification. get yourself a cheap usb SD card reader that does mu...
by pcmanbob
Fri Aug 16, 2019 8:00 pm
Forum: Troubleshooting
Topic: pi 4 32GB sd card doesn't work.
Replies: 33
Views: 1097

Re: pi 4 32GB sd card doesn't work.

Then I suggest you try a different SD card reader maybe your existing one is not fully compatible with higher capacity SD cards.
I would suggest you make sure it's SDXC compatible.
by pcmanbob
Fri Aug 16, 2019 3:50 pm
Forum: Python
Topic: How to separate the body of the email in Gmail (like 1 email 1 body)?
Replies: 5
Views: 399

Re: How to separate the body of the email in Gmail (like 1 email 1 body)?

If you compare my program and your program you don't actually pass the body , to or from email address or subject lines to the sendmail function . anything that is defined in the main program that you want to use in a function has to be passed to the function when its called. So in my program you ca...
by pcmanbob
Fri Aug 16, 2019 12:21 pm
Forum: Beginners
Topic: Error: Failed to find file
Replies: 22
Views: 294

Re: Error: Failed to find file

Astron wrote:
Fri Aug 16, 2019 12:07 pm
And did i need to format sd in ntfs or fat32?
No if you are writing an image to the SD card it will just replace what ever is on there.
by pcmanbob
Fri Aug 16, 2019 12:20 pm
Forum: Python
Topic: How to separate the body of the email in Gmail (like 1 email 1 body)?
Replies: 5
Views: 399

Re: How to separate the body of the email in Gmail (like 1 email 1 body)?

As you have not shown us your compete code its hard to say what the problem might be. So here is an example of a working python program that sends an email each time on of my pi's boots import time import smtplib from email.mime.text import MIMEText from email.mime.multipart import MIMEMultipart imp...
by pcmanbob
Fri Aug 16, 2019 12:06 pm
Forum: Advanced users
Topic: Addressing RaspPi webserver through router and network switch.
Replies: 3
Views: 235

Re: Addressing RaspPi webserver through router and network switch.

Hi.

If you connect some of the teensys directly to the router can they communicate then ?

If not then look at your router to see if wifi isolation is switched on, this will isolated any device that is connected via wifi from any devices using a wired connection.
by pcmanbob
Fri Aug 16, 2019 12:01 pm
Forum: Troubleshooting
Topic: pi 4 32GB sd card doesn't work.
Replies: 33
Views: 1097

Re: pi 4 32GB sd card doesn't work.

Hi.

i would suggest you test the SD cards with H2testW https://h2testw.en.lo4d.com/windows
by pcmanbob
Fri Aug 16, 2019 11:54 am
Forum: Beginners
Topic: Error: Failed to find file
Replies: 22
Views: 294

Re: Error: Failed to find file

Then it would suggest a problem with your pc operating system or the writing software, if no program can write to the SD card,

which version of windows are you using and which versions of etcher / win32imager.
by pcmanbob
Fri Aug 16, 2019 11:35 am
Forum: Beginners
Topic: Error: Failed to find file
Replies: 22
Views: 294

Re: Error: Failed to find file

So if your card and card reader are ok , have you tried raspbian to see if that will write to the card, if it does then I would suspect the img file you are trying to write to the SD card is corrupt or not a suitable type .

are you sure majordomo is suitable for the pi ?
by pcmanbob
Fri Aug 16, 2019 10:06 am
Forum: Beginners
Topic: Error: Failed to find file
Replies: 22
Views: 294

Re: Error: Failed to find file

I would suspect either the SD card or the card reader.

If you format the SD card can you copy a file to it ?

are you using a built in SD card reader on your pc ? try a usb card reader as many of the built in card readers are not fully compatible with SDHC SD cards.
by pcmanbob
Fri Aug 16, 2019 9:41 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: solid state relay
Replies: 16
Views: 480

Re: solid state relay

Re-reading you original post there seems to be some confusion about how to connect the SSR to the pi gpio.

it should work correctly if connected like this

Image
by pcmanbob
Fri Aug 16, 2019 8:55 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: solid state relay
Replies: 16
Views: 480

Re: solid state relay

Its possible than that they are cheap Chinese SSR's that may actually be factory rejects , so they could be faulty or fail quickly. Have you tried a 5v DC power supply of 500mA or greater output , directly connected to the SSR input terminals to see if it will switch on ? If you supply voltage is be...
by pcmanbob
Fri Aug 16, 2019 8:40 am
Forum: Automation, sensing and robotics
Topic: RPI Zero W and two DHT11 confusion
Replies: 5
Views: 242

Re: RPI Zero W and two DHT11 confusion

Hi.

So if the adafruit code can only access on sensor, have you tried using different gpio pins for each sensor data pin and then just pointing the code at each gpio in turn.

Have never tried this but it seems the simple answer.
by pcmanbob
Fri Aug 16, 2019 8:25 am
Forum: Troubleshooting
Topic: apt-get not working
Replies: 2
Views: 91

Re: apt-get not working

HI.

The error clearly states (101: Network is unreachable)

So how have you tested your network can you access a web page ?
by pcmanbob
Fri Aug 16, 2019 8:19 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: solid state relay
Replies: 16
Views: 480

Re: solid state relay

what would be a safe way to check the voltage an amperage across the terminals of the SSR? With the mains supply and load connected you need a mains rated multi meter to measure the AC volts and a clip-on AC amp meter. If you have no electrical training I suggest you seek help from some one who has...
by pcmanbob
Fri Aug 16, 2019 8:15 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: solid state relay
Replies: 16
Views: 480

Re: solid state relay

So my first question would be were did you get your SSR's from ? If you apply 5vDC and ground to the input side of the SSR, and the output does not turn on then it can only be the SSR that has failed, if however it works then you need to check the output of your pi gpio pin as you may have damaged t...
by pcmanbob
Fri Aug 16, 2019 8:09 am
Forum: General discussion
Topic: Remote logging the real time status of dry contacts
Replies: 3
Views: 175

Re: Remote logging the real time status of dry contacts

The description and resistor values you need to use are shown on this web site .

https://github.com/raspberrypilearning/ ... up_down.md

You need to use the pull-up circuit.
by pcmanbob
Fri Aug 16, 2019 8:06 am
Forum: Troubleshooting
Topic: GPIO only has current at 5V pins (none at 3.3V pins)
Replies: 21
Views: 1228

Re: GPIO only has current at 5V pins (none at 3.3V pins)

No you cant repair your pi , the only option is replacement.

Go to advanced search