Go to advanced search

by pcmanbob
Tue Jul 16, 2019 12:15 pm
Forum: Raspbian
Topic: Don't want Raspian Buster!
Replies: 21
Views: 435

Re: Don't want Raspian Buster!

You can download raspbian stretch image files from here

with GUI
https://downloads.raspberrypi.org/raspbian/images/

lite
https://downloads.raspberrypi.org/raspbian_lite/images/

last version of stretch is dated 9-4-2019
by pcmanbob
Tue Jul 16, 2019 11:43 am
Forum: Python
Topic: Set and reset led on-off time by checking status of led using timer
Replies: 3
Views: 81

Re: Set and reset led on-off time by checking status of led using timer

Then you simply need to write your program to compare the hex data and then output a 1 or 0 to a variable and check that variable instead of the gpio. if you already know how to connect and use an LED then you simple need to add the code to my example program in place of the print statements. EDIT.....
by pcmanbob
Tue Jul 16, 2019 11:31 am
Forum: Troubleshooting
Topic: 'Certficate Revoked' security error on NOOBs/raspbian downloads page
Replies: 11
Views: 404

Re: 'Certficate Revoked' security error on NOOBs/raspbian downloads page

Working ok on my Firefox same version ,

might help if you post the errors you get and tell us were in the world you are.
by pcmanbob
Tue Jul 16, 2019 11:23 am
Forum: Assistive technology and accessibility
Topic: Help making a soundboard run on startup!
Replies: 3
Views: 748

Re: Help making a soundboard run on startup!

Hi. One thing to be aware of is that cron runs in a different environment to the command line, so you need to add full paths to any files ( like your sound files ) that you might call or use in your program. You should also use full path and file name in your cron line as well, IE. python /home/pi/m...
by pcmanbob
Tue Jul 16, 2019 10:40 am
Forum: Troubleshooting
Topic: Errors: How to fix hashes error while updating raspberry pi 3 b
Replies: 1
Views: 52

Re: Errors: How to fix hashes error while updating raspberry pi 3 b

Hi.

Looks to me like you pi is not connected to the internet.

can you open a browser and visit a web page ?
by pcmanbob
Tue Jul 16, 2019 10:28 am
Forum: Troubleshooting
Topic: Crontab issues on Raspberry Pi 4 with Buster
Replies: 7
Views: 156

Re: Crontab issues on Raspberry Pi 4 with Buster

Seems to work just fine on my pi4B running buster lite. added this line to pi user cron using crontab -e 1-59/2 * * * * date >> /home/pi/test.txt 2>&1 produces a text file in /home/pi as expected containing the output of the date command Tue 16 Jul 11:25:01 BST 2019 Tue 16 Jul 11:27:01 BST 2019 Edit...
by pcmanbob
Tue Jul 16, 2019 9:28 am
Forum: Python
Topic: pocketsphinx.c - writing raw audio file- Segmentation Fault
Replies: 1
Views: 34

Re: pocketsphinx.c - writing raw audio file- Segmentation Fault

Hi.

I assume you are using 2 different SD cards, what happens if you swap the SD cards , does the problem move with the SD card or stay with a particular pi.
by pcmanbob
Tue Jul 16, 2019 7:46 am
Forum: Troubleshooting
Topic: SD card issue ... can't install Raspbian
Replies: 6
Views: 114

Re: SD card issue ... can't install Raspbian

Another really quick way to get your SD card formatted to full capacity is to use a digital camera to format it , most will just format the SD card regardless of what's already on it.

Also handy if you have a corrupted SD card that wont format , repaired several corrupted SD cards this way.
by pcmanbob
Tue Jul 16, 2019 6:54 am
Forum: Troubleshooting
Topic: SD card issue ... can't install Raspbian
Replies: 6
Views: 114

Re: SD card issue ... can't install Raspbian

First off you don't need to reformat the card if you are going to use etcher to write an image directly to the SD card as etcher will just replace what's already on the card. I suspect you put your SD card in a windows PC , that's why you only saw a small partition because windows can only see the F...
by pcmanbob
Tue Jul 16, 2019 6:15 am
Forum: General discussion
Topic: RPI 3+ no wifi interface?
Replies: 1
Views: 49

Re: RPI 3+ no wifi interface?

Hi. Sorry but you have provided to little information for anyone to help you, Therefore I can only suggest you try following the instructions here if you are attempting connection via the desktop https://www.raspberrypi.org/documentation/configuration/wireless/desktop.md or the instructions here if ...
by pcmanbob
Tue Jul 16, 2019 6:09 am
Forum: Troubleshooting
Topic: Pi4 displaying purple or teal screen
Replies: 1
Views: 50

Re: Pi4 displaying purple or teal screen

Hi. I might help if you told us a bit more about your set up. like what psu you are using how the pi/screen are connected adapter/HDMI to DVI or VGA for example detail about the screen you are attempting to use. does the screen just produce the coloured screen as soon as its powered or do you get so...
by pcmanbob
Mon Jul 15, 2019 12:48 pm
Forum: Python
Topic: Set and reset led on-off time by checking status of led using timer
Replies: 3
Views: 81

Re: Set and reset led on-off time by checking status of led using timer

Here's an example of a 10 second counter triggered by a push button switch in this case, which when triggered starts counting down to zero , but if the button is pressed again timer is reset to 10. Instead of the push button you could use your input just remove the pul-lup, and you can add your LED ...
by pcmanbob
Mon Jul 15, 2019 9:39 am
Forum: Python
Topic: Servo motor control with 4 PIR sensors using Raspberry Pi
Replies: 31
Views: 3779

Re: Servo motor control with 4 PIR sensors using Raspberry Pi

so my project is a automated dust bin and it requires me to me to use one PIR sensor to run a servo motor may i know how should i code it ? Hi. There are lots of examples of how to use both the pir and a servo on the pi to be found on the web, checking the raspberry pi web site would yield examples...
by pcmanbob
Mon Jul 15, 2019 7:02 am
Forum: Automation, sensing and robotics
Topic: Using Adafruit's Peristaltic Liquid Pump with the Pi
Replies: 9
Views: 267

Re: Using Adafruit's Peristaltic Liquid Pump with the Pi

It's a bad manner to make circuits like this(led in series with optocoupler input). Only words I can say. The good manner to place led on optocoupler output. This circuit will work with 3x - 5x input voltage difference (depends on optocoupler and resistors power dissipation), also it will indicate ...
by pcmanbob
Mon Jul 15, 2019 5:37 am
Forum: Automation, sensing and robotics
Topic: Using Adafruit's Peristaltic Liquid Pump with the Pi
Replies: 9
Views: 267

Re: Using Adafruit's Peristaltic Liquid Pump with the Pi

Just be aware that many of these relay boards were designed for the Arduino and don't work correctly with the 3.3v gpio of the pi. Optocouplers on those boards have high CMR, therefore, a voltage difference between 5v and 3.3v doesn't matter in this case. Have you ever read the sticky on why many o...
by pcmanbob
Mon Jul 15, 2019 5:21 am
Forum: Advanced users
Topic: Mipi 4chanel 39 pin
Replies: 1
Views: 64

Re: Mipi 4chanel 39 pin

Hi. To be able to use the display with your pi you would need to find a driver board that would drive the display and provide an HDMI port for the pi to plug in to. You could try searching for such a board but the chances of finding would using a random display are slim, but as you have the part num...
by pcmanbob
Sun Jul 14, 2019 5:29 pm
Forum: Networking and servers
Topic: How to set up a static IP using Raspbian Buster
Replies: 8
Views: 276

Re: How to set up a static IP using Raspbian Buster

Hi. Since Raspbian Jessie setting a static IP on your pi has remained the same for both stretch and buster. you just need to edit the file dhcpcd.conf with the command sudo nano /etc/dhcpcd.conf in there you will find an example for setting a static IP, here is a copy from one of my pis # A sample c...
by pcmanbob
Sun Jul 14, 2019 5:14 pm
Forum: Troubleshooting
Topic: How to migrate from rpi3 to rpi4?
Replies: 4
Views: 126

Re: How to migrate from rpi3 to rpi4?

Hi. You have discovered why up grading from one OS ( stretch ) to the next in the series ( buster ) is not recommended, you cant guarantee what the out come will be due not knowing what software is installed and how it will be affected by the up grade. That's why the recommended up grade route is to...
by pcmanbob
Sun Jul 14, 2019 5:08 pm
Forum: Troubleshooting
Topic: Pi Zero not booting properly
Replies: 6
Views: 137

Re: Pi Zero not booting properly

So assuming your power supply is adequate and your SD cards are a suitable size and not fakes, then I don't know what else to suggest. As you have not told use anything about the power supplies your are using , we cant say if they are suitable. For raspbian lite you only need an 8GB SD card, to cont...
by pcmanbob
Sun Jul 14, 2019 9:45 am
Forum: Beginners
Topic: After soldering a pin header, can't flash LED anymore
Replies: 6
Views: 193

Re: After soldering a pin header, can't flash LED anymore

I would suggest you first go look at one of the many soldering tutorials on you tube to see how it should be done, and then practice with some strip board and resistors which are cheap enough to practice with, before attempting to solder the header on to the pi again. https://www.youtube.com/results...
by pcmanbob
Sun Jul 14, 2019 9:22 am
Forum: Troubleshooting
Topic: Pi Zero not booting properly
Replies: 6
Views: 137

Re: Pi Zero not booting properly

Hi. How long are you leaving the pi once it gets to this point in the boot process, as I would expect a pi zero to take some time to boot to a full GUI/desktop. You could try flashing your SD card with raspbian lite and see if that will boot successfully , it should be much quicker because there is ...
by pcmanbob
Sun Jul 14, 2019 9:18 am
Forum: Troubleshooting
Topic: Raspberry PI 4 b Wont Boot.
Replies: 1
Views: 106

Re: Raspberry PI 4 b Wont Boot.

HI.

Yes I would say you have followed to correct procedure to attempt reload of EEPROM, as the pi will not boot or show signs of attempting to read an SD card it looks to me that your only option is to RMA back to the supplier.
by pcmanbob
Sat Jul 13, 2019 7:54 pm
Forum: General programming discussion
Topic: Script for check IP adress
Replies: 3
Views: 110

Re: Script for check IP adress

Hi. You can do this with a simple bash script like this var1="11.22.333.44" var2=$(curl -s ipinfo.io/ip) echo "$var1" echo "$var2" if [ "$var1" = "$var2" ]; then echo "ok" else echo "send email" sudo service transmission-daemon stop fi You need to replace the example IP address in var1 with your exp...
by pcmanbob
Sat Jul 13, 2019 7:29 pm
Forum: Troubleshooting
Topic: PI 3 B+ wont boot after leaving it unplugged for over 2-3 months
Replies: 8
Views: 182

Re: PI 3 B+ wont boot after leaving it unplugged for over 2-3 months

HI.

I suggest you read the not booting sticky and take note of the section on missing 3.3v on pi3B+ on the first page.

https://www.raspberrypi.org/forums/view ... 28&t=58151
by pcmanbob
Sat Jul 13, 2019 7:24 pm
Forum: Automation, sensing and robotics
Topic: Power small motor (directly) from PI 5V
Replies: 4
Views: 144

Re: Power small motor (directly) from PI 5V

Hi. Powering the pi and the motor from the same battery may not work because the motor is going to cause sudden drops in battery voltage when starting or under heavy loads, which could cause voltage dips which you pi might not stand, and could cause it to reboot. As for the best motor driver its dif...

Go to advanced search